Changeset 4553 for extensions/event_cats/admin
- Timestamp:
- Dec 22, 2009, 1:29:01 AM (14 years ago)
- Location:
- extensions/event_cats/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/evntcats_admin.php
r4486 r4553 152 152 if (!change_ec_conf('comment_display', $_POST['ec_comments'])) 153 153 ec_end2(11); 154 if (isset($_POST['ec_connection'])) 155 if (!change_ec_conf('display_connection', $_POST['ec_connection'])) 156 ec_end2(12); 154 157 $page['tab'] = 'config'; 155 158 $page['infos'][] = l10n('ec_config_saved'); … … 386 389 $template->assign('ec_help_banner_OK', (read_ec_conf('in_help_display') == '1')); 387 390 388 $template->assign('EVNTCATS_PATH', EVNTCATS_PATH);389 $template->assign('RACINE_URL', ROOT_URL);391 $template->assign('EVNTCATS_PATH', EVNTCATS_PATH); 392 $template->assign('RACINE_URL', ROOT_URL); 390 393 $template->assign('U_HELP', get_root_url().'popuphelp.php?page=help'); 391 394 -
extensions/event_cats/admin/template/config.tpl
r4470 r4553 169 169 {'Banner off'|@translate} 170 170 </label> 171 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 172 <td style = "text-align:right; font-weight:bold;"> 173 {'Display connection'|@translate} 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> 171 188 </td> 172 189 </table>
Note: See TracChangeset
for help on using the changeset viewer.