]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL13233, fix unclosed li elements, and remove extra <html> tags, see tracker"
authordongsheng <dongsheng>
Thu, 1 May 2008 02:46:09 +0000 (02:46 +0000)
committerdongsheng <dongsheng>
Thu, 1 May 2008 02:46:09 +0000 (02:46 +0000)
help.php
lang/en_utf8/help/emoticons.html

index 6c8b3b6b2e05090ac752096a6d1d634f8e64adb1..c038d330bd6afbd6a14a3e79457373a7bacbc862 100644 (file)
--- a/help.php
+++ b/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>';
         }
 
     }
index 8b34e5778d6e06e2f60ad6ae8825f3de21140010..1fe259b6b3e2adc735dcaca96681883cdf9df4bd 100644 (file)
@@ -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>