Changeset 8257 for extensions/LCAS/trunk/admin/LCAS_admin.php
- Timestamp:
- Dec 23, 2010, 7:13:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/admin/LCAS_admin.php
r8214 r8257 14 14 //ini_set('display_errors', true); 15 15 16 //include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');17 16 include_once(PHPWG_ROOT_PATH.'include/constants.php'); 18 17 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); … … 34 33 35 34 /* General configuration settings */ 36 37 /* Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them */ 35 $_POST['LCAS_MailText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['LCAS_MailText']))); 36 38 37 $newconf_LCAS= array( 39 38 $_POST['LCAS_Case_Sensitive'], 40 $_POST['LCAS_Accent_Sensitive']); 39 $_POST['LCAS_Accent_Sensitive'], 40 $_POST['LCAS_MailText']); 41 41 42 42 $conf['LoginCaseAccentsSensitivity'] = serialize($newconf_LCAS); … … 51 51 pwg_query($query); 52 52 53 array_push($page['infos'], l10n('LCAS_save_config')); 53 // $conf['insensitive_case_logon'] have to be True for a full LCAS use 54 if ($conf['insensitive_case_logon']) 55 { 56 array_push($page['infos'], l10n('LCAS_save_config')); 57 } 58 else 59 { 60 array_push($page['infos'], l10n('LCAS_save_config')); 61 array_push($page['errors'], l10n('LCAS_warning')); 62 } 54 63 } 55 64 … … 133 142 ); 134 143 } 135 /* Plugin version insert ed*/144 /* Plugin version insert */ 136 145 $template->assign( 137 146 array( … … 165 174 'LCAS_Case_Sensitive_FALSE' => $conf_LCAS[0]=='false' ? 'checked="checked"' : '' , 166 175 'LCAS_Accent_Sensitive_TRUE' => $conf_LCAS[1]=='true' ? 'checked="checked"' : '' , 167 'LCAS_Accent_Sensitive_FALSE' => $conf_LCAS[1]=='false' ? 'checked="checked"' : '' 176 'LCAS_Accent_Sensitive_FALSE' => $conf_LCAS[1]=='false' ? 'checked="checked"' : '' , 177 'LCAS_MAILTEXT' => $conf_LCAS[2] 168 178 ) 169 179 );
Note: See TracChangeset
for help on using the changeset viewer.