本文整理汇总了PHP中ThemeFilePath函数的典型用法代码示例。如果您正苦于以下问题:PHP ThemeFilePath函数的具体用法?PHP ThemeFilePath怎么用?PHP ThemeFilePath使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ThemeFilePath函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Render_NoPostBack
function Render_NoPostBack()
{
$this->CallDelegate('PreNoPostBackRender');
$this->PostBackParams->Add('PostBackAction', 'SignOutNow');
include ThemeFilePath($this->Context->Configuration, 'people_signout_form_nopostback.php');
$this->CallDelegate('PostNoPostBackRender');
}
示例2: Render
function Render()
{
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'overall_footer.php');
include ThemeFilePath($this->Context->Configuration, 'page_end.php');
$this->CallDelegate('PostRender');
}
示例3: Render
function Render()
{
if ($this->IsPostBack) {
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'settings_registration_form.php');
$this->CallDelegate('PostRender');
}
}
示例4: Render
function Render()
{
if ($this->PostBackAction == 'Role') {
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'account_role_form.php');
$this->CallDelegate('PostRender');
}
}
示例5: Render
function Render()
{
if ($this->PostBackAction == '') {
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'settings_help.php');
$this->CallDelegate('PostRender');
}
}
示例6: Render
function Render()
{
if ($this->IsPostBack) {
$this->User->FormatPropertiesForDisplay();
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'account_identity_form.php');
$this->CallDelegate('PostRender');
}
}
示例7: Render
function Render()
{
// First sort the tabs by key
ksort($this->Tabs);
// Now write the Menu
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'menu.php');
$this->CallDelegate('PostRender');
}
示例8: Write
function Write(&$Context)
{
@(include ThemeFilePath($Context->Configuration, 'fatal_error.php'));
// Cleanup
if ($Context) {
$Context->Unload();
}
die;
}
示例9: Render
function Render()
{
if ($this->CssClass != '') {
$this->CssClass = ' ' . $this->CssClass;
}
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'people_menu.php');
$this->CallDelegate('PostRender');
}
示例10: Render
function Render()
{
if ($this->IsPostBack) {
$this->CallDelegate("PreRender");
$this->PostBackParams->Set('PostBackAction', 'ProcessApplicants');
include ThemeFilePath($this->Context->Configuration, 'settings_applicants_form.php');
$this->CallDelegate("PostRender");
}
}
示例11: Render
function Render()
{
if (is_array($this->Notices)) {
ksort($this->Notices);
}
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, 'notices.php');
$this->CallDelegate('PostRender');
}
示例12: Render
function Render()
{
if ($this->IsPostBack) {
$this->CallDelegate('PreRender');
$this->PostBackParams->Clear();
$this->PostBackParams->Set('PostBackAction', 'ProcessGlobals');
include ThemeFilePath($this->Context->Configuration, 'settings_globals_form.php');
$this->CallDelegate('PostRender');
}
}
示例13: ApplicationForm_AddRealNameInputs
function ApplicationForm_AddRealNameInputs($ApplyForm)
{
$DefaultThemeDir = dirname(__FILE__) . '/theme/';
if (version_compare(APPLICATION_VERSION, '1.2', '<')) {
$ThemeFile = $DefaultThemeDir . 'ExtendedApplicationForm_aply_form.php';
} else {
$ThemeFile = ThemeFilePath($ApplyForm->Context->Configuration, 'ExtendedApplicationForm_aply_form.php', $DefaultThemeDir);
}
include $ThemeFile;
}
示例14: Render
function Render()
{
if ($this->TemplateFile != '' && $this->IsPostBack) {
$Template = ThemeFilePath($this->Context->Configuration, $this->TemplateFile);
if (file_exists($Template)) {
$this->CallDelegate('PreRender');
include $Template;
$this->CallDelegate('PostRender');
}
}
}
示例15: Render
function Render()
{
if (is_array($this->PanelElements)) {
ksort($this->PanelElements);
}
if ($this->CssClass != '') {
$this->CssClass = ' ' . $this->CssClass;
}
$this->CallDelegate('PreRender');
include ThemeFilePath($this->Context->Configuration, $this->Template);
$this->CallDelegate('PostRender');
}