openrat-cms

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

commit 3b320b0f6777c30e0bd9f0614b830160d2031f0c
parent 0edab9e1115a15fa2c115415e1281f884a2b6dcd
Author: dankert <devnull@localhost>
Date:   Sat,  9 Dec 2006 17:57:43 +0100

In der Ausgabe von Info-Elementen auch HTML-Sonderzeichenmaskierung vornehmen.

Diffstat:
objectClasses/Value.class.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/objectClasses/Value.class.php b/objectClasses/Value.class.php @@ -873,9 +873,12 @@ SQL default: //$inhalt = 'please select subtype. unknown: '.$this->element->subtype; } + + $inhalt = Text::encodeHtml( $inhalt ); break; } + if ( $this->page->icons && $this->element->withIcon ) $inhalt = '<a href="'.Html::url('pageelement','edit',$this->page->objectid,array('elementid'=>$this->element->elementid)).'" title="'.$this->element->desc.'" target="cms_main_main"><img src="'.OR_THEMES_DIR.$conf['interface']['theme'].'/images/icon_el_'.$this->element->type.IMG_EXT.'" border="0" align="left"></a>'.$inhalt;