mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Notice removal on welcome message shortcode.
This commit is contained in:
@@ -1,15 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
function wmessage_shortcode($parm)
|
function wmessage_shortcode($parm='')
|
||||||
{
|
{
|
||||||
if($parm == 'hide')
|
if($parm == 'hide')
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$e107 = e107::getInstance();
|
$e107 = e107::getInstance();
|
||||||
$e107cache = e107::getCache();
|
$e107cache = e107::getCache();
|
||||||
$pref = e107::getPref();
|
$pref = e107::getPref();
|
||||||
|
|
||||||
|
$front_url = '';
|
||||||
|
|
||||||
/* DEPRECATED - see auto-detect in header_default.php
|
/* DEPRECATED - see auto-detect in header_default.php
|
||||||
$prefwmsc = varset($pref['wmessage_sc'], FALSE);
|
$prefwmsc = varset($pref['wmessage_sc'], FALSE);
|
||||||
|
Reference in New Issue
Block a user