当前位置: 首页>>代码示例>>PHP>>正文


PHP dump_gui_debug函数代码示例

本文整理汇总了PHP中dump_gui_debug函数的典型用法代码示例。如果您正苦于以下问题:PHP dump_gui_debug函数的具体用法?PHP dump_gui_debug怎么用?PHP dump_gui_debug使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了dump_gui_debug函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: exec_query

                where
                    owner_id = ?
                  and
                    name = 'add-user-auto-msg'

SQL_QUERY;
            $rs = exec_query($sql, $query, array($auto_subject, $auto_message, $user_id));
            //            $_SESSION['email_updated'] = 1;
            set_page_message(tr('Email Updated!'));
            //           Header("Location: manage_users.php");
            //            die();
        }
    }
}
/*
 *
 * static page messages.
 *
 */
$tpl->assign(array('TR_ADMIN_MANAGE_EMAIL_SETUP_PAGE_TITLE' => tr('VHCS - Admin/Manage users/Email setup'), 'THEME_COLOR_PATH' => "../themes/{$theme_color}", 'THEME_CHARSET' => tr('encoding'), 'VHCS_LICENSE' => $cfg['VHCS_LICENSE']));
gen_admin_menu($tpl);
update_email_data($tpl, $sql);
gen_email_data($tpl, $sql);
$tpl->assign(array('TR_EMAIL_SETUP' => tr('Email setup'), 'ISP_LOGO' => get_logo($_SESSION['user_id']), 'TR_MESSAGE_TEMPLATE_INFO' => tr('Message template info'), 'TR_USER_LOGIN_NAME' => tr('User login (system) name'), 'TR_USER_PASSWORD' => tr('User password'), 'TR_USER_REAL_NAME' => tr('User real (first and last) Name'), 'TR_MESSAGE_TEMPLATE' => tr('Message template'), 'TR_SUBJECT' => tr('Subject'), 'TR_MESSAGE' => tr('Message'), 'TR_SENDER_EMAIL' => tr('Senders email'), 'TR_SENDER_NAME' => tr('Senders name'), 'TR_APPLY_CHANGES' => tr('Apply changes')));
gen_page_message($tpl);
$tpl->parse('PAGE', 'page');
$tpl->prnt();
if (isset($cfg['DUMP_GUI_DEBUG'])) {
    dump_gui_debug();
}
unset_messages();
开发者ID:BackupTheBerlios,项目名称:vhcs-svn,代码行数:31,代码来源:email_setup.php

示例2: array

            $months = array('*');
            $weekdays = array('*');
        }
        $tpl->assign(array('TR_ADD' => tr('Save'), 'TR_ADD_CRONJOB' => tr('Edit Cronjob'), 'NAME' => $row['name'], 'DESCRIPTION' => $row['description'], 'CRON_CMD' => $row['command'], 'CRON_ID' => $row['id'], 'ACTIVE_YES_SELECTED' => $row['active'] == 'yes' ? $cfg->HTML_SELECTED : '', 'ACTIVE_NO_SELECTED' => $row['active'] == 'no' ? $cfg->HTML_SELECTED : '', 'SIMPLE_SELECT' => ''));
        $schedule = $row['schedule'];
        $user = $row['user'];
    }
} else {
    $tpl->assign(array('TR_ADD' => tr('Add'), 'TR_ADD_CRONJOB' => tr('Add Cronjob'), 'NAME' => '', 'DESCRIPTION' => '', 'CRON_CMD' => '', 'CRON_ID' => '', 'MINUTE_EXPERT' => '', 'DOM_EXPERT' => '', 'HOUR_EXPERT' => '', 'MONTH_EXPERT' => '', 'DOW_EXPERT' => '', 'ACTIVE_YES_SELECTED' => $cfg->HTML_SELECTED, 'ACTIVE_NO_SELECTED' => '', 'SIMPLE_SELECTED' => ''));
    $minutes = array('*');
    $days = array('*');
    $hours = array('*');
    $months = array('*');
    $weekdays = array('*');
    $user = '';
    $schedule = '';
}
EasyCron::detectExpertMode($tpl, $schedule);
EasyCron::genMinuteSelect($tpl, $minutes);
EasyCron::genHourSelect($tpl, $hours);
EasyCron::genDayOfMonthSelect($tpl, $days);
EasyCron::genDayOfWeekSelect($tpl, $weekdays);
EasyCron::genMonthSelect($tpl, $months);
EasyCron::genUserSelect($tpl, $user);
EasyCron::genSimpleSelect($tpl, $schedule);
gen_page_message($tpl);
$tpl->display($template);
if ($cfg->DUMP_GUI_DEBUG) {
    dump_gui_debug($tpl);
}
unset_messages();
开发者ID:gOOvER,项目名称:EasySCP,代码行数:31,代码来源:cronjob_manage.php


注:本文中的dump_gui_debug函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。