janinedog: (Default)
Janine ([personal profile] janinedog) wrote in [site community profile] changelog2009-04-07 12:04 am

[dw-free] Pass username to /edittags.bml.users

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

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

Pass the journal's username into this string.

Patch by [personal profile] ysobel.

Files modified:
  • htdocs/edittags.bml
  • htdocs/edittags.bml.text
--------------------------------------------------------------------------------
diff -r ae45b130dfcc -r b311886af1cf htdocs/edittags.bml
--- a/htdocs/edittags.bml	Mon Apr 06 23:56:45 2009 +0000
+++ b/htdocs/edittags.bml	Tue Apr 07 00:03:24 2009 +0000
@@ -116,7 +116,7 @@ body<=
     }
     $ret .= "</td></tr>";
 
-    $ret .= "<tr><td class='l'>$ML{'.users'}</td><td class='curtags'>";
+    $ret .= "<tr><td class='l'>" . BML::ml('.users', { user => $u->user }) . "</td><td class='curtags'>";
 
     if ( scalar keys %$usertags ) {
         $ret .= "<select name='tags' multiple='multiple' class='tagbox_nohist' " .
diff -r ae45b130dfcc -r b311886af1cf htdocs/edittags.bml.text
--- a/htdocs/edittags.bml.text	Mon Apr 06 23:56:45 2009 +0000
+++ b/htdocs/edittags.bml.text	Tue Apr 07 00:03:24 2009 +0000
@@ -33,7 +33,7 @@
 
 .title=Edit Tags on Entry
 
-.users=User's tags:
+.users=[[user]]'s tags:
 
 .view=<a [[aopts]]>View</a> this entry.
 
--------------------------------------------------------------------------------

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