commit 864bfae7906620a70b789b93857f39ad94cd147c
parent 05a6c8db33eb32e1fd35ff0440c48e9b355b06f6
Author: dankert <devnull@localhost>
Date: Thu, 14 Oct 2004 00:21:03 +0200
Vorlagentausch nur anbieten, wenn sinnvoll
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/themes/default/pages/html/page/prop.tpl.php b/themes/default/pages/html/page/prop.tpl.php
@@ -69,6 +69,8 @@
<!-- Vorlage tauschen -->
+<?php if (count($templates)>0) // Nur anzeigen, wenn es Vorlagen zu tauschen gibt
+ { ?>
<form action="<?php echo $self ?>" method="post" target="_self">
<input type="hidden" name="action" value="page" />
@@ -92,6 +94,7 @@
</table>
</form>
+<?php } ?>
<!-- Verschieben -->