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();
|
return $mail->Send();
|
||||||
}
|
}
|
||||||
|
|
||||||
function erreur($message, $color = "error")
|
function erreur($message, $color="danger")
|
||||||
{
|
{
|
||||||
global $template;
|
global $template;
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>{block name=body}
|
<body>{block name=body}
|
||||||
{if $ERRmessage}
|
{if $ERRmessage}
|
||||||
<div class="alert alert-{$ERRcolor}">
|
<div class="alert alert-dismissable alert-{$ERRcolor}">
|
||||||
<button class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<i class="icon-warning-sign"></i> {$ERRmessage}
|
<span class="glyphicon glyphicon-warning-sign"></span> {$ERRmessage}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{block name=content}{/block}
|
{block name=content}{/block}
|
||||||
|
Loading…
Reference in New Issue
Block a user