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 --- VERSIONS.txt | 1 + web/html/index.php | 15 ++++++++++----- web/lang/en/index_po.inc | 2 ++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/VERSIONS.txt b/VERSIONS.txt index 3c4aa5b..157ba57 100644 --- a/VERSIONS.txt +++ b/VERSIONS.txt @@ -4,3 +4,4 @@ Version 1.0 = Revision 146 = at Launch (4/11/05) Version 1.0.1 = Revision 157 (4/22/05) Version 1.0.2 = Revision 168 (5/4/05) Version 1.0.3 = Revision 178 (5/16/05) +Version 1.1 = Revision 194 (6/10/05) diff --git a/web/html/index.php b/web/html/index.php index 4993e23..da4a351 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 d9efc74..0f25929 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