3 <h1 class='newstitle'> Update media <TMPL_VAR volumename></h1>
6 <form name='form1' action="?" method='GET'>
8 <tr><td>Volume Name:</td>
9 <td><input type='text' name='media' class='formulaire' value='<TMPL_VAR volumename>' title='Change this to update an other volume'>
13 <td><select name='pool' class='formulaire'>
15 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
21 <td><select name='volstatus' class='formulaire'>
22 <option value='Append'>Append</option>
23 <option value='Archive'>Archive</option>
24 <option value='Disabled'>Disabled</option>
25 <option value='Cleaning'>Cleaning</option>
26 <option value='Error'>Error</option>
27 <option value='Full'>Full</option>
28 <option value='Read-Only'>Read-Only</option>
29 <option value='Used'>Used</option>
36 <input class='formulaire' type='text'
37 name='slot' value='<TMPL_VAR slot>'>
41 <tr><td>InChanger Flag:</td>
43 <input class='formulaire' type='checkbox'
44 name='inchanger' <TMPL_IF inchanger>checked</TMPL_IF>>
48 <tr><td> Location : </td>
49 <td><select name='location' class='formulaire'>
50 <option value=''></option>
51 <TMPL_LOOP db_locations>
52 <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
57 <tr><td> Retention period: </td>
59 <input class='formulaire' type='text' title='ex: 3 days, 1 month'
60 name='volretention' value='<TMPL_VAR volretention>'>
63 <tr><td> Use duration: </td>
65 <input class='formulaire' type='text' title='ex: 3 days, 1 month'
66 name='voluseduration' value='<TMPL_VAR voluseduration>'>
69 <tr><td> Max Jobs: </td>
71 <input class='formulaire' type='text' title='ex: 10'
72 name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
75 <tr><td> Max Files: </td>
77 <input class='formulaire' type='text' title='ex: 10000'
78 name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
81 <tr><td> Max Bytes: </td>
83 <input class='formulaire' type='text' title='ex: 10M, 11G'
84 name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
87 <tr><td>Recycle Pool:</td>
88 <td><select name='poolrecycle' class='formulaire'>
90 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
95 <tr><td> Comment: </td>
97 <input class='formulaire' type='text' title='a comment'
98 name='comment' value='<TMPL_VAR comment>'>
106 <input type="image" name='action' value='do_update_media' src='/bweb/apply.png'> Apply
109 <input type="image" name='action' title='Update from pool'
110 value='update_from_pool' src='/bweb/update.png'> Update from pool
115 <form action='?' method='GET'>
116 <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
118 <input type="image" name='action' value='media'
119 src='/bweb/zoom.png'>View Pool
126 <script type="text/javascript" language='JavaScript'>
128 for (var i=0; ok && i < document.form1.pool.length; ++i) {
129 if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
130 document.form1.pool[i].selected = true;
136 for (var i=0; ok && i < document.form1.pool.length; ++i) {
137 if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
138 document.form1.poolrecycle[i].selected = true;
144 for (var i=0; ok && i < document.form1.location.length; ++i) {
145 if (document.form1.location[i].value == '<TMPL_VAR location>') {
146 document.form1.location[i].selected = true;
152 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
153 if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
154 document.form1.volstatus[i].selected = true;