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