Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r22377: LJSUP-12780: prevent duplicating repost ...

Committer: esavintcev
LJSUP-12780: prevent duplicating repost information in selected S2 styles
U   trunk/bin/upgrading/s2layers/classic/layout.s2
U   trunk/bin/upgrading/s2layers/generator/layout.s2
U   trunk/bin/upgrading/s2layers/magazine/layout.s2
U   trunk/bin/upgrading/s2layers/notepad/layout.s2
U   trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
U   trunk/bin/upgrading/s2layers/sixhtml/layout.s2
U   trunk/bin/upgrading/s2layers/tabularindent/layout.s2
Modified: trunk/bin/upgrading/s2layers/classic/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/classic/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/classic/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -252,6 +252,8 @@
 
 set tags_aware = true;
 
+set repost_aware = true;
+
 function prop_init () {
     if ($*control_strip_bgcolor.as_string == "") {
         $*control_strip_bgcolor = $*main_bgcolor;

Modified: trunk/bin/upgrading/s2layers/generator/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/generator/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/generator/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -349,6 +349,8 @@
 
 set tags_aware = true;
 
+set repost_aware = true;
+
 function prop_init () {
     if ($*control_strip_bgcolor.as_string == "") {
         $*control_strip_bgcolor = $*entry_back;

Modified: trunk/bin/upgrading/s2layers/magazine/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/magazine/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/magazine/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -231,6 +231,8 @@
 
 set tags_aware = true;
 
+set repost_aware = true;
+
 function prop_init() {
     if ($*content_width > 100) {
         $*content_width = 100;

Modified: trunk/bin/upgrading/s2layers/notepad/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/notepad/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/notepad/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -198,6 +198,8 @@
   property use custom_css;
 }
 
+set repost_aware = true;
+
 function prop_init()
 {
     if ($*imguri == "") { $*imguri = "$*SITEROOT/img/style/notepad"; }

Modified: trunk/bin/upgrading/s2layers/refriedpaper/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/refriedpaper/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -78,6 +78,7 @@
   set linklist_support       = true;
   set external_stylesheet    = true;
   set tags_aware             = true;
+  set repost_aware           = true;
   set counter_code           = "";
 }
 

Modified: trunk/bin/upgrading/s2layers/sixhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/sixhtml/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -204,6 +204,8 @@
     set custom_css = "";
 }
 
+set repost_aware = true;
+
 function prop_init() {
     # Did the user specify custom sidebars?  If so, we don't want to change them.
     var bool custom_primary = (size $*sidebar_primary > 0) ? true : false;

Modified: trunk/bin/upgrading/s2layers/tabularindent/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2012-07-03 12:55:58 UTC (rev 22376)
+++ trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2012-07-03 12:58:08 UTC (rev 22377)
@@ -243,6 +243,8 @@
 
 set tags_aware = true;
 
+set repost_aware = true;
+
 function prop_init () {
     if ($*control_strip_bgcolor.as_string == "") {
         $*control_strip_bgcolor = $*main_bgcolor;

Tags: esavintcev, livejournal, s2, savintsev_egor
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