/[cvs]/nfo/php/libs/org.netfrag.glib/utils/ErrorBox.php
ViewVC logotype

Contents of /nfo/php/libs/org.netfrag.glib/utils/ErrorBox.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Jun 6 04:21:21 2003 UTC (21 years, 1 month ago) by joko
Branch: MAIN
CVS Tags: HEAD
initial commit

1 <?php
2
3 /**
4 * $Id: InfoBox.php,v 1.1 2003/05/13 16:22:22 joko Exp $
5 *
6 * $Log: InfoBox.php,v $
7 *
8 */
9
10
11 php::loadModule('utils/InfoBox');
12
13 /**
14 * ErrorBox
15 *
16 * This implements a "errorbox widget" using phpHtmlLib.
17 *
18 * Its purpose is to show a boxed html div-/span- area
19 * containing descriptive html-/plain text.
20 * The background color should be red.
21 *
22 * @author Andreas Motl <andreas.motl@ilo.de>
23 * @package org.netfrag.glib
24 * @name InfoBox
25 *
26 * @todo Add infrastructure to handle logging and/or tracing, e.g. error-code stuff...
27 *
28 */
29 class ErrorBox extends InfoBox {
30
31 function settings() {
32 parent::settings();
33 $this->SETTINGS[background] = 'red';
34 $this->SETTINGS[color] = 'white';
35 //$this->SETTINGS[font_weight] = '8';
36 $this->SETTINGS[font_weight] = 'bold';
37 }
38
39 }
40
41 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed