public static function report_performance_check_themedesignermode() {
        global $CFG;
        $issueresult = new report_performance_issue();
        $issueresult->issue = 'report_performance_check_themedesignermode';
        $issueresult->name = get_string('themedesignermode', 'admin');

        if (empty($CFG->themedesignermode)) {
            $issueresult->statusstr = get_string('disabled', 'report_performance');
            $issueresult->status = self::REPORT_PERFORMANCE_OK;
            $issueresult->comment = get_string('check_themedesignermode_comment_disable', 'report_performance');
        } else {
            $issueresult->statusstr = get_string('enabled', 'report_performance');
            $issueresult->status = self::REPORT_PERFORMANCE_CRITICAL;
            $issueresult->comment = get_string('check_themedesignermode_comment_enable', 'report_performance');
        }

        $issueresult->details = get_string('check_themedesignermode_details', 'report_performance');
        $issueresult->configlink = new moodle_url('/admin/search.php', array('query' => 'themedesignermode'));
        return $issueresult;
    }
public static function report_performance_check_themedesignermode() {
        global $CFG;
        $issueresult = new report_performance_issue();
        $issueresult->issue = 'report_performance_check_themedesignermode';
        $issueresult->name = get_string('themedesignermode', 'admin');

        if (empty($CFG->themedesignermode)) {
            $issueresult->statusstr = get_string('disabled', 'report_performance');
            $issueresult->status = self::REPORT_PERFORMANCE_OK;
            $issueresult->comment = get_string('check_themedesignermode_comment_disable', 'report_performance');
        } else {
            $issueresult->statusstr = get_string('enabled', 'report_performance');
            $issueresult->status = self::REPORT_PERFORMANCE_CRITICAL;
            $issueresult->comment = get_string('check_themedesignermode_comment_enable', 'report_performance');
        }

        $issueresult->details = get_string('check_themedesignermode_details', 'report_performance');
        $issueresult->configlink = new moodle_url('/admin/search.php', array('query' => 'themedesignermode'));
        return $issueresult;
    }
public static function report_performance_check_themedesignermode ( ) { global $ CFG ; $ issueresult = new report_performance_issue ( ) ; $ issueresult -> issue = 'report_performance_check_themedesignermode' ; $ issueresult -> name = get_string ( 'themedesignermode' , 'admin' ) ; if ( empty ( $ CFG -> themedesignermode ) ) { $ issueresult -> statusstr = get_string ( 'disabled' , 'report_performance' ) ; $ issueresult -> status = self :: REPORT_PERFORMANCE_OK ; $ issueresult -> comment = get_string ( 'check_themedesignermode_comment_disable' , 'report_performance' ) ; } else { $ issueresult -> statusstr = get_string ( 'enabled' , 'report_performance' ) ; $ issueresult -> status = self :: REPORT_PERFORMANCE_CRITICAL ; $ issueresult -> comment = get_string ( 'check_themedesignermode_comment_enable' , 'report_performance' ) ; } $ issueresult -> details = get_string ( 'check_themedesignermode_details' , 'report_performance' ) ; $ issueresult -> configlink = new moodle_url ( '/admin/search.php' , array ( 'query' => 'themedesignermode' ) ) ; return $ issueresult ; }
Verifies if theme designer mode is enabled.

@return report_performance_issue result of themedesigner issue.
Verifies if theme designer mode is enabled .