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__'>
12 <tr><td>__Pool:__</td>
13 <td><select name='pool' class='formulaire'>
15 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
20 <tr><td>__Status:__</td>
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='Recycle'>Recycle</option>
35 <tr><td>__Slot:__</td>
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>__Enabled:__</td>
50 <td> <select name='enabled' class='formulaire'>
51 <option value='yes'>__yes__</option>
52 <option value='no'>__no__</option>
53 <option value='archived'>__archived__</option>
58 <tr><td> __Location:__ </td>
59 <td><select name='location' class='formulaire'>
60 <option value=''></option>
61 <TMPL_LOOP db_locations>
62 <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
67 <tr><td> __Retention period:__ </td>
69 <input class='formulaire' type='text' title='__ex: 3 days, 1 month__'
70 name='volretention' value='<TMPL_VAR volretention>'>
73 <tr><td> __Use duration:__ </td>
75 <input class='formulaire' type='text' title='__ex: 3 days, 1 month__'
76 name='voluseduration' value='<TMPL_VAR voluseduration>'>
79 <tr><td> __Max Jobs:__ </td>
81 <input class='formulaire' type='text' title='__ex: 10__'
82 name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
85 <tr><td> __Max Files:__ </td>
87 <input class='formulaire' type='text' title='__ex: 10000__'
88 name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
91 <tr><td> __Max Bytes:__ </td>
93 <input class='formulaire' type='text' title='__ex: 10M, 11G__'
94 name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
97 <tr><td>__Recycle Pool:__</td>
98 <td><select name='poolrecycle' class='formulaire'>
100 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
105 <tr><td> __Comment:__ </td>
107 <input class='formulaire' type='text' title='__a comment__'
108 name='comment' value='<TMPL_VAR comment>'>
115 <button type="submit" class="bp" name='action' value='do_update_media'> <img src='/bweb/apply.png' alt=''> __Apply__ </button>
116 <button type="submit" class="bp" name='action' title='__Update from pool__'
117 value='update_from_pool'> <img src='/bweb/update.png' alt=''> __Update from pool__ </button>
121 <form action='?' method='GET'>
122 <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
123 <button type="submit" class="bp" name='action' value='media'>
124 <img src='/bweb/zoom.png' alt=''>__View Pool__ </button>
130 <script type="text/javascript" language='JavaScript'>
132 for (var i=0; ok && i < document.form1.pool.length; ++i) {
133 if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
134 document.form1.pool[i].selected = true;
140 for (var i=0; ok && i < document.form1.pool.length; ++i) {
141 if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
142 document.form1.poolrecycle[i].selected = true;
148 for (var i=0; ok && i < document.form1.location.length; ++i) {
149 if (document.form1.location[i].value == '<TMPL_VAR location>') {
150 document.form1.location[i].selected = true;
156 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
157 if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
158 document.form1.volstatus[i].selected = true;
163 for (var i=0; ok && i < document.form1.enabled.length; ++i) {
164 if (document.form1.enabled[i].value == '<TMPL_VAR enabled>') {
165 document.form1.enabled[i].selected = true;