}
// Fetch not yet validated medals
- require_once 'validations.inc.php';
$medals = ProfileValidate::get_typed_requests($page->pid(), 'medal');
foreach ($medals as &$medal) {
$value[$medal->mid] = array('grade' => $medal->gid,
public function save(ProfilePage &$page, $field, $value)
{
- require_once 'validations.inc.php';
-
$orig =& $page->orig[$field];
// Remove old ones
}
}
-class ProfileSettingDecos extends ProfilePage
+class ProfilePageDecos extends ProfilePage
{
protected $pg_template = 'profile/deco.tpl';