Committer: ssafronova
LJSUP-7052: Landing page (dpetrov) U trunk/cgi-bin/LJ/HTML/Template.pm U trunk/cgi-bin/LJ/Widget/Search.pm U trunk/htdocs/browse/index.bml
Modified: trunk/cgi-bin/LJ/HTML/Template.pm =================================================================== --- trunk/cgi-bin/LJ/HTML/Template.pm 2010-11-10 07:51:08 UTC (rev 17656) +++ trunk/cgi-bin/LJ/HTML/Template.pm 2010-11-10 08:17:10 UTC (rev 17657) @@ -33,6 +33,12 @@ }, ); HTML::Template::Pro->register_function( + eurl => sub { + my $string = shift; + return LJ::eurl($string); + }, + ); + HTML::Template::Pro->register_function( ejs => sub { my $string = shift; return LJ::ejs($string); Modified: trunk/cgi-bin/LJ/Widget/Search.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Search.pm 2010-11-10 07:51:08 UTC (rev 17656) +++ trunk/cgi-bin/LJ/Widget/Search.pm 2010-11-10 08:17:10 UTC (rev 17657) @@ -6,7 +6,7 @@ use Carp qw(croak); -sub need_res { qw(stc/widgets/widget-layout.css stc/widgets/search.css) } +sub need_res { qw(js/jquery-ui-autocomplete.js js/widgets/search.js stc/widgets/widget-layout.css stc/widgets/search.css) } sub render_body { my $class = shift; Modified: trunk/htdocs/browse/index.bml =================================================================== --- trunk/htdocs/browse/index.bml 2010-11-10 07:51:08 UTC (rev 17656) +++ trunk/htdocs/browse/index.bml 2010-11-10 08:17:10 UTC (rev 17657) @@ -10,6 +10,7 @@ $windowtitle = "Community Directory"; + $headextra .= $LJ::SHARE_THIS_URL_GEN->(journal => undef); my $remote = LJ::get_remote(); return "You do not have access to this page." unless LJ::is_enabled("browse", $remote);