mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
More notice removals
This commit is contained in:
@@ -179,7 +179,7 @@ EOF;
|
||||
|
||||
// ------------------------------- e107 News --------------------------------
|
||||
|
||||
$text2 .= $ns->tablerender("e107 News","<div id='e-tweet'></div>","core-infopanel_news",true);
|
||||
$text2 = $ns->tablerender("e107 News","<div id='e-tweet'></div>","core-infopanel_news",true);
|
||||
|
||||
// REQUIRES Log Plugin to be installed.
|
||||
if (e107::isInstalled('log'))
|
||||
@@ -257,7 +257,7 @@ EOF;
|
||||
$panelOnline .= "</tbody></table>
|
||||
";
|
||||
|
||||
$text2 .= $ns->tablerender('Visitors Online : '.$nOnline, $panelOnline,'core-infopanel_online',true);
|
||||
$text2 .= $ns->tablerender('Visitors Online : '.vartrue($nOnline), $panelOnline,'core-infopanel_online',true);
|
||||
|
||||
// --------------------- User Selected Menus -------------------
|
||||
|
||||
@@ -287,7 +287,7 @@ EOF;
|
||||
|
||||
// $text .= "</div>";
|
||||
|
||||
if($_GET['mode'] != 'customize')
|
||||
if(vartrue($_GET['mode']) != 'customize')
|
||||
{
|
||||
// $ns->tablerender(ADLAN_47." ".ADMINNAME, $emessage->render().$text);
|
||||
echo $mes->render().'
|
||||
@@ -580,7 +580,7 @@ EOF;
|
||||
{
|
||||
$unix = strtotime($k);
|
||||
|
||||
$day[] = intval($v['daytotal']);
|
||||
$day[] = intval(vartrue($v['daytotal']));
|
||||
$label[] = "'".date("D",$unix)."'";
|
||||
}
|
||||
|
||||
|
@@ -72,7 +72,7 @@ function wmessage_shortcode($parm)
|
||||
if (isset($wmessage) && $wmessage)
|
||||
{
|
||||
ob_start();
|
||||
if ($pref['wm_enclose'])
|
||||
if (vartrue($pref['wm_enclose']))
|
||||
{
|
||||
$ns->tablerender($wmcaption, implode("<br />",$wmessage), 'wm');
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// $Id$
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
if($eMenuActive['chatbox_menu'] && ($pref['cb_layer']==2))
|
||||
if(vartrue($eMenuActive['chatbox_menu']) && ($pref['cb_layer']==2))
|
||||
{
|
||||
$eplug_js[] = e_JS."e_ajax.php";
|
||||
}
|
||||
|
@@ -131,8 +131,8 @@ else
|
||||
//
|
||||
|
||||
|
||||
if($pref['meta_copyright'][e_LANGUAGE]) e107::meta('copyright',$pref['meta_copyright'][e_LANGUAGE]);
|
||||
if($pref['meta_author'][e_LANGUAGE]) e107::meta('author',$pref['meta_author'][e_LANGUAGE]);
|
||||
if(vartrue($pref['meta_copyright'][e_LANGUAGE])) e107::meta('copyright',$pref['meta_copyright'][e_LANGUAGE]);
|
||||
if(vartrue($pref['meta_author'][e_LANGUAGE])) e107::meta('author',$pref['meta_author'][e_LANGUAGE]);
|
||||
if($pref['sitelogo']) e107::meta('og:image',$tp->replaceConstants($pref['sitelogo'],'full'));
|
||||
if(defined("VIEWPORT")) e107::meta('viewport',VIEWPORT);
|
||||
|
||||
|
Reference in New Issue
Block a user