Add link to the mass privacy tool from /editjournal if you have the
ability to use it, and from the site map.
Patch by denise.
diffs (51 lines):
diff -r 7bc5736fa6b8 -r 7ac5693a7262 htdocs/editjournal.bml
--- a/htdocs/editjournal.bml Thu Jun 24 17:05:10 2010 +0800
+++ b/htdocs/editjournal.bml Thu Jun 24 17:19:52 2010 +0800
@@ -538,9 +538,9 @@ body<=
$ret .= "</form>\n\n";
# header
- $ret .= "<?p " . BML::ml('.desc',
- {'aopts' =>
"href='$LJ::SITEROOT/editprivacy'"})
- . " p?>\n";
+ $ret .= "<?p " . BML::ml( '.desc' );
+ $ret .= " " . BML::ml( '.massprivacy', { aopts =>
"href='$LJ::SITEROOT/editprivacy'" } ) if $remote->can_use_mass_privacy;
+ $ret .= " p?>\n";
# edit form
$ret .= "<form action='editjournal$getextra' method='post'>\n";
diff -r 7bc5736fa6b8 -r 7ac5693a7262 htdocs/editjournal.bml.text
--- a/htdocs/editjournal.bml.text Thu Jun 24 17:05:10 2010 +0800
+++ b/htdocs/editjournal.bml.text Thu Jun 24 17:19:52 2010 +0800
@@ -14,6 +14,8 @@
.error.nofind=Could not find selected journal entry.
.in=In community:
+
+.massprivacy=You also may want to use the <a [[aopts]]>mass privacy tool</a>
to change the security of a group of entries at once.
.no.entries.exist=The selected journal has no entries.
diff -r 7bc5736fa6b8 -r 7ac5693a7262 htdocs/site/index.bml
--- a/htdocs/site/index.bml Thu Jun 24 17:05:10 2010 +0800
+++ b/htdocs/site/index.bml Thu Jun 24 17:19:52 2010 +0800
@@ -42,6 +42,7 @@ body<=
<li><a href='/manage/profile'><?_ml .maplinks.manage-profile _ml?></a></li>
<li><a href='/editicons'><?_ml .maplinks.manage-userpics _ml?></a></li>
<li><a href='/poll/create'><?_ml .maplinks.create-poll _ml?></a></li>
+ <li><a href='/editprivacy'><?_ml .maplinks.massprivacy _ml?></a></li>
</ul></dd>
</dt></dl>
diff -r 7bc5736fa6b8 -r 7ac5693a7262 htdocs/site/index.bml.text
--- a/htdocs/site/index.bml.text Thu Jun 24 17:05:10 2010 +0800
+++ b/htdocs/site/index.bml.text Thu Jun 24 17:19:52 2010 +0800
@@ -103,6 +103,8 @@
.maplinks.manage-userpics=Manage userpics
+.maplinks.massprivacy=Edit journal privacy
+
.maplinks.official-journals.list=Complete list
.maplinks.official-journals-title=...read the [[sitename]] official journals:
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog