Make S2 "Profile" module title a link to the user profile.
Patch by 900degrees.
diffs (12 lines):
diff -r a910a04d4e09 -r e40815b0e1bd bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2 Thu Apr 08 21:38:26 2010 +0000
+++ b/bin/upgrading/s2layers/core2.s2 Fri Apr 09 11:26:32 2010 -0500
@@ -3546,7 +3546,7 @@ function print_module_userprofile() {
var Page p = get_page();
var string title = "Profile";
- open_module("userprofile", $title, "");
+ open_module("userprofile", $title, $p.view_url{"userinfo"});
if ($*module_userprofile_opts_userpic) {
if (defined $p.journal.default_pic) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog