openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 020db2321bcaf885bd849500bc1ab4d9af874068
parent 18fd66f20e2141ea4ed7de2b9d418899a6955083
Author: dankert <devnull@localhost>
Date:   Tue, 30 Nov 2004 23:27:26 +0100

Resize-Block nur bei Bedarf anzeigen

Diffstat:
themes/default/pages/html/file/edit.tpl.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/default/pages/html/file/edit.tpl.php b/themes/default/pages/html/file/edit.tpl.php @@ -25,7 +25,7 @@ </table> -<?php if ( substr($mimetype,0,6) == 'image/' ) +<?php if ( count($formats) > 0 ) { ?> <form action="<?php echo $self ?>" method="post" target="_self"> @@ -51,7 +51,7 @@ </tr> <tr> <td width="50%" class="f2"><?php echo lang('FILE_IMAGE_FORMAT') ?></td> -<td width="50%" class="f2"><?php echo Html::selectBox('format',$formats,$extension) ?></td> +<td width="50%" class="f2"><?php echo Html::selectBox('format',$formats,$default_format) ?></td> </tr> <tr> <td width="50%" class="f2"><?php echo lang('FILE_IMAGE_JPEG_COMPRESSION') ?></td>