Changeset 7811 for extensions/event_cats/admin
- Timestamp:
- Nov 18, 2010, 2:43:57 AM (13 years ago)
- Location:
- extensions/event_cats/admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/config.inc.php
r7663 r7811 54 54 sprintf( 55 55 l10n('Register replacement'), 56 ' <br>', // nicer line feed56 '<br>', 57 57 $lang['Register'], 58 58 $lang['Duplicate'] … … 64 64 sprintf( 65 65 l10n('Display connection'), 66 ' <br>', // nicer line feed66 '<br>', 67 67 (version_compare(PHPWG_VERSION, '2.1.0', '<')) ? 68 68 $lang['Connection'] : $lang['Login'] -
extensions/event_cats/admin/duplication.inc.php
r7663 r7811 58 58 sprintf( 59 59 l10n('Register replacement'), 60 ' <br>', // nicer line feed60 '<br>', 61 61 $lang['Register'], 62 62 $lang['Duplicate'] -
extensions/event_cats/admin/template/autolog_new.tpl
r7810 r7811 310 310 311 311 {* <!-- Validity date --> *} 312 313 {* 314 <!-- 315 Next steps: 316 _ check if initialize validity date with JS is doable ; 317 _ check if ' onchange = "ec_update_ts();" ' can be used ; 318 _ implement JS ; 319 _ implement PHP ; 320 _ commit, and drink a pint! 321 --> 322 *} 323 312 324 <fieldset> 313 325 <legend style = "font-weight:bold;">Date de validité</legend> … … 363 375 {* <!-- /For tests purpose ; must be removed --> *} 364 376 </td> 365 377 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 366 378 <td> 367 379 <table> 368 380 <tr> 369 <td style = "text-align:right; vertical-align:top; font-weight:bold; padding-right:1em;">370 Page à utiliser après <br>371 expiration du code : 381 <td style = "text-align:right; vertical-align:top; font-weight:bold;"> 382 Page à utiliser après<br> 383 expiration du code 372 384 </td> 373 385 <td style = "text-align:left;"> 374 <ul style = "list-style-type:none; list-style-position:inside; ">386 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 375 387 <li style = "margin-bottom:0;"> 376 388 <label for = "ec_date_unknown_0_id"> -
extensions/event_cats/admin/template/config.tpl
r7663 r7811 43 43 <tr> 44 44 <td style = "text-align:right; font-weight:bold;"> 45 {'Duplication allowance'|@translate} 46 </td> 47 <td> 48 <label for = "ec_dup_conf_none_id"> 49 <input 50 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 51 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 52 > 53 {'No account'|@translate} 54 </label><br> 55 <label for = "ec_dup_conf_group_id"> 56 <input 57 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 58 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 59 > 60 {'Selection per group'|@translate} 61 </label><br> 62 <label for = "ec_dup_conf_all_id"> 63 <input 64 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 65 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 66 > 67 {'All accounts'|@translate} 68 </label> 45 {'Duplication allowance'|@translate} 46 </td> 47 <td> 48 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 49 <li style = "margin-bottom:0;"> 50 <label for = "ec_dup_conf_none_id"> 51 <input 52 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 53 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 54 > 55 {'No account'|@translate} 56 </label> 57 </li> 58 <li style = "margin-bottom:0;"> 59 <label for = "ec_dup_conf_group_id"> 60 <input 61 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 62 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 63 > 64 {'Selection per group'|@translate} 65 </label> 66 </li> 67 <li style = "margin-bottom:0;"> 68 <label for = "ec_dup_conf_all_id"> 69 <input 70 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 71 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 72 > 73 {'All accounts'|@translate} 74 </label> 75 </li> 76 </ul> 69 77 </td> 70 78 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 71 <td style = "text-align:right; font-weight:bold;"> 79 <td style = "text-align:right; font-weight:bold;"> <!-- id = "Replace "Register" link ?" --> 72 80 {* <!-- Replace "Register" link ? --> *} 73 {$ec_dup_link_conf} 74 </td> 75 <td> 76 <label for = "ec_dup_disp_normal_id"> 77 <input 78 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 79 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 80 > 81 {'No account'|@translate} 82 </label><br> 83 <label for = "ec_dup_disp_but_gen_id"> 84 <input 85 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 86 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 87 > 88 {'All but generics'|@translate} 89 </label><br> 90 <label for = "ec_dup_disp_dup_id"> 91 <input 92 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 93 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 94 > 95 {'All accounts'|@translate} 96 </label><br> 81 {$ec_dup_link_conf} 82 </td> 83 <td> 84 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 85 <li style = "margin-bottom:0;"> 86 <label for = "ec_dup_disp_normal_id"> 87 <input 88 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 89 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 90 > 91 {'No account'|@translate} 92 </label> 93 </li> 94 <li style = "margin-bottom:0;"> 95 <label for = "ec_dup_disp_but_gen_id"> 96 <input 97 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 98 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 99 > 100 {'All but generics'|@translate} 101 </label> 102 </li> 103 <li style = "margin-bottom:0;"> 104 <label for = "ec_dup_disp_dup_id"> 105 <input 106 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 107 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 108 > 109 {'All accounts'|@translate} 110 </label> 111 </li> 112 </ul> 97 113 </td> 98 114 </tr> … … 105 121 <tr> 106 122 <td style = "text-align:right; vertical-align:top; font-weight:bold;"> 107 {'Page for unknown code'|@translate} 108 </td> 109 <td> 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"> 112 {'Home'|@translate} 113 </label><br> 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"> 116 {'Access denied'|@translate} 117 </label><br> 118 {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *} 119 <label class = "ec_block" for = "ec_in_up_aps_id" onclick = "ec_mark_action('ec_unknown_2_id');" 120 {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {/if} 121 > 122 <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id"> 123 {'Additional Page'|@translate}<br> 124 <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" > 125 {html_options options=$add_pages} 126 </select> 127 </label> 123 {'Page for unknown code'|@translate} 124 </td> 125 <td> 126 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 127 <li style = "margin-bottom:0;"> 128 <label for = "ec_unknown_0_id" onclick = "ec_mark_action('ec_unknown_0_id');"> 129 <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id"> 130 {'Home'|@translate} 131 </label> 132 </li> 133 <li style = "margin-bottom:0;"> 134 <label for = "ec_unknown_1_id" onclick = "ec_mark_action('ec_unknown_1_id');"> 135 <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id"> 136 {'Access denied'|@translate} 137 </label> 138 </li> 139 <li {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {else} style = "margin-bottom:0;" {/if}> 140 {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *} 141 <label class = "ec_block" for = "ec_in_up_aps_id" onclick = "ec_mark_action('ec_unknown_2_id');"> 142 <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id"> 143 {'Additional Page'|@translate}<br> 144 <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" > 145 {html_options options=$add_pages} 146 </select> 147 </label> 148 </li> 149 </ul> 128 150 </td> 129 151 </tr> … … 136 158 <tr> 137 159 <td style = "text-align:right; font-weight:bold;"> 138 {'Comments display'|@translate} 139 </td> 140 <td> 141 <label for = "ec_comments_0_id"> 142 <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id" 143 {if $ec_conf.comment_display == '0'} checked = "checked" {/if} 144 > 145 {'As tooltip'|@translate} 146 </label><br> 147 <label for = "ec_comments_1_id"> 148 <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id" 149 {if $ec_conf.comment_display == '1'} checked = "checked" {/if} 150 > 151 {'In a row'|@translate} 152 </label> 160 {'Comments display'|@translate} 161 </td> 162 <td> 163 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 164 <li style = "margin-bottom:0;"> 165 <label for = "ec_comments_0_id"> 166 <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id" 167 {if $ec_conf.comment_display == '0'} checked = "checked" {/if} 168 > 169 {'As tooltip'|@translate} 170 </label> 171 </li> 172 <li style = "margin-bottom:0;"> 173 <label for = "ec_comments_1_id"> 174 <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id" 175 {if $ec_conf.comment_display == '1'} checked = "checked" {/if} 176 > 177 {'In a row'|@translate} 178 </label> 179 </li> 180 </ul> 153 181 </td> 154 182 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 155 183 <td style = "text-align:right; font-weight:bold;"> 156 {'Help banner'|@translate} 157 </td> 158 <td> 159 <label for = "ec_2help_banner_1_id"> 160 <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id" 161 onclick = "ec_mark_help('ec_help_banner_1');" 162 > 163 {'Banner on'|@translate} 164 </label><br> 165 <label for = "ec_2help_banner_0_id"> 166 <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id" 167 onclick = "ec_mark_help('ec_help_banner_0');" 168 > 169 {'Banner off'|@translate} 170 </label> 184 {'Help banner'|@translate} 185 </td> 186 <td> 187 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 188 <li style = "margin-bottom:0;"> 189 <label for = "ec_2help_banner_1_id"> 190 <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id" 191 onclick = "ec_mark_help('ec_help_banner_1');" 192 > 193 {'Banner on'|@translate} 194 </label> 195 </li> 196 <li style = "margin-bottom:0;"> 197 <label for = "ec_2help_banner_0_id"> 198 <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id" 199 onclick = "ec_mark_help('ec_help_banner_0');" 200 > 201 {'Banner off'|@translate} 202 </label> 203 </li> 204 </ul> 205 </td> 171 206 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 172 207 <td style = "text-align:right; font-weight:bold;"> 173 {$ec_display_connect_conf} 174 </td> 175 <td> 176 <label for = "ec_connection_1_id"> 177 <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id" 178 {if $ec_conf.display_connection == '1'} checked = "checked" {/if} 179 > 180 {'Yes'|@translate} 181 </label><br> 182 <label for = "ec_connection_0_id"> 183 <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id" 184 {if $ec_conf.display_connection == '0'} checked = "checked" {/if} 185 > 186 {'No'|@translate} 187 </label> 208 {$ec_display_connect_conf} 209 </td> 210 <td> 211 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 212 <li style = "margin-bottom:0;"> 213 <label for = "ec_connection_1_id"> 214 <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id" 215 {if $ec_conf.display_connection == '1'} checked = "checked" {/if} 216 > 217 {'Yes'|@translate} 218 </label> 219 </li> 220 <li style = "margin-bottom:0;"> 221 <label for = "ec_connection_0_id"> 222 <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id" 223 {if $ec_conf.display_connection == '0'} checked = "checked" {/if} 224 > 225 {'No'|@translate} 226 </label> 227 </li> 228 </ul> 188 229 </td> 189 230 </table> -
extensions/event_cats/admin/template/duplication.tpl
r7663 r7811 34 34 <tr> 35 35 <td style = "text-align:right; font-weight:bold;"> 36 {'Duplication allowance'|@translate} 36 {'Duplication allowance'|@translate} 37 37 </td> 38 38 <td> 39 <label for = "ec_dup_conf_none_id"> 40 <input 41 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 42 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 43 > 44 {'No account'|@translate} 45 </label><br> 46 <label for = "ec_dup_conf_group_id"> 47 <input 48 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 49 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 50 > 51 {'Selection per group'|@translate} 52 </label><br> 53 <label for = "ec_dup_conf_all_id"> 54 <input 55 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 56 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 57 > 58 {'All accounts'|@translate} 59 </label> 39 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 40 <li style = "margin-bottom:0;"> 41 <label for = "ec_dup_conf_none_id"> 42 <input 43 type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id" 44 {if $ec_conf.dup_allow == '0'} checked = "checked" {/if} 45 > 46 {'No account'|@translate} 47 </label> 48 </li> 49 <li style = "margin-bottom:0;"> 50 <label for = "ec_dup_conf_group_id"> 51 <input 52 type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id" 53 {if $ec_conf.dup_allow == '2'} checked = "checked" {/if} 54 > 55 {'Selection per group'|@translate} 56 </label> 57 </li> 58 <li style = "margin-bottom:0;"> 59 <label for = "ec_dup_conf_all_id"> 60 <input 61 type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id" 62 {if $ec_conf.dup_allow == '1'} checked = "checked" {/if} 63 > 64 {'All accounts'|@translate} 65 </label> 66 </li> 67 </ul> 60 68 </td> 61 69 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 62 70 <td style = "text-align:right; font-weight:bold;"> 63 {$ec_dup_link_conf} 71 {$ec_dup_link_conf} 64 72 </td> 65 73 <td> 66 <label for = "ec_dup_disp_normal_id"> 67 <input 68 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 69 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 70 > 71 {'No account'|@translate} 72 </label><br> 73 <label for = "ec_dup_disp_but_gen_id"> 74 <input 75 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 76 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 77 > 78 {'All but generics'|@translate} 79 </label><br> 80 <label for = "ec_dup_disp_dup_id"> 81 <input 82 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 83 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 84 > 85 {'All accounts'|@translate} 86 </label><br> 74 <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;"> 75 <li style = "margin-bottom:0;"> 76 <label for = "ec_dup_disp_normal_id"> 77 <input 78 type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id" 79 {if $ec_conf.duplic_display == '0'} checked = "checked" {/if} 80 > 81 {'No account'|@translate} 82 </label> 83 </li> 84 <li style = "margin-bottom:0;"> 85 <label for = "ec_dup_disp_but_gen_id"> 86 <input 87 type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id" 88 {if $ec_conf.duplic_display == '2'} checked = "checked" {/if} 89 > 90 {'All but generics'|@translate} 91 </label> 92 </li> 93 <li style = "margin-bottom:0;"> 94 <label for = "ec_dup_disp_dup_id"> 95 <input 96 type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id" 97 {if $ec_conf.duplic_display == '1'} checked = "checked" {/if} 98 > 99 {'All accounts'|@translate} 100 </label> 101 </li> 102 </ul> 87 103 </td> 88 104 </tr>
Note: See TracChangeset
for help on using the changeset viewer.