openrat-cms

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

commit 97d99d403bd783e95cbc5184d729d3c3abf5a313
parent 565b2e3ee218ebc7bc45273e4e2dc376674f523b
Author: Jan Dankert <devnull@localhost>
Date:   Sun, 14 Oct 2012 17:03:31 +0200

Textareas auch mit Inputholder.

Diffstat:
Mthemes/default/include/html/inputarea.inc.php | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/themes/default/include/html/inputarea.inc.php b/themes/default/include/html/inputarea.inc.php @@ -1,4 +1 @@ -<?php if ($this->isEditMode()) { -?><textarea class="<?php echo $attr_class ?>" name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php - } else { -?><span class="<?php echo $attr_class ?>"><?php echo isset($$attr_name)?$$attr_name:$attr_default ?></span><?php } ?> -\ No newline at end of file +<div class="inputholder"><textarea class="<?php echo $attr_class ?>" name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea></div> +\ No newline at end of file