afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-04-08 04:46 pm

[dw-free] Page displayed after validating email doesn't have links

[commit: http://hg.dwscoalition.org/dw-free/rev/f6789dcf3529]

http://bugs.dwscoalition.org/show_bug.cgi?id=722

Add appropriate links to the message after email has been verified.

Patch by [personal profile] invisionary.

Files modified:
  • htdocs/register.bml
--------------------------------------------------------------------------------
diff -r 120d075309a5 -r f6789dcf3529 htdocs/register.bml
--- a/htdocs/register.bml	Wed Apr 08 16:34:00 2009 +0000
+++ b/htdocs/register.bml	Wed Apr 08 16:45:17 2009 +0000
@@ -115,14 +115,15 @@ body<=
          $ret .= "<div class='columns-2-r300'>\n";
          $ret .= "<?warningbar " . BML::ml('.new.bodyuser', {'user'=>LJ::ljuser($u)}) . " warningbar?>";
          $ret .= "<div class='columns-2-left'>";
-         $ret .= "<h2 class='widget-header' style='margin-top: 10px;'>" . BML::ml('.new.101.title', {'sitename' => $LJ::SITENAMESHORT}) . "</h2>";
-         $ret .= "<p><strong>$ML{'.new.101.journal.question'}</strong><br />";
+         $ret .= "<h2 class='widget-header' style='margin-top: 10px;'>" . BML::ml('.new.101.title', {'sitename' => $LJ::SITENAMESHORT}) . "</h2><br />";
+         $ret .= "<p><strong><a href='" . $u->journal_base . "/'>$ML{'.new.101.journal.question'}</a></strong><br />";
          $ret .= "$ML{'.new.101.journal.answer'}</p>";
-         $ret .= "<p><strong>$ML{'.new.101.profile.question'}</strong><br />";
+         $ret .= "<p><strong><a href='" . $u->profile_url . "/'>$ML{'.new.101.profile.question'}</a></strong><br />";
          $ret .= "$ML{'.new.101.profile.answer'}</p>";
-         $ret .= "<p><strong>$ML{'.new.101.friends.question'}</strong><br />";
+         $ret .= "<p><strong><a href='" . $u->journal_base . "/read/'>$ML{'.new.101.friends.question'}</a></strong><br />";
+
          $ret .= "$ML{'.new.101.friends.answer'}</p>";
-         $ret .= "<p><strong>$ML{'.new.101.community.question'}</strong><br />";
+         $ret .= "<p><strong><a href='$LJ::SITEROOT/community/search.bml'>$ML{'.new.101.community.question'}</a></strong><br />";
          $ret .= "$ML{'.new.101.community.answer'}</p>";
          $ret .= "</div>";
          $ret .= "<div class='columns-2-right'>";
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org