Fixed minor things and added missing file
[vanilla-miry.git] / library / People / People.Control.PeopleFoot.php
blob4b29313436b36dd857ca126a72fa45e7f2c02ec1
1 <?php
2 /**
3 * The PeopleFoot control is used to render the footer for all "People" pages.
5 * Copyright 2003 Mark O'Sullivan
6 * This file is part of Lussumo's Software Library.
7 * Lussumo's Software Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
8 * Lussumo's Software Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
9 * You should have received a copy of the GNU General Public License along with Vanilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
10 * The latest source code is available at www.lussumo.com
11 * Contact Mark O'Sullivan at mark [at] lussumo [dot] com
13 * @author Mark O'Sullivan
14 * @copyright 2003 Mark O'Sullivan
15 * @license http://lussumo.com/community/gpl.txt GPL 2
16 * @package People
17 * @version 1.1.8
21 /**
22 * Writes the People page footer
23 * @package People
25 class PeopleFoot extends Control {
26 var $CssClass;
28 function PeopleFoot(&$Context, $CssClass = '') {
29 $this->Name = 'ExternalFoot';
30 $this->Control($Context);
31 $this->CssClass = $CssClass;
34 function Render() {
35 if ($this->CssClass != '') $this->CssClass = ' '.$this->CssClass;
36 $this->CallDelegate('PreRender');
37 include(ThemeFilePath($this->Context->Configuration, 'people_foot.php'));
38 $this->CallDelegate('PostRender');