Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r18918: LJSUP-8562: Restore controlstrip setting...

Committer: dnikolaev
LJSUP-8562: Restore controlstrip settings at /customize/options.bml

U   trunk/cgi-bin/LJ/ControlStrip.pm
U   trunk/templates/ControlStrip/main.tmpl
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2011-04-20 07:43:52 UTC (rev 18917)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2011-04-20 08:02:31 UTC (rev 18918)
@@ -1,6 +1,7 @@
 package LJ::ControlStrip;
 
 use strict;
+use LJ::Widget::Calendar;
 
 sub render
 {
@@ -299,6 +300,9 @@
     }
 
     my $data = {
+        widget        => {
+            calendar => LJ::Widget::Calendar->render(),
+        },
         lj            => $data_lj,
         remote        => $data_remote,
         journal       => $data_journal,

Modified: trunk/templates/ControlStrip/main.tmpl
===================================================================
--- trunk/templates/ControlStrip/main.tmpl	2011-04-20 07:43:52 UTC (rev 18917)
+++ trunk/templates/ControlStrip/main.tmpl	2011-04-20 08:02:31 UTC (rev 18918)
@@ -1,3 +1,4 @@
+<TMPL_VAR widget_calendar>
 <TMPL_IF link_mobile><div class="b-message-mobile"><div class="b-message-mobile-wrapper"><TMPL_VAR link_mobile></div></div></TMPL_IF>
 <TMPL_IF remote_is_logged_in>
 <TMPL_INCLUDE name="user.tmpl">

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