commit 94ac6c7f345134a92c5a957b0cd1295e3fc0748b
parent 0e250298523005088d71dbb7c1259b4edd7b0af7
Author: dankert <devnull@localhost>
Date: Mon, 7 Nov 2005 23:38:44 +0100
Beruecksichtigen, falls Dateiname nicht editierbar ist.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/themes/default/pages/html/file/prop.tpl.php b/themes/default/pages/html/file/prop.tpl.php
@@ -21,10 +21,15 @@
<tr>
<td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td>
</tr>
+
+<?php if($edit_filename)
+ { ?>
<tr>
<td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_FILENAME') ?></a></td>
<td width="50%" class="f1"><input class="filename" type="text" name="filename" size="40" value="<?php echo $filename ?>"></td>
</tr>
+<?php } ?>
+
<tr>
<td width="50%" class="help"><?php echo lang('GLOBAL_FILENAME_DESC') ?></td>
</tr>