holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21046: LJSUP-10444: New Style - tasty food

Committer: akanashin
LJSUP-10444: New Style - tasty food
U   trunk/bin/upgrading/s2layers/understroke/layout.s2
U   trunk/bin/upgrading/s2layers.dat
Modified: trunk/bin/upgrading/s2layers/understroke/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/understroke/layout.s2	2012-01-30 15:07:49 UTC (rev 21045)
+++ trunk/bin/upgrading/s2layers/understroke/layout.s2	2012-01-30 15:31:47 UTC (rev 21046)
@@ -89,6 +89,11 @@
 
 property use include_default_stylesheet;
 
+property string theme_css {
+    noui = 1;
+} set theme_css = "";
+
+
 function _dateTime (DateTime time) : string {
 	var string result = "";
 	var DateTime currentDate = journal_current_datetime();
@@ -374,7 +379,11 @@
 		end_css();
 		""" </style><![endif]-->""";
 	}
-
+    if ($*theme_css) {
+"""        
+    <link rel="stylesheet" type="text/css" href="$*STATDIR/understroke/s/$*theme_css" />
+""";
+    }
 }
 
 function _Header {

Modified: trunk/bin/upgrading/s2layers.dat
===================================================================
--- trunk/bin/upgrading/s2layers.dat	2012-01-30 15:07:49 UTC (rev 21045)
+++ trunk/bin/upgrading/s2layers.dat	2012-01-30 15:31:47 UTC (rev 21046)
@@ -80,6 +80,7 @@
 hostedcomments/layout   layout          core1
 
 understroke/layout      layout          core1
+understroke/themes      theme+          understroke/layout
 
 # include local file
 s2layers-local.dat      INCLUDE

Tags: akanashin, dat, holyandrew, livejournal, s2
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