1
0
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:
Cameron
2019-02-26 12:22:36 -08:00
parent beb1734681
commit 1dbc90143f
64 changed files with 147 additions and 139 deletions

View File

@@ -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);

View File

@@ -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;

View File

@@ -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'],