3 <h1 class='newstitle'>__Update media location__</h1>
6 <form action='?' method='get'>
7 <table id='id<TMPL_VAR ID>'></table>
8 __New location:__ <select class='formulaire' name='newlocation'>
9 <TMPL_LOOP db_locations>
10 <option id='loc_<TMPL_VAR location>' value='<TMPL_VAR location>'><TMPL_VAR location></option>
13 <button type="submit" class="bp" name='action' value='save_location'> <img src='/bweb/apply.png' alt=''>__Apply__</button>
17 <script type="text/javascript" language="JavaScript">
19 var header = new Array("__Volume Name__", "__Location__", "__Select__");
21 var data = new Array();
25 chkbox = document.createElement('INPUT');
26 chkbox.type = 'checkbox';
27 chkbox.value = '<TMPL_VAR name=volumename>';
28 chkbox.name = 'media';
32 "<TMPL_VAR volumename>",
33 "<TMPL_VAR location>",
41 table_name: "id<TMPL_VAR ID>",
50 // natural_compare: false,
51 even_cell_color: even_cell_color,
52 odd_cell_color: odd_cell_color,
53 header_color: header_color,
56 // disable_sorting: new Array(5,6)
57 rows_per_page: rows_per_page
61 <TMPL_IF qnewlocation>
62 document.getElementById('loc_' + <TMPL_VAR qnewlocation>).selected=true;