Changeset 1182 in ExiteCMS for trunk/includes/templates/admin.db_backup.tpl
- Timestamp:
- 12/25/07 17:32:57 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/templates/admin.db_backup.tpl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/templates/admin.db_backup.tpl
r864 r1182 47 47 <!-- 48 48 function tableSelectAll(){for(i=0;i<document.restoreform.elements['list_tbl[]'].length;i++){document.restoreform.elements['list_tbl[]'].options[i].selected=true;}} 49 function tableSelectCore(){for(i=0;i<document.restoreform.elements['list_tbl[]'].length;i++){document.restoreform.elements['list_tbl[]'].options[i].selected=(document.restoreform.elements['list_tbl[]'].options[i].text).match(/^{/literal}{$db_prefix}{literal}/);}} 49 50 function tableSelectNone(){for(i=0;i<document.restoreform.elements['list_tbl[]'].length;i++){document.restoreform.elements['list_tbl[]'].options[i].selected=false;}} 50 51 function populateSelectAll(){for(i=0;i<document.restoreform.elements['list_ins[]'].length;i++){document.restoreform.elements['list_ins[]'].options[i].selected=true;}} 52 function populateSelectCore(){for(i=0;i<document.restoreform.elements['list_ins[]'].length;i++){document.restoreform.elements['list_ins[]'].options[i].selected=(document.restoreform.elements['list_ins[]'].options[i].text).match(/^{/literal}{$db_prefix}{literal}/);}} 51 53 function populateSelectNone(){for(i=0;i<document.restoreform.elements['list_ins[]'].length;i++){document.restoreform.elements['list_ins[]'].options[i].selected=false;}} 52 54 //--> … … 57 59 <tr> 58 60 <td colspan='2' class='tbl2'> 59 {$locale.430}61 <b>{$locale.430}</b> 60 62 </td> 61 63 </tr> … … 82 84 </tr> 83 85 <tr> 84 <td valign='top' class='tbl'>86 <td valign='top' align='center' class='tbl'> 85 87 {$locale.433} 86 88 <br /> 87 <select style='width: 180px;' class='textbox' id='list_tbl' name='list_tbl[]' size='{$maxrows}' multiple="multiple">89 <select style='width:250px;' class='textbox' id='list_tbl' name='list_tbl[]' size='{$maxrows}' multiple="multiple"> 88 90 {foreach from=$info_tables item=table} 89 91 <option value='{$table}' selected="selected">{$table}</option> 90 92 {/foreach} 91 93 </select> 92 <br /> {$locale.435} 93 <div style='display:inline; '>94 <br /><br />{$locale.435} 95 <div style='display:inline;text-align:center;vertical-align:top;'> 94 96 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onclick="javascript:tableSelectAll()" /> 97 <input type='button' class='button' name='{$locale.458}' value='{$locale.458}' onclick="javascript:tableSelectCore()" /> 95 98 <input type='button' class='button' name='{$locale.437}' value='{$locale.437}' onclick="javascript:tableSelectNone()" /> 96 99 </div> 97 100 </td> 98 <td valign='top' class='tbl'>101 <td valign='top' align='center' class='tbl'> 99 102 {$locale.434} 100 103 <br /> 101 <select style='width: 180px;' class='textbox' id='list_ins' name='list_ins[]' size='{$maxrows}' multiple="multiple">104 <select style='width:250px;' class='textbox' id='list_ins' name='list_ins[]' size='{$maxrows}' multiple="multiple"> 102 105 {section name=id loop=$info_inserts} 103 106 <option value='{$info_inserts[id].id}'{if $info_inserts[id].selected} selected="selected"{/if}>{$info_inserts[id].name}</option> 104 107 {/section} 105 108 </select> 106 <br /> {$locale.435} 107 <div style='display:inline; '>109 <br /><br />{$locale.435} 110 <div style='display:inline;text-align:center;vertical-align:top;'> 108 111 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onclick="javascript:populateSelectAll()" /> 112 <input type='button' class='button' name='{$locale.458}' value='{$locale.458}' onclick="javascript:populateSelectCore()" /> 109 113 <input type='button' class='button' name='{$locale.437}' value='{$locale.437}' onclick="javascript:populateSelectNone()" /> 110 114 </div> … … 116 120 </tr> 117 121 <tr> 118 <td align=' left' colspan='2' class='tbl2'>119 {$locale.406}122 <td align='center' colspan='2' class='tbl2'> 123 <b>{$locale.406}</b> 120 124 </td> 121 125 </tr> … … 154 158 <table align='center' cellspacing='0' cellpadding='0'> 155 159 <tr> 156 <td colspan='2' class='tbl2' align=' left'>157 {$locale.451}160 <td colspan='2' class='tbl2' align='center'> 161 <b>{$locale.451}</b> 158 162 </td> 159 163 </tr> … … 194 198 </tr> 195 199 <tr> 196 <td align='left' colspan='2' class='tbl2'>197 {$locale.454}200 <td colspan='2' class='tbl2' align='center'> 201 <b>{$locale.454}</b> 198 202 </td> 199 203 </tr> … … 244 248 </tr> 245 249 <tr> 246 <td align='left' colspan='2' class='tbl2'>247 {$locale.406}250 <td colspan='2' class='tbl2' align='center'> 251 <b>{$locale.406}</b> 248 252 </td> 249 253 </tr> … … 262 266 <tr> 263 267 <td class='tbl2'> 264 {$locale.457}268 <b>{$locale.457}</b> 265 269 </td> 266 270 </tr> … … 273 277 </select> 274 278 <br />{$locale.435} 275 <div style='display:inline;text-align:center;vertical-align: middle;'>279 <div style='display:inline;text-align:center;vertical-align:top;'> 276 280 <input type='button' class='button' name='{$locale.458}' value='{$locale.458}' onclick="javascript:backupSelectCore()" /> 277 281 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onclick="javascript:backupSelectAll()" />
Note: See TracChangeset
for help on using the changeset viewer.
