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

[livejournal] r20011: LJSUP-9764: Edit Entries, revert logic o...

Committer: mchervonniy
LJSUP-9764: Edit Entries, revert logic of showing buttons
U   trunk/htdocs/editjournal.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-09-09 05:14:15 UTC (rev 20010)
+++ trunk/htdocs/editjournal.bml	2011-09-09 05:30:04 UTC (rev 20011)
@@ -134,8 +134,9 @@
             my $ditemid_get = $getextra ? ("$getextra&itemid=" . $entry->ditemid) : ("?itemid=" . $entry->ditemid);
             if (!$edit_disable) {
                 $ret .= "<a href='editjournal.bml" . $ditemid_get . "&amp;mode=edit' class='b-editentry-edit-btn b-editentry-ctrl-btn'></a>";
+            } else {
+                $ret .= "<a href='editjournal.bml" . $ditemid_get . "&amp;mode=delete' class='b-editentry-del-btn b-editentry-ctrl-btn'></a>";
             }
-            $ret .= "<a href='editjournal.bml" . $ditemid_get . "&amp;mode=delete' class='b-editentry-del-btn b-editentry-ctrl-btn'></a>";
             $ret .= "</p>";
 
             $ret .= "<h2><a href='".$entry->url."'>";

Tags: bml, fiskus_boulder, livejournal
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