mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-03-07 07:43 am

[dw-free] English-strip /community/sentinvites

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

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

Strip sentinvites.bml.

Patch by [staff profile] denise.

Files modified:
  • htdocs/community/sentinvites.bml
  • htdocs/community/sentinvites.bml.text
--------------------------------------------------------------------------------
diff -r fc9b79485704 -r 36a421f8a480 htdocs/community/sentinvites.bml
--- a/htdocs/community/sentinvites.bml	Sat Mar 07 07:42:01 2009 +0000
+++ b/htdocs/community/sentinvites.bml	Sat Mar 07 07:43:22 2009 +0000
@@ -156,7 +156,7 @@ body<=
     # setup showlinks
     my $showlinks = "<form method='get' action='/community/sentinvites.bml'>";
     $showlinks .= LJ::html_hidden('authas', $c->{user});
-    $showlinks .= "Filter to: ";
+    $showlinks .= $ML{'.filterto'};
     $showlinks .= LJ::html_select({ name => 'show', selected => $GET{show} }, map { $_, $_ } qw(all accepted outstanding rejected));
     $showlinks .= LJ::html_submit(undef, 'Refresh');
     $showlinks .= "</form>";
@@ -167,16 +167,16 @@ body<=
     $ret .= <<END; 
 <table class='borderedtable' cellpadding='2' cellspacing='0'>
 <tr style="border-bottom: solid 1px black;">
-    <th style='border-right: solid 1px black;'>P</th>
-    <td style='border-bottom: solid 1px black; border-right: solid 1px black;'>Posting Access</td>
-    <th style='border-right: solid 1px black;'>U</th>
-    <td style='border-bottom: solid 1px black;'>Unmoderated</td>
+    <th style='border-right: solid 1px black;'>$ML{'.key.posting.abbrev'}</th>
+    <td style='border-bottom: solid 1px black; border-right: solid 1px black;'>$ML{'.key.posting'}</td>
+    <th style='border-right: solid 1px black;'>$ML{'.key.unmoderated.abbrev'}</th>
+    <td style='border-bottom: solid 1px black;'>$ML{'.key.unmoderated'}</td>
 </tr>
 <tr style="border-bottom: solid 1px black;">
-    <th style='border-right: solid 1px black; border-bottom: none;'>M</th>
-    <td style='border-right: solid 1px black;'>Moderator</td>
-    <th style='border-right: solid 1px black; border-bottom: none;'>A</th>
-    <td>Maintainer</td>
+    <th style='border-right: solid 1px black; border-bottom: none;'>$ML{'.key.moderator.abbrev'}</th>
+    <td style='border-right: solid 1px black;'>$ML{'.key.moderator'}</td>
+    <th style='border-right: solid 1px black; border-bottom: none;'>$ML{'.key.maintainer.abbrev'}</th>
+    <td>$ML{'.key.maintainer'}</td>
 </tr>
 </table>
 <br />
diff -r fc9b79485704 -r 36a421f8a480 htdocs/community/sentinvites.bml.text
--- a/htdocs/community/sentinvites.bml.text	Sat Mar 07 07:42:01 2009 +0000
+++ b/htdocs/community/sentinvites.bml.text	Sat Mar 07 07:43:22 2009 +0000
@@ -3,11 +3,29 @@
 
 .error.notcomm=[[user]] is not a community.
 
+.filterto=Filter to:
+
 .key.date=Date
+
+.key.maintainer.abbrev=A
+
+.key.maintainer=Maintainer
+
+.key.moderator.abbrev=M
+
+.key.moderator=Moderator
+
+.key.posting.abbrev=P
+
+.key.posting=Posting
 
 .key.sentby=Sent By
 
 .key.status=Status
+
+.key.unmoderated.abbrev=U
+
+.key.unmoderated=Unmoderated
 
 .none.body=No invites have been sent in the past 30 days.  If you wish to invite people to this community, please visit the <a [[aopts]]>Members page</a>.
 
--------------------------------------------------------------------------------