Example #1
0
        }
        $step = $step + 1;
    } else {
        $errors_txt = implode("</div style='padding-top:3px;'><div>", $info_error);
    }
} else {
    if (empty($_SESSION['customize']['username'])) {
        $username = $current_user;
        $_SESSION['customize']['username'] = $username;
    }
    if (empty($_SESSION['customize']['s_log'])) {
        $s_log = $conf->get_conf("customize_send_logs", FALSE);
        $_SESSION['customize']['s_log'] = $s_log;
    }
    if (empty($_SESSION['customize']['email'])) {
        $me = Session::get_me($dbconn);
        $email = $me->get_email();
        $_SESSION['customize']['email'] = $email;
    }
    if (empty($_SESSION['customize']['backgroundTitle'])) {
        $backgroundTitle = $conf->get_conf("customize_title_background_color", FALSE);
        $_SESSION['customize']['backgroundTitle'] = $backgroundTitle;
    }
    if (empty($_SESSION['customize']['colorTitle'])) {
        $colorTitle = $conf->get_conf("customize_title_foreground_color", FALSE);
        $_SESSION['customize']['colorTitle'] = $colorTitle;
    }
    if (empty($_SESSION['customize']['backgroundSubtitle'])) {
        $backgroundSubtitle = $conf->get_conf("customize_subtitle_background_color", FALSE);
        $_SESSION['customize']['backgroundSubtitle'] = $backgroundSubtitle;
    }