]> git.mjollnir.org Git - moodle.git/commitdiff
Added title attribute.
authorjulmis <julmis>
Sun, 30 Jan 2005 18:13:25 +0000 (18:13 +0000)
committerjulmis <julmis>
Sun, 30 Jan 2005 18:13:25 +0000 (18:13 +0000)
lib/editor/popups/dlg_ins_smile.php

index d9c842652c20f0c417e66f8a8c60a4ce94a9e050..2f1d00cc8341f1258626dd062d2bc4c818a4729e 100644 (file)
@@ -5,8 +5,8 @@
 ##
 #################################################################################
 -->
-<?php 
-    include('../../../config.php'); 
+<?php
+    include('../../../config.php');
     $pixpath = "$CFG->pixpath/s";
 
     $fullnames = get_list_of_pixnames();
@@ -31,7 +31,7 @@
                          'dead'       => 'xx-P',
                          'sleepy'     => '|-.',
                          'evil'       => '}-]' );
-    
+
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -54,7 +54,7 @@ function insert(img,text) {
     if (img) {
             var strImage = img;
             var strAlt = text;
-            var imgString = "<img src=\"" + strImage +"\" alt=\"" + strAlt +"\" />";
+            var imgString = "<img src=\"" + strImage +"\" alt=\"" + strAlt +"\" title=\"" + strAlt +"\" />";
     }
   // pass data back to the calling window
   __dlg_close(imgString);
@@ -77,8 +77,8 @@ function cancel() {
       <tr valign="top">
         <td>
         <table border="0">
-<?php 
-        $list = array('smiley', 'biggrin', 'wink', 'mixed', 'thoughtful', 
+<?php
+        $list = array('smiley', 'biggrin', 'wink', 'mixed', 'thoughtful',
                       'tongueout', 'cool', 'approve', 'wideeyes', 'surprise');
         foreach ($list as $image) {
             $name = $fullnames[$image];
@@ -96,7 +96,7 @@ function cancel() {
         <td>
         <table border="0" align="center">
 
-<?php 
+<?php
         $list = array('sad', 'shy', 'blush', 'kiss', 'clown', 'blackeye',
                       'angry', 'dead', 'sleepy', 'evil');
         foreach ($list as $image) {