Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
faddbook_setuparam.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Save user parameters
9  *
10  * @author Anakeen 2005
11  * @version $Id: faddbook_setuparam.php,v 1.3 2005/11/24 13:48:17 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage USERCARD
15  */
16 /**
17  */
19 {
20  $param = GetHttpVars("pname", "");
21  $value = GetHttpVars("pvalue", "");
22  $rapp = GetHttpVars("rapp", "");
23  $raction = GetHttpVars("raction", "");
24  $action->parent->param->set($param, $value, PARAM_USER . $action->user->id, $action->parent->id);
25  if ($rapp == "" || $raction == "") return;
26 
27  redirect($action, $rapp, $raction);
28 }
29 ?>
← centre documentaire © anakeen - published under CC License - Dynacase