Change notifications from ids to classes
This commit is contained in:
@@ -25,12 +25,14 @@
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<? if(isset($error))
|
||||
foreach($error as $e) echo "<div id=\"error\">".$e."</div>"; ?>
|
||||
<? if(isset($notice))
|
||||
foreach($notice as $n) echo "<div id=\"notice\">".$n."</div>"; ?>
|
||||
<? if(isset($success))
|
||||
foreach($success as $s) echo "<div id=\"success\">".$s."</div>"; ?>
|
||||
<?
|
||||
if(isset($error))
|
||||
foreach($error as $e) echo "<div class=\"error\">".$e."</div>";
|
||||
if(isset($notice))
|
||||
foreach($notice as $n) echo "<div class=\"notice\">".$n."</div>";
|
||||
if(isset($success))
|
||||
foreach($success as $s) echo "<div class=\"success\">".$s."</div>";
|
||||
?>
|
||||
|
||||
<div id="sidebar">
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@ p { margin: 0px 0px 20px 0px; line-height: 18px;}
|
||||
ul { margin: 5px 0px 15px 0px; padding: 0px;}
|
||||
li { margin-left: 20px;}
|
||||
|
||||
#notice {
|
||||
clear: both;
|
||||
.notice {
|
||||
margin: 0 0 15px;
|
||||
padding: 0 10px;
|
||||
background: #fffbcc;
|
||||
@@ -31,8 +30,7 @@ li { margin-left: 20px;}
|
||||
color: #222;
|
||||
}
|
||||
|
||||
#succeed {
|
||||
clear: both;
|
||||
.succeed {
|
||||
margin: 0 0 15px;
|
||||
padding: 0 10px;
|
||||
background: #d1ecb8;
|
||||
@@ -41,8 +39,7 @@ li { margin-left: 20px;}
|
||||
color: #222;
|
||||
}
|
||||
|
||||
#error {
|
||||
clear: both;
|
||||
.error {
|
||||
margin: 0 0 15px;
|
||||
padding: 0 10px;
|
||||
background: #ffebe8;
|
||||
|
||||
Reference in New Issue
Block a user