From bc17d579fb22fa7a3a1de2e59498e0ca5ac247d3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 11 Jul 2005 23:03:35 +0000 Subject: Move alerts to top area to match mockups by hoba --- usr/local/www/fbegin.inc | 38 +++++++++++++++++++++++++++++++++----- usr/local/www/fend.inc | 6 ++++++ usr/local/www/index.php | 10 ---------- 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index 2fd5c4f..268b54a 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -66,11 +66,39 @@ function showhide_black(tspan, tri) { - -
 webConfigurator -   -
- +  webConfigurator + +   + + + "; + } + $found_notices = are_notices_pending(); + if($found_notices == true) { + $notices = get_notices(); + if(!$notices) { + $need_alert_display = true; + $display_text .= print_notices() . "
"; + } + } + if($need_alert_display == true) { + // XXX: make rounded. + echo ""; + echo "
"; + echo " "; + echo $display_text; + echo "
"; + echo ""; + } + ?> + + diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc index 81fbba4..2ab5d7a 100755 --- a/usr/local/www/fend.inc +++ b/usr/local/www/fend.inc @@ -15,4 +15,10 @@ Rounded("div#niftyMenu","top bottom","#FFFFFF","#000000","smooth"); Rounded("div#mainarea","bl br tr","#FFF","#eeeeee","smooth"); Rounded("div#boxarea","bl br tl tr","#FFF","#eeeeee","smooth"); Rounded("tr#fend","bl br tl tr","#FFF","#990000","smooth"); + diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 70f7c34..a8787a9 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -155,16 +155,6 @@ include("head.inc");

- -
-- cgit v1.1