, Jam Warehouse (Pty) Ltd, South Africa * @package presentation */ function renderHeading($sHeading, $sSectionName = "") { global $default; if (strlen($sSectionName) == 0) { $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); } $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); $sToRender = "\n"; $sToRender .= "\n"; $sToRender .= "
$sHeading
\n"; return $sToRender; } function startTable($border, $width) { return "\n"; } function tableCaption($sCaption) { return "\n"; } function stopTable() { return "
$sCaption
\n"; } function tableRow($align, $bgcolor, $html) { return "$html\n"; } function tableHeading($cssClassName, $colspan, $text) { return "\n $text\n \n"; } function tableData($html, $iColspan = 1) { return "$html\n"; } function tableCssData($html, $cssClass) { return "$html\n"; } function startTableRowCell() { return "\n"; } function textInput($sId, $sValue) { return "\n"; } function endTableRowCell() { return "\n"; } function generateImage($sImageSource) { return ""; } function getNumberStringValidationJavaScript() { return "\n"; } /** * Candy striping helper method */ function getColour($iColourCount) { return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF"; } ?>