Commit a3d457d5 authored by Sean Brennan's avatar Sean Brennan Committed by Richard Mansfield
Browse files

Hide Buttons, Removed [x] from system messages



removed the grey [x] from 'ok' and 'error' system messages.
Signed-off-by: default avatarSean Brennan <sean@catalyst.net.nz>
parent e4f2bf52
......@@ -197,10 +197,8 @@ class Session {
$result = '<div id="messages">';
if (isset($_SESSION['messages'])) {
foreach ($_SESSION['messages'] as $data) {
$result .= '<div class="' . $data['type'] . '">';
$result .= '<div class="fr"><a href="" onclick="removeElement(this.parentNode.parentNode);return false;">';
$result .= '<img src="' . $THEME->get_url('images/icon_close.gif') . '" alt="[X]"></a></div>';
$result .= $data['msg'] . '</div>';
$result .= '<div class="' . $data['type'] . '"><div>';
$result .= $data['msg'] . '</div></div>';
}
$_SESSION['messages'] = array();
}
......
......@@ -1034,8 +1034,6 @@ div.rel {
/* system messages between nav and main content */
#messages {
padding: 0;
}
#messages div {
margin: 0 0 1em 0;
}
#containerX #messages {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment