wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18547: LJSUP-7969: header of Landing page moved...

Committer: wisest-owl
LJSUP-7969: header of Landing page moved to template [tags: fiskus_boulder]

U   trunk/cgi-bin/LJ/Widget/Browse.pm
Modified: trunk/cgi-bin/LJ/Widget/Browse.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Browse.pm	2011-03-15 04:04:33 UTC (rev 18546)
+++ trunk/cgi-bin/LJ/Widget/Browse.pm	2011-03-15 04:15:02 UTC (rev 18547)
@@ -183,9 +183,10 @@
     my $post_skip = ($post_page-1) * $post_page_size;
     my $post_last = $post_skip + $post_page_size;
 
-    $$title = $vertical
-        ? "<div class=\"appwidget-browse-header-wrapper\"><a class=\"appwidget-browse-header\" href='".$vertical->url."'>".$vertical->name."</a> <a href='/browse' class=\"appwidget-browse-back\">Return to Community Directory</a></div>"
-        : $class->ml('widget.browse.windowtitle');
+    $template->param(
+        headerurl	=> $vertical ? $vertical->url : undef,
+        headername	=> $vertical ? $vertical->name : "Community Directory",
+    );
 
     my $search_str = undef;
     if ($opts{'post_vars'}->{'do_search'}) {

Tags: fiskus_boulder, livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments