Changeset 10221 for extensions/LCAS/trunk
- Timestamp:
- Apr 9, 2011, 10:15:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/main.inc.php
r10088 r10221 139 139 add_event_handler('blockmanager_apply', 'LCAS_add_tooltips_index'); 140 140 141 function LCAS_add_tooltips_index() { 142 global $template, $conf, $lang; 143 144 $conf_LCAS= unserialize($conf['LoginCaseAccentsSensitivity']); 145 146 $template->assign(array( 147 'LCAS_username_tooltip' => $lang['LCAS_tooltip_username_index'][intval($conf_LCAS[0])], 148 'LCAS_password_tooltip' => $lang['LCAS_tooltip_password_index'], 149 )); 150 $template->set_prefilter('menubar', 'LCAS_add_tooltips_prefilter_index'); 151 } 152 141 153 function LCAS_add_tooltips_prefilter_index($content, &$smarty) { 142 154 $search = 'for="username"'; … … 168 180 } 169 181 170 function LCAS_add_tooltips_index() {171 global $template, $conf, $lang;172 173 $conf_LCAS= unserialize($conf['LoginCaseAccentsSensitivity']);174 175 $template->assign(array(176 'LCAS_username_tooltip' => $lang['LCAS_tooltip_username_index'][intval($conf_LCAS[0])],177 'LCAS_password_tooltip' => $lang['LCAS_tooltip_password_index'],178 ));179 $template->set_prefilter('menubar', 'LCAS_add_tooltips_prefilter_index');180 }181 182 182 ?>
Note: See TracChangeset
for help on using the changeset viewer.