openrat-cms

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

commit 6f0c9ce3d206f634d7a872d5da185a3561ee35e3
parent 6b5dd1917e55b74815b87fb384a1f7dc9b18860d
Author: dankert <devnull@localhost>
Date:   Sat,  6 Oct 2007 01:33:18 +0200

Notizmeldungen k?nnen auch ein mehrzeiliges Log anzeigen.

Diffstat:
themes/default/include/html/window.inc.php | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/themes/default/include/html/window.inc.php b/themes/default/include/html/window.inc.php @@ -72,13 +72,15 @@ { ?> <tr> - <td><table> + <td style="text-align:center;padding:20px;"><table style="border:1px solid black;"> <?php foreach( $notices as $notice ) { ?> - <tr> + <tr style="border-bottom:1px solid grey;"> <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>: <?php } ?><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?></td> + <td><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>: <?php } ?><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo implode("\n",$notice['log']) ?></pre><?php } ?> + </td> </tr> <?php } ?>