<?php /* * page_Spt_home.php * * This is a generic template for the page_Spt_home.php page. * * 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 class="text"><a href="<?php echo $sptLink; ?> ">Click here to go to the summer project tool.</a></p> <p class="text">Note: You can now <a href="https://spt.campusforchrist.org/security/login">log in directly</a> at the spt.</p> <?php include "notice.php";
* $pageLabels : The values of the labels to display on the page. * $formFieldList: Array of fields displayed by the Form * $formFieldType : Array of field Types for each of the given fields * * $rowManagerXMLNodeName : The XML Node Name of the data List Entries * $primaryKeyFieldName : The primary key field name for the dataList entries * $dataList : The XML data to display in the list * $dataFieldList : Array of fields processed by the data list. */ // 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 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'; // 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)) {
* $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields * * $rowManagerXMLNodeName : The XML Node Name of the data List Entries * $dataList : The XML data to display in the list * $primaryKeyFieldName : The primary key field name for the dataList entries */ // 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 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>
* $columnEntry['label'] = Label to display on the page * $columnEntry['link' ] = The link to use * $columnEntry['field' ] = Name of the field to use for the * rest of the link data. * $dataFieldList : Array of fields processed by this form. * $rowManagerXMLNodeName : The XML Node Name of the data List Entries * $dataList : The XML data to display in the list * $primaryKeyFieldName : The primary key field name for the dataList entries */ // 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); // 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) {
<?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>'; }
* a row for each field is is gathering data for. Each row has a label, and * a form item. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields */ // 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 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); // 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
* $columnList: Array of column information displayed on this form * $formFieldType : Array of field Types for each of the given fields * * $rowManagerXMLNodeName : The XML Node Name of the row List Entries * $primaryKeyFieldName : The primary key field name for the rowList entries * $labelFieldName : the field in the rowList to use as the row labels * $rowList : The XML data to display in the form * $dataFieldList : Array of fields processed by the data list. */ // 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>
* * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $accessCategories : Array of access categories for the site. * $currentGroups : Array of access group ID's currently assigned to the * account being worked edited. * $buttonText : The label of the button to display */ // 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 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); $headingColor = ''; $templateTools->setHeadingBGColor($headingColor); // load the page labels $templateTools->loadPageLabels($pageLabels); ?> <p><span class="heading"><?php echo $templateTools->getPageLabel('[Title]'); ?>
/* * page_CampusWeeklyStatsReport.php * * This is a generic template for the page_CampusWeeklyStatsReport.php page. * * 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
* This template displays a delete confirmation style form. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $dataItem : Array of field Types for each of the given fields * */ // 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 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
* This template displays a set of data in a grid. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $dataFieldList : Array of fields processed by this form. * $rowManagerXMLNodeName : The XML Node Name of the data List Entries * $dataList : The XML data to display in the list * $primaryKeyFieldName : The primary key field name for the dataList entries */ // 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
* $cardDate: the expiry date on the card * * $confirmNum: the reg. confirm. # * $personID: the unique ID of the registrant * $seqNum: the Moneris-returned unique receipt # * $approvalCode: some sort of code indicating approval * $response: a code indicating trans. status (2 ranges and NULL used for APPROVED, DECLINED, INCOMPLETE) * $message: natural language description of transaction result */ // 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); // 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) {
* a row for each field is is gathering data for. Each row has a label, and * a form item. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields */ // 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(); if (isset($disableForm)) { $templateTools->disableForm(); } //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); // This template displays a Title & Instr field by default. If you don't // want them displayed, then you send ($disableHeading = true) to the // template.
<?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>'; ?>
* Required Template Variables: * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields * * * $eventName - textual description of the event being signed up for * $form - an FormHelper object that contains all the necessary data */ // 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); // 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) {
/* * page_StatsHome.php * * This is a generic template for the page_StatsHome.php page. * * 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
/* * page_AccountList.php * * This template frames the display of the Account List page. * * 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
* * This is a generic template for the page_Reg_home.php page. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * * $eventTable: An html table of the current events a student can sign-up for. * */ // 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); ?> <?php /* <p><span class="heading"><? echo $templateTools->getPageLabel('[Title]'); ?></span></p> <p><span class="text"><? echo $templateTools->getPageLabel('[Instr]'); ?></span></p> */ ?> <table border="0"> <?php
* * This is a generic template for the page_AdminEventHome.php page. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $editEventDetailsLink : The link referencing the Edit Event Details page * $editFieldTypesLink : The link referencing the Edit Field Types 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); // 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>
* a row for each field is is gathering data for. Each row has a label, and * a form item. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields */ // 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 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
<?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>'; /*
* $formFieldList: Array of fields displayed by the Form * $formFieldType : Array of field Types for each of the given fields * * $rowManagerXMLNodeName : The XML Node Name of the row List Entries * $primaryKeyFieldName : The primary key field name for the rowList entries * $labelFieldName : the field in the rowList to use as the row labels * $rowList : The XML data to display in the form * $dataFieldList : Array of fields processed by the data list. */ // 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 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
/* * page_CampusYearSummary.php * * This is a generic template for the page_CampusYearSummary.php page. * * 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';
* * This is a generic template for the page_MySchedule.php page. * * Required Template Variables: * $pageLabels : The values of the labels to display on the page. * * $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; ?>
* $pageLabels : The values of the labels to display on the page. * $formAction : The action for the submitted form. * $dataFieldList : Array of fields processed by this form. * $formFieldType : Array of field Types for each of the given fields * * $rowManagerXMLNodeName : The XML Node Name of the data List Entries * $dataList : The XML data to display in the list * $primaryKeyFieldName : The primary key field name for the dataList entries */ // 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 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->setHeadingBGColor($rowColor); // load the page labels $templateTools->loadPageLabels($pageLabels); $textStyle = 'text'; /* * Create the form row data ... */ // open the row $formRowData = "<tr>\n";