Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r10097: LJINT-362 (Comments for side projects)

Committer: ailyin
LJINT-362 (Comments for side projects)
U   trunk/cgi-bin/LJ/PartnerSite.pm
U   trunk/htdocs/gadgets/loginstatus.bml
U   trunk/templates/Identity/ExternalLogin.tmpl
U   trunk/templates/Identity/LoginStatus.tmpl
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-02-22 06:32:50 UTC (rev 10096)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-02-22 10:34:24 UTC (rev 10097)
@@ -197,7 +197,8 @@
                               api_key domain link_pattern custom_css_url
                               xdreceiver_path rate_limits encoding
                               mapping_locked disabled dochash_salt
-                              sync_comments_count_url_pattern );
+                              sync_comments_count_url_pattern
+                              resources_html );
 
 ### CLASS METHODS ###
 

Modified: trunk/htdocs/gadgets/loginstatus.bml
===================================================================
--- trunk/htdocs/gadgets/loginstatus.bml	2011-02-22 06:32:50 UTC (rev 10096)
+++ trunk/htdocs/gadgets/loginstatus.bml	2011-02-22 10:34:24 UTC (rev 10097)
@@ -55,6 +55,8 @@
         'js_check_domain'       => $js_check_domain,
         'partner_remote_ljuser' => $partner->ljuser_html($remote),
         'logout_url'            => $logout_url,
+        'resources_html'        => $partner->resources_html
+                                || LJ::res_includes(),
     );
 
     return $template->output;

Modified: trunk/templates/Identity/ExternalLogin.tmpl
===================================================================
--- trunk/templates/Identity/ExternalLogin.tmpl	2011-02-22 06:32:50 UTC (rev 10096)
+++ trunk/templates/Identity/ExternalLogin.tmpl	2011-02-22 10:34:24 UTC (rev 10097)
@@ -3,7 +3,7 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Log in</title>
-<TMPL_VAR lj_res_includes>
+<TMPL_VAR resources_html>
 </head>
 <body>
 <TMPL_VAR js_check_domain>

Modified: trunk/templates/Identity/LoginStatus.tmpl
===================================================================
--- trunk/templates/Identity/LoginStatus.tmpl	2011-02-22 06:32:50 UTC (rev 10096)
+++ trunk/templates/Identity/LoginStatus.tmpl	2011-02-22 10:34:24 UTC (rev 10097)
@@ -4,7 +4,7 @@
 	<meta charset="UTF-8">
 	<title>index :: Дерево комментариев</title>
 
-	<TMPL_VAR lj_res_includes>
+	<TMPL_VAR resources_html>
 </head>
 <body>
 	<TMPL_VAR js_check_domain>

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