]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_user.tpl
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
[bacula/bacula] / gui / bweb / tpl / display_user.tpl
index 626b97d0b950c3a2721d951e2a444f07b18a614b..a10ec9dee30416806a7865df3d254cf13c0ec287 100644 (file)
  </tr><tr>
   <td>__Comment:__</td> <td> <input class="formulaire" type="text" name="comment" value='<TMPL_VAR comment>'> </td>
  </tr><tr>
-  <td>__Lang:__</td> 
+  <td>__Language:__</td> 
    <td> 
  <select name="lang" id='lang' class="formulaire">
-  <option value='en'>english</option>
-  <option value='fr'>french</option>
-  <option value='es'>spanish</option>
+  <option id='lang_en' value='en'>__English__</option>
+  <option id='lang_fr' value='fr'>__French__</option>
+  <option id='lang_es' value='es'>__Spanish__</option>
  </select>
    </td>
  </tr><tr>
@@ -114,4 +114,7 @@ function set_role(val)
    }
 
 }
+<TMPL_IF lang>
+  document.getElementById('lang_<TMPL_VAR lang>').selected = true;
+</TMPL_IF>
 </script>