AddItemToCollection( $this->Links, array('Url' => $Url, 'Text' => $Text, 'Target' => $Target), $Position, $ForcePosition ); } function Foot(&$Context, $CssClass = '') { $this->Name = 'Foot'; $this->Control($Context); if ($CssClass != '') $this->CssClass = ' '.$CssClass; $this->Links = array(); // Add the default links $this->AddLink( 'javascript:PopTermsOfService();', $this->Context->GetDefinition('TermsOfService'), '', 100 ); $this->AddLink( 'http://lussumo.com/docs/', $this->Context->GetDefinition('Documentation'), '_blank', 200 ); $this->CallDelegate('PostConstructor'); } function Render() { $this->CallDelegate('PreRender'); include(ThemeFilePath($this->Context->Configuration, 'foot.php')); $this->CallDelegate('PostRender'); } } ?>