From: moodler <moodler>
Date: Sun, 4 May 2003 12:56:05 +0000 (+0000)
Subject: Some image spacing issues
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3bb49201b10471cfe16c5865d612f03e12ad295f;p=moodle.git

Some image spacing issues
---

diff --git a/course/lib.php b/course/lib.php
index c1ce3c4b5d..981ee5f947 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -1112,10 +1112,10 @@ function make_editing_buttons($moduleid, $absolute=false, $visible=true, $str=NU
 
     if ($visible) {
         $hideshow = " <a title=\"$str->hide\" href=\"$path/mod.php?hide=$moduleid\"><img 
-                        src=\"$pixpath/t/hide.gif\" height=11 width=11 border=0></a>";
+                        src=\"$pixpath/t/hide.gif\" hspace=2 height=11 width=11 border=0></a>";
     } else {
         $hideshow = " <a title=\"$str->show\" href=\"$path/mod.php?show=$moduleid\"><img 
-                        src=\"$pixpath/t/show.gif\" height=11 width=11 border=0></a>";
+                        src=\"$pixpath/t/show.gif\" hspace=2 height=11 width=11 border=0></a>";
     }
 
     return "<a title=\"$str->delete\" href=\"$path/mod.php?delete=$moduleid\"><img 
diff --git a/course/topics.php b/course/topics.php
index 94df410c34..83ddb1bd80 100644
--- a/course/topics.php
+++ b/course/topics.php
@@ -211,18 +211,18 @@
             if (isediting($course->id)) {
                 if ($course->marker == $section) {  // Show the "light globe" on/off
                     echo "<a href=\"view.php?id=$course->id&marker=0\" title=\"$strmarkedthistopic\">".
-                         "<img src=\"$pixpath/i/marked.gif\" height=16 width=16 border=0></a><br />";
+                         "<img src=\"$pixpath/i/marked.gif\" vspace=3 height=16 width=16 border=0></a><br />";
                 } else {
                     echo "<a href=\"view.php?id=$course->id&marker=$section\" title=\"$strmarkthistopic\">".
-                         "<img src=\"$pixpath/i/marker.gif\" height=16 width=16 border=0></a><br />";
+                         "<img src=\"$pixpath/i/marker.gif\" vspace=3 height=16 width=16 border=0></a><br />";
                 }
 
                 if ($thissection->visible) {        // Show the hide/show eye
                     echo "<a href=\"view.php?id=$course->id&hide=$section\" title=\"$strtopichide\">".
-                         "<img src=\"$pixpath/i/hide.gif\" height=16 width=16 border=0></a><br />";
+                         "<img src=\"$pixpath/i/hide.gif\" vspace=3 height=16 width=16 border=0></a><br />";
                 } else {
                     echo "<a href=\"view.php?id=$course->id&show=$section\" title=\"$strtopicshow\">".
-                         "<img src=\"$pixpath/i/show.gif\" height=16 width=16 border=0></a><br />";
+                         "<img src=\"$pixpath/i/show.gif\" vspace=3 height=16 width=16 border=0></a><br />";
                 }
 
             }