Changeset 4116 for extensions/event_cats/admin/template
- Timestamp:
- Oct 26, 2009, 2:13:11 AM (15 years ago)
- Location:
- extensions/event_cats/admin/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/autolog_new.js
r4115 r4116 31 31 var ec_duplic_codes = new Array(); 32 32 var ec_lists = new Array(); 33 ec_lists['code'] = new Array(); 33 34 ec_lists['user_id'] = new Array(); 34 35 ec_lists['action'] = new Array(); … … 136 137 ec_selected_user = 'ec_sel_user_old'; 137 138 ec_selected_old_user = 138 d.ec_new_code.ec_in_up_code_list.options[ 139 d.ec_new_code.ec_in_up_code_list.selectedIndex 140 ].label; 141 ec_flag1 = ec_flag2; 139 ec_lists['user_id'][ec_selected_old_code]; 140 ec_flag1 = true; 142 141 ec_mark_user('ec_sel_user_old'); 143 142 ec_flag1 = false; -
extensions/event_cats/admin/template/autolog_new.tpl
r4115 r4116 108 108 {'ec_up_code_lbl_code_old'|@translate} 109 109 </label> 110 <select name = "ec_in_up_code_list" id = "ec_in_up_code_list_id" 111 onchange = "ec_change_code_list(this.value);" {$ec_hidden_when_no_code} 112 > 110 <select name = "ec_in_up_code_list" id = "ec_in_up_code_list_id" onchange = "ec_change_code_list(this.value);" {$ec_hidden_when_no_code} > 113 111 {foreach from=$ec_lists.duplicable_codes.codes key=ec_key item=ec_val} 114 <option label = "{$ec_val.user_id}"value = "{$ec_val.id}">{$ec_key}</option>112 <option value = "{$ec_val.id}">{$ec_key}</option> 115 113 {/foreach} 116 114 </select><br> … … 280 278 ec_duplic_codes[{$ec_key}] = {$ec_val}; 281 279 {/foreach} 282 {else}283 {foreach from=$ec_lists.ec_table item=ec_val}284 ec_lists['user_id']['{$ec_val.id}'] = "{$ec_val.user_id}";285 ec_lists['action']['{$ec_val.id}'] = "{$ec_val.action}";286 ec_lists['arg1']['{$ec_val.id}'] = "{$ec_val.arg1}";287 ec_lists['arg2']['{$ec_val.id}'] = "{$ec_val.arg2}";288 ec_lists['forced']['{$ec_val.id}'] = "{$ec_val.forced}";289 {/foreach}290 280 {/if} 281 {foreach from=$ec_lists.ec_table item=ec_val} 282 ec_lists['user_id']['{$ec_val.id}'] = "{$ec_val.user_id}"; 283 ec_lists['action']['{$ec_val.id}'] = "{$ec_val.action}"; 284 ec_lists['arg1']['{$ec_val.id}'] = "{$ec_val.arg1}"; 285 ec_lists['arg2']['{$ec_val.id}'] = "{$ec_val.arg2}"; 286 ec_lists['forced']['{$ec_val.id}'] = "{$ec_val.forced}"; 287 {/foreach} 291 288 ec_init(); 292 289 //--></script>
Note: See TracChangeset
for help on using the changeset viewer.