function Render_NoPostBack() { $this->CallDelegate('PreNoPostBackRender'); $this->PostBackParams->Add('PostBackAction', 'SignOutNow'); include ThemeFilePath($this->Context->Configuration, 'people_signout_form_nopostback.php'); $this->CallDelegate('PostNoPostBackRender'); }
function Render() { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'overall_footer.php'); include ThemeFilePath($this->Context->Configuration, 'page_end.php'); $this->CallDelegate('PostRender'); }
function Render_NoPostBack() { $this->CallDelegate('PreNoPostBackRender'); $this->PostBackParams->Add('PostBackAction', 'RequestPasswordReset'); include ThemeFilePath($this->Context->Configuration, 'people_password_request_form_nopostback.php'); $this->CallDelegate('PostNoPostBackRender'); }
function Render() { if ($this->IsPostBack) { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'settings_registration_form.php'); $this->CallDelegate('PostRender'); } }
function Render() { if ($this->PostBackAction == 'Role') { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'account_role_form.php'); $this->CallDelegate('PostRender'); } }
function Render() { if ($this->IsPostBack) { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'account_preferences_form.php'); $this->CallDelegate('PostRender'); } }
function Render() { if ($this->PostBackAction == '') { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'settings_help.php'); $this->CallDelegate('PostRender'); } }
function Render() { if ($this->IsPostBack) { $this->CallDelegate("PreNoPostBackRender"); include ThemeFilePath($this->Context->Configuration, 'settings_language_form.php'); $this->CallDelegate("PostNoPostBackRender"); } }
function Render() { if ($this->IsPostBack) { $this->User->FormatPropertiesForDisplay(); $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'account_identity_form.php'); $this->CallDelegate('PostRender'); } }
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'); }
function Write(&$Context) { @(include ThemeFilePath($Context->Configuration, 'fatal_error.php')); // Cleanup if ($Context) { $Context->Unload(); } die; }
function Render() { if ($this->CssClass != '') { $this->CssClass = ' ' . $this->CssClass; } $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'people_menu.php'); $this->CallDelegate('PostRender'); }
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"); } }
function Render() { if (is_array($this->Notices)) { ksort($this->Notices); } $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'notices.php'); $this->CallDelegate('PostRender'); }
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'); } }
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; }
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'); } } }
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'); }
function Render() { if ($this->History && $this->PostBackAction == "") { $DefaultThemeDir = dirname(__FILE__) . '/'; if (version_compare(APPLICATION_VERSION, '1.2', '<')) { $ThemeFile = $DefaultThemeDir . 'account_ip_history.php'; } else { $ThemeFile = ThemeFilePath($this->Context->Configuration, 'account_ip_history.php', $DefaultThemeDir); } include $ThemeFile; } }
function Render() { $this->CallDelegate('PreRender'); // Don't render anything but warnings if there are any warnings or if there is a postback if ($this->PostBackAction == '') { if ($this->FatalError) { echo $this->Get_Warnings(); } else { $this->User->FormatPropertiesForDisplay(); include ThemeFilePath($this->Context->Configuration, 'account_profile.php'); } } $this->CallDelegate('PostRender'); }
function Render() { $this->CallDelegate("PreRender"); if ($this->Context->WarningCollector->Count() == 0 && $this->PostBackAction == "" && $this->Context->Database->RowCount($this->History) > 0) { $ThemeDir = dirname(__FILE__) . '/theme/'; if (version_compare(APPLICATION_VERSION, '1.2', '<')) { $ThemePath = $ThemeDir . 'RoleHistory_account_role_history.php'; } else { $ThemePath = ThemeFilePath($this->Context->Configuration, 'RoleHistory_account_role_history.php', $ThemeDir); } include $ThemePath; } $this->CallDelegate("PostRender"); }
function Render_NoPostBack() { $this->CallDelegate('PreNoPostBackRender'); $this->FormatPropertiesForDisplay(); $this->PostBackParams->Add('PostBackAction', 'ResetPassword'); $this->PostBackParams->Add('u', $this->UserID); $this->PostBackParams->Add('k', $this->EmailVerificationKey); if ($this->ValidatedCredentials) { include ThemeFilePath($this->Context->Configuration, 'people_password_reset_form_nopostback.php'); } else { $this->Render_Warnings(); } $this->CallDelegate('PostNoPostBackRender'); }
function Render() { $this->CallDelegate('PreRender'); // Set up the pagelist $CategoryID = ForceIncomingInt('CategoryID', 0); if ($CategoryID == 0) { $CategoryID = ''; } $pl = $this->Context->ObjectFactory->NewContextObject($this->Context, 'PageList', 'CategoryID', $CategoryID); $pl->NextText = $this->Context->GetDefinition('Next'); $pl->PreviousText = $this->Context->GetDefinition('Previous'); $pl->CssClass = 'PageList'; $pl->TotalRecords = $this->DiscussionDataCount; $pl->CurrentPage = $this->CurrentPage; $pl->RecordsPerPage = $this->Context->Configuration['DISCUSSIONS_PER_PAGE']; $pl->PagesToDisplay = 10; $pl->PageParameterName = 'page'; $pl->DefineProperties(); $PageDetails = $pl->GetPageDetails($this->Context); $PageList = $pl->GetNumericList(); include ThemeFilePath($this->Context->Configuration, 'discussions.php'); $this->CallDelegate('PostRender'); }
function Render() { if ($this->IsPostBack) { $this->CallDelegate('PreRender'); $this->PostBackParams->Clear(); $CategoryID = ForceIncomingInt('CategoryID', 0); if ($this->PostBackAction == 'Category') { $this->PostBackParams->Set('PostBackAction', 'ProcessCategory'); $this->CallDelegate('PreEditRender'); include ThemeFilePath($this->Context->Configuration, 'settings_category_edit.php'); $this->CallDelegate('PostEditRender'); } elseif ($this->PostBackAction == 'CategoryRemove') { $this->PostBackParams->Set('PostBackAction', 'ProcessCategoryRemove'); $this->CategorySelect->Attributes = "onchange=\"document.location='" . GetUrl($this->Context->Configuration, $this->Context->SelfUrl, '', '', '', '', 'PostBackAction=CategoryRemove') . "&CategoryID='+this.options[this.selectedIndex].value;\""; $this->CategorySelect->SelectedValue = $CategoryID; $this->CallDelegate('PreRemoveRender'); include ThemeFilePath($this->Context->Configuration, 'settings_category_remove.php'); $this->CallDelegate('PostRemoveRender'); } else { $this->PostBackParams->Set('PostBackAction', 'ProcessCategories'); $this->CallDelegate('PreListRender'); include ThemeFilePath($this->Context->Configuration, 'settings_category_list.php'); $this->CallDelegate('PostListRender'); } $this->CallDelegate('PostRender'); } }
function Render_NoPostBack() { if ($this->IsPostBack) { $this->CallDelegate('PreNoPostBackRender'); $this->PostBackParams->Clear(); $this->PostBackParams->Set('PostBackAction', 'ProcessUpdateCheck'); include ThemeFilePath($this->Context->Configuration, 'settings_update_check_nopostback.php'); $this->CallDelegate('PostNoPostBackRender'); } }
<h1> ' . $this->Context->PageTitle . ' </h1> ' . $this->PageJump . ' <div class="PageInfo"> <p>' . ($PageDetails == '' ? $this->Context->GetDefinition('NoDiscussionsFound') : $PageDetails) . '</p> ' . $PageList . ' </div> </div> <div id="ContentBody"> <ol id="Discussions">'; $Discussion = $this->Context->ObjectFactory->NewContextObject($this->Context, 'Discussion'); $FirstRow = 1; $CurrentUserJumpToLastCommentPref = $this->Context->Session->User->Preference('JumpToLastReadComment'); $DiscussionList = ''; $ThemeFilePath = ThemeFilePath($this->Context->Configuration, 'discussion.php'); $Alternate = 0; while ($Row = $this->Context->Database->GetRow($this->DiscussionData)) { $Discussion->Clear(); $Discussion->GetPropertiesFromDataSet($Row, $this->Context->Configuration); $Discussion->FormatPropertiesForDisplay(); // Prefix the discussion name with the whispered-to username if this is a whisper if ($Discussion->WhisperUserID > 0) { $Discussion->Name = @$Discussion->WhisperUsername . ': ' . $Discussion->Name; } // Discussion search results are identical to regular discussion listings, so include the discussion search results template here. include $ThemeFilePath; $FirstRow = 0; $Alternate = FlipBool($Alternate); } echo $DiscussionList . '
function Render() { $this->CallDelegate('PreRender'); include ThemeFilePath($this->Context->Configuration, 'foot.php'); $this->CallDelegate('PostRender'); }
function GetPostFormatting($SelectedFormatType) { $FormatCount = count($this->Context->StringManipulator->Formatters); $f = $this->Context->ObjectFactory->NewObject($this->Context, 'Radio'); $f->Name = 'FormatType'; $f->CssClass = 'FormatTypeRadio'; $f->SelectedID = $SelectedFormatType; $this->DelegateParameters['FormatRadio'] =& $f; $ItemAppend = ''; while (list($Name, $Object) = each($this->Context->StringManipulator->Formatters)) { $this->DelegateParameters['RadioItemName'] =& $Name; $this->DelegateParameters['RadioItemAppend'] =& $ItemAppend; $this->CallDelegate('PreFormatRadioItemAdd'); $f->AddOption($Name, $this->Context->GetDefinition($Name), $ItemAppend); $ItemAppend = ''; } $this->CallDelegate('PreFormatRadioRender'); $sReturn = ''; include ThemeFilePath($this->Context->Configuration, 'post_formatter.php'); return $sReturn; }
function Render_NoPostBack() { $this->CallDelegate('PreSearchFormRender'); include ThemeFilePath($this->Context->Configuration, 'search_form.php'); if ($this->PostBackAction == 'Search') { $this->CallDelegate('PreSearchResultsRender'); include ThemeFilePath($this->Context->Configuration, 'search_results_top.php'); if ($this->DataCount > 0) { $Alternate = 0; $FirstRow = 1; $Counter = 0; if ($this->Search->Type == 'Topics') { $Discussion = $this->Context->ObjectFactory->NewContextObject($this->Context, 'Discussion'); $CurrentUserJumpToLastCommentPref = $this->Context->Session->User->Preference('JumpToLastReadComment'); $DiscussionList = ''; $ThemeFilePath = ThemeFilePath($this->Context->Configuration, 'discussion.php'); while ($Row = $this->Context->Database->GetRow($this->Data)) { $Discussion->Clear(); $Discussion->GetPropertiesFromDataSet($Row, $this->Context->Configuration); $Discussion->FormatPropertiesForDisplay(); if ($Counter < $this->Context->Configuration['SEARCH_RESULTS_PER_PAGE']) { include $ThemeFilePath; } $FirstRow = 0; $Counter++; $Alternate = FlipBool($Alternate); } echo $DiscussionList; } elseif ($this->Search->Type == 'Comments') { $Comment = $this->Context->ObjectFactory->NewContextObject($this->Context, 'Comment'); $HighlightWords = ParseQueryForHighlighting($this->Context, $this->Search->Query); $CommentList = ''; $ThemeFilePath = ThemeFilePath($this->Context->Configuration, 'search_results_comments.php'); while ($Row = $this->Context->Database->GetRow($this->Data)) { $Comment->Clear(); $Comment->GetPropertiesFromDataSet($Row, $this->Context->Session->UserID); $Comment->FormatPropertiesForSafeDisplay(); if ($Counter < $this->Context->Configuration['SEARCH_RESULTS_PER_PAGE']) { include $ThemeFilePath; } $FirstRow = 0; $Counter++; $Alternate = FlipBool($Alternate); } echo $CommentList; } elseif ($this->Search->Type == 'Users') { $u = $this->Context->ObjectFactory->NewContextObject($this->Context, 'User'); $UserList = ''; $ThemeFilePath = ThemeFilePath($this->Context->Configuration, 'search_results_users.php'); while ($Row = $this->Context->Database->GetRow($this->Data)) { $u->Clear(); $u->GetPropertiesFromDataSet($Row); $u->FormatPropertiesForDisplay(); if ($Counter < $this->Context->Configuration['SEARCH_RESULTS_PER_PAGE']) { include $ThemeFilePath; } $FirstRow = 0; $Counter++; $Alternate = FlipBool($Alternate); } echo $UserList; } else { $this->CallDelegate('MidSearchResultsRender'); } } include ThemeFilePath($this->Context->Configuration, 'search_results_bottom.php'); } }
function Render_NoPostBack() { $this->Username = FormatStringForDisplay($this->Username, 1); $this->PostBackParams->Add('PostBackAction', 'SignIn'); $this->PostBackParams->Add('ReturnUrl', $this->ReturnUrl); $this->CallDelegate('PreNoPostBackRender'); include ThemeFilePath($this->Context->Configuration, 'people_signin_form_nopostback.php'); $this->CallDelegate('PostNoPostBackRender'); }