[Rt-commit] [svn] r1917 -
rtfm/branches/2.1-TESTING/html/RTFM/Admin/Classes
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Thu Nov 18 20:24:15 EST 2004
Author: alexmv
Date: Thu Nov 18 20:24:15 2004
New Revision: 1917
Modified:
rtfm/branches/2.1-TESTING/html/RTFM/Admin/Classes/Topics.html
Log:
* Cosmetic fix -- don't show a button which doesn't do anything
Modified: rtfm/branches/2.1-TESTING/html/RTFM/Admin/Classes/Topics.html
==============================================================================
--- rtfm/branches/2.1-TESTING/html/RTFM/Admin/Classes/Topics.html (original)
+++ rtfm/branches/2.1-TESTING/html/RTFM/Admin/Classes/Topics.html Thu Nov 18 20:24:15 2004
@@ -73,8 +73,10 @@
<li><& .tree, Element => $e, Action => $Action, Prefix => $Prefix, ClassObj => $ClassObj, Modify => $Modify &></li>
% }
% if ($Action) {
+% unless ($Action eq "Move" and grep {$_->getNodeValue->Id == $Modify} $Element->getAllChildren) {
<li><input type="submit" name="<%$Prefix%>-<%$topic eq "root" ? 0 : $topic->Id%>" value="<&|/l&><%$Action%> here</&>" /></li>
% }
+% }
</ul>
<%args>
$Element
More information about the Rt-commit
mailing list