Changeset 10456 for extensions/event_cats/admin
- Timestamp:
- Apr 17, 2011, 10:42:21 PM (13 years ago)
- Location:
- extensions/event_cats/admin/template
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/autolog_entries.tpl
r8956 r10456 10 10 {'Help banner'|@translate} 11 11 <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');"> 12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1" />12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"> 13 13 {'Show'|@translate} 14 14 </label> 15 15 16 16 <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');"> 17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0" />17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"> 18 18 {'Hide'|@translate} 19 19 </label> 20 — 20 — 21 21 </span> 22 22 {if $ec_ap_ok} … … 33 33 </div><span id = "ec_help_ban"></span> 34 34 35 <br />35 <br> 36 36 37 37 {* <!-- Form to view codes --> *} 38 38 <form class = "filter" method = "post" name = "ec_view_codes" action = ""> 39 <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />40 <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;"/>41 39 42 40 <div style = "text-align:center; font-weight:bold; font-size:120%;"> 41 <input type = "hidden" id = "ec_act1_id" name = "ec_act1"> 42 <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;"> 43 43 <a href = "#ec_top" name = "ec_top" title = "{'Place title on top ttip'|@translate}"> 44 44 <!--[if !IE]> <--> <label> <!--> <![endif]--> … … 46 46 <!--[if !IE]> <--> </label> <!--> <![endif]--> 47 47 <!-- What we're able to do for our "prefered" browser |-( ...! --> 48 </a><br />49 </div> <br />48 </a><br> 49 </div> 50 50 51 51 {* <!-- Table to show codes present in MySQL table --> *} 52 <table class = "table2" width = "97%"> 53 <thead> 54 <tr class = "throw"> 55 <td>{'Entry'|@translate}</td> 56 <td>{'Code'|@translate}</td> 57 <td>{'Username'|@translate}</td> 58 <td>{'Identification'|@translate}</td> 59 <td>{'Displayed page'|@translate}</td> 60 <td>{'Tools'|@translate}</td> 61 </tr> 62 </thead> 63 64 {foreach from=$code_list item=code_line name=code_loop} 65 <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}"> 66 <td> 67 <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}" 68 onclick = "ec_mark_line({$code_line.id});" 69 /> 70 <label for = "selection-{$code_line.id}">{$code_line.id}</label> 71 <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a> 72 </td> 73 <td> 74 <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}" 75 {if $comment_tooltip} title = "{$code_line.Comment}" {/if} 76 > 77 {$code_line.Code} 78 {if !$comment_tooltip and $code_line.Comment != ''}<br />{$code_line.Comment}{/if} 79 </label> 80 </td> 81 <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td> 82 <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td> 83 <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td> 84 <td> 85 {if $code_line.log_OK} 86 <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});"> 87 <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button" 88 alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}" /> 89 </a> 90 {if $code_line.Forced == 'true'} 91 <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);"> 92 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png" 93 alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}" 94 /> 52 <p> 53 <table class = "table2" width = "97%"> 54 <thead> 55 <tr class = "throw"> 56 <td>{'Entry'|@translate}</td> 57 <td>{'Code'|@translate}</td> 58 <td>{'Username'|@translate}</td> 59 <td>{'Identification'|@translate}</td> 60 <td>{'Displayed page'|@translate}</td> 61 <td>{'Tools'|@translate}</td> 62 </tr> 63 </thead> 64 65 {foreach from=$code_list item=code_line name=code_loop} 66 <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}"> 67 <td> 68 <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}" 69 onclick = "ec_mark_line({$code_line.id});" 70 > 71 <label for = "selection-{$code_line.id}">{$code_line.id}</label> 72 <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a> 73 </td> 74 <td> 75 <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}" 76 {if $comment_tooltip} title = "{$code_line.Comment}" {/if} 77 > 78 {$code_line.Code} 79 {if !$comment_tooltip and $code_line.Comment != ''}<br>{$code_line.Comment}{/if} 80 </label> 81 </td> 82 <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td> 83 <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td> 84 <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td> 85 <td> 86 {if $code_line.log_OK} 87 <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});"> 88 <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button" 89 alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}"> 95 90 </a> 96 {else} 97 <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);"> 98 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png" 99 alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}"/> 100 </a> 101 <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});"> 102 <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none" 103 alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}" /> 104 </a> 91 {if $code_line.Forced == 'true'} 92 <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);"> 93 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png" 94 alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}" 95 > 96 </a> 97 {else} 98 <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);"> 99 <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png" 100 alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}"> 101 </a> 102 <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});"> 103 <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none" 104 alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}"> 105 </a> 106 {/if} 105 107 {/if} 106 {/if}107 </t d>108 </tr>109 {/foreach}110 </ table>108 </td> 109 </tr> 110 {/foreach} 111 </table> 112 </p> 111 113 112 114 {* <!-- This is not really a table, looks like a unique cell at the end of previous table, … … 120 122 <label title = "{'Copy URL ttip'|@translate}"> 121 123 {'URL'|@translate} 122 <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly" />123 </label><br />124 <br />124 <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly"> 125 </label><br> 126 <br> 125 127 <a 126 href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}" alt = "{'Test URL ttip'|@translate}"128 href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}" 127 129 id = "ec_table_URL" onclick = "return ec_check_tst();" class = "ec_lower_tools" 128 />129 <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button" />130 > 131 <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button" alt = "{'Test URL ttip'|@translate}"> 130 132 {'Test'|@translate} 131 133 </a> 132 134 133 135 <a href = "javascript:void(0);" onclick = "ec_check_dl();" id = "ec_del_link_id" class = "ec_lower_tools" 134 alt = "{'Delete entry ttip'|@translate}"title = "{'Delete entry ttip'|@translate}"136 title = "{'Delete entry ttip'|@translate}" 135 137 > 136 <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button" />138 <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button" alt = "{'Delete entry ttip'|@translate}"> 137 139 {'Delete'|@translate} 138 140 </a> 139 141 140 142 <a href = "javascript:void(0);" onclick = "ec_check_m();" id = "ec_mod_link_id" class = "ec_lower_tools" 141 alt = "{'Modify entry ttip'|@translate}"title = "{'Modify entry ttip'|@translate}"143 title = "{'Modify entry ttip'|@translate}" 142 144 > 143 <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button" />145 <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button" alt = "{'Modify entry ttip'|@translate}"> 144 146 {'Modify'|@translate} 145 147 </a> 146 148 </td> 147 149 </tr> 148 </table> <br />150 </table> 149 151 </form> 150 152 … … 160 162 </script> 161 163 162 {include file=$FooterIncTPL} 164 <p> 165 {include file=$FooterIncTPL} 166 </p> -
extensions/event_cats/admin/template/autolog_new.tpl
r8956 r10456 10 10 {'Help banner'|@translate} 11 11 <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');"> 12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1" />12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"> 13 13 {'Show'|@translate} 14 14 </label> 15 15 16 16 <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');"> 17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0" />17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"> 18 18 {'Hide'|@translate} 19 19 </label> … … 38 38 {* <!-- Parameters list --> *} 39 39 <form class = "filter" method = "post" name = "ec_new_code" action = "" onsubmit = "return ec_check_submit();"> 40 <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />41 <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel" />40 <input type = "hidden" id = "ec_act1_id" name = "ec_act1"> 41 <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel"> 42 42 43 43 {* <!-- Page title. Can be "New entry" or "Entry modification" --> *} … … 54 54 </a> 55 55 {if $ec_is_creation} 56 <br /><br />56 <br><br> 57 57 <input class = "submit" type = "button" name = "ec_submit_gen_full_auto" value = "{'Full auto'|@translate}" 58 id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;" />58 id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;"> 59 59 {/if} 60 60 </div> … … 74 74 {* <!-- New code (to create) --> *} 75 75 <label for = "ec_in_up_code_id" onclick = "ec_mark_code('ec_sel_code_new');" {$ec_hidden_when_no_code} > 76 <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new" />76 <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new"> 77 77 {'New code'|@translate} 78 78 </label> … … 81 81 <input class = "submit" type = "button" name = "ec_submit_gen_code" value = "{'Auto code button'|@translate}" 82 82 id = "ec_submit_gen_code_id" onclick = "ec_gen_code();" style = "margin:0;" 83 />83 > 84 84 </label> 85 85 {'Auto code mid'|@translate} … … 97 97 {/foreach} 98 98 </select> 99 {'Auto code end'|@translate}<br />99 {'Auto code end'|@translate}<br> 100 100 <li style = "padding-left: 30px;"> 101 101 <input type = "text" name = "ec_in_up_code" maxlength = "32" size = "40" 102 102 id = "ec_in_up_code_id" onblur = "ec_check_code_text(this.value);" 103 />103 > 104 104 — 105 105 <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}"> … … 107 107 <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id" 108 108 onchange = "ec_new_comment_text = this.value;" 109 />109 > 110 110 </label> 111 111 </li> … … 115 115 {* <!-- Known code --> *} 116 116 <label for = "ec_in_up_code_list_id" onclick = "ec_mark_code('ec_sel_code_old');" {$ec_hidden_when_no_code}> 117 <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old" />117 <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old"> 118 118 {'Existing code'|@translate} 119 119 </label> … … 150 150 <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id" 151 151 onchange = "ec_new_comment_text = this.value;" 152 />152 > 153 153 </label> 154 154 </li> … … 162 162 <legend style = "font-weight:bold;"> 163 163 {'Identified user'|@translate} 164 <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn"> </span><br />164 <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn"> </span><br> 165 165 </legend> 166 166 … … 169 169 {* <!-- None --> *} 170 170 <label onclick = "return ec_mark_user('ec_sel_user_none');"> 171 <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none" />171 <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none"> 172 172 {'No user'|@translate} 173 </label><br />173 </label><br> 174 174 </li> 175 175 {/if} … … 178 178 {* <!-- New user (to create) --> *} 179 179 <label for = "ec_in_up_usr_txt_id" onclick = "return ec_mark_user('ec_sel_user_new');" {$ec_hidden_when_no_user} > 180 <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user} />180 <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user}> 181 181 {'New generic user'|@translate} 182 182 </label> … … 185 185 <input class = "submit" type = "button" name = "ec_submit_gen_user" value = "{'Generate username'|@translate}" 186 186 id = "ec_submit_gen_user_id" onclick = "ec_gen_user();" 187 />187 > 188 188 </label> 189 189 <li style = "padding-left: 30px;"> 190 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br />190 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br> 191 191 <input type = "text" name = "login" id = "ec_in_up_usr_txt_id" maxlength = "50" 192 192 size = "20" onblur = "ec_new_user_text = this.value; ec_check_user_text();" 193 />194 </label> 195 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br />193 > 194 </label> 195 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br> 196 196 <input type = "text" name = "password" id = "ec_in_up_psd_txt_id" maxlength = "32" 197 197 size = "20" onblur = "ec_new_psd_text = this.value; ec_check_pwd_text();" 198 />199 </label> 200 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br />201 <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20" />198 > 199 </label> 200 <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br> 201 <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20"> 202 202 </label> 203 203 <label class = "ec_block" onclick = "ec_check_grp_text(); return ec_mark_user('ec_sel_user_new');" for = "ec_in_up_grp_txt_id"> 204 204 <input type = "checkbox" name = "ec_in_up_newgroup" id = "ec_in_up_newgroup_id" 205 205 onchange = "ec_selected_old_group = (this.checked != '');" 206 />206 > 207 207 <span onMouseover = "ec_chk_over_grp = true;" onMouseout = "ec_chk_over_grp = false;"> 208 208 {'New group'|@translate} 209 </span><br />209 </span><br> 210 210 <input type = "text" name = "groupname" id = "ec_in_up_grp_txt_id" maxlength = "32" 211 211 size = "20" onblur = "ec_new_grp_text = this.value; if (this.value != '') ec_selected_old_group = true;" 212 />213 </label> 214 </li><br />212 > 213 </label> 214 </li><br> 215 215 </li> 216 216 … … 218 218 {* <!-- Known user --> *} 219 219 <label for = "ec_in_up_usr_list_id" onclick = "return ec_mark_user('ec_sel_user_old');" {$ec_hidden_when_no_user} > 220 <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old" />220 <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old"> 221 221 {'Existing user'|@translate} 222 222 </label> … … 225 225 <option label = "{$ec_val}" value = "{$ec_key}" >{$ec_val}</option> 226 226 {/foreach} 227 </select><br />227 </select><br> 228 228 </li> 229 229 … … 246 246 {if !$ec_ap_ok or count($ec_lists.add_pages) == 0} style = "display:none;" {/if} 247 247 > 248 <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id" />249 {'Additional Page'|@translate}<br />248 <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id"> 249 {'Additional Page'|@translate}<br> 250 250 <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" > 251 251 {html_options options=$ec_lists.add_pages} … … 259 259 <input type = "radio" name = "ec_input_action" value = "cat" id = "ec_input_action_cat" for = "ec_in_up_cats_id" 260 260 onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;" 261 />262 <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br />261 > 262 <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br> 263 263 <select class = "categoryList" name = "ec_in_up_cat" size = "30" id = "ec_in_up_cats_id" onchange = "ec_selected_cat = this.value;"> 264 264 {html_options options=$ec_lists.categories} … … 270 270 {if $ec_no_assoc or count($ec_lists.categories) == 0} style = "display:none;" {/if} 271 271 > 272 <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id" />273 {'Image id'|@translate}<br />272 <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id"> 273 {'Image id'|@translate}<br> 274 274 <input type = "text" name = "ec_in_up_img" id = "ec_in_up_imgs_id" maxlength = "6" 275 275 size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');" 276 /><br />277 <span id = "ec_in_up_imgs_warn"> </span><br />276 ><br> 277 <span id = "ec_in_up_imgs_warn"> </span><br> 278 278 </label> 279 279 280 280 {* <!-- Index page --> *} 281 281 <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_home');"> 282 <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home" />282 <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home"> 283 283 {'Home'|@translate} 284 284 </label> … … 287 287 {if !$ec_is_creation} 288 288 <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_refused');"> 289 <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused" />289 <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused"> 290 290 {'Access denied'|@translate} 291 291 </label> … … 296 296 297 297 <p> 298 <input class = "submit" type = "submit" value = "{'Submit'|@translate}" />299 <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();" />298 <input class = "submit" type = "submit" value = "{'Submit'|@translate}"> 299 <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();"> 300 300 </p> 301 301 </form> -
extensions/event_cats/admin/template/config.tpl
r8956 r10456 10 10 {'Help banner'|@translate} 11 11 <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');"> 12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1" />12 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"> 13 13 {'Show'|@translate} 14 14 </label> 15 15 16 16 <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');"> 17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0" />17 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"> 18 18 {'Hide'|@translate} 19 19 </label> … … 50 50 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 51 51 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 52 />52 > 53 53 {'No account'|@translate} 54 </label><br />54 </label><br> 55 55 <label for = "ec_dup_conf_group_id"> 56 56 <input 57 57 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 58 58 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 59 />59 > 60 60 {'Selection per group'|@translate} 61 </label><br />61 </label><br> 62 62 <label for = "ec_dup_conf_all_id"> 63 63 <input 64 64 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 65 65 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 66 />66 > 67 67 {'All accounts'|@translate} 68 68 </label> … … 78 78 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 79 79 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 80 />80 > 81 81 {'No account'|@translate} 82 </label><br />82 </label><br> 83 83 <label for = "ec_dup_disp_but_gen_id"> 84 84 <input 85 85 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 86 86 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 87 />87 > 88 88 {'All but generics'|@translate} 89 </label><br />89 </label><br> 90 90 <label for = "ec_dup_disp_dup_id"> 91 91 <input 92 92 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 93 93 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 94 />94 > 95 95 {'All accounts'|@translate} 96 </label><br />96 </label><br> 97 97 </td> 98 98 </tr> … … 109 109 <td> 110 110 <label for = "ec_unknown_0_id" onclick = "ec_mark_action('ec_unknown_0_id');"> 111 <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id" />111 <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id"> 112 112 {'Home'|@translate} 113 </label><br />113 </label><br> 114 114 <label for = "ec_unknown_1_id" onclick = "ec_mark_action('ec_unknown_1_id');"> 115 <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id" />115 <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id"> 116 116 {'Access denied'|@translate} 117 </label><br />117 </label><br> 118 118 {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *} 119 119 <label class = "ec_block" for = "ec_in_up_aps_id" {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {/if} 120 120 onclick = "ec_mark_action('ec_unknown_2_id');" 121 121 > 122 <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id" />123 {'Additional Page'|@translate}<br />122 <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id"> 123 {'Additional Page'|@translate}<br> 124 124 <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" > 125 125 {html_options options=$add_pages} … … 142 142 <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id" 143 143 {if $ec_conf.comment_display == '0'} checked = "checked" {/if} 144 />144 > 145 145 {'As tooltip'|@translate} 146 </label><br />146 </label><br> 147 147 <label for = "ec_comments_1_id"> 148 148 <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id" 149 149 {if $ec_conf.comment_display == '1'} checked = "checked" {/if} 150 />150 > 151 151 {'In a row'|@translate} 152 152 </label> … … 160 160 <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id" 161 161 onclick = "ec_mark_help('ec_help_banner_1');" 162 />162 > 163 163 {'Banner on'|@translate} 164 </label><br />164 </label><br> 165 165 <label for = "ec_2help_banner_0_id"> 166 166 <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id" 167 167 onclick = "ec_mark_help('ec_help_banner_0');" 168 />168 > 169 169 {'Banner off'|@translate} 170 170 </label> … … 177 177 <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id" 178 178 {if $ec_conf.display_connection == '1'} checked = "checked" {/if} 179 />179 > 180 180 {'Yes'|@translate} 181 </label><br />181 </label><br> 182 182 <label for = "ec_connection_0_id"> 183 183 <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id" 184 184 {if $ec_conf.display_connection == '0'} checked = "checked" {/if} 185 />185 > 186 186 {'No'|@translate} 187 187 </label> … … 191 191 192 192 <div style = "text-align:center;"> 193 <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}" />193 <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}"> 194 194 </div> 195 195 -
extensions/event_cats/admin/template/duplication.tpl
r8956 r10456 9 9 {'Help banner'|@translate} 10 10 <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');"> 11 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1" />11 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"> 12 12 {'Show'|@translate} 13 13 </label> 14 14 15 15 <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');"> 16 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0" />16 <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"> 17 17 {'Hide'|@translate} 18 18 </label> … … 41 41 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 42 42 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 43 />43 > 44 44 {'No account'|@translate} 45 </label><br />45 </label><br> 46 46 <label for = "ec_dup_conf_group_id"> 47 47 <input 48 48 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 49 49 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 50 />50 > 51 51 {'Selection per group'|@translate} 52 </label><br />52 </label><br> 53 53 <label for = "ec_dup_conf_all_id"> 54 54 <input 55 55 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 56 56 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 57 />57 > 58 58 {'All accounts'|@translate} 59 59 </label> … … 68 68 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 69 69 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 70 />70 > 71 71 {'No account'|@translate} 72 </label><br />72 </label><br> 73 73 <label for = "ec_dup_disp_but_gen_id"> 74 74 <input 75 75 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 76 76 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 77 />77 > 78 78 {'All but generics'|@translate} 79 </label><br />79 </label><br> 80 80 <label for = "ec_dup_disp_dup_id"> 81 81 <input 82 82 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 83 83 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 84 />84 > 85 85 {'All accounts'|@translate} 86 </label><br />86 </label><br> 87 87 </td> 88 88 </tr> 89 89 </table> 90 <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}" />90 <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}"> 91 91 </fieldset> 92 92 </form> … … 101 101 <ul> 102 102 {foreach from=$groups_granted_ids item=id} 103 <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li>103 <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li> 104 104 {/foreach} 105 105 </ul> 106 <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}" />106 <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}"> 107 107 </fieldset> 108 108 … … 114 114 {/foreach} 115 115 </ul> 116 <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}" />116 <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}"> 117 117 </fieldset> 118 118 … … 123 123 <ul> 124 124 {if $ec_gen_granted} 125 <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label></li>126 <br />125 <li><label><input type = "checkbox" name = "deny_generic"> {'user_status_generic'|@translate}</label></li> 126 <br> 127 127 {/if} 128 128 {foreach from=$types_granted_ids item=id} 129 <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>129 <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}"> {$all_types[$id]}</label></li> 130 130 {/foreach} 131 131 </ul> 132 <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}" />132 <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}"> 133 133 </fieldset> 134 134 … … 137 137 <ul> 138 138 {if !$ec_gen_granted} 139 <li><label><input type = "checkbox" name = "grant_generic" /> {'user_status_generic'|@translate}</label></li>140 <br />139 <li><label><input type = "checkbox" name = "grant_generic"> {'user_status_generic'|@translate}</label></li> 140 <br> 141 141 {/if} 142 142 {foreach from=$types_denied_ids item=id} 143 <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>143 <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}"> {$all_types[$id]}</label></li> 144 144 {/foreach} 145 145 </ul> 146 <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}" />146 <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}"> 147 147 </fieldset> 148 148 … … 153 153 <ul> 154 154 {foreach from=$users_granted_direct_ids item=id} 155 <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li>155 <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}"> {$all_users[$id]}</label></li> 156 156 {/foreach} 157 157 </ul> 158 <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}" />158 <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}"> 159 159 </fieldset> 160 160 … … 177 177 {/foreach} 178 178 </ul> 179 <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}" />179 <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}"> 180 180 </fieldset> 181 181 -
extensions/event_cats/admin/template/footer.inc.tpl
r8956 r10456 11 11 //--></script> 12 12 <div id = "ec_help_banner0"> 13 <hr width = 100% size = 1 />13 <hr style = "width:100%; height: 1"> 14 14 <div id = "ec_help_banner1" style = "text-align:left; display:block;"></div> 15 <hr width = 100% size = 1 />15 <hr style = "width:100%; height: 1"> 16 16 </div> 17 17 {else} -
extensions/event_cats/admin/template/header.inc.tpl
r8956 r10456 29 29 {if !isset($ec_help_banner_in_foot)} 30 30 <span id = "ec_help_banner0"> 31 <hr width = 100% size = 1 />31 <hr style = "width:100%; height: 1"> 32 32 <div style = "text-align:right; font-style:italic;"> 33 33 {'Help banner'|@translate} … … 43 43 </div> 44 44 <span id = "ec_help_banner1" style = "text-align:left; display:block;"></span> 45 <hr width = 100% size = 1 />45 <hr style = "width:100%; height: 1"> 46 46 </span> 47 47 {/if}
Note: See TracChangeset
for help on using the changeset viewer.