mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Case cleanup toHtml() should be toHTML()
This commit is contained in:
@@ -55,7 +55,7 @@ class _blank_front
|
||||
// $sc->setVars($value); // if shortcodes are enabled.
|
||||
// $text .= $tp->parseTemplate($template['item'],true, $sc);
|
||||
|
||||
$text .= $tp->toHtml($value['blank_type'])."<br />";
|
||||
$text .= $tp->toHTML($value['blank_type'])."<br />";
|
||||
}
|
||||
|
||||
// $text .= $tp->parseTemplate($template['end'],true, $sc);
|
||||
|
@@ -37,7 +37,7 @@ class _blank_parse
|
||||
* @param string $context Current context ie. OLDDEFAULT | BODY | TITLE | SUMMARY | DESCRIPTION | WYSIWYG etc.
|
||||
* @return string
|
||||
*/
|
||||
function toHtml($text, $context='')
|
||||
function toHTML($text, $context='')
|
||||
{
|
||||
$text = str_replace('****', '<hr>', $text);
|
||||
return $text;
|
||||
|
@@ -83,7 +83,7 @@ class _blank_sitelink // include plugin-folder in the name.
|
||||
while($row = $sql->fetch())
|
||||
{
|
||||
$sublinks[] = array(
|
||||
'link_name' => $tp->toHtml($row['blank_name'],'','TITLE'),
|
||||
'link_name' => $tp->toHTML($row['blank_name'],'','TITLE'),
|
||||
'link_url' => e107::url('_blank', 'other', $row),
|
||||
'link_description' => '',
|
||||
'link_button' => $row['blank_icon'],
|
||||
|
Reference in New Issue
Block a user