ChangeSet ID: 31292 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/07/30 18:16:10
Modified files: . : contact.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Display login url in contact form when not logged in
Patch: http://cvs.winehq.org/patch.py?id=31292
Old revision New revision Changes Path 1.3 1.4 +2 -1 appdb/contact.php
Index: appdb/contact.php diff -u -p appdb/contact.php:1.3 appdb/contact.php:1.4 --- appdb/contact.php:1.3 30 Jul 2007 23:16:10 -0000 +++ appdb/contact.php 30 Jul 2007 23:16:10 -0000 @@ -12,7 +12,8 @@ $oUser = new User($_SESSION['current']->
/* Restrict error to logged-in users */ if(!$oUser->isLoggedIn()) - util_show_error_page_and_exit("You need to be logged in."); + util_show_error_page_and_exit("You need to be <a href="".login_url(). + "">logged in</a>.");
$oRecipient = new User($aClean['iRecipientId']);