mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 14:44:29 +02:00
siteinfo shortcode to match 0.7. fpw_template only asks for email when it is used as the login.
This commit is contained in:
@@ -776,7 +776,7 @@ class admin_shortcodes
|
||||
}
|
||||
}
|
||||
|
||||
function sc_admin_siteinfo()
|
||||
function sc_admin_siteinfo($parm='')
|
||||
{
|
||||
if (ADMIN)
|
||||
{
|
||||
@@ -786,6 +786,11 @@ class admin_shortcodes
|
||||
{
|
||||
include(e_ADMIN.'ver.php');
|
||||
}
|
||||
|
||||
if($parm == "version")
|
||||
{
|
||||
return $e107info['e107_version'];
|
||||
}
|
||||
|
||||
$obj = e107::getDateConvert();
|
||||
$install_date = $obj->convert_date($pref['install_date'], 'long');
|
||||
|
Reference in New Issue
Block a user