diff --git a/web/html/account.php b/web/html/account.php index 3d981715..9caada42 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -155,6 +155,6 @@ if (isset($_COOKIE["AURSID"])) { echo " "; echo ""; -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/hacker.php b/web/html/hacker.php index ef54bb63..d288a5e6 100644 --- a/web/html/hacker.php +++ b/web/html/hacker.php @@ -12,6 +12,6 @@ print "
\n"; print __("If this problem persists, please contact the site administrator."); print "
\n"; -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/index.php b/web/html/index.php index ebac81b8..b379d4d1 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -358,6 +358,6 @@ echo "\n"; # End Table 1 echo " "; echo ""; -html_footer("Version 1.4.0"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/logout.php b/web/html/logout.php index 0d0f15e1..0b275b86 100644 --- a/web/html/logout.php +++ b/web/html/logout.php @@ -22,6 +22,6 @@ if (isset($_COOKIE["AURSID"])) { header('Location: index.php'); exit; -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/packages.php b/web/html/packages.php index 0559060c..2ae3bf00 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -600,6 +600,6 @@ if (isset($_REQUEST["do_Flag"])) { } -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php index e617b75e..c1169f48 100644 --- a/web/html/pkgedit.php +++ b/web/html/pkgedit.php @@ -27,7 +27,7 @@ if (isset($_COOKIE["AURSID"])) { if (!$atype) { print __("You must be logged in before you can edit package information."); print "\n"; print __("Click on the Home link above to log in."); print "
\n"; -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto index bad94a0c..16ce2add 100644 --- a/web/lib/config.inc.proto +++ b/web/lib/config.inc.proto @@ -19,6 +19,7 @@ define( "USERNAME_MAX_LEN", 16 ); define( "PASSWD_MIN_LEN", 4 ); define( "PASSWD_MAX_LEN", 128 ); +define( "AUR_VERSION", "Version 1.4.0" ); $LOGIN_TIMEOUT = 7200; # number of idle seconds before timeout