openrat-cms

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

commit 83601c79618e2cbf60fe19619a57d2e9a30d515c
parent 4bf6dd2497ffde71a3139011cd1a91ef533dcc7c
Author: dankert <devnull@localhost>
Date:   Mon,  5 Mar 2007 23:39:54 +0100

Neues Attribut "fileext"

Diffstat:
themes/default/include/html/image.inc.php | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/themes/default/include/html/image.inc.php b/themes/default/include/html/image.inc.php @@ -7,5 +7,7 @@ if (isset($attr_elementtype)) { ?><img src="<?php echo $image_dir.'icon_'.$attr_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (isset($attr_url)) { ?><img src="<?php echo $attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (isset($attr_fileext)) { +?><img src="<?php echo $image_dir.$attr_fileext ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (isset($attr_file)) { ?><img src="<?php echo $image_dir.$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> \ No newline at end of file