aurweb/web/template
Dan McGee 1f252eba64 Always set ModifiedTS including new packages
Set it equal to the SubmittedTS field, which will be our indication the
package is new when we show the logo on the front page of the AUR.

This results in the ability to remove the use of the unindexable
GREATEST() function from the AUR code everywhere we had to use it before
to handle the 0 timestamp case.

Note that there is no race condition here in calling UNIX_TIMESTAMP()
twice- it always returns the time at the beginning of statment
execution:

    mysql> select unix_timestamp(), sleep(2), unix_timestamp();
    +------------------+----------+------------------+
    | unix_timestamp() | sleep(2) | unix_timestamp() |
    +------------------+----------+------------------+
    |       1300851746 |        0 |       1300851746 |
    +------------------+----------+------------------+
    1 row in set (2.00 sec)

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-04-03 22:59:31 +02:00
..
stats Always set ModifiedTS including new packages 2011-04-03 22:59:31 +02:00
actions_form.php Fix broken XHTML. 2011-03-11 19:00:50 +01:00
footer.php Support for langauges written right-to-left 2011-02-18 13:52:38 +01:00
header.php Fix XSS vulnerability in "web/template/header.php". 2011-03-30 17:07:27 +02:00
login_form.php Remove mystery code. 2010-06-05 02:07:23 -04:00
pkg_comment_form.php Fix XSS vulnerabilities in package comment templates. 2011-03-30 10:49:51 +02:00
pkg_comments.php Fix XSS vulnerabilities in package comment templates. 2011-03-30 10:49:51 +02:00
pkg_details.php Fix main site package search URL 2011-03-15 15:46:10 +01:00
pkg_search_form.php Bump up default per-page value to 50 2011-03-24 15:32:08 +01:00
pkg_search_results.php Fix XSS vulnerability in package search results and package details. 2011-03-11 19:15:04 +01:00
search_accounts_form.php Fix broken XHTML. 2011-03-11 19:00:50 +01:00
template.phps Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
tu_details.php Fix broken XHTML. 2011-03-11 19:00:50 +01:00
tu_list.php Fix broken XHTML. 2011-03-11 19:00:50 +01:00