]> git.wh0rd.org Git - tt-rss.git/commitdiff
only allow delete action for articles from archived feed
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 11 Jan 2010 12:57:47 +0000 (15:57 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 11 Jan 2010 12:57:47 +0000 (15:57 +0300)
functions.php

index 41bd646f04040507ac5b72143919c2cb384ce42d..881130fc0e96ec9db5c8f5080a6e237fbb377e98 100644 (file)
                                print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Archive')."</li>";
                        } else {
                                print "<li onclick=\"$archive_sel_link\">&nbsp;&nbsp;".__('Move back')."</li>";
-                       } 
+                               print "<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
 
-                       print "<li onclick=\"$delete_sel_link\">&nbsp;&nbsp;".__('Delete')."</li>";
+                       } 
 
                        //print "<li><span class=\"insensitive\">--------</span></li>";
                        print "<li class=\"insensitive\">".__('Assign label:')."</li>";