Expose the name of the filter to S2, when one is active on your reading
page.
Patch by yvi.
diffs (15 lines):
diff -r 07ae09630580 -r 3bb29d1ff2e6 cgi-bin/LJ/S2/FriendsPage.pm
--- a/cgi-bin/LJ/S2/FriendsPage.pm Tue Jun 22 15:43:35 2010 +0800
+++ b/cgi-bin/LJ/S2/FriendsPage.pm Tue Jun 22 17:22:31 2010 +0800
@@ -138,6 +138,11 @@ sub FriendsPage
$opts->{badfriendgroup} = 1; # nobiscuit
return 1;
}
+ }
+
+ if ( $filter && !$filter->is_default ) {
+ $p->{filter_active} = 1;
+ $p->{filter_name} = $filter->name;
}
## load the itemids
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog