mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
splash msg may have a timeout value
This commit is contained in:
parent
3a2e0d70d2
commit
a66f9538f4
|
@ -123,7 +123,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo "<body".(strlen($bodyClass)>0 ? " class=\"".$bodyClass."\"" : "").">\n";
|
||||
if($this->params['session'] && $flashmsg = $this->params['session']->getSplashMsg()) {
|
||||
$this->params['session']->clearSplashMsg();
|
||||
echo "<div class=\"splash\" data-type=\"".$flashmsg['type']."\">".$flashmsg['msg']."</div>\n";
|
||||
echo "<div class=\"splash\" data-type=\"".$flashmsg['type']."\"".(!empty($flashmsg['timeout']) ? ' data-timeout="'.$flashmsg['timeout'].'"': '').">".$flashmsg['msg']."</div>\n";
|
||||
}
|
||||
foreach($hookObjs as $hookObj) {
|
||||
if (method_exists($hookObj, 'startBody')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user