Changeset 8271 for extensions/LCAS/trunk/admin/LCAS_admin.php
- Timestamp:
- Dec 23, 2010, 11:24:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/admin/LCAS_admin.php
r8257 r8271 29 29 $version = $plugin['version']; 30 30 31 if (isset($_POST['submit']) and !is_adviser() and isset($_POST['LCAS_Case_Sensitive']) and isset($_POST['LCAS_Accent_Sensitive']) )31 if (isset($_POST['submit']) and !is_adviser() and isset($_POST['LCAS_Case_Sensitive']) and isset($_POST['LCAS_Accent_Sensitive']) and isset($_POST['LCAS_Mail'])) 32 32 { 33 33 … … 38 38 $_POST['LCAS_Case_Sensitive'], 39 39 $_POST['LCAS_Accent_Sensitive'], 40 $_POST['LCAS_Mail'], 40 41 $_POST['LCAS_MailText']); 41 42 … … 89 90 90 91 pwg_query($query); 91 92 93 if (isset($conf_LCAS[2]) and $conf_LCAS[2] = 'true') 94 { 95 LCAS_SendMail($lcas_UserToUpdate, $_POST['user-'.$lcas_UserToUpdate]); 96 } 97 92 98 array_push($page['infos'], l10n('LCAS_Info_userlist_username_renamed')); 93 99 } … … 97 103 } 98 104 } 99 100 105 101 106 … … 166 171 167 172 173 // +-----------------------------------------------------------------------+ 174 // | templates init | 175 // +-----------------------------------------------------------------------+ 168 176 $template->assign( 169 177 array( 170 'LCAS_VERSION' => $version, 171 'LCAS_PATH' => LCAS_PATH, 172 'PWG_insensitive_case_logon' => $conf['insensitive_case_logon']? 'true' : 'false', 173 'LCAS_Case_Sensitive_TRUE' => $conf_LCAS[0]=='true' ? 'checked="checked"' : '' , 174 'LCAS_Case_Sensitive_FALSE' => $conf_LCAS[0]=='false' ? 'checked="checked"' : '' , 175 'LCAS_Accent_Sensitive_TRUE' => $conf_LCAS[1]=='true' ? 'checked="checked"' : '' , 176 'LCAS_Accent_Sensitive_FALSE' => $conf_LCAS[1]=='false' ? 'checked="checked"' : '' , 177 'LCAS_MAILTEXT' => $conf_LCAS[2] 178 'LCAS_VERSION' => $version, 179 'LCAS_PATH' => LCAS_PATH, 180 'PWG_insensitive_case_logon' => $conf['insensitive_case_logon']? 'true' : 'false', 181 'LCAS_Case_Sensitive_TRUE' => $conf_LCAS[0]=='true' ? 'checked="checked"' : '' , 182 'LCAS_Case_Sensitive_FALSE' => $conf_LCAS[0]=='false' ? 'checked="checked"' : '' , 183 'LCAS_Accent_Sensitive_TRUE' => $conf_LCAS[1]=='true' ? 'checked="checked"' : '' , 184 'LCAS_Accent_Sensitive_FALSE' => $conf_LCAS[1]=='false' ? 'checked="checked"' : '' , 185 'LCAS_MAIL_TRUE' => $conf_LCAS[2]=='true' ? 'checked="checked"' : '' , 186 'LCAS_MAIL_FALSE' => $conf_LCAS[2]=='false' ? 'checked="checked"' : '' , 187 'LCAS_MAILTEXT' => $conf_LCAS[3] 178 188 ) 179 189 );
Note: See TracChangeset
for help on using the changeset viewer.