yokcel (yokcel) wrote in changelog,
yokcel
yokcel
changelog

[livejournal] r21370: OPSC-425: Delete the link "Games" in men...

Committer: ybuhvalova
OPSC-425: Delete the link "Games" in menu
U   trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
Modified: trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2012-03-12 12:59:05 UTC (rev 21369)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2012-03-12 13:06:48 UTC (rev 21370)
@@ -283,7 +283,6 @@
     property use text_spam_comment;
     property use text_read_spam_comments;
     property use text_read_all_spam_comments;
-    property use text_view_games;
     property use text_share;
 }
 propgroup sidebar {
@@ -416,11 +415,8 @@
             $navigation = """$navigation<tr><td width="100%">$*text_sidebar_link_separator<a href="$page.view_url{$v}">""" +  lang_viewname($v) + "</a></td></tr>";
         }
     }
-    var string games;
-    if ($page.view_my_games) {
-        $games = """<tr><td>$*text_sidebar_link_separator<a href="$page.journal.website_url/profile#apps">$*text_view_games</a></td></tr>""";
-    }
-    $navigation = $navigation + $website + $games;
+
+    $navigation = $navigation + $website;
     #I REMOVE THESE LINES AND REPLACE IT BY NEXT, BECAUSE I NEED TO PRINT INTO BROWSER DIRECTLY INSTEAD CONCATENATE INTO VARIABLE AND THAN PRINT ('cause link->print_raw() cannot into variables)
     #IF YOU CAN FIX IT, DO IT
     #if ($page->lay_sidebar_view_navigation() != "") {

Tags: livejournal, s2, ybuhvalova, yokcel
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