[dw-free] Core2 doesn't use reading page title correctly
[commit: http://hg.dwscoalition.org/dw-free/rev/6bbea26c812d]
http://bugs.dwscoalition.org/show_bug.cgi?id=1152
Use friends_title
Patch by
draigwen.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1152
Use friends_title
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/s2layers/core2.s2
-------------------------------------------------------------------------------- diff -r a30aeb85a4de -r 6bbea26c812d bin/upgrading/s2layers/core2.s2 --- a/bin/upgrading/s2layers/core2.s2 Tue May 12 18:55:16 2009 +0000 +++ b/bin/upgrading/s2layers/core2.s2 Tue May 12 19:08:38 2009 +0000 @@ -2704,6 +2704,15 @@ function RecentPage::view_title() : stri function RecentPage::view_title() : string { return $*text_view_recent; } + +function FriendsPage::print_global_title() { + if ($.friends_title) { + """<h1 id="title"><span>""" + $.friends_title + """</span></h1>"""; + } +} +function FriendsPage::print_global_subtitle() { +} + function FriendsPage::view_title() : string { if ($.friends_mode == "") { if ($.filter_active) { --------------------------------------------------------------------------------