]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_form_media.tpl
Renamed cleanup goto target into bail_out which is the prefered name from the develop...
[bacula/bacula] / gui / bweb / tpl / display_form_media.tpl
index 4cea050965cea0f2d9eef64110d6e2af5502d454..3c7fa15a99b3d795bae388f3edbad4dc0b26b8d7 100644 (file)
@@ -1,15 +1,15 @@
 <div class="otherboxtitle">
-  Filter &nbsp;
+  __Filter__ &nbsp;
 </div>
 <div class="otherbox">
 <form name='form1' action='?' method='GET'>
 <table border='0'>
 <tr>
   <td valign='top'>
-    <h2>Media Type</h2>
+    <h2>__Media Type__</h2>
     <select name='mediatype' class='formulaire'>
       <option id='mediatype_all' value=''></option>
-<TMPL_LOOP NAME=db_mediatypes>
+<TMPL_LOOP db_mediatypes>
       <option id='mediatype_<TMPL_VAR mediatype>'><TMPL_VAR mediatype></option>
 </TMPL_LOOP>
     </select>     
 </tr>
 <tr>
   <td valign='top'>
-    <h2>Location</h2>
+    <h2>__Location__</h2>
     <select name='location' class='formulaire'>
       <option id='location_all>' value=''></option>
-<TMPL_LOOP NAME=db_locations>
+<TMPL_LOOP db_locations>
       <option id='location_<TMPL_VAR location>'><TMPL_VAR location></option>
 </TMPL_LOOP>
     </select>     
@@ -28,7 +28,7 @@
 </tr>
 <tr>
  <td valign='top'>
-    <h2>Status</h2>
+    <h2>__Status__</h2>
     <select name='volstatus' class='formulaire'>
       <option id='volstatus_All' value=''></option>
       <option id='volstatus_Append' value='Append'>Append</option>
       <option id='volstatus_Error'  value='Error'>Error</option>
       <option id='volstatus_Used'   value='Used'>Used</option>
       <option id='volstatus_Purged' value='Purged'>Purged</option>
+      <option id='volstatus_Recycle' value='Recycle'>Recycle</option>
     </select>     
   </td>
 </tr>
 <tr>
  <td valign='top'>
-    <h2>Pool</h2>
+    <h2>__Pool__</h2>
     <select name='pool' class='formulaire'>
       <option id='pool_all>' value=''></option>
-<TMPL_LOOP NAME=db_pools>
+<TMPL_LOOP db_pools>
       <option id='pool_<TMPL_VAR name>'><TMPL_VAR name></option>
 </TMPL_LOOP>
     </select>     
@@ -52,7 +53,7 @@
 </tr>
  <tr>
   <td valign='bottom'> 
-    <h2>Name</h2>
+    <h2>__Name__</h2>
     <input type='text' name='re_media' 
       <TMPL_IF qre_media>value=<TMPL_VAR qre_media></TMPL_IF>
        class='formulaire' size='8'>
 </tr>
  <tr>
   <td valign='bottom'> 
-    <h2>Number of items</h2>
+    <h2>__Expired media__</h2>
+    <input type='checkbox' name='expired' <TMPL_IF expired> checked </TMPL_IF> 
+       class='formulaire'>
+  </td>
+</tr>
+</tr>
+ <tr>
+  <td valign='bottom'> 
+    <h2>__Number of items__</h2>
     <input type='text' name='limit' value='<TMPL_VAR limit>' 
        class='formulaire' size='4'>
   </td>
 </tr>
 
 </table>
-  <input type="image" name='action' value='media' src='/bweb/update.png'>
+  <button type="submit" class="bp" name='action' value='media'> <img src='/bweb/update.png' alt=''>__Update__</button>
 
 </form>
 </div>