mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +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');
|
||||
|
@@ -15,15 +15,21 @@ if(!isset($FPW_TABLE))
|
||||
|
||||
<tr>
|
||||
<td class='fcaption' colspan='2'>".LAN_05."</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:70%'>".LAN_FPW1.":</td>
|
||||
<td class='forumheader3' style='width:30%;text-align:center'>
|
||||
<input class='tbox' type='text' name='username' size='40' value='' maxlength='100' />
|
||||
</td>
|
||||
</tr>
|
||||
</tr>";
|
||||
|
||||
if($pref['allowEmailLogin']==0)
|
||||
{
|
||||
$FPW_TABLE .= "
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:70%'>".LAN_FPW1.":</td>
|
||||
<td class='forumheader3' style='width:30%;text-align:center'>
|
||||
<input class='tbox' type='text' name='username' size='40' value='' maxlength='100' />
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
|
||||
$FPW_TABLE .="
|
||||
<tr>
|
||||
<td class='forumheader3' style='width:70%'>".LAN_112.":</td>
|
||||
<td class='forumheader3' style='width:30%; text-align:center'>
|
||||
|
Reference in New Issue
Block a user