?>
<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
//Jump List stuff.
$showjumpList = true;
if ($showjumpList) {
    $templateTools->showJumpListByArray('campus', $defaultCampus, $jumpList, false);
}
//End of jump list code.
// 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>
<table width="100%" border="0">
<tr valign="top" <?php 
echo $rowColor;
?>
 >
<!-- Data List Headings -->
<?php 
Exemplo n.º 2
0
 *  $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 
echo $pageContent;
    ?>
<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
//Jump List stuff.
$showjumpList = true;
if ($showjumpList) {
    $templateTools->showJumpListByArray('year_in_school', $defaultYear, $jumpList, false);
}
//End of jump list code.
// 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>
<table width="100%" border="0">
<tr valign="top" <?php 
echo $rowColor;
?>
 >
<!-- Data List Headings -->
<?php 
    ?>
<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
//Jump List stuff.
$showjumpList = true;
if ($showjumpList) {
    $templateTools->showJumpListByArray('month_text', $defaultMonth, $jumpList, false);
    echo '<br><br>';
}
//End of jump list code.
// 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>';
}
?>

<?php 
$Month = new Calendar_Month_Weekdays($year_id, $month_id, $first_weekday);
$Month->build();
echo "<table border='1' cellspacing='0' cellpadding='5' bgcolor='#7799FF'>\n";
#00BFFF    #1E90FF
echo "<tr><td align='left' class='bold' width='14%'>Sun</td>";