[Rt-commit] [svn] r1190 - rtfm/trunk/html/RTFM/Article

alexmv at pallas.eruditorum.org alexmv at pallas.eruditorum.org
Thu Jul 8 14:19:52 EDT 2004


Author: alexmv
Date: Thu Jul  8 14:19:51 2004
New Revision: 1190

Modified:
   rtfm/trunk/html/RTFM/Article/Delete.html
Log:
 * Once you've deleted an Article, it shouldn't be in the left nav.
   This also removes a slew of warnings from the error logs.


Modified: rtfm/trunk/html/RTFM/Article/Delete.html
==============================================================================
--- rtfm/trunk/html/RTFM/Article/Delete.html	(original)
+++ rtfm/trunk/html/RTFM/Article/Delete.html	Thu Jul  8 14:19:51 2004
@@ -16,16 +16,16 @@
 %# 
 %# END LICENSE BLOCK
 
-<& /RTFM/Article/Elements/Tabs, Article => $ArticleObj, current_subtab =>
-"RTFM/Article/Delete.html?id=".$ArticleObj->Id , id => $id, Title => $title &>
-
-
 % if ($ARGS{'Delete'}) {
+<& /RTFM/Article/Elements/Tabs, Title => $title &>
 
 <%$title%>
 <& /Elements/ListActions, actions => \@results &>
 
 % } else { 
+<& /RTFM/Article/Elements/Tabs, Article => $ArticleObj, current_subtab =>
+"RTFM/Article/Delete.html?id=".$ArticleObj->Id , id => $id, Title => $title &>
+
 <b><&|/l&>Are you sure you want to delete this article?</&></b>
 <table>
 <tr>


More information about the Rt-commit mailing list