madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21092: LJSUP-10439: remove link to update.bml

Committer: sbelyaev
LJSUP-10439: remove link to update.bml
U   trunk/cgi-bin/LJ/Widget/EntryChooser.pm
U   trunk/htdocs/manage/scheduled_posts.bml
Modified: trunk/cgi-bin/LJ/Widget/EntryChooser.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryChooser.pm	2012-02-03 13:03:04 UTC (rev 21091)
+++ trunk/cgi-bin/LJ/Widget/EntryChooser.pm	2012-02-03 14:11:29 UTC (rev 21092)
@@ -75,7 +75,7 @@
         my ($year, $mon, $mday, $hour, $min) = split(/\D/, $alldateparts);
         my $monthlong = BML::ml(LJ::Lang::month_long_langcode($mon));
 
-        my $datetext = $opts->{'scheduled'};
+        my $datetext = $opts->{'scheduled'} || "";
         my $date_display = "$datetext $monthlong $mday, $year, $hour:$min";
 
         my $event_raw = $entry->is_delayed ? $entry->event : $entry->event_raw;

Modified: trunk/htdocs/manage/scheduled_posts.bml
===================================================================
--- trunk/htdocs/manage/scheduled_posts.bml	2012-02-03 13:03:04 UTC (rev 21091)
+++ trunk/htdocs/manage/scheduled_posts.bml	2012-02-03 14:11:29 UTC (rev 21092)
@@ -163,8 +163,6 @@
     $ret .= "</form>\n";
 
     my $usejournal_text = $usejournal ? "?usejournal=$usejournal&" : '';
-    $ret .= "<a href=\"/update.bml${usejournal_text}\">";
-    $ret .= BML::ml('.newpost') . '</a><br/>';
 
     if ( !$usejournal_u || $usejournal_u->is_community ) {
         $ret .= "<p><a href='$LJ::SITEROOT/manage/$page_name'>" . BML::ml('.lnk.journal') . "</a></p>";

Tags: bml, livejournal, madeon, pm, sbelyaev
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