mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
modified format of front page update list
Version info for 1.1
This commit is contained in:
parent
52d6df0f62
commit
e8f1659b87
3 changed files with 13 additions and 5 deletions
|
@ -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.1 = Revision 157 (4/22/05)
|
||||||
Version 1.0.2 = Revision 168 (5/4/05)
|
Version 1.0.2 = Revision 168 (5/4/05)
|
||||||
Version 1.0.3 = Revision 178 (5/16/05)
|
Version 1.0.3 = Revision 178 (5/16/05)
|
||||||
|
Version 1.1 = Revision 194 (6/10/05)
|
||||||
|
|
|
@ -79,20 +79,25 @@ print "<tr>\n";
|
||||||
print " <td align='left' valign='top'>";
|
print " <td align='left' valign='top'>";
|
||||||
print "<p>".__("Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h.", array('<a href="guidelines.html">', '</a>'))."</p>";
|
print "<p>".__("Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h.", array('<a href="guidelines.html">', '</a>'))."</p>";
|
||||||
print "<p>".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('<a href="http://bugs.archlinux.org/index.php?tasks=all&project=2">', '</a>'))."</p>";
|
print "<p>".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('<a href="http://bugs.archlinux.org/index.php?tasks=all&project=2">', '</a>'))."</p>";
|
||||||
print "<p>".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('<a href="http://www.archlinux.org/mailman/listinfo/tur-users">', '<a>'));
|
print "<p>".__("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('<a href="http://www.archlinux.org/mailman/listinfo/tur-users">', '</a>'));
|
||||||
print "<p>".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('<a href="http://wiki2.archlinux.org/index.php/Unofficial%20Repositories">', '</a>'))."</p>";
|
print "<p>".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('<a href="http://wiki2.archlinux.org/index.php/Unofficial%20Repositories">', '</a>'))."</p>";
|
||||||
|
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
#Hey, how about listing the newest pacakges? :D
|
#Hey, how about listing the newest pacakges? :D
|
||||||
$q = "SELECT * FROM Packages ";
|
$q = "SELECT * FROM Packages ";
|
||||||
$q.= "WHERE DummyPkg != 1 ";
|
$q.= "WHERE DummyPkg != 1 ";
|
||||||
$q.= "ORDER BY SubmittedTS DESC ";
|
$q.= "ORDER BY SubmittedTS DESC ";
|
||||||
$q.= "LIMIT 0 , 10";
|
$q.= "LIMIT 0 , 10";
|
||||||
$result = db_query($q,$dbh);
|
$result = db_query($q,$dbh);
|
||||||
print "<span class='f3'>".__("Latest Packages:")."</span><span class='f5'><a href='/rss2.php'>(rss)</a></span><br />\n";
|
print '<table cellspacing="2" class="boxSoft"><tr><td class="boxSoftTitle" align="right"><span class="f3">'.__("Recent Updates").'</span> </td> </tr><tr><td class="boxSoft"><table style="width: 100%" cellspacing=0 cellpadding=0>'."\n";
|
||||||
while ($row = mysql_fetch_assoc($result)) {
|
while ($row = mysql_fetch_assoc($result)) {
|
||||||
print " <span class='f4'><a href='/packages.php?do_Details=1&ID=".intval($row["ID"])."'>";
|
print '<tr><td><span class="f4"><span class="blue">- <a href="/packages.php?do_Details=1&ID='.intval($row["ID"]).'">';
|
||||||
print $row["Name"]."</a></span><br />\n";
|
print $row["Name"]." ".$row["Version"]."</a></span></span>";
|
||||||
|
#print '<td align="right"><span class="f4">'.intval($row["ModifiedTS"]).'</span></td>';
|
||||||
|
print '</tr>'."\n";
|
||||||
}
|
}
|
||||||
|
print '</table></td></tr></table>';
|
||||||
|
|
||||||
#print __("This is where the intro text will go.");
|
#print __("This is where the intro text will go.");
|
||||||
#print __("For now, it's just a place holder.");
|
#print __("For now, it's just a place holder.");
|
||||||
|
@ -136,6 +141,6 @@ print "</tr>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
|
|
||||||
html_footer("<b>Version 1.0.3</b> \$Id$");
|
html_footer("<b>Version 1.1</b> \$Id$");
|
||||||
# vim: ts=2 sw=2 noet ft=php
|
# vim: ts=2 sw=2 noet ft=php
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -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"]["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";
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Add table
Reference in a new issue