diff options
author | tardo <tardo@nagi-fanboi.net> | 2007-09-29 22:45:30 -0400 |
---|---|---|
committer | Paul Mattal <paul@mattal.com> | 2007-10-02 07:29:27 -0400 |
commit | 881b921eb30f5a28226e8b25ef194c4254cb09d5 (patch) | |
tree | 857cc8d87800d42b82b72c99afbc9d8d53067c8e | |
parent | 6e49512b4e4a05398ede8e2280edec0a516c253f (diff) | |
download | aurweb-881b921eb30f5a28226e8b25ef194c4254cb09d5.tar.xz |
Fixed version strings.
Added AUR_VERSION to config file, so now we should only need to
change one location. KISS ftw.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
-rw-r--r-- | web/html/account.php | 2 | ||||
-rw-r--r-- | web/html/hacker.php | 2 | ||||
-rw-r--r-- | web/html/index.php | 2 | ||||
-rw-r--r-- | web/html/logout.php | 2 | ||||
-rw-r--r-- | web/html/packages.php | 2 | ||||
-rw-r--r-- | web/html/pkgedit.php | 12 | ||||
-rw-r--r-- | web/html/pkgsubmit.php | 2 | ||||
-rw-r--r-- | web/html/template.php | 2 | ||||
-rw-r--r-- | web/html/timeout.php | 2 | ||||
-rw-r--r-- | web/lib/config.inc.proto | 1 |
10 files changed, 15 insertions, 14 deletions
diff --git a/web/html/account.php b/web/html/account.php index 3d98171..9caada4 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -155,6 +155,6 @@ if (isset($_COOKIE["AURSID"])) { echo " </div>"; echo "</div>"; -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 ef54bb6..d288a5e 100644 --- a/web/html/hacker.php +++ b/web/html/hacker.php @@ -12,6 +12,6 @@ print "<p>\n"; print __("If this problem persists, please contact the site administrator."); print "</p>\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 ebac81b..b379d4d 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -358,6 +358,6 @@ echo "</div>\n"; # End Table 1 echo " </div>"; echo "</div>"; -html_footer("<b>Version 1.4.0</b>"); +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 0d0f15e..0b275b8 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 0559060..2ae3bf0 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 e617b75..c1169f4 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 "<br />\n"; - html_footer($svn_idstr); + html_footer(AUR_VERSION); exit(); } @@ -36,7 +36,7 @@ if (!$atype) { if (!$_REQUEST["ID"]) { print __("Missing package ID."); print "<br />\n"; - html_footer($svn_idstr); + html_footer(AUR_VERSION); } @@ -59,7 +59,7 @@ if ($_REQUEST["del_Comment"]) { print __("Missing comment ID.")."<br />\n"; } pkgdetails_link($_REQUEST["ID"]); - html_footer($svn_idstr); + html_footer(AUR_VERSION); exit(); } @@ -120,7 +120,7 @@ if ($_REQUEST["add_Comment"]) { print "<input type='reset' value=\"".__("Reset")."\">\n"; print "</form>\n"; } - html_footer($svn_idstr); + html_footer(AUR_VERSION); exit(); } @@ -171,13 +171,13 @@ if ($_REQUEST["change_Category"]) { print "</form>\n"; } - html_footer($svn_idstr); + html_footer(AUR_VERSION); exit(); } print __("You've found a bug if you see this....")."<br />\n"; -html_footer($svn_idstr); # Use the $Id$ keyword +html_footer(AUR_VERSION); # Use the $Id$ keyword # NOTE: when checking in a new file, use # 'svn propset svn:keywords "Id" filename.php' # to tell svn to expand the "Id" keyword. diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index abccd66..6e754bf 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -669,6 +669,6 @@ if ($_COOKIE["AURSID"]) { } echo " </div>\n"; echo "</div>\n"; -html_footer("\$Id$"); +html_footer(AUR_VERSION); # vim: ts=2 sw=2 noet ft=php ?> diff --git a/web/html/template.php b/web/html/template.php index 175ba0b..6a158de 100644 --- a/web/html/template.php +++ b/web/html/template.php @@ -15,7 +15,7 @@ html_header(); # print out the HTML header print __("Hi, this is worth reading!")."<br />\n"; -html_footer("\$Id$"); # Use the $Id$ keyword +html_footer(AUR_VERSION); # Use the $Id$ keyword # NOTE: when checking in a new file, use # 'svn propset svn:keywords "Id" filename.php' # to tell svn to expand the "Id" keyword. diff --git a/web/html/timeout.php b/web/html/timeout.php index 94a8637..96a3e2e 100644 --- a/web/html/timeout.php +++ b/web/html/timeout.php @@ -12,6 +12,6 @@ print "<p>\n"; print __("Click on the Home link above to log in."); print "</p>\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 bad94a0..16ce2ad 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", "<b>Version 1.4.0</b>" ); $LOGIN_TIMEOUT = 7200; # number of idle seconds before timeout |