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 media'>
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>
30 <option value='Purged'>Purged</option>
37 <input class='formulaire' type='text'
38 name='slot' value='<TMPL_VAR slot>'>
42 <tr><td>InChanger Flag:</td>
44 <input class='formulaire' type='checkbox'
45 name='inchanger' <TMPL_IF inchanger>checked</TMPL_IF>>
49 <tr><td> Location : </td>
50 <td><select name='location' class='formulaire'>
51 <option value=''></option>
52 <TMPL_LOOP db_locations>
53 <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
58 <tr><td> Retention period: </td>
60 <input class='formulaire' type='text' title='ex: 3 days, 1 month'
61 name='volretention' value='<TMPL_VAR volretention>'>
64 <tr><td> Use duration: </td>
66 <input class='formulaire' type='text' title='ex: 3 days, 1 month'
67 name='voluseduration' value='<TMPL_VAR voluseduration>'>
70 <tr><td> Max Jobs: </td>
72 <input class='formulaire' type='text' title='ex: 10'
73 name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
76 <tr><td> Max Files: </td>
78 <input class='formulaire' type='text' title='ex: 10000'
79 name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
82 <tr><td> Max Bytes: </td>
84 <input class='formulaire' type='text' title='ex: 10M, 11G'
85 name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
88 <tr><td>Recycle Pool:</td>
89 <td><select name='poolrecycle' class='formulaire'>
91 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
96 <tr><td> Comment: </td>
98 <input class='formulaire' type='text' title='a comment'
99 name='comment' value='<TMPL_VAR comment>'>
107 <input type="image" name='action' value='do_update_media' src='/bweb/apply.png'> Apply
110 <input type="image" name='action' title='Update from pool'
111 value='update_from_pool' src='/bweb/update.png'> Update
116 <form action='?' method='GET'>
117 <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
119 <input type="image" name='action' value='media'
120 src='/bweb/zoom.png'>View Pool
127 <script type="text/javascript" language='JavaScript'>
129 for (var i=0; ok && i < document.form1.pool.length; ++i) {
130 if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
131 document.form1.pool[i].selected = true;
137 for (var i=0; ok && i < document.form1.pool.length; ++i) {
138 if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
139 document.form1.poolrecycle[i].selected = true;
145 for (var i=0; ok && i < document.form1.location.length; ++i) {
146 if (document.form1.location[i].value == '<TMPL_VAR location>') {
147 document.form1.location[i].selected = true;
153 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
154 if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
155 document.form1.volstatus[i].selected = true;