mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 02:57:15 +02:00
Case cleanup toHtml() should be toHTML()
This commit is contained in:
@@ -2126,8 +2126,8 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
$subid = $c;
|
||||
$link = (substr($lk['link_url'],0,1)!="/" && substr($lk['link_url'],0,3)!="{e_" && substr($lk['link_url'],0,4)!='http') ? "{e_BASE}".$lk['link_url'] : $lk['link_url'];
|
||||
|
||||
$tmp[$c]['text'] = $tp->toHtml($lk['link_name'],'','defs');
|
||||
$tmp[$c]['description'] = $tp->toHtml($lk['link_description'],'','defs');
|
||||
$tmp[$c]['text'] = $tp->toHTML($lk['link_name'],'','defs');
|
||||
$tmp[$c]['description'] = $tp->toHTML($lk['link_description'],'','defs');
|
||||
$tmp[$c]['link'] = $tp->replaceConstants($link,'full');
|
||||
$tmp[$c]['image'] = vartrue($lk['link_button']) ? "<img class='icon S16' src='".$tp->replaceConstants($lk['link_button'])."' alt='".$tp->toAttribute($lk['link_description'],'','defs')."' />": "" ;
|
||||
$tmp[$c]['image_large'] = '';
|
||||
|
@@ -305,7 +305,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
|
||||
foreach($sizes as $s)
|
||||
{
|
||||
$text .= "<li><a href=\"javascript:addtext('[size=".$s."][/size]')\">".$tp->toHtml("[size=".$s."]".LANHELP_65." ".$s."[/size]",true)."</a></li>\n";
|
||||
$text .= "<li><a href=\"javascript:addtext('[size=".$s."][/size]')\">".$tp->toHTML("[size=".$s."]".LANHELP_65." ".$s."[/size]",true)."</a></li>\n";
|
||||
}
|
||||
|
||||
$text .= "</ul>";
|
||||
|
@@ -224,7 +224,7 @@ class news_shortcodes extends e_shortcode
|
||||
$caption = vartrue($parm['text'],LAN_BACK);
|
||||
|
||||
$text = '<ul class="pager hidden-print">
|
||||
<li><a href="'.$url.'">'.e107::getParser()->toHtml($caption,false,'defs').'</a></li>
|
||||
<li><a href="'.$url.'">'.e107::getParser()->toHTML($caption,false,'defs').'</a></li>
|
||||
</ul>';
|
||||
|
||||
return $text;
|
||||
@@ -322,7 +322,7 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
if(!empty($user['user_signature']))
|
||||
{
|
||||
return e107::getParser()->toHtml($user['user_signature'], true, 'DESCRIPTION');
|
||||
return e107::getParser()->toHTML($user['user_signature'], true, 'DESCRIPTION');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -639,7 +639,7 @@ class news_shortcodes extends e_shortcode
|
||||
elseif($this->news_item['news_body']) // Auto-generate from first 2 sentences of news-body. //TODO Add Pref?
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$text = $tp->toHtml($this->news_item['news_body'],true);
|
||||
$text = $tp->toHTML($this->news_item['news_body'],true);
|
||||
$breaks = array('<br />','<br>');
|
||||
$text = str_replace($breaks,"\n",$text);
|
||||
$text = strip_tags($text);
|
||||
@@ -1188,7 +1188,7 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
function sc_newsmetadiz($parm=null)
|
||||
{
|
||||
$text = e107::getParser()->toHtml($this->news_item['news_meta_description'],true);
|
||||
$text = e107::getParser()->toHTML($this->news_item['news_meta_description'],true);
|
||||
|
||||
if(!empty($parm['limit']))
|
||||
{
|
||||
|
@@ -455,7 +455,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
$tp = e107::getParser();
|
||||
$row = $this->getBook();
|
||||
|
||||
return $tp->toHtml($row['chapter_name'], false, 'TITLE');
|
||||
return $tp->toHTML($row['chapter_name'], false, 'TITLE');
|
||||
}
|
||||
|
||||
function sc_book_anchor()
|
||||
@@ -479,7 +479,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
$tp = e107::getParser();
|
||||
$row = $this->getBook();
|
||||
|
||||
return $tp->toHtml($row['chapter_meta_description'], true, 'BODY');
|
||||
return $tp->toHTML($row['chapter_meta_description'], true, 'BODY');
|
||||
}
|
||||
|
||||
function sc_book_url()
|
||||
@@ -510,7 +510,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
$tp = e107::getParser();
|
||||
$row = $this->getChapter();
|
||||
|
||||
return $tp->toHtml($row['chapter_name'], false, 'TITLE');
|
||||
return $tp->toHTML($row['chapter_name'], false, 'TITLE');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -561,7 +561,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
$tp = e107::getParser();
|
||||
$row = $this->getChapter();
|
||||
|
||||
return $tp->toHtml($row['chapter_meta_description'], true, 'BODY');
|
||||
return $tp->toHTML($row['chapter_meta_description'], true, 'BODY');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user