mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 19:14:09 +02:00
Case cleanup toHtml() should be toHTML()
This commit is contained in:
@@ -45,8 +45,8 @@ $rc->mode = "new_menu";
|
||||
$text = $rc->displayMenu();
|
||||
|
||||
$caption = vartrue($rc->list_pref[$rc->mode."_caption"], LIST_MENU_1);
|
||||
$caption = e107::getParser()->toHtml($caption, FALSE, 'USER_TITLE');
|
||||
$text = e107::getParser()->toHtml($text, TRUE, 'USER_BODY');
|
||||
$caption = e107::getParser()->toHTML($caption, FALSE, 'USER_TITLE');
|
||||
$text = e107::getParser()->toHTML($text, TRUE, 'USER_BODY');
|
||||
e107::getRender()->tablerender($caption, $text, 'list_new');
|
||||
|
||||
unset($caption);
|
||||
|
@@ -45,8 +45,8 @@ $rc->mode = "recent_menu";
|
||||
$text = $rc->displayMenu();
|
||||
|
||||
$caption = vartrue($rc->list_pref[$rc->mode."_caption"], LIST_MENU_1);
|
||||
$caption = $rc->e107->tp->toHtml($caption, FALSE, 'USER_TITLE');
|
||||
$text = $rc->e107->tp->toHtml($text, TRUE, 'USER_BODY');
|
||||
$caption = $rc->e107->tp->toHTML($caption, FALSE, 'USER_TITLE');
|
||||
$text = $rc->e107->tp->toHTML($text, TRUE, 'USER_BODY');
|
||||
$rc->e107->ns->tablerender($caption, $text, 'list_recent');
|
||||
unset($caption);
|
||||
unset($text);
|
||||
|
Reference in New Issue
Block a user