From 08ed4e1820dee70a045563fc6bd5ff57a5275da3 Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Sat, 7 Jun 2008 18:55:12 +0200 Subject: [PATCH] removed obsolete inline CSS in index.php --- web/html/index.php | 76 ++++++++++++++++++++++++++-------------------------- 1 files changed, 38 insertions(+), 38 deletions(-) diff --git a/web/html/index.php b/web/html/index.php index 895fc8a..43f4571 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -38,35 +38,35 @@ $result = db_query($q,$dbh); # Table 2 print ''; print ''; -print ''; print ''; while ($row = mysql_fetch_assoc($result)) { print ''; - print ''; - print ''; + print ''; + print ''; print ''."\n"; } print ""; @@ -121,21 +121,21 @@ if (!empty($user)) { $row = mysql_fetch_row($result); $flagged_outdated = $row[0]; - print "
'; -print ' '.__("Recent Updates").' '; +print ''; +print ' '.__("Recent Updates").' '; print '
'; + print ''; - print ''; + print ''; print $row["Name"]." ".$row["Version"].""; - print ''; - - # figure out the mod string - $mod_int = intval($row["ModifiedTS"]); - $sub_int = intval($row["SubmittedTS"]); - if ($mod_int != 0) { - $modstring = gmdate("r", $mod_int); - } - elseif ($sub_int != 0) { - $modstring = ' '.gmdate("r", $sub_int); - } - else { - $mod_string = "(unknown)"; - } - print ''.$modstring.''; - print ''; + + # figure out the mod string + $mod_int = intval($row["ModifiedTS"]); + $sub_int = intval($row["SubmittedTS"]); + if ($mod_int != 0) { + $modstring = gmdate("r", $mod_int); + } + elseif ($sub_int != 0) { + $modstring = ' '.gmdate("r", $sub_int); + } + else { + $mod_string = "(unknown)"; + } + print ''.$modstring.''; + print '
"; + print '
'; - print ""; - print ""; - print ""; + print ''; + print ''; + print ''; # Number of packages in unsupported - print ""; - print ""; - print ""; - print ""; + print ''; + print ''; + print ''; + print ''; # If the user is a TU calculate the number of the packages $atype = account_from_sid($_COOKIE["AURSID"]); @@ -167,11 +167,11 @@ if (!empty($user)) { print "
"; - print "".__("My Statistics").""; - print "
'; + print ''.__('My Statistics').''; + print '
"; - print "".__("Packages in unsupported").""; - print "$maintainer_unsupported_count
'; + print ''.__('Packages in unsupported').''; + print ''.$maintainer_unsupported_count.'
"; -print ""; -print ""; -print ""; +print ''; +print ''; +print ''; print ""; print "
"; -print "".__("Statistics").""; -print "
'; +print ''.__('Statistics').''; +print '
"; -- 1.4.4.4