vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21510: LJSUP-11607: Add an option to move page ...

Committer: vad
LJSUP-11607: Add an option to move page sources (js and css) to the page bottom
U   trunk/cgi-bin/LJ/HTML/Template.pm
Modified: trunk/cgi-bin/LJ/HTML/Template.pm
===================================================================
--- trunk/cgi-bin/LJ/HTML/Template.pm	2012-03-22 12:06:19 UTC (rev 21509)
+++ trunk/cgi-bin/LJ/HTML/Template.pm	2012-03-22 12:08:18 UTC (rev 21510)
@@ -37,6 +37,11 @@
                 => LJ::res_includes({ 'only_needed' => 1 }),
 
             'lj_res_includes' => LJ::res_includes(),
+            
+            ##
+            'lj_res_in_bottom'    => (LJ::Request->get_param('res_bottom') ? 1 : 0),
+            'lj_res_includes_css' => LJ::res_includes({ only_css => 1 }),
+            'lj_res_includes_js'  => LJ::res_includes({ only_js  => 1 }),
         );
     }
 

Tags: livejournal, pm, vad, vadvs
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