Alexander Nicolaysen Sørnes : Add login link to standard error page login text
Chris Morgan
cmorgan at winehq.org
Mon Oct 22 18:32:04 CDT 2007
Module: appdb
Branch: master
Commit: c009863461221e85f67945d3af807ec17dea06f0
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=c009863461221e85f67945d3af807ec17dea06f0
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Tue Oct 23 00:41:46 2007 +0200
Add login link to standard error page login text
---
include/util.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/util.php b/include/util.php
index bc4603f..99362ac 100644
--- a/include/util.php
+++ b/include/util.php
@@ -5,7 +5,7 @@
function util_show_error_page_and_exit($text = null, $message = null)
{
if (!$text) {
- $text = "You must be logged in to perform that operation.";
+ $text = "You must be <a href=\"".login_url()."\">logged in</a> to perform that operation.";
}
header("HTTP/1.0 404 Object not found or user is not logged in");
apidb_header("Oops");
More information about the wine-cvs
mailing list