[livejournal] r18057: LJSUP-7734. The role of the Super Mainta...
Committer: gprochaev
LJSUP-7734. The role of the Super Maintainer is not consistent with its rightsU trunk/htdocs/community/manage.bml U trunk/htdocs/community/moderate.bml U trunk/htdocs/community/sentinvites.bml U trunk/htdocs/community/settings.bml
Modified: trunk/htdocs/community/manage.bml
===================================================================
--- trunk/htdocs/community/manage.bml 2011-01-19 09:20:17 UTC (rev 18056)
+++ trunk/htdocs/community/manage.bml 2011-01-19 11:02:04 UTC (rev 18057)
@@ -142,7 +142,7 @@
$ret .= BML::ml('Actionlink', {'link'=>$ML{'.commlist.actmembers2'}.$pend}) . " " if $pend;
}
$ret .= "</td><td align='center'>";
- if ($mods{$id}) {
+ if ($mods{$id} || $smods{$id}) {
my $num = $names{$id}->{'count'} || "0"; # relying on this to be <b>-wrapped
$ret .= BML::ml('.commlist.moderation.num2', {'aopts' => "href='$LJ::SITEROOT/community/moderate.bml?authas=$user'", 'num' => $num});
} else {
Modified: trunk/htdocs/community/moderate.bml
===================================================================
--- trunk/htdocs/community/moderate.bml 2011-01-19 09:20:17 UTC (rev 18056)
+++ trunk/htdocs/community/moderate.bml 2011-01-19 11:02:04 UTC (rev 18057)
@@ -24,7 +24,7 @@
}
$ret .= "<form action='moderate.bml' method='GET'>\n";
- $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => 'C' });
+ $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => 'S' });
$ret .= "</form>\n\n";
my $mode = $POST{'mode'};
Modified: trunk/htdocs/community/sentinvites.bml
===================================================================
--- trunk/htdocs/community/sentinvites.bml 2011-01-19 09:20:17 UTC (rev 18056)
+++ trunk/htdocs/community/sentinvites.bml 2011-01-19 11:02:04 UTC (rev 18057)
@@ -31,7 +31,7 @@
return BML::redirect("$LJ::SITEROOT/community/manage.bml") unless $cname;
$ret .= "<form action='sentinvites.bml' method='GET'>\n";
- $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => 'C' });
+ $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => 'S' });
$ret .= "</form>\n\n";
# get $c object
Modified: trunk/htdocs/community/settings.bml
===================================================================
--- trunk/htdocs/community/settings.bml 2011-01-19 09:20:17 UTC (rev 18056)
+++ trunk/htdocs/community/settings.bml 2011-01-19 11:02:04 UTC (rev 18057)
@@ -56,7 +56,7 @@
$mode = "create" if $GET{'mode'} eq 'create';
$ret .= "<form action='$LJ::SITEROOT/community/settings.bml' method='get'>";
- $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => "C" });
+ $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, type => "S" });
$ret .= "</form>";
if (LJ::did_post())
