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 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();
24 <TMPL_LOOP NAME=media>
25 chkbox = document.createElement('INPUT');
26 chkbox.type = 'checkbox';
27 chkbox.value = '<TMPL_VAR name=volumename>';
28 chkbox.name = 'media';
32 "<TMPL_VAR NAME=volumename>",
33 "<TMPL_VAR NAME=location>",
41 table_name: "id<TMPL_VAR NAME=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;