Add clarification for logged out users. (Thank you, <user
name="900degrees"> for pointing this out!)
Patch by denise.
diffs (28 lines):
diff -r ff9a65c95f9a -r c281729b23e5 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat Sun May 17 00:25:55 2009 +0800
+++ b/bin/upgrading/en.dat Sat May 16 16:40:32 2009 +0000
@@ -3907,7 +3907,9 @@ widget.createaccountentercode.error.inva
widget.createaccountentercode.error.toofast=You are entering codes too
quickly; please try again later.
-widget.createaccountentercode.comm=If you'd like to <a [[aopts]]>create a
community</a> instead, you don't need an invite code.
+widget.createaccountentercode.comm=If you'd like to <a [[aopts]]>create a
community</a> instead, you don't need an account creation code.
+
+widget.createaccountentercode.comm.loggedout=You should create or log into a
personal account to be the maintainer. If you don't have a personal account
yet, you will need a code to create that account, but you don't need one for
the community itself.
widget.createaccountentercode.info=To create a new account, enter an account
creation code:
diff -r ff9a65c95f9a -r c281729b23e5 cgi-bin/LJ/Widget/CreateAccountEnterCode.pm
--- a/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm Sun May 17 00:25:55
2009 +0800
+++ b/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm Sat May 16 16:40:32
2009 +0000
@@ -71,7 +71,10 @@ sub render_body {
if ( LJ::is_enabled( 'payments' ) ) {
$ret .= "<p style='margin-top: 10px;'>";
$ret .= $class->ml( 'widget.createaccountentercode.pay', { aopts =>
"href='$LJ::SITEROOT/shop/account?for=new'", sitename => $LJ::SITENAMESHORT } );
+ my $remote = LJ::get_remote();
$ret .= " " . $class->ml( 'widget.createaccountentercode.comm', {
aopts => "href='$LJ::SITEROOT/community/create.bml'" } );
+ $ret .= " " . $class->ml(
'widget.createaccountentercode.comm.loggedout', { aopts =>
"href='$LJ::SITEROOT/community/create.bml'" } ) unless $remote;
+
$ret .= "</p>";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog