Example #1
0
function css_edit($message = '')
{
    pagetop(gTxt("edit_css"), $message);
    global $step, $prefs;
    if (!$step or $step == 'css_save') {
        if ($prefs['edit_raw_css_by_default']) {
            css_edit_raw();
        } else {
            css_edit_form();
        }
    } else {
        if ($step == 'css_edit_raw' or $step == 'pour' or $step == 'css_delete' && $prefs['edit_raw_css_by_default']) {
            css_edit_raw();
        } else {
            css_edit_form();
        }
    }
}
Example #2
0
function css_edit($message = '')
{
    pagetop(gTxt("edit_css"), $message);
    global $step, $prefs;
    css_edit_raw();
}