Permalink
Browse files

Added some spacer.gif to align up and down buttons...

  • Loading branch information...
stronk7
stronk7 committed Aug 15, 2003
1 parent 41b9b44 commit 47a5aeef2393fcce143f74d64de7689f9e2d8c67
Showing with 6 additions and 0 deletions.
  1. +6 −0 course/category.php
View
@@ -286,16 +286,22 @@
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>";

0 comments on commit 47a5aee

Please sign in to comment.