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

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

Committer: mchervonniy
OPSC-305: link My Games
U   trunk/bin/upgrading/s2layers/tranquilityii/layout.s2
Modified: trunk/bin/upgrading/s2layers/tranquilityii/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tranquilityii/layout.s2	2011-03-03 06:18:01 UTC (rev 10163)
+++ trunk/bin/upgrading/s2layers/tranquilityii/layout.s2	2011-03-03 06:41:40 UTC (rev 10164)
@@ -181,6 +181,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;
 }
 
 # PROPERTIES: CUSTOM CSS
@@ -744,6 +745,9 @@
     $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>";
     $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>" : "");
+    if ($p.view_my_games) {
+        $links = $links + "<li><a href=\"$p.journal.website_url/profile#apps\">$*text_view_games</a></li>";
+    }
 
     print "<ul id=\"lj-links\">";
     print safe $links;

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