Added some spacer.gif to align up and down buttons...
authorstronk7 <stronk7>
Fri, 15 Aug 2003 10:11:22 +0000 (10:11 +0000)
committerstronk7 <stronk7>
Fri, 15 Aug 2003 10:11:22 +0000 (10:11 +0000)
course/category.php

index 0744a656c0cb8b2eacfef55d5ecd2fbc3c738a23..92370d0d1cbe36f153d029d554978300f11e95af 100644 (file)
                     if (is_dir("$CFG->dataroot/$course->id/backupdata")) {
                         echo "<a title=\"$strrestore\" href=\"../files/index.php?id=$course->id&wdir=/backupdata\"><img".
                              " src=\"$pixpath/t/restore.gif\" height=11 width=11 border=0></a> ";
+                    } else {
+                        echo "<img src=\"$CFG->wwwroot/pix/spacer.gif\" height=11 width=11 border=0></a> ";
                     }
             
                     if ($up) {
                         echo "<a title=\"$strmoveup\" href=\"category.php?id=$category->id&moveup=$course->id\"><img".
                              " src=\"$pixpath/t/up.gif\" height=11 width=11 border=0></a> ";
+                    } else {
+                        echo "<img src=\"$CFG->wwwroot/pix/spacer.gif\" height=11 width=11 border=0></a> ";
                     }
         
                     if ($down) {
                         echo "<a title=\"$strmovedown\" href=\"category.php?id=$category->id&movedown=$course->id\"><img".
                              " src=\"$pixpath/t/down.gif\" height=11 width=11 border=0></a> ";
+                    } else {
+                        echo "<img src=\"$CFG->wwwroot/pix/spacer.gif\" height=11 width=11 border=0></a> ";
                     }
     
                     echo "</td>";