Skip to content

Commit

Permalink
"MDL13233, fix unclosed li elements, and remove extra <html> tags, se…
Browse files Browse the repository at this point in the history
…e tracker"
  • Loading branch information
dongsheng committed May 1, 2008
1 parent fb84ec4 commit b8b3d87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion help.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ function get_emoticons_html(){
foreach ($items as $item) {
$item = explode('{:}', $item);
$emoticons[$item[0]] = $item[1];
$output .= '<li><a href="###" onclick="inserttext(\''.$item[0].'\')"><img src="'.$CFG->pixpath.'/s/'.$item[1].'.gif" alt="'.$item[0].'" /></a>'.' <code>'.$item[0].'</code>';
$output .= '<li><a href="javascript:inserttext(\''.$item[0].'\')"><img src="'.
$CFG->pixpath.'/s/'.$item[1].'.gif" alt="'.$item[0].'" /></a>'.' <code>'.$item[0].
'</code></li>';
}

}
Expand Down
5 changes: 1 addition & 4 deletions lang/en_utf8/help/emoticons.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body><h1>Using Smilies (emoticons)</h1>
<h1>Using Smilies (emoticons)</h1>
<div id="emoticons">##emoticons_html##</div>
<div style="clear: both;"></div>

Expand All @@ -9,5 +8,3 @@
<p>To insert these icons in your text: just click the icon above, or type the associated text code directly in your text.</p>

<p>Note that the codes themselves are like little pictures - just turn your head to the left when looking at them</p>

</body></html>

0 comments on commit b8b3d87

Please sign in to comment.