Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10154: OPSC-305: link My Games

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/cuteness/layout.s2
Modified: trunk/bin/upgrading/s2layers/cuteness/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/cuteness/layout.s2	2011-03-02 11:23:01 UTC (rev 10153)
+++ trunk/bin/upgrading/s2layers/cuteness/layout.s2	2011-03-02 11:28:13 UTC (rev 10154)
@@ -186,6 +186,7 @@
         property string text_links_spacer { des = "String to act as links list spacer";}
         property use text_showspam;
         property use text_hidespam;
+	property use text_view_games;
 }
 
 
@@ -937,8 +938,10 @@
         }
         $links = $links + ($p.view == "archive" ? "<li class=\"active\">$*text_view_archive</li>" : "<li><a href=\"$p.base_url/calendar\" title=\"$*text_view_archive\">$*text_view_archive</a></li>");
         $links = $links + "<li><a href=\"$p.view_url{"userinfo"}\" title=\"$*text_view_userinfo\">$*text_view_userinfo</a></li>";
+        if ($p.view_my_games) { $links = $links + "<li><a href=\"$p.view_url{"userinfo"}#apps\" title=\"$*text_view_games\">$*text_view_games</a></li>";}
         $links = $links + ($p.journal.website_url != "" ? "<li><a href=\"$p.journal.website_url\" title=\"" + $p.journal.website_name->lower() + "\">" + $p.journal.website_name->lower() + "</a></li>" : "");
 
+
         print "<ul id=\"lj-links\">";
         print safe $links;
         print "</ul>";

Tags: fiskus_boulder, ljcom, 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