- <?php
- /**
- * class file.
- *
- * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
- * @copyright 2005, diemeisterei GmbH. All rights reserved.
- * @author $Author: schmunk $
- * @version $Revision: 237 $ $Date: 2006-05-31 01:45:51 +0200 (Mi, 31 Mai 2006) $
- * @package Lithron.LContainer
- * @subpackage WebControls
- */
-
- /**
- * Displays a brick with a little note containing a headline and a text
- *
- * @package System.Web.UI.WebControls
- * @subpackage Bricks
- */
-
- class LNoteBrick extends LBrick
- {
- /**
- * @return string: name of the brick
- */
- public function getDescriptiveName()
- {
- return "Note";
- }
-
- /**
- * adds admin snippets
- */
- public function __construct()
- {
- parent :: __construct();
- $admin =
- '<com:TTextBox ID="Headline" Width="100%"/><br/>
- <com:TTextBox ID="Content" Width="100%" Rows="8" TextMode="MultiLine"/><br/>
- ';
- $this->addAdminSnippet($admin);
- }
- }
- ?>