本文整理汇总了PHP中pageHeaderInclude函数的典型用法代码示例。如果您正苦于以下问题:PHP pageHeaderInclude函数的具体用法?PHP pageHeaderInclude怎么用?PHP pageHeaderInclude使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了pageHeaderInclude函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: printHeader
/**
* Prints the template header HTML for a non-modal window.
*
* @param string page title
* @param array JavaScript / CSS files to load
* @return void
*/
public static function printHeader($pageTitle, $headIncludes = array())
{
pageTitle($pageTitle);
if($headIncludes)
{
foreach($headIncludes as $include)
{
pageHeaderInclude($include);
}
}
}
示例2: __construct
public function __construct($module,$cols) {
$this->cols=$cols;
$objHTML=ClsNaanalLibrary::getInstance("html");
$this->objTable=$objHTML->getGenerator()->getTable("search",$cols);
//$this->objTable->setParam("border",1);
pageHeaderInclude('js/export.js');
pageHeaderInclude('js/searchSaved.js');
pageHeaderInclude('js/suggest.js');
parent::__construct($module);
$arrPager=ClsNaanalRequest::getInstance()->getPager();
$pagination=getPagination("index.php?module={$module}", $this->objAuieoModel->getTotalRecords() , $arrPager["current_page"], $arrPager["items_per_page"]);
$this->assign("total_records",$this->objAuieoModel->getTotalRecords());
$this->assign("pagination",$pagination);
}
示例3: pageHeaderInclude
<?php
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('js/highlightrows.js');
pageTitle('Contacts');
ob_start();
?>
<p class="note">Cold Call List (Only Contacts with Phone Numbers)</p>
<?php if (!empty($this->rs)): ?>
<table class="sortable" width="100%" rules="all" onmouseover="javascript:trackTableHighlight(event)">
<tr>
<th align="left">Company</th>
<th align="left" nowrap="nowrap">First Name</th>
<th align="left" nowrap="nowrap">Last Name</th>
<th align="left">Title</th>
<th align="left" nowrap="nowrap">Work Phone</th>
</tr>
<?php foreach ($this->rs as $rowNumber => $data): ?>
<tr class="<?php TemplateUtility::printAlternatingRowClass($rowNumber); ?>">
<td valign="top" align="left"><?php $this->_($data['companyName']); ?></td>
<td valign="top" align="left"><?php $this->_($data['firstName']); ?></td>
<td valign="top" align="left"><?php $this->_($data['lastName']); ?></td>
<td valign="top" align="left"><?php $this->_($data['title']); ?></td>
<td valign="top" align="left"><?php $this->_($data['phoneWork']); ?></td>
</tr>
<?php endforeach; ?>
</table>
<?php endif; ?>
<?php $AUIEO_CONTENT=ob_get_clean(); ?>
示例4: pageHeaderInclude
<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/listEditor.js');
pageTitle('Settings');
ob_start();
?>
<p class="note">Customize Extra Fields</p>
<form name="editSettingsForm" id="editSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&a=customizeExtraFields" method="post">
<input type="hidden" name="postback" value="postback" />
<table class="sortable" width="920">
<div id="changedDiv" style="display:none;">
<div style="font-weight:bold; border: 1px solid #000; background-color: #ff0000; padding:5px;">
You have made changes, to apply them press 'Save' at the bottom of the page.
</div>
<br />
</div>
<input type="hidden" name="commandList" id="commandList" />
<script type="text/javascript">
function appendCommandList(command)
{
document.getElementById('commandList').value = document.getElementById('commandList').value + escape(command) + ',';
document.getElementById('changedDiv').style.display = '';
document.getElementById('buttonSave').style.display = '';
document.getElementById('buttonDone').style.display = 'none';
}
var inlineEditIDCounter = 0;
</script>
<?php foreach (array(array("name" => "Job Orders", "RS" => $this->extraFieldSettingsJobOrdersRS, "type" => DATA_ITEM_JOBORDER),
示例5: pageHeaderInclude
<?php
pageHeaderInclude('../js/careerPortalApply.js');
global $careerPage;
if (isset($careerPage) && $careerPage == true)
{
pageHeaderInclude('../js/lib.js');
pageHeaderInclude('../js/sorttable.js');
pageHeaderInclude('../js/calendarDateInput.js');
}
else
{
pageHeaderInclude('js/lib.js');
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('js/calendarDateInput.js');
pageHeaderInclude('js/careersPage.js');
}
pageTitle('Careers');
ob_start();
?>
<style type="text/css" media="all">
<?php echo($this->template['CSS']); ?>
#poweredCATS { clear: both; margin: 30px auto; clear: both; width: 140px; height: 40px; border: none;}
#poweredCATS img { border: none; }
</style>
<!-- TOP -->
<?php echo($this->template['Header']); ?>
<!-- CONTENT -->
<?php echo($this->template['Content']); ?>
示例6: pageHeaderInclude
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/sorttable.js');
pageTitle('Settings');
ob_start();
if(isset($this->active))
{
TemplateUtility::printTabs($this->active, $this->subActive);
}
?>
<div id="contents">
<table>
<tr>
<td width="3%">
<img src="images/settings.gif" width="24" height="24" border="0" alt="Settings" style="margin-top: 3px;" />
</td>
<td><h2>Settings: Customize Filter</h2></td>
</tr>
</table>
<p class="note">Show Grouping</p>
<form name="showgrouping" id="showgrouping" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&a=filtergrouping" method="post">
<input type="hidden" name="postback" id="postback" value="postback" />
<?php if (isset($this->isDemoUser) && $this->isDemoUser): ?>
示例7: pageHeaderInclude
<?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/searchSaved.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/searchAdvanced.js');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/export.js');
pageTitle('Contacts');
ob_start();
?>
<div id="contents">
<table>
<tr>
<td width="3%">
<img src="images/contact.gif" width="24" height="24" border="0" alt="Contacts" style="margin-top: 3px;" />
</td>
<td><h2>Contacts: Search Contacts</h2></td>
</tr>
</table>
<p class="note">Search Contacts</p>
<table class="searchTable" id="searchTable ">
<tr>
<td>
<form name="searchForm" id="searchForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get" autocomplete="off">
示例8: pageHeaderInclude
<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageTitle('Activities');
ob_start();
?>
<div style="text-align: right;"><?php $this->dataGrid->printNavigation(false); ?> <?php echo($this->quickLinks); ?></div>
<p class="note">
<span style="float:left;">Activities - Page <?php echo($this->dataGrid->getCurrentPageHTML()); ?></span>
<span style="float:right;">
<?php $this->dataGrid->drawRowsPerPageSelector(); ?>
<?php $this->dataGrid->drawShowFilterControl(); ?>
</span>
</p>
<?php $this->dataGrid->drawFilterArea(); ?>
<?php $this->dataGrid->draw(); ?>
<div style="display:block;">
<span style="float:left;">
<?php $this->dataGrid->printActionArea(); ?>
</span>
<span style="float:right;">
<?php $this->dataGrid->printNavigation(true); ?>
</span>
</div>
示例9: pageHeaderInclude
<?php
/*
* CandidATS
* Sites Management
*
* Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
pageHeaderInclude('js/lists.js');
pageTitle('Lists');
$AUIEO_CONTENT="";
ob_start();
?>
<table>
<tr>
<td><!--Add to Static Lists-->Select the lists you want to add the item<?php if (count($this->dataItemIDArray) > 1): ?>s<?php endif; ?> too.</td>
</tr>
</table>
<div class="addToListListBox" id="addToListBox">
<input type="hidden" style="width:200px;" id="dataItemArray" value="<?php $this->_(implode(',', $this->dataItemIDArray)); ?>">
<?php foreach($this->savedListsRS as $index => $data): ?>
<div class="<?php TemplateUtility::printAlternatingDivClass($index); ?>" id="savedListRow<?php echo($data['savedListID']); ?>">
<span style="float:left;">
<input type="checkbox" id="savedListRowCheck<?php echo($data['savedListID']); ?>">
<span id="savedListRowDescriptionArea<?php echo($data['savedListID']); ?>"><?php $this->_($data['description']); ?></span> (<?php echo($data['numberEntries']); ?>)
示例10: pageHeaderInclude
<?php
pageHeaderInclude('js/questionnaire.js');
pageTitle('Settings');
ob_start();
?>
<style>
div.questionContainer { }
.questionText { font-size: 14px; color: #000000; font-weight: bold; }
td.questionType { }
td.questionTitleText { font-weight: bold; padding: 3px 0 3px 0; font-size: 11px; border-bottom: 1px solid #666666; }
td.questionColumnText { padding: 3px 0 0 0; margin: 0; }
div.actionContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.actionContainerPlainJane { }
#newAnswerContainer { display: none; }
div.answerContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.answerContainerPlainJane { }
#newQuestionContainer { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.questionContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; }
div.questionContainerPlainJane { }
</style>
<div style="width: 700px;">
<p class="note">Careers Website Questionnaire</p>
A questionnaire provides questions to candidates before they apply through your careers website.
You can specify actions to perform based on the responses they give.
</div>
<br /><br />
<form method="post" action="<?php echo CATSUtility::getIndexName(); ?>?m=settings&a=careerPortalQuestionnaire" name="questionnaireForm" onsubmit="return validateFields();">
<input type="hidden" name="questionnaireID" value="<?php echo $this->questionnaireID; ?>" />
示例11: pageHeaderInclude
<?php
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageHeaderInclude('js/home.js');
pageTitle('Home');
ob_start();
?>
<table style="width:100%;">
<tr>
<td align="left" valign="top" style="text-align: left; width: 33%; height:50px;">
<div class="noteUnsizedSpan" style="width:98%;">My Recent Calls</div>
<?php $this->dataGrid2->drawHTML(); ?>
</td>
<td align="center" valign="top" style="text-align: left; width: 33%; font-size:11px; height:50px;">
<?php echo($this->upcomingEventsFupHTML); ?>
</td>
<td align="center" valign="top" style="text-align: left; font-size:11px; height:50px;">
<?php echo($this->upcomingEventsHTML); ?>
</td>
</tr>
</table>
<table style="width:100%;">
<tr>
<td align="left" valign="top" style="text-align: left; width: 50%; height: 240px;">
<div class="noteUnsizedSpan" style="width:410px;">Recent Hires</div>
<table class="sortable" width="410" style="margin: 0 0 4px 0;">
示例12: pageHeaderInclude
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('modules/settings/Settings.js');
pageHeaderInclude('js/careerportal.js');
pageTitle('Settings');
$careerPortalEnabledId = 0;
ob_start();
?>
<p class="note">Career Portal Settings</p>
<table width="100%">
<tr>
<td>
<form name="careerPortalSettingsForm" id="careerPortalSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&a=careerPortalSettings" method="post">
<input type="hidden" name="postback" value="postback" />
<input type="hidden" name="configured" value="1" />
<table class="editTable" width="100%">
<tr>
<td class="tdVertical" style="width: 425px;">
Enable Public Career Portal:
</td>
<td class="tdData">
<input type="checkbox" name="enabled"<?php if ($this->careerPortalSettingsRS['enabled'] == '1'): ?> checked<?php endif; ?> onclick="document.getElementById('careerPortalSettingsForm').submit();">
</td>
</tr>
<tr id="careerPortalEnabled<?php echo ++$careerPortalEnabledId; ?>">
<td class="tdVertical">
Allow Browsing of All Public Job Orders:
示例13: pageHeaderInclude
<?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/company.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/listEditor.js');
pageHeaderInclude('js/contact.js');
pageHeaderInclude('js/suggest.js');
pageTitle('Contacts');
ob_start();
?>
<div id="contents">
<table>
<tr>
<td width="3%">
<img src="images/contact.gif" width="24" height="24" border="0" alt="Contacts" style="margin-top: 3px;" />
</td>
<td><h2>Contacts: Add Contact</h2></td>
</tr>
</table>
<form name="addContactForm" id="addContactForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=contacts&a=add&v=<?php if ($this->selectedCompanyID === false) { echo('-1'); } else { echo($this->selectedCompanyID); } ?>" method="post" onsubmit="return checkAddForm(document.addContactForm);" autocomplete="off">
<input type="hidden" name="postback" id="postback" value="postback" />
<table width="100%">
<tr>
<td width="50%" height="100%" valign="top">
<p class="noteUnsized">Basic Information</p>
示例14: pageHeaderInclude
<?php
pageHeaderInclude('modules/calendar/Calendar.css');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/calendar/Calendar.js');
pageHeaderInclude('modules/calendar/CalendarUI.js');
pageHeaderInclude('modules/calendar/validator.js');
pageTitle('Calendar');
ob_start();
?>
<div id="contents">
<table width="100%">
<tr>
<td width="3%">
</td>
<td></td>
<td align="right" nowrap="nowrap">
<?php if ($this->userIsSuperUser == 1): ?>
<input type="checkbox" name="hideNonPublic" id="hideNonPublic" onclick="refreshView();" <?php if ($this->superUserActive): ?>checked<?php endif; ?>/>Show Entries from Other Users
<?php else: ?>
<input type="checkbox" style="display:none;" name="hideNonPublic" id="hideNonPublic" onclick="" />
<?php endif; ?>
</td>
</tr>
</table>
<p class="note" id="calendarTitle">Calendar</p>
<table style="border-collapse: collapse;">
示例15: pageHeaderInclude
<?php
pageHeaderInclude('modules/joborders/validator.js');
pageHeaderInclude('Create Job Order Attachment');
pageTitle('Job Order');
ob_start();
if (!$this->isFinishedMode): ?>
<form name="createAttachmentForm" id="createAttachmentForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&a=createAttachment" enctype="multipart/form-data" method="post" onsubmit="return checkAttachmentForm(document.createAttachmentForm);">
<input type="hidden" name="postback" id="postback" value="postback" />
<input type="hidden" id="jobOrderID" name="jobOrderID" value="<?php echo($this->jobOrderID); ?>" />
<table class="editTable">
<tr>
<td class="tdVertical">Attachment:</td>
<td class="tdData"><input type="file" id="file" name="file" /></td>
</tr>
</table>
<input type="submit" class="button" name="submit" id="submit" value="Create Attachment" />
<input type="button" class="button" name="close" value="Cancel" onclick="parentHidePopWin();" />
</form>
<?php else: ?>
<p>The file has been successfully attached.</p>
<form>
<input type="button" name="close" value="Close" onclick="parentHidePopWinRefresh();" />
</form>
<?php endif; ?>
<?php
$AUIEO_CONTENT=ob_get_clean();
?>