<br/>
<div class='titlediv'>
- <h1 class='newstitle'>Update media location</h1>
+ <h1 class='newstitle'>__Update media location__</h1>
</div>
<div class="bodydiv">
<form action='?' method='get'>
- <table id='id<TMPL_VAR NAME=ID>'></table>
- New location : <select class='formulaire' name='newlocation'>
- <TMPL_LOOP NAME=db_locations>
- <option id='loc_<TMPL_VAR NAME=location>' value='<TMPL_VAR NAME=location>'><TMPL_VAR NAME=location></option>
+ <table id='id<TMPL_VAR ID>'></table>
+ __New location:__ <select class='formulaire' name='newlocation'>
+ <TMPL_LOOP db_locations>
+ <option id='loc_<TMPL_VAR location>' value='<TMPL_VAR location>'><TMPL_VAR location></option>
</TMPL_LOOP>
</select>
- <input type="image" name='action' value='save_location' src='/bweb/apply.png'>
+ <button type="submit" class="bp" name='action' value='save_location'> <img src='/bweb/apply.png' alt=''>__Apply__</button>
</form>
</div>
<script type="text/javascript" language="JavaScript">
-var header = new Array("Volume Name", "Location", "Select");
+var header = new Array("__Volume Name__", "__Location__", "__Select__");
var data = new Array();
var chkbox;
-<TMPL_LOOP NAME=medias>
+<TMPL_LOOP media>
chkbox = document.createElement('INPUT');
chkbox.type = 'checkbox';
chkbox.value = '<TMPL_VAR name=volumename>';
chkbox.checked = 1;
data.push( new Array(
-"<TMPL_VAR NAME=volumename>",
-"<TMPL_VAR NAME=location>",
+"<TMPL_VAR volumename>",
+"<TMPL_VAR location>",
chkbox
)
);
nrsTable.setup(
{
- table_name: "id<TMPL_VAR NAME=ID>",
+ table_name: "id<TMPL_VAR ID>",
table_header: header,
table_data: data,
up_icon: up_icon,
header_color: header_color,
page_nav: true,
padding: 3,
- rows_per_page: rows_per_page,
// disable_sorting: new Array(5,6)
+ rows_per_page: rows_per_page
}
);