]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/update_location.tpl
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
[bacula/bacula] / gui / bweb / tpl / update_location.tpl
index 2ddcc850b5c45880770742ac83840b1ce9d8d27d..dc50eaf95a967826ab1431fa8e0f4ad5f52f6944 100644 (file)
@@ -1,27 +1,27 @@
 <br/>
  <div class='titlediv'>
-  <h1 class='newstitle'>Update media location</h1>
+  <h1 class='newstitle'>__Update media location__</h1>
  </div> 
  <div class="bodydiv">
    <form action='?' method='get'>
-    <table id='id<TMPL_VAR NAME=ID>'></table>
-    New location : <select class='formulaire' name='newlocation'>
-   <TMPL_LOOP NAME=db_locations>
-      <option id='loc_<TMPL_VAR NAME=location>' value='<TMPL_VAR NAME=location>'><TMPL_VAR NAME=location></option>
+    <table id='id<TMPL_VAR ID>'></table>
+    __New location:__ <select class='formulaire' name='newlocation'>
+   <TMPL_LOOP db_locations>
+      <option id='loc_<TMPL_VAR location>' value='<TMPL_VAR location>'><TMPL_VAR location></option>
    </TMPL_LOOP>
   </select>
-  <input type="image" name='action' value='save_location' src='/bweb/apply.png'>
+  <button type="submit" class="bp" name='action' value='save_location'> <img src='/bweb/apply.png' alt=''>__Apply__</button>
    </form>
  </div>
 
 <script type="text/javascript" language="JavaScript">
 
-var header = new Array("Volume Name", "Location", "Select");
+var header = new Array("__Volume Name__", "__Location__", "__Select__");
 
 var data = new Array();
 var chkbox;
 
-<TMPL_LOOP NAME=medias>
+<TMPL_LOOP media>
 chkbox = document.createElement('INPUT');
 chkbox.type  = 'checkbox';
 chkbox.value = '<TMPL_VAR name=volumename>';
@@ -29,8 +29,8 @@ chkbox.name  = 'media';
 chkbox.checked = 1;
 
 data.push( new Array(
-"<TMPL_VAR NAME=volumename>",
-"<TMPL_VAR NAME=location>",
+"<TMPL_VAR volumename>",
+"<TMPL_VAR location>",
 chkbox
  )
 );
@@ -38,7 +38,7 @@ chkbox
 
 nrsTable.setup(
 {
- table_name:     "id<TMPL_VAR NAME=ID>",
+ table_name:     "id<TMPL_VAR ID>",
  table_header: header,
  table_data: data,
  up_icon: up_icon,
@@ -53,8 +53,8 @@ nrsTable.setup(
  header_color: header_color,
  page_nav: true,
  padding: 3,
- rows_per_page: rows_per_page,
 // disable_sorting: new Array(5,6)
+ rows_per_page: rows_per_page
 }
 );