Skip to content

Commit

Permalink
Added title attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
julmis committed Jan 30, 2005
1 parent 5096a8e commit 55760c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/editor/popups/dlg_ins_smile.php
Expand Up @@ -5,8 +5,8 @@
##
#################################################################################
-->
<?php
include('../../../config.php');
<?php
include('../../../config.php');
$pixpath = "$CFG->pixpath/s";

$fullnames = get_list_of_pixnames();
Expand All @@ -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">
Expand All @@ -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);
Expand All @@ -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];
Expand All @@ -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) {
Expand Down

0 comments on commit 55760c9

Please sign in to comment.