ChangeSet ID: 31050 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/04/17 18:30:51
Modified files: . : index.php include : sidebar_login.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Show more register links. Make registration easier by showing a register link together with the log in link on the front page and on the user menu.
Patch: http://cvs.winehq.org/patch.py?id=31050
Old revision New revision Changes Path 1.45 1.46 +2 -1 appdb/index.php 1.21 1.22 +2 -1 appdb/include/sidebar_login.php
Index: appdb/index.php diff -u -p appdb/index.php:1.45 appdb/index.php:1.46 --- appdb/index.php:1.45 17 Apr 2007 23:30:51 -0000 +++ appdb/index.php 17 Apr 2007 23:30:51 -0000 @@ -38,7 +38,8 @@ if(!$_SESSION['current']->isLoggedIn())
$str_benefits
- <p>So what are you waiting for, [<a href="account.php?sCmd=login">login now</a>]. Your help in + <p>So what are you waiting for, [<a href="account.php?sCmd=login">log in</a>] + or [<a href="account.php?sCmd=new">register</a>] now! Your help in stomping out Wine issues will be greatly appreciated.</p>"; } else { Index: appdb/include/sidebar_login.php diff -u -p appdb/include/sidebar_login.php:1.21 appdb/include/sidebar_login.php:1.22 --- appdb/include/sidebar_login.php:1.21 17 Apr 2007 23:30:51 -0000 +++ appdb/include/sidebar_login.php 17 Apr 2007 23:30:51 -0000 @@ -61,7 +61,8 @@ function global_sidebar_login() { } else { - $g->add("Login", BASE."account.php?sCmd=login"); + $g->add("Log in", BASE."account.php?sCmd=login"); + $g->add("Register", BASE."account.php?sCmd=new"); }
$g->done();