mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Fix for login page message styling/placement.
This commit is contained in:
@@ -89,7 +89,7 @@ $LOGIN_TEMPLATE['page']['header'] = "
|
|||||||
</div>";
|
</div>";
|
||||||
|
|
||||||
$LOGIN_TEMPLATE['page']['body'] = '
|
$LOGIN_TEMPLATE['page']['body'] = '
|
||||||
|
{LOGIN_TABLE_LOGINMESSAGE}
|
||||||
<h2 class="form-signin-heading">'.LAN_LOGIN_4.'</h2>';
|
<h2 class="form-signin-heading">'.LAN_LOGIN_4.'</h2>';
|
||||||
if (e107::pref('core', 'password_CHAP') == 2)
|
if (e107::pref('core', 'password_CHAP') == 2)
|
||||||
{
|
{
|
||||||
@@ -110,6 +110,9 @@ $LOGIN_WRAPPER['page']['LOGIN_TABLE_SECIMG_TEXTBOC'] = "<div class='form-group'>
|
|||||||
$LOGIN_WRAPPER['page']['LOGIN_TABLE_REMEMBERME'] = "<div class='form-group checkbox'>{---}</div>";
|
$LOGIN_WRAPPER['page']['LOGIN_TABLE_REMEMBERME'] = "<div class='form-group checkbox'>{---}</div>";
|
||||||
$LOGIN_WRAPPER['page']['LOGIN_TABLE_SUBMIT'] = "<div class='form-group'>{---}</div>";
|
$LOGIN_WRAPPER['page']['LOGIN_TABLE_SUBMIT'] = "<div class='form-group'>{---}</div>";
|
||||||
$LOGIN_WRAPPER['page']['LOGIN_TABLE_FOOTER_USERREG'] = "<div class='form-group'>{---}</div>";
|
$LOGIN_WRAPPER['page']['LOGIN_TABLE_FOOTER_USERREG'] = "<div class='form-group'>{---}</div>";
|
||||||
|
$LOGIN_WRAPPER['page']['LOGIN_TABLE_LOGINMESSAGE'] = "<div class='alert alert-danger'>{---}</div>";
|
||||||
|
|
||||||
|
|
||||||
// $LOGIN_WRAPPER['page']['LOGIN_TABLE_FPW_LINK'] = "<div class='form-group'>{---}</div>";
|
// $LOGIN_WRAPPER['page']['LOGIN_TABLE_FPW_LINK'] = "<div class='form-group'>{---}</div>";
|
||||||
|
|
||||||
$LOGIN_TEMPLATE['page']['body'] .= '
|
$LOGIN_TEMPLATE['page']['body'] .= '
|
||||||
|
@@ -101,7 +101,11 @@ if (!USER || getperms('0'))
|
|||||||
|
|
||||||
|
|
||||||
$login_message = SITENAME; // $login_message = LAN_LOGIN_3." | ".SITENAME;
|
$login_message = SITENAME; // $login_message = LAN_LOGIN_3." | ".SITENAME;
|
||||||
echo LOGINMESSAGE;
|
if(strpos($LOGIN_TABLE_HEADER,'LOGIN_TABLE_LOGINMESSAGE') === false && strpos($LOGIN_TABLE,'LOGIN_TABLE_LOGINMESSAGE') === false)
|
||||||
|
{
|
||||||
|
echo LOGINMESSAGE;
|
||||||
|
}
|
||||||
|
|
||||||
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);
|
echo $tp->parseTemplate($LOGIN_TABLE_HEADER,true, $sc);
|
||||||
$ns->tablerender($login_message, $text, 'login_page');
|
$ns->tablerender($login_message, $text, 'login_page');
|
||||||
echo $tp->parseTemplate($LOGIN_TABLE_FOOTER, true, $sc);
|
echo $tp->parseTemplate($LOGIN_TABLE_FOOTER, true, $sc);
|
||||||
|
Reference in New Issue
Block a user