1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

New notify script added to front end. You can test with forum 'quick reply' for now.

This commit is contained in:
Cameron
2013-06-21 01:26:30 -07:00
parent 8d7971ec69
commit e5e5c1d12c
6 changed files with 143 additions and 10 deletions

View File

@@ -29,6 +29,9 @@ e107::js('core', 'bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js',
e107::js('core', 'bootstrap/js/bootstrap-tooltip.js','jquery');
e107::css('core', 'bootstrap/css/tooltip.css','jquery');
e107::js('core', 'bootstrap-notify/js/bootstrap-notify.js','jquery');
e107::css('core', 'bootstrap-notify/css/bootstrap-notify.css','jquery');
// ------------------
// e107::js('core', 'jquery.elastic.js', 'jquery', 2);
@@ -691,6 +694,11 @@ if ($e107_popup != 1) {
echo "<div class='installer alert alert-danger alert-block text-center'><b>*** ".CORE_LAN4." ***</b><br />".CORE_LAN5."</div>";
}
if(deftrue('BOOTSTRAP'))
{
echo "<div id='uiAlert' class='notifications center'></div>"; // Popup Alert Message holder. @see http://nijikokun.github.io/bootstrap-notify/
}
// Display Welcome Message when old method activated.
if(strstr($HEADER,"{WMESSAGE")===false && strstr($FOOTER,"{WMESSAGE")===false) // Auto-detection to override old pref.
{