mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
fix double caption when it failed
tablerender make additional caption and breadcrumb above the error message when the process failed. (email not recognized) no problem if the caption, is simple .. but if we have styled caption it look weird. maybe there are better solutions ? thank you
This commit is contained in:
parent
a832b8266c
commit
ff6624386e
7
fpw.php
7
fpw.php
@ -380,8 +380,9 @@ if (!empty($_POST['pwsubmit']))
|
||||
{
|
||||
//$text = LAN_213;
|
||||
//$ns->tablerender(LAN_214, "<div style='text-align:center'>".$text."</div>");
|
||||
e107::getMessage()->addError(LAN_213);
|
||||
$ns->tablerender(LAN_214, e107::getMessage()->render());
|
||||
//e107::getMessage()->addError(LAN_213);
|
||||
//$ns->tablerender(LAN_214, e107::getMessage()->render());
|
||||
fpw_error(LAN_213);
|
||||
}
|
||||
}
|
||||
|
||||
@ -424,4 +425,4 @@ $text = $tp->parseTemplate($FPW_TABLE, true, $sc);
|
||||
$ns->tablerender($caption, $text);
|
||||
require_once(FOOTERF);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user