More style and layout tweaking
This commit is contained in:
@@ -634,7 +634,6 @@ function print_admin_links ($siteid, $width=180) {
|
||||
function print_course_admin_links($course, $width=180) {
|
||||
global $THEME, $CFG;
|
||||
|
||||
echo "<BR>";
|
||||
$adminicon[]="<IMG SRC=\"$CFG->wwwroot/pix/i/edit.gif\" HEIGHT=16 WIDTH=16 ALT=\"\">";
|
||||
if (isediting($course->id)) {
|
||||
$admindata[]="<A HREF=\"view.php?id=$course->id&edit=off\">".get_string("turneditingoff")."</A>";
|
||||
|
||||
+2
-2
@@ -209,7 +209,7 @@
|
||||
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
|
||||
echo "</FONT>";
|
||||
print_simple_box_end();
|
||||
echo "<BR>";
|
||||
echo "<BR \>";
|
||||
}
|
||||
|
||||
// Print all the recent activity
|
||||
@@ -220,7 +220,7 @@
|
||||
print_simple_box_end();
|
||||
}
|
||||
|
||||
echo "<BR><IMG SRC=\"../pix/spacer.gif\" WIDTH=210 HEIGHT=1>";
|
||||
echo "<BR \><IMG SRC=\"../pix/spacer.gif\" WIDTH=210 HEIGHT=1>";
|
||||
}
|
||||
|
||||
echo "</TD></TR></TABLE>\n";
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"<META NAME=\"Description\" CONTENT=\"".stripslashes(strip_tags($site->summary))."\">",
|
||||
true, "", $headerbutton);
|
||||
|
||||
$side = 165;
|
||||
$side = 175;
|
||||
|
||||
?>
|
||||
|
||||
|
||||
+6
-6
@@ -21,10 +21,10 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta=
|
||||
// $menu - HTML code for a popup menu
|
||||
global $USER, $CFG, $THEME;
|
||||
|
||||
if (file_exists("$CFG->dirroot/theme/$CFG->theme/styles.css")) {
|
||||
$styles = "$CFG->wwwroot/theme/$CFG->theme/styles.css";
|
||||
if (file_exists($CFG->stylesheet)) {
|
||||
$styles = $CFG->stylesheet;
|
||||
} else {
|
||||
$styles = "$CFG->wwwroot/theme/standard/styles.css";
|
||||
$styles = "$CFG->wwwroot/theme/standard/styles.php";
|
||||
}
|
||||
|
||||
if ($navigation == "home") {
|
||||
@@ -299,12 +299,12 @@ function print_table($table) {
|
||||
|
||||
print_simple_box_start("CENTER", "$table->width", "#FFFFFF", 0);
|
||||
echo "<TABLE WIDTH=100% BORDER=0 valign=top align=center ";
|
||||
echo " cellpadding=\"$table->cellpadding\" cellspacing=\"$table->cellspacing\">\n";
|
||||
echo " cellpadding=\"$table->cellpadding\" cellspacing=\"$table->cellspacing\" class=\"generaltable\">\n";
|
||||
|
||||
if ($table->head) {
|
||||
echo "<TR>";
|
||||
foreach ($table->head as $key => $heading) {
|
||||
echo "<TH VALIGN=top ".$align[$key].$size[$key]." NOWRAP>$heading</TH>";
|
||||
echo "<TH VALIGN=top ".$align[$key].$size[$key]." NOWRAP class=\"generaltableheader\">$heading</TH>";
|
||||
}
|
||||
echo "</TR>\n";
|
||||
}
|
||||
@@ -312,7 +312,7 @@ function print_table($table) {
|
||||
foreach ($table->data as $row) {
|
||||
echo "<TR VALIGN=TOP>";
|
||||
foreach ($row as $key => $item) {
|
||||
echo "<TD ".$align[$key].$size[$key].">$item</TD>";
|
||||
echo "<TD ".$align[$key].$size[$key]." class=\"generaltablecell\">$item</TD>";
|
||||
}
|
||||
echo "</TR>\n";
|
||||
}
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
|
||||
$CFG->wordlist = "$CFG->libdir/wordlist.txt";
|
||||
$CFG->javascript = "$CFG->libdir/javascript.php";
|
||||
$CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.css";
|
||||
$CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.php";
|
||||
$CFG->header = "$CFG->dirroot/theme/$CFG->theme/header.html";
|
||||
$CFG->footer = "$CFG->dirroot/theme/$CFG->theme/footer.html";
|
||||
$CFG->moddata = "moddata";
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
<TABLE WIDTH="90%" BORDER="0" CELLSPACING="10" CELLPADDING="5" ALIGN="CENTER">
|
||||
<TR>
|
||||
<? if ($show_instructions) { ?>
|
||||
<TD WIDTH="50%" bgcolor=<?=$THEME->cellheading2?>>
|
||||
<TD WIDTH="50%" bgcolor=<?=$THEME->cellheading2?> class="generaltableheader">
|
||||
<P ALIGN="CENTER"><B><FONT SIZE=3><? print_string("returningtosite") ?></FONT></B></P>
|
||||
</TD>
|
||||
<TD WIDTH="50%" bgcolor=<?=$THEME->cellheading2?>>
|
||||
<TD WIDTH="50%" bgcolor=<?=$THEME->cellheading2?> class="generaltableheader">
|
||||
<P ALIGN="CENTER"><B><FONT SIZE=3><? print_string("firsttime") ?></FONT></B></P>
|
||||
</TD>
|
||||
<? } ?>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>"> <FONT SIZE=2>
|
||||
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellcontent2?>"> <FONT SIZE=2>
|
||||
<P ALIGN="CENTER"><? print_string("loginusing") ?>:<BR>
|
||||
(<? print_string("cookiesenabled") ?>)<BR>
|
||||
<? formerr($errormsg) ?>
|
||||
@@ -74,7 +74,7 @@
|
||||
</BLOCKQUOTE>
|
||||
</FONT> </TD>
|
||||
<? if ($show_instructions) { ?>
|
||||
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>">
|
||||
<TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellcontent2?>">
|
||||
<FONT SIZE=2>
|
||||
<? switch ($CFG->auth) {
|
||||
case "email": ?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<CENTER>
|
||||
<table cellpadding=20> <tr> <td bgcolor="<?=$THEME->cellheading ?>">
|
||||
<table cellpadding=20> <tr> <td bgcolor="<?=$THEME->cellcontent2 ?>">
|
||||
|
||||
<form name="form" method="post" action="signup.php">
|
||||
<table>
|
||||
|
||||
Reference in New Issue
Block a user