Committer: ybuhvalova
OPSC-425: Delete the link "Games" in menuU trunk/bin/upgrading/s2layers/core1.s2
Modified: trunk/bin/upgrading/s2layers/core1.s2 =================================================================== --- trunk/bin/upgrading/s2layers/core1.s2 2012-03-12 13:10:54 UTC (rev 21372) +++ trunk/bin/upgrading/s2layers/core1.s2 2012-03-12 13:18:33 UTC (rev 21373) @@ -519,9 +519,6 @@ var bool showspam "Set to true if need show only spam messages."; - var bool view_my_games - "View my games on profilepage."; - function print "The main entry point that LiveJournal calls. Layouts should override this to create HTML that's the same for all view types, and use \$this->title, \$this->head and \$this->body to include view-specific @@ -934,10 +931,10 @@ "Gets the top-level [class[Page]] instance that LiveJournal ran the [method[Page.print()]] method on."; function builtin get_url(string user, string view) : string -"Returns a URL to the specified view for the specified user. Views use the same names as elsewhere. (recent, friends, archive, month, userinfo, usergames)"; +"Returns a URL to the specified view for the specified user. Views use the same names as elsewhere. (recent, friends, archive, month, userinfo)"; function builtin get_url(UserLite user, string view) : string -"Returns a URL to the specified view for the specified user. Views use the same names as elsewhere. (recent, friends, archive, month, userinfo, usergames)"; +"Returns a URL to the specified view for the specified user. Views use the same names as elsewhere. (recent, friends, archive, month, userinfo)"; function builtin string(int i) : string "Return the given integer as a string"; @@ -1277,12 +1274,6 @@ } set text_spam_comment = "(Suspicious comment)"; -property string text_view_games { - des = "Text for view games on profile page"; - example = "My Games"; -} -set text_view_games = "My Games"; - property string text_tags_page_header { des = "Text for the header of the Tags page"; example = "Visible Tags"; @@ -1374,13 +1365,6 @@ example = "My Profile"; } -property string text_view_usergames { - des = "Text used to link to the 'My Games' view"; - maxlength = 20; - "size" = 15; - example = "My Games"; -} - property string text_view_memories { des = "Text used to link to the 'Memories' view"; maxlength = 20; @@ -1402,7 +1386,6 @@ set text_view_friendsfriends_filter = "Friends of Friends (Custom filter)"; set text_view_archive = "Archive"; set text_view_userinfo = "User Info"; -set text_view_usergames = "My Games"; set text_view_memories = "Memories"; set text_view_month = "View Subjects"; @@ -2242,7 +2225,6 @@ if ($viewid == "day") { return "Day"; } if ($viewid == "month") { return "Month"; } if ($viewid == "userinfo") { return $*text_view_userinfo; } - if ($viewid == "usergames") { return $*text_view_usergames; } if ($viewid == "entry") { return "Read Comments"; } if ($viewid == "reply") { return "Post Comment"; } if ($viewid == "tags") { return "Tags"; }