1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Fix for forgot password and activation links. Fix for news-edit button. Fix for html5 validation of html code using '&'.

This commit is contained in:
Cameron
2015-04-10 12:36:35 -07:00
parent fe9fe1c3f8
commit 507308208b
5 changed files with 35 additions and 14 deletions

View File

@@ -119,11 +119,18 @@ class theme_shortcodes extends e_shortcode
if(!empty($userReg)) // value of 1 or 2 = login okay.
{
global $sc_style;
$sc_style = array(); // remove an wrappers.
$text .='
<form method="post" onsubmit="hashLoginPassword(this);return true" action="'.e_REQUEST_HTTP.'" accept-charset="UTF-8">
{LM_USERNAME_INPUT}
{LM_PASSWORD_INPUT}
<p>{LM_USERNAME_INPUT}</p>
<p>{LM_PASSWORD_INPUT}</p>
<div class="form-group"></div>
{LM_IMAGECODE_NUMBER}
{LM_IMAGECODE_BOX}
@@ -199,6 +206,7 @@ class theme_shortcodes extends e_shortcode
';
return $tp->parseTemplate($text,true,$login_menu_shortcodes);
}