3 <h1 class='newstitle'>Update media location</h1>
6 <form action='?' method='get'>
7 <table id='id<TMPL_VAR NAME=ID>'></table>
8 New location : <select class='formulaire' name='newlocation'>
9 <TMPL_LOOP NAME=db_locations>
10 <option id='loc_<TMPL_VAR NAME=location>' value='<TMPL_VAR NAME=location>'><TMPL_VAR NAME=location></option>
13 <button class='formulaire' type='submit' name='action' value='save_location'>
14 <img src='/bweb/apply.png'>
19 <script language="JavaScript">
21 var header = new Array("Volume Name", "Location", "Select");
23 var data = new Array();
26 <TMPL_LOOP NAME=medias>
27 chkbox = document.createElement('INPUT');
28 chkbox.type = 'checkbox';
29 chkbox.value = '<TMPL_VAR name=volumename>';
30 chkbox.name = 'media';
34 "<TMPL_VAR NAME=volumename>",
35 "<TMPL_VAR NAME=location>",
43 table_name: "id<TMPL_VAR NAME=ID>",
52 // natural_compare: false,
53 even_cell_color: even_cell_color,
54 odd_cell_color: odd_cell_color,
55 header_color: header_color,
58 rows_per_page: rows_per_page,
59 // disable_sorting: new Array(5,6)
63 <TMPL_IF qnewlocation>
64 document.getElementById('loc_' + <TMPL_VAR qnewlocation>).selected=true;