- <?php
-
-
- /**
- * class file.
- *
- * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
- * @copyright 2005, diemeisterei GmbH. All rights reserved.
- * @author $Author: tobias $
- * @version $Revision: 1.5 $ $Date: 2006/01/03 19:08:05 $
- * @package Lithron
- * @subpackage none
- */
-
- /**
- *
- *
- * @package Lithron
- * @subpackage none
- */
-
- class LPoweredBy extends TTemplateControl
- {
- function setSize($value)
- {
- $this->setViewState("Size", $value);
- }
- function getSize()
- {
- return $this->getViewState("Size", "Small");
- }
- function onPreRender($param)
- {
- parent :: onPreRender($param);
- if ($this->getSize() == "Large")
- {
- $this->Small->setVisible(false);
- }
- else
- {
- $this->Large->setVisible(false);
- }
-
- }
- }
- ?>