Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[ljcom] r8123: LJSUP-5315: Delete quick links.

Committer: narefieva
LJSUP-5315: Delete quick links.
U   trunk/htdocs/index.bml
U   trunk/htdocs/index.bml.sup
U   trunk/htdocs/index.bml.text.local
Modified: trunk/htdocs/index.bml
===================================================================
--- trunk/htdocs/index.bml	2010-01-20 10:45:18 UTC (rev 8122)
+++ trunk/htdocs/index.bml	2010-01-21 12:01:53 UTC (rev 8123)
@@ -59,32 +59,33 @@
         my $lastupdated = LJ::ago_text($secondsago);
 
         $ret .= "<div class='homepage-account appwidget pkg'>";
-        $ret .= "<h2><span>" . BML::ml('.loggedin.greeting') . "</span></h2>";
-        $ret .= "<a href='$LJ::SITEROOT/manage/horizon.bml' class='more-link'>" . BML::ml('.loggedin.greeting.account') . "</a>";
-        $ret .= "<div class='homepage-account-inner pkg'>";
-        $ret .= "<div class='homepage-account-left'>";
-        $ret .= "<ul class='nostyle'>";
-        $ret .= "<li class='post'><a href='$LJ::SITEROOT/update.bml'>$ML{'.loggedin.greeting.post'}</a>";
-        $ret .= "<br /><span class='detail'>";
-        $ret .= $remote->timeupdate ?
-                BML::ml('.loggedin.greeting.lastupdated', {'timeago' => $lastupdated}) :
-                $ML{'.loggedin.greeting.neverupdated'};
-        $ret .= "</span></li>";
-        $ret .= "<li class='inbox'><a href='$LJ::SITEROOT/inbox/'>$ML{'.loggedin.greeting.inbox'}</a>";
-        my $inbox = $remote->notification_inbox;
-        $ret .= "<br /><span class='detail'>" . BML::ml('.loggedin.greeting.inboxcount', {'num' => $inbox->unread_count}) . "</span>"
-            if $inbox && $inbox->unread_count;
-        $ret .= "</li>";
-        $ret .= "<li class='friends'><a href='" . $remote->journal_base . "/friends/'>$ML{'.loggedin.greeting.friendspage'}</a></li>";
-        # display an alert if there was a post to news in the past three days
-        if ($news) {
-            my $delta = time() - $news->timeupdate;
-            if ($delta < 86400 * 3) {
-                $ret .= "<li class='news'>" . BML::ml('.loggedin.greeting.alert', {'user' => $news->ljuser_display}) . "</li>";
-            }
-        }
-        $ret .= "</ul>";
-        $ret .= "</div><!-- end .homepage-account-left -->";
+        $ret .= "<h2><span>" . BML::ml('.loggedin.qotd.title') . "</span></h2>";
+        $ret .= "<a href='http://community.livejournal.com/writersblock/' class='more-link'>" . BML::ml('.loggedin.qotd.journal') . "</a>";
+        #Quick links were removed and QOTD became larger
+#        $ret .= "<div class='homepage-account-inner pkg'>";
+#        $ret .= "<div class='homepage-account-left'>";
+#        $ret .= "<ul class='nostyle'>";
+#        $ret .= "<li class='post'><a href='$LJ::SITEROOT/update.bml'>$ML{'.loggedin.greeting.post'}</a>";
+#        $ret .= "<br /><span class='detail'>";
+#        $ret .= $remote->timeupdate ?
+#                BML::ml('.loggedin.greeting.lastupdated', {'timeago' => $lastupdated}) :
+#                $ML{'.loggedin.greeting.neverupdated'};
+#        $ret .= "</span></li>";
+#        $ret .= "<li class='inbox'><a href='$LJ::SITEROOT/inbox/'>$ML{'.loggedin.greeting.inbox'}</a>";
+#        my $inbox = $remote->notification_inbox;
+#        $ret .= "<br /><span class='detail'>" . BML::ml('.loggedin.greeting.inboxcount', {'num' => $inbox->unread_count}) . "</span>"
+#            if $inbox && $inbox->unread_count;
+#        $ret .= "</li>";
+#        $ret .= "<li class='friends'><a href='" . $remote->journal_base . "/friends/'>$ML{'.loggedin.greeting.friendspage'}</a></li>";
+         # display an alert if there was a post to news in the past three days
+#        if ($news) {
+#            my $delta = time() - $news->timeupdate;
+#            if ($delta < 86400 * 3) {
+#                $ret .= "<li class='news'>" . BML::ml('.loggedin.greeting.alert', {'user' => $news->ljuser_display}) . "</li>";
+#            }
+#        }
+#        $ret .= "</ul>";
+#        $ret .= "</div><!-- end .homepage-account-left -->";
         $ret .= "<div class='homepage-account-right'>";
 
         if (LJ::Widget::SiteMessages->should_render) {
@@ -94,7 +95,7 @@
         }
 
         $ret .= "</div><!-- end .homepage-account-right -->\n";
-        $ret .= "</div><!-- end .homepage-account-inner -->\n";
+#        $ret .= "</div><!-- end .homepage-account-inner -->\n";
         $ret .= "</div><!-- end .homepage-account -->\n";
 
         $ret .= "<div class='homepage-minipromo pkg'>";

Modified: trunk/htdocs/index.bml.sup
===================================================================
--- trunk/htdocs/index.bml.sup	2010-01-20 10:45:18 UTC (rev 8122)
+++ trunk/htdocs/index.bml.sup	2010-01-21 12:01:53 UTC (rev 8123)
@@ -59,32 +59,33 @@
         my $lastupdated = LJ::ago_text($secondsago);
 
         $ret .= "<div class='homepage-account appwidget pkg'>";
-        $ret .= "<h2><span>" . BML::ml('.loggedin.greeting') . "</span></h2>";
-        $ret .= "<a href='$LJ::SITEROOT/manage/horizon.bml' class='more-link'>" . BML::ml('.loggedin.greeting.account') . "</a>";
-        $ret .= "<div class='homepage-account-inner pkg'>";
-        $ret .= "<div class='homepage-account-left'>";
-        $ret .= "<ul class='nostyle'>";
-        $ret .= "<li class='post'><a href='$LJ::SITEROOT/update.bml'>$ML{'.loggedin.greeting.post'}</a>";
-        $ret .= "<br /><span class='detail'>";
-        $ret .= defined $remote->timeupdate ?
-                BML::ml('.loggedin.greeting.lastupdated', {'timeago' => $lastupdated}) :
-                $ML{'.loggedin.greeting.neverupdated'};
-        $ret .= "</span></li>";
-        $ret .= "<li class='inbox'><a href='$LJ::SITEROOT/inbox/'>$ML{'.loggedin.greeting.inbox'}</a>";
-        my $inbox = $remote->notification_inbox;
-        $ret .= "<br /><span class='detail'>" . BML::ml('.loggedin.greeting.inboxcount', {'num' => $inbox->unread_count}) . "</span>"
-            if $inbox && $inbox->unread_count;
-        $ret .= "</li>";
-        $ret .= "<li class='friends'><a href='" . $remote->journal_base . "/friends/'>$ML{'.loggedin.greeting.friendspage'}</a></li>";
-        # display an alert if there was a post to news in the past three days
-        if ($news) {
-            my $delta = time() - $news->timeupdate;
-            if ($delta < 86400 * 3) {
-                $ret .= "<li class='news'>" . BML::ml('.loggedin.greeting.alert', {'user' => $news->ljuser_display}) . "</li>";
-            }
-        }
-        $ret .= "</ul>";
-        $ret .= "</div><!-- end .homepage-account-left -->";
+        $ret .= "<h2><span>" . BML::ml('.loggedin.qotd.title') . "</span></h2>";
+        $ret .= "<a href='http://community.livejournal.com/writersblock/' class='more-link'>" . BML::ml('.loggedin.qotd.journal') . "</a>";
+        #Quick links were removed and QOTD became larger
+#        $ret .= "<div class='homepage-account-inner pkg'>";
+#        $ret .= "<div class='homepage-account-left'>";
+#        $ret .= "<ul class='nostyle'>";
+#        $ret .= "<li class='post'><a href='$LJ::SITEROOT/update.bml'>$ML{'.loggedin.greeting.post'}</a>";
+#        $ret .= "<br /><span class='detail'>";
+#        $ret .= defined $remote->timeupdate ?
+#                BML::ml('.loggedin.greeting.lastupdated', {'timeago' => $lastupdated}) :
+#                $ML{'.loggedin.greeting.neverupdated'};
+#        $ret .= "</span></li>";
+#        $ret .= "<li class='inbox'><a href='$LJ::SITEROOT/inbox/'>$ML{'.loggedin.greeting.inbox'}</a>";
+#        my $inbox = $remote->notification_inbox;
+#        $ret .= "<br /><span class='detail'>" . BML::ml('.loggedin.greeting.inboxcount', {'num' => $inbox->unread_count}) . "</span>"
+#            if $inbox && $inbox->unread_count;
+#        $ret .= "</li>";
+#        $ret .= "<li class='friends'><a href='" . $remote->journal_base . "/friends/'>$ML{'.loggedin.greeting.friendspage'}</a></li>";
+         # display an alert if there was a post to news in the past three days
+#        if ($news) {
+#            my $delta = time() - $news->timeupdate;
+#            if ($delta < 86400 * 3) {
+#                $ret .= "<li class='news'>" . BML::ml('.loggedin.greeting.alert', {'user' => $news->ljuser_display}) . "</li>";
+#            }
+#        }
+#        $ret .= "</ul>";
+#        $ret .= "</div><!-- end .homepage-account-left -->";
         $ret .= "<div class='homepage-account-right'>";
 
         if (LJ::Widget::SiteMessages->should_render) {
@@ -94,7 +95,7 @@
         }
 
         $ret .= "</div><!-- end .homepage-account-right -->\n";
-        $ret .= "</div><!-- end .homepage-account-inner -->\n";
+#        $ret .= "</div><!-- end .homepage-account-inner -->\n";
         $ret .= "</div><!-- end .homepage-account -->\n";
         $ret .= LJ::Widget::RecentComments->render;
         $ret .= LJ::Widget::JournalSpotlight->render( stylesheet_override => 'stc/widgets/journalspotlight-home.css' );

Modified: trunk/htdocs/index.bml.text.local
===================================================================
--- trunk/htdocs/index.bml.text.local	2010-01-20 10:45:18 UTC (rev 8122)
+++ trunk/htdocs/index.bml.text.local	2010-01-21 12:01:53 UTC (rev 8123)
@@ -46,6 +46,10 @@
 
 .loggedin.link2.text=See the latest updates to your friends' journals.
 
+.loggedin.qotd.journal=Writer's Block journal
+
+.loggedin.qotd.title=Question Of The Day
+
 .loggedin.quicklink3=Search by Interest
 
 .loggedin.quicklink3.text=Find others with similar interests.

Tags: bml, ljcom, local, nely_snork, sup
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