Permalink
Browse files

Admin link looks better at the bottom

  • Loading branch information...
1 parent e84ef82 commit 5c0c61550374fc9da91e279c77738fc54a39eec2 martin committed Aug 4, 2002
Showing with 2 additions and 3 deletions.
  1. +2 −3 index.php
View
@@ -58,8 +58,6 @@
if (isadmin()) {
print_simple_box(get_string("administration"), $align="CENTER", $width="100%", $color="$THEME->cellheading");
$icon = "<IMG SRC=\"pix/i/settings.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
- $moddata[]="<B><A HREF=\"admin/\">".get_string("admin")."</A></B>...";
- $modicon[]=$icon;
$moddata[]="<A HREF=\"course/log.php?id=$site->id\">".get_string("sitelogs")."</A>";
$modicon[]=$icon;
$moddata[]="<A HREF=\"admin/site.php\">".get_string("sitesettings")."</A>";
@@ -72,7 +70,8 @@
$modicon[]=$icon;
$moddata[]="<A HREF=\"admin/user.php\">".get_string("edituser")."</A>";
$modicon[]=$icon;
- print_side_block("", $moddata, "", $modicon);
+ $fulladmin = "<P><A HREF=\"admin/\">".get_string("admin")."</A>...";
+ print_side_block("", $moddata, "$fulladmin", $modicon);
echo "<IMG SRC=\"pix/spacer.gif\" WIDTH=200 HEIGHT=0><BR>";
}
?>

0 comments on commit 5c0c615

Please sign in to comment.