openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4b2a9d297e73468e472ff4f4674c7aa9b8113f60
parent f36eae0a0ca3de1efb96c723a069f4c3afbf9f8a
Author: dankert <devnull@localhost>
Date:   Wed, 24 Nov 2004 23:33:36 +0100

Hinweise anzeigen

Diffstat:
themes/default/pages/html/header.tpl.php | 30++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/themes/default/pages/html/header.tpl.php b/themes/default/pages/html/header.tpl.php @@ -65,8 +65,7 @@ function unmark( id ) <!-- $Id$ --> <center> -<table class="main" width="60%" cellspacing="0" cellpadding="4"> - +<table class="main" width="98%" cellspacing="0" cellpadding="4"> <tr> <th><?php echo $title ?></th> </tr> @@ -84,3 +83,30 @@ function unmark( id ) </center> <?php } ?> + + + +<?php if (isset($notices) && count($notices)>0 ) + { ?> +<!-- $Id$ --> +<center> + +<table class="main" width="99%" cellspacing="0" cellpadding="4"> + + <tr> + <th colspan="3"><?php echo lang('GLOBAL_NOTICES') ?></th> + </tr> + + <?php foreach( $notices as $notice ) { ?> + <tr> + <td class="f1"><img src="<?php echo $image_dir.'icon_'.$notice['type'] ?>.png" align="left" /><?php echo $notice['name'] ?></td> + <td class="f1"><img src="<?php echo $image_dir.$notice['status'].'.gif' ?>" align="left" /> + <strong><?php echo $notice['text'] ?></strong></td> + </tr> + <?php } ?> + +</table> + +</center> + +<?php } ?>