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

[livejournal] r23530: LJCOMCOMREAD-381: Smart App Banners

Committer: wisest-owl
LJCOMCOMREAD-381: Smart App Banners

U   trunk/cgi-bin/LJ/SiteScheme.pm
U   trunk/cgi-bin/LJ/User.pm
U   trunk/htdocs/userinfo.bml
U   trunk/templates/SiteScheme/lynx.tmpl
Modified: trunk/cgi-bin/LJ/SiteScheme.pm
===================================================================
--- trunk/cgi-bin/LJ/SiteScheme.pm	2013-01-11 13:55:30 UTC (rev 23529)
+++ trunk/cgi-bin/LJ/SiteScheme.pm	2013-01-14 08:29:04 UTC (rev 23530)
@@ -403,6 +403,7 @@
         'title'              => $args->{'title'},
         'windowtitle'        => $args->{'windowtitle'} || $args->{'title'},
         'meta'               => $args->{'meta'},
+        'appstore_meta'      => $args->{'appstore_meta'},
         'head'               => $args->{'head'},
         'bodyopts'           => $args->{'bodyopts'},
         'body'               => $args->{'body'},

Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2013-01-11 13:55:30 UTC (rev 23529)
+++ trunk/cgi-bin/LJ/User.pm	2013-01-14 08:29:04 UTC (rev 23530)
@@ -9925,7 +9925,7 @@
     my @needed_props = ("stylesys", "s2_style", "url", "urlname", "opt_nctalklinks",
                         "renamedto",  "opt_blockrobots", "opt_usesharedpic", "icbm",
                         "journaltitle", "journalsubtitle", "external_foaf_url",
-                        "adult_content", "admin_content_flag");
+                        "adult_content", "admin_content_flag", "community_reader_ids");
 
     # S2 is more fully featured than S1, so sometimes we get here and $eff_view
     # is reply/month/entry/res and that means it *has* to be S2--S1 defaults to a

Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2013-01-11 13:55:30 UTC (rev 23529)
+++ trunk/htdocs/userinfo.bml	2013-01-14 08:29:04 UTC (rev 23530)
@@ -235,6 +235,9 @@
     # Add metadata links to <head>
     $head .= $pm->head_meta_tags;
 
+    my $app_store_meta = "";
+    $head .= LJ::run_hooks ("s2_head_content_extra_2", \$app_store_meta, $u, LJ::Request::request());
+
     my @friends;    # ($u, $u, $u,....)  truncated to max_friends_show
     my %is_friend;  # uid -> 1  (not truncated)
 

Modified: trunk/templates/SiteScheme/lynx.tmpl
===================================================================
--- trunk/templates/SiteScheme/lynx.tmpl	2013-01-11 13:55:30 UTC (rev 23529)
+++ trunk/templates/SiteScheme/lynx.tmpl	2013-01-14 08:29:04 UTC (rev 23530)
@@ -9,6 +9,7 @@
 <link rel="home" title="<TMPL_VAR expr="ml('lynx.nav.home')">" href="<TMPL_VAR lj_siteroot>/" />
 <link rel="contents" title="<TMPL_VAR expr="ml('lynx.nav.sitemap')">" href="<TMPL_VAR lj_siteroot>/site/" />
 <link rel="help" title="<TMPL_VAR expr="ml('lynx.nav.help')">" href="<TMPL_VAR lj_siteroot>/support/" />
+<TMPL_VAR appstore_meta>
 
 <TMPL_IF parentcrumb_link>
     <link rel='up' title='<TMPL_VAR parentcrumb_title>' href='<TMPL_VAR parentcrumb_link>' />

Tags: bml, livejournal, pm, tmpl, 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