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

[ljcom] r11365: LJSUP-10444: New Style - tasty food

Committer: mchervonniy
LJSUP-10444: New Style - tasty food
U   trunk/bin/upgrading/s2layers/sup/themes.s2
Modified: trunk/bin/upgrading/s2layers/sup/themes.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/themes.s2	2012-01-30 13:30:11 UTC (rev 11364)
+++ trunk/bin/upgrading/s2layers/sup/themes.s2	2012-01-30 14:42:30 UTC (rev 11365)
@@ -2004,73 +2004,3 @@
 set active_theme = "x4";
 set friends_show_date = true;
 set theme_designer = "Ana";
-
-#NEWLAYER: sup/friendstimes
-layerinfo "type" = "theme";
-layerinfo "name" = "FriendsTimes";
-layerinfo "redist_uniq" = "sup/friendstimes";
-set theme_css = "friendstimes.css";
-set active_theme = "x4";
-set friends_show_date = true;
-
-#NEWLAYER: sup/tasty-food
-layerinfo "type" = "theme";
-layerinfo "name" = "Tasty Food";
-layerinfo "redist_uniq" = "sup/tasty-food";
-set theme_css = "tasty-food.css";
-set active_theme = "x5";
-set friends_show_date = true;
-
-function Page::print() {
-    if ($.view == "recent") {$*_RecentPage = $this as RecentPage;} elseif ($.view == "friends") {$*_FriendsPage = $this as FriendsPage;} elseif ($.view == "day") {$*_DayPage = $this as DayPage;} elseif ($.view == "month") {$*_MonthPage = $this as MonthPage;} elseif ($.view == "archive") {$*_YearPage = $this as YearPage;}
-    _global_init_();
-    var string _upic = $.journal.default_pic?"""<div class="userpic"><div class="userpic-in"><img alt="${.journal.default_pic.alttext}" width="${.journal.default_pic.width}" height="${.journal.default_pic.height}" """+"""src="${.journal.default_pic.url}" /></div></div>""":"";
-    var string _h1 = "<h1>" + _user_print($.journal, "microformatted") + "</h1>";
-    var string _nav = """ <li class="item item-recent""" + (($.view == "recent")?" item-selected":"") + """"><a""" + (($*exact_view != "recent_first")?" rel=\"home\" href=\"$*base_url\"":"") + """>$*text_view_recent</a></li> <li class="item item-friends""" + (($.view == "friends")?" item-selected":"") + """"><a""" + (($*exact_view != "friends_first")?" href=\"$*base_url/friends\"":"") + """>$*text_view_friends</a></li> <li class="item item-archive""" + (($.view == "archive" or $.view == "month" or $.view == "day")?" item-selected":"") + """"><a""" + (($*exact_view != "archive_first")?" href=\"$*base_url/calendar\"":"") + """>$*text_view_archive</a></li> <li class="item item-profile"><a href="$*base_url/profile">$*text_view_userinfo</a></li> """;
-    var string rsslink = ($.data_link{"rss"})?($.data_link{"rss"}.url):"$*base_url/data/rss";
-	var Link addlink = $.journal -> get_link("add_friend");
-    var string _games;
-    if ($.view_my_games) {
-        $_games = """<li class="item item-games"><a href="$.journal.website_url/profile#apps">$*text_view_games</a></li>""";
-    }
-	var string addfriend = (not viewer_is_owner() and $addlink.url != "") ? $addlink.url : "";
-    var string _nav_sub = ($addfriend ? """ <li class="item item-addfriend"><a class="btn btn-add" href="$addfriend"><span><span><span>$*text_friend_add</span></span></span></a></li> """ : "") + """ <li class="item item-rss"><a class="btn btn-rss" href="$rsslink"><span><span><span>RSS</span></span></span></a></li>$_games""";
-    var string _h2 = """<h2><span>$.global_title</span></h2>""";
-    var string _h3 = "";
-	if ($.view == "friends" and $*_FriendsPage.friends_title != "") {
-		$_h3 = "<h3><span>$*_FriendsPage.friends_title</span></h3>";
-	} elseif ($.global_subtitle != "") {
-		$_h3 = "<h3><span>$.global_subtitle</span></h3>";
-	}
-    var string _hfeed = ($.view=="recent" or $.view=="friends" or $.view=="day")?" hfeed":"";
-    _Header();
-"""
-<div id="page">
-    <div class="layout">
-    <div class="layout-inner">
-        <div class="header">
-            $_h2
-            $_h3
-            <ul class="nav-sub">
-                $_nav_sub
-            </ul>
-        </div>
-        <div class="content$_hfeed">
-            <div class="content-inner">
-                """;$this->print_body();"""
-            </div>
-        </div>
-        <div class="header-sec">
-            $_upic
-            $_h1
-            <ul class="nav">
-                $_nav
-            </ul>
-        </div>
-        """;_Sidebar();"""
-    </div>
-    </div>
-</div>
-""";
-    _Footer();
-}

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