mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
This commit is contained in:
@@ -85,7 +85,7 @@ if(!isset($LOGIN_TABLE_FOOTER))
|
||||
$LOGIN_TEMPLATE['page']['header'] = "
|
||||
<div id='login-template'>
|
||||
<div class='center'>
|
||||
{LOGO=login}
|
||||
{LOGO: login}
|
||||
</div>";
|
||||
|
||||
$LOGIN_TEMPLATE['page']['body'] = '
|
||||
|
@@ -93,7 +93,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
return $this->sc_logo($parm);
|
||||
}
|
||||
|
||||
function sc_logo($parm = '')
|
||||
function sc_logo($parm = array())
|
||||
{
|
||||
if(is_string($parm))
|
||||
{
|
||||
@@ -105,7 +105,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
||||
$logopref = e107::getConfig('core')->get('sitelogo');
|
||||
$logop = $tp->replaceConstants($logopref);
|
||||
|
||||
if($parm == 'login' || isset($parm['login'])) // Login Page. BC fix.
|
||||
if(isset($parm['login'])) // Login Page. BC fix.
|
||||
{
|
||||
|
||||
if(!empty($logopref) && is_readable($logop))
|
||||
|
@@ -232,7 +232,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(!empty($_GET['for'])) // leave in upload directory if no category given.
|
||||
{
|
||||
|
Reference in New Issue
Block a user