openrat-cms

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

commit c5e0fcc72f040db46c0714a4f65f6ecf399a5078
parent 25735ef67b8f05b72da1722996affa29c98f7cae
Author: dankert <devnull@localhost>
Date:   Wed,  4 Nov 2009 19:48:25 +0100

Readonly-Status nur im Edit-Modus berücksichtigen.

Diffstat:
themes/default/include/html/button.inc.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/default/include/html/button.inc.php b/themes/default/include/html/button.inc.php @@ -4,7 +4,7 @@ $attr_text = 'MODE_EDIT'; $attr_type = 'submit'; - if ( readonly() ) + if ( $this->isEditable() && readonly() ) $attr_type = ''; // Knopf nicht anzeigen #END-IF