Fix alert messages
This commit is contained in:
parent
e89c4e3df5
commit
ea27ea5855
@ -20,7 +20,7 @@ function send_mail($to, $subject, $body)
|
||||
return $mail->Send();
|
||||
}
|
||||
|
||||
function erreur($message, $color = "error")
|
||||
function erreur($message, $color="danger")
|
||||
{
|
||||
global $template;
|
||||
|
||||
|
@ -22,9 +22,9 @@
|
||||
</head>
|
||||
<body>{block name=body}
|
||||
{if $ERRmessage}
|
||||
<div class="alert alert-{$ERRcolor}">
|
||||
<button class="close" data-dismiss="alert">×</button>
|
||||
<i class="icon-warning-sign"></i> {$ERRmessage}
|
||||
<div class="alert alert-dismissable alert-{$ERRcolor}">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<span class="glyphicon glyphicon-warning-sign"></span> {$ERRmessage}
|
||||
</div>
|
||||
{/if}
|
||||
{block name=content}{/block}
|
||||
|
Loading…
Reference in New Issue
Block a user