mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
"MDL13233, fix unclosed li elements, and remove extra <html> tags, see tracker"
This commit is contained in:
parent
fb84ec49bc
commit
b8b3d87c2c
4
help.php
4
help.php
@ -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>';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user