[ Index ] |
|
Code source de Phorum 5.1.25 |
1 <?php 2 3 //////////////////////////////////////////////////////////////////////////////// 4 // // 5 // Copyright (C) 2006 Phorum Development Team // 6 // http://www.phorum.org // 7 // // 8 // This program is free software. You can redistribute it and/or modify // 9 // it under the terms of either the current Phorum License (viewable at // 10 // phorum.org) or the Phorum License that was distributed with this file // 11 // // 12 // This program is distributed in the hope that it will be useful, // 13 // but WITHOUT ANY WARRANTY, without even the implied warranty of // 14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // 15 // // 16 // You should have received a copy of the Phorum License // 17 // along with this program. // 18 //////////////////////////////////////////////////////////////////////////////// 19 20 if(!defined("PHORUM_CONTROL_CENTER")) return; 21 22 if(count($_POST)) { 23 list($error,$okmsg) = phorum_controlcenter_user_save($panel); 24 } 25 26 // need their names for the later check 27 $profile_field_names=array(); 28 if(is_array($PHORUM["PROFILE_FIELDS"])) { 29 foreach ($PHORUM["PROFILE_FIELDS"] as $id => $fieldinfo) { 30 $profile_field_names[$fieldinfo['name']]=$fieldinfo['name']; 31 } 32 } 33 34 foreach($PHORUM["DATA"]["PROFILE"] as $key => $data) { 35 if(!is_array($data) && !isset($profile_field_names[$key])) { 36 $PHORUM["DATA"]["PROFILE"][$key]=htmlspecialchars($data); 37 } 38 } 39 40 $PHORUM["DATA"]["PROFILE"]["block_title"] = $PHORUM["DATA"]["LANG"]["EditUserinfo"]; 41 $PHORUM['DATA']['PROFILE']['USERPROFILE'] = 1; 42 $template = "cc_usersettings"; 43 44 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:22:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |