From e8f1659b876cd7a0f84777b5e4dcb51241ab7d6f Mon Sep 17 00:00:00 2001 From: pjmattal Date: Sat, 11 Jun 2005 03:35:35 +0000 Subject: modified format of front page update list Version info for 1.1 --- web/html/index.php | 15 ++++++++++----- web/lang/en/index_po.inc | 2 ++ 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/html/index.php b/web/html/index.php index 4993e231..da4a351d 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -79,20 +79,25 @@ print "\n"; print " "; print "

".__("Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h.", array('', ''))."

"; print "

".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('', ''))."

"; -print "

".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('', '')); +print "

".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('', '')); print "

".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('', ''))."

"; +print "
\n"; + #Hey, how about listing the newest pacakges? :D $q = "SELECT * FROM Packages "; $q.= "WHERE DummyPkg != 1 "; $q.= "ORDER BY SubmittedTS DESC "; $q.= "LIMIT 0 , 10"; $result = db_query($q,$dbh); -print "".__("Latest Packages:")."(rss)
\n"; +print '
'.__("Recent Updates").'
'."\n"; while ($row = mysql_fetch_assoc($result)) { - print " "; - print $row["Name"]."
\n"; + print ''; + print ''."\n"; } +print '
- '; + print $row["Name"]." ".$row["Version"].""; + #print ''.intval($row["ModifiedTS"]).'
'; #print __("This is where the intro text will go."); #print __("For now, it's just a place holder."); @@ -136,6 +141,6 @@ print "\n"; print "\n"; -html_footer("Version 1.0.3 \$Id$"); +html_footer("Version 1.1 \$Id$"); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/lang/en/index_po.inc b/web/lang/en/index_po.inc index d9efc743..0f259292 100644 --- a/web/lang/en/index_po.inc +++ b/web/lang/en/index_po.inc @@ -51,4 +51,6 @@ $_t["en"]["Discussion about the AUR takes place on the %sTUR Users List%s."] = " $_t["en"]["Email discussion about the AUR takes place on the %sTUR Users List%s."] = "Email discussion about the AUR takes place on the %sTUR Users List%s."; +$_t["en"]["Recent Updates"] = "Recent Updates"; + ?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b