Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added title attribute.

  • Loading branch information...
commit 55760c9a05e05e3e1a68574bcb975143eab6f9b8 1 parent 5096a8e
julmis authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/editor/popups/dlg_ins_smile.php
View
14 lib/editor/popups/dlg_ins_smile.php
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.