$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]') . '<br>( ' . $campusName . ' )';
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end display heading
// If an Add Link Exists ... add it here.
if (isset($linkValues['add'])) {
    echo '<div align="right" class="text" ><a href="' . $linkValues['add'] . '">' . $linkLabels['add'] . '</a></div>';
}
?>
<hr>    
// load the page labels
$templateTools->loadPageLabels($pageLabels);
$textStyle = 'text';
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end if !disableHeading
// Any other special instructions etc...
if (isset($specialInfo)) {
    echo $specialInfo;
}
?>
<hr>
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
//Load the Keys for the XML based Form Item Objects
$formItemName = XMLObject_FormItem::XML_ELEMENT_NAME;
$formItemValue = XMLObject_FormItem::XML_ELEMENT_VALUE;
$formItemError = XMLObject_FormItem::XML_ELEMENT_ERROR;
// Initialize the row color
$rowColor = "";
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
$textStyle = 'text';
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<table width="100%" border="0">
<!-- Form Data -->
<?php 
 *
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// get page-specific labels array
//$superAdminLabels = $templateTools->loadSpecialLabels( $pageLabels, $superAdminPrefix );
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>


<?php 
if (isset($isEventAdmin)) {
    if (isset($needsRecalculation) || isset($isRecalculated)) {
        echo '<p><span class="notice">';
        echo $recalcMessage;
        echo '</span></p>';
    }
<?php

// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="bold"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<?php 
/*
 * Display SideBar Links
 */
foreach ($links as $key => $link) {
    echo '<p class="text"><a href="' . $link . '">' . $templateTools->getPageLabel($key) . '</a></p>';
}
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    //echo $templateTools->getPageLabel('[Title]');
    if (isset($heading) && $heading != '') {
        echo $heading;
    }
    if (isset($subheading) && $subheading != '') {
        echo '<br>( ' . $subheading . ' )';
    }
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span>
<?php 
}
// end display heading
// display Continue Link if provided
$continueLabel = '';
if (isset($linkValues['cont'])) {
    //<span class="text" align="right"></span>
    $continueLabel = '<table align="right"><tr><td align=right><a href="' . $linkValues['cont'] . '"><b>' . $linkLabels['cont'] . '</b></a>';
    $continueLabel .= '</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table><br>';
    echo $continueLabel;
    echo '<br>';
}
echo '</p>';
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end if !disableHeading
// Any other special instructions etc...
if (isset($specialInfo)) {
    echo $specialInfo;
}
?>
<hr>
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// Initialize the row color
$rowColor = "";
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<div align="right" class="text" ><?php 
if (!isset($addLink)) {
    $addLink = '#';
}
echo '<a href="' . $addLink . '">' . $templateTools->getPageLabel('[Add]') . '</a>';
?>
</div>
<hr>
<table width="100%" border="0">
 * Required Template Variables:
 *  $pageLabels :   The values of the labels to display on the page.
 *
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>

<?php 
/// ___________________
// 1. semester selection jump list
$itemType = 'jumplist';
$itemName = 'semester_id';
$itemValue = $semesterJumpLinkSelectedValue;
$itemError = 'errorerror';
$listName = 'list_semester_id';
Esempio n. 10
0
<?php

$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
$rowColor = "";
$templateTools->swapBGColor($rowColor);
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<p><span class="bold"><?php 
echo $templateTools->getPageLabel('[Description]');
?>
: </span><span class="text"><?php 
echo $dataList->module_desc;
?>
</span></p>
<div align="right" class="text" ><?php 
if (!isset($editLink)) {
    $editLink = '#';
}
echo '<a href="' . $links['edit'] . '">' . $templateTools->getPageLabel('[Edit]') . '</a>';
?>
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>

<div class="text" align="right">
<?php 
    // display Continue Link if provided
    $continueLabel = '';
    if (isset($linkValues['cont'])) {
        $continueLabel = '<a href="' . $linkValues['cont'] . '">' . $linkLabels['cont'] . '</a>';
    }
    echo $continueLabel;
    // Start output buffering
    $templateTools->showByFormType($itemType, $itemName, $itemValue, $itemError, ${$listName}, 2000, 2010);
    $formRowData .= ob_get_contents();
    // Get the contents of the buffer
    ob_end_clean();
    // close the column
    $formRowData .= "</td>\n";
}
// now add the button column
$formRowData .= '<td valign="top" >';
if ($editEntryID == '') {
    $buttonText = 'Add';
} else {
    $buttonText = 'Update';
}
$formRowData .= '<input name="Add" type="submit" value="' . $templateTools->getPageLabel('[' . $buttonText . ']') . '" />';
$formRowData .= "</td>\n";
// close the row
$formRowData .= "</tr>\n";
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
{
    $isSelected = false;
    $pageFieldEntryKey = RowManager_PageFieldManager::XML_NODE_NAME;
    // for each page field in the list
    foreach ($pageFieldList->{$pageFieldEntryKey} as $pageField) {
        // if the daField ID's match then current daFieldID is selected.
        if ((int) $daFieldID == (int) $pageField->dafield_id) {
            $isSelected = true;
        }
    }
    // end foreach
    return $isSelected;
}
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<p class="bold" ><?php 
echo $templateTools->getPageLabel('[formFields]');
?>
</p>
Esempio n. 14
0
<?php

// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="bold"><?php 
echo $templateTools->getPageLabel('[Heading]');
?>
</span></p>

<?php 
if (!isset($regCompleted)) {
    echo '<p><span class="notice">' . $templateTools->getPageLabel('[Notice]') . '</span></p>';
}
/*
 * Display SideBar Links
 */
foreach ($links as $key => $link) {
    echo '<p class="text"><a href="' . $link . '">' . $templateTools->getPageLabel($key) . '</a></p>';
}
//   // only display this group if there is actually links
//   if ( count( $campusLevelLinks ) > 0 )
//   {
//      echo '<br/>';
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end display heading
// display Continue Link if provided
$continueLabel = '';
if (isset($linkValues['cont'])) {
    $continueLabel = '<p>&nbsp;&nbsp;&nbsp;&nbsp;<span class="text" align="right"><a href="' . $linkValues['cont'] . '">' . $linkLabels['cont'] . '</a></span></p>';
}
echo $continueLabel;
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
//Load the Keys for the XML based Form Item Objects
$formItemName = XMLObject_FormItem::XML_ELEMENT_NAME;
$formItemValue = XMLObject_FormItem::XML_ELEMENT_VALUE;
$formItemError = XMLObject_FormItem::XML_ELEMENT_ERROR;
// Initialize the row color
$rowColor = "";
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<table width="100%" border="0">
<!-- Form Data -->
<?php 
Esempio n. 17
0
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
    // If a navigation Link Exists ... add it here.
    if (isset($linkValues['back'])) {
        echo '<div align="right" class="text" ><a href="' . $linkValues['back'] . '">' . $linkLabels['back'] . '</a></div>';
    }
}
// end if !disableHeading
// Any other special instructions etc...
if (isset($specialInfo)) {
Esempio n. 18
0
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end display heading
// If an Add Link Exists ... add it here.
if (isset($linkValues['add'])) {
    echo '<div align="right" class="text" ><a href="' . $linkValues['add'] . '">' . $linkLabels['add'] . '</a></div>';
}
?>
<hr>
Esempio n. 19
0
 * Required Template Variables:
 *  $pageLabels :   The values of the labels to display on the page.
 *
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>

<?php 
/*
 * Display Links
 */
if ($isAllStaff) {
    echo '<span class="bold">' . $templateTools->getPageLabel('[AllStaff]') . '</span><br/>';
    foreach ($linkValues as $key => $link) {
        echo '<span class="text"><a href="' . $link . '">' . $templateTools->getPageLabel($key) . '</a></span><br/>';
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
    // If a navigation Link Exists ... add it here.
    if (isset($linkValues['back'])) {
        echo '<div align="right" class="text" ><a href="' . $linkValues['back'] . '">' . $linkLabels['back'] . '</a></div>';
    }
}
// end if !disableHeading
// Any other special instructions etc...
if (isset($specialInfo)) {
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// Initialize the row color
$rowColor = "";
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<table width="100%" border="0">
<?php 
/*
Esempio n. 22
0
 * Required Template Variables:
 *  $pageLabels :   The values of the labels to display on the page.
 *  $pageContent :  The Account List generated by the siteDataList
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[ChooseGroup]');
?>
</span> <?php 
// create JumpList
$templateTools->showJumpListByArray('accountGroup', $accountGroup, $jumpList);
?>
</p>
<?php 
Esempio n. 23
0
<?php

// Variables required by the template
// $adminLinks - array of links to appear in the admin section
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="bold"><?php 
echo $templateTools->getPageLabel('[General]');
?>
</span></p>
<?php 
/*
 * Display SideBar Links
 */
foreach ($links as $key => $link) {
    echo '<p class="text"><a href="' . $link . '">' . $templateTools->getPageLabel($key) . '</a></p>';
}
// only display this group if there is actually links
//  if ( count( $campusLevelLinks ) > 0 )
// {
// echo '<br/>';
// echo '<p><span class="bold">'.$templateTools->getPageLabel('[CampusLevelLinks]').'</span></p>';
/*
Esempio n. 24
0
<table border="0">

<?php 
/*
   NEWS SECTIONS
   <tr><td class="bold">News</td></tr>
   <tr><td>News to appear here.</td></tr>
   <tr><td>&nbsp;</td></tr>
*/
?>



    <?php 
if (isset($regCompleted)) {
    echo '<tr><td><b>' . $templateTools->getPageLabel('[RegComplete]') . $regStatus . '</b></td></tr>';
    echo '<tr><td>&nbsp;</td></tr>';
    echo '<tr><td class="notice"><b>' . $regMessage . '</b></td></tr>';
    echo '<tr><td>&nbsp;</td></tr>';
}
?>
   
   
   <tr><td class="bold"><?php 
echo $templateTools->getPageLabel('[Events]');
?>
</td></tr>
   <?php 
if (isset($notice)) {
    ?>
   	
Esempio n. 25
0
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
//Load the Keys for the XML based Form Item Objects
$formItemName = XMLObject_FormItem::XML_ELEMENT_NAME;
$formItemValue = XMLObject_FormItem::XML_ELEMENT_VALUE;
$formItemError = XMLObject_FormItem::XML_ELEMENT_ERROR;
// Initialize the row color
$rowColor = "";
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<table width="100%" border="0">
<?php 
/*
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
//Load the Keys for the XML based Form Item Objects
$formItemName = XMLObject_FormItem::XML_ELEMENT_NAME;
$formItemValue = XMLObject_FormItem::XML_ELEMENT_VALUE;
$formItemError = XMLObject_FormItem::XML_ELEMENT_ERROR;
// Initialize the row color
$rowColor = "";
$templateTools->swapBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>
<hr>
<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />
<table width="100%" border="0">
<!-- [RAD_FORM_FIELDENTRIES] -->
 * Required Template Variables:
 *  $pageLabels :   The values of the labels to display on the page.
 *
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>

<?php 
// 2. campus selection jump list
$itemType = 'jumplist';
$itemName = 'year_id';
$itemValue = $yearJumpLinkSelectedValue;
$itemError = 'errorerror';
$listName = 'list_year_id';
echo $templateTools->showByFormType($itemType, $itemName, $itemValue, $itemError, ${$listName});
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end display heading
// indicate the deposit amount required for the event registration
if (isset($minPayNotice)) {
    echo '<p><span class="notice">' . $minPayNotice . '</span></p>';
}
// indicate the maximum amount required for the event registration
if (isset($maxPayNotice)) {
Esempio n. 29
0
 *
 *  $groupCollectionArray: an array of GroupCollection objects
 *
 */
// First load the common Template Tools object
// This object handles the common display of our form items and
// text formmatting tools.
$fileName = 'objects/TemplateTools.php';
$path = Page::findPathExtension($fileName);
require_once $path . $fileName;
$templateTools = new TemplateTools();
// load the page labels
$templateTools->loadPageLabels($pageLabels);
?>
<p><span class="heading"><?php 
echo $templateTools->getPageLabel('[Title]');
?>
</span></p>
<p><span class="text"><?php 
echo $templateTools->getPageLabel('[Instr]');
?>
</span></p>

<form name="Form" id="Form" method="post" action="<?php 
echo $formAction;
?>
">
<input name="Process" type="hidden" id="Process" value="T" />

<table border="0">
<tr valign="top">
$templateTools->setHeadingBGColor($rowColor);
// load the page labels
$templateTools->loadPageLabels($pageLabels);
// This template displays a Title & Instr field by default.  If you don't
// want them displayed, then you send ($disableHeading = true) to the
// template.
// Now check to see if the disableHeading param has been sent
if (!isset($disableHeading)) {
    // if not default it to false
    $disableHeading = false;
}
// if we are to display the heading ...
if (!$disableHeading) {
    ?>
<p><span class="heading"><?php 
    echo $templateTools->getPageLabel('[Title]');
    ?>
</span></p>
<p><span class="text"><?php 
    echo $templateTools->getPageLabel('[Instr]');
    ?>
</span></p>
<?php 
}
// end display heading
// display Continue Link if provided
$continueLabel = '';
if (isset($linkValues['cont'])) {
    $continueLabel = '<span class="text" align="right"><a href="' . $linkValues['cont'] . '">' . $linkLabels['cont'] . '</a></span>';
}
// only show error message if transaction was not approved