openrat-cms

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

commit 708720521697c1fce5b77cc621224ec0f467dc19
parent 446b2d322efd0431008e553e38712cea86a296fe
Author: dankert <devnull@localhost>
Date:   Sun, 19 Apr 2009 23:57:07 +0200

Immer alt-Tag schreiben.

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

diff --git a/themes/default/include/html/image.inc.php b/themes/default/include/html/image.inc.php @@ -32,4 +32,4 @@ $attr_tmp_image_file = $image_dir.$attr_file.IMG_ICON_EXT; /* #END-IF# */ -?><img src="<?php echo $attr_tmp_image_file ?>" border="0"<?php if(isset($attr_align)) echo ' align="'.$attr_align.'"' ?><?php if (isset($attr_size)) { list($attr_tmp_width,$attr_tmp_height)=explode('x',$attr_size);echo ' width="'.$attr_tmp_width.'" height="'.$attr_tmp_height.'"';} ?>>- \ No newline at end of file +?><img alt="<?php echo basename($attr_tmp_image_file); echo ' ('; if (isset($attr_size)) { list($attr_tmp_width,$attr_tmp_height)=explode('x',$attr_size);echo $attr_tmp_width.'x'.$attr_tmp_height; echo')';} ?>" src="<?php echo $attr_tmp_image_file ?>" border="0"<?php if(isset($attr_align)) echo ' align="'.$attr_align.'"' ?><?php if (isset($attr_size)) { list($attr_tmp_width,$attr_tmp_height)=explode('x',$attr_size);echo ' width="'.$attr_tmp_width.'" height="'.$attr_tmp_height.'"';} ?>>+ \ No newline at end of file