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>
31 <option value='Purged'>Purged</option>
36 <tr><td>__Slot:__</td>
38 <input class='formulaire' type='text'
39 name='slot' value='<TMPL_VAR slot>'>
43 <tr><td>__InChanger Flag:__</td>
45 <input class='formulaire' type='checkbox'
46 name='inchanger' <TMPL_IF inchanger>checked</TMPL_IF>>
50 <tr><td>__Enabled:__</td>
51 <td> <select name='enabled' class='formulaire'>
52 <option value='yes'>__yes__</option>
53 <option value='no'>__no__</option>
54 <option value='archived'>__archived__</option>
59 <tr><td> __Location:__ </td>
60 <td><select name='location' class='formulaire'>
61 <option value=''></option>
62 <TMPL_LOOP db_locations>
63 <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
68 <tr><td> __Retention period:__ </td>
70 <input class='formulaire' type='text' title='__ex: 3 days, 1 month__'
71 name='volretention' value='<TMPL_VAR volretention>'>
74 <tr><td> __Use duration:__ </td>
76 <input class='formulaire' type='text' title='__ex: 3 days, 1 month__'
77 name='voluseduration' value='<TMPL_VAR voluseduration>'>
80 <tr><td> __Max Jobs:__ </td>
82 <input class='formulaire' type='text' title='__ex: 10__'
83 name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
86 <tr><td> __Max Files:__ </td>
88 <input class='formulaire' type='text' title='__ex: 10000__'
89 name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
92 <tr><td> __Max Bytes:__ </td>
94 <input class='formulaire' type='text' title='__ex: 10M, 11G__'
95 name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
98 <tr><td>__Recycle Pool:__</td>
99 <td><select name='poolrecycle' class='formulaire'>
101 <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
106 <tr><td> __Comment:__ </td>
108 <input class='formulaire' type='text' title='__a comment__'
109 name='comment' value='<TMPL_VAR comment>'>
116 <button type="submit" class="bp" name='action' value='do_update_media'> <img src='/bweb/apply.png' alt=''> __Apply__ </button>
117 <button type="submit" class="bp" name='action' title='__Update from pool__'
118 value='update_from_pool'> <img src='/bweb/update.png' alt=''> __Update from pool__ </button>
122 <form action='?' method='GET'>
123 <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
124 <button type="submit" class="bp" name='action' value='media'>
125 <img src='/bweb/zoom.png' alt=''>__View Pool__ </button>
131 <script type="text/javascript" language='JavaScript'>
133 for (var i=0; ok && i < document.form1.pool.length; ++i) {
134 if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
135 document.form1.pool[i].selected = true;
141 for (var i=0; ok && i < document.form1.pool.length; ++i) {
142 if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
143 document.form1.poolrecycle[i].selected = true;
149 for (var i=0; ok && i < document.form1.location.length; ++i) {
150 if (document.form1.location[i].value == '<TMPL_VAR location>') {
151 document.form1.location[i].selected = true;
157 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
158 if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
159 document.form1.volstatus[i].selected = true;
164 for (var i=0; ok && i < document.form1.enabled.length; ++i) {
165 if (document.form1.enabled[i].value == '<TMPL_VAR enabled>') {
166 document.form1.enabled[i].selected = true;