mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 08:06:38 +02:00
This commit is contained in:
@@ -85,7 +85,7 @@ if(!isset($LOGIN_TABLE_FOOTER))
|
|||||||
$LOGIN_TEMPLATE['page']['header'] = "
|
$LOGIN_TEMPLATE['page']['header'] = "
|
||||||
<div id='login-template'>
|
<div id='login-template'>
|
||||||
<div class='center'>
|
<div class='center'>
|
||||||
{LOGO=login}
|
{LOGO: login}
|
||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
$LOGIN_TEMPLATE['page']['body'] = '
|
$LOGIN_TEMPLATE['page']['body'] = '
|
||||||
|
@@ -93,7 +93,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
|
|||||||
return $this->sc_logo($parm);
|
return $this->sc_logo($parm);
|
||||||
}
|
}
|
||||||
|
|
||||||
function sc_logo($parm = '')
|
function sc_logo($parm = array())
|
||||||
{
|
{
|
||||||
if(is_string($parm))
|
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');
|
$logopref = e107::getConfig('core')->get('sitelogo');
|
||||||
$logop = $tp->replaceConstants($logopref);
|
$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))
|
if(!empty($logopref) && is_readable($logop))
|
||||||
|
Reference in New Issue
Block a user