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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user