Changeset 10221


Ignore:
Timestamp:
04/09/11 22:15:30 (9 years ago)
Author:
LucMorizur
Message:

Cosmetic change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/main.inc.php

    r10088 r10221  
    139139add_event_handler('blockmanager_apply', 'LCAS_add_tooltips_index'); 
    140140 
     141function 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 
    141153function LCAS_add_tooltips_prefilter_index($content, &$smarty) { 
    142154  $search = 'for="username"'; 
     
    168180} 
    169181 
    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  
    182182?> 
Note: See TracChangeset for help on using the changeset viewer.