Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
edit.php File Reference

Go to the source code of this file.

Variables

 $id = get_input('id')
 Edit a custom profile field. More...
 
 $label = get_input('label')
 
if(!elgg_get_config("admin_defined_profile_$id"))
if(elgg_save_config("admin_defined_profile_$id",
$label)) 
else
 

Variable Documentation

$id = get_input('id')

Edit a custom profile field.

Definition at line 6 of file edit.php.

$label = get_input('label')

Definition at line 7 of file edit.php.

if (!elgg_get_config("admin_defined_profile_$id")) if (elgg_save_config("admin_defined_profile_$id", $label)) else
Initial value:
{
register_error(elgg_echo('profile:editdefault:fail'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
register_error($error)
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 16 of file edit.php.