Do not round bottom area if alert box will be shown

This commit is contained in:
Scott Ullrich 2005-07-12 01:53:53 +00:00
parent 20e1ed7dcc
commit 3a2f2d8773

View File

@ -15,11 +15,12 @@ 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");
Rounded("div#topbox","bl br tl tr","#FFF","#990000","smooth");
<?php
/* if we displayed an alert earlier, round the bottom edges */
if($need_alert_display == true) {
echo "Rounded(\"div#roundalert\",\"bl br\",\"#FFF\",\"#990000\",\"smooth\");\n";
} else {
Rounded("div#topbox","tl tr","#FFF","#990000","smooth");
}
?>
</script>