openrat-cms

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

commit f5883c0aa191003ad3d82f46a25cedf313290d50
parent 122897e7f03908daa788fc2175dc0eeb8e44f9be
Author: dankert <devnull@localhost>
Date:   Tue, 31 Mar 2009 23:49:20 +0200

Korrektur: Inhalt-Anzeige bei Wiki-Texten.

Diffstat:
themes/default/include/html/editor.inc.php | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/themes/default/include/html/editor.inc.php b/themes/default/include/html/editor.inc.php @@ -190,12 +190,14 @@ function table() } else { - $attr_tmp_doc = new DocumentElement(); + // Anzeige des Inhaltes $attr_tmp_text = $$attr_name; +// $attr_tmp_doc = new DocumentElement(); if ( !is_array($attr_tmp_text)) $attr_tmp_text = explode("\n",$attr_tmp_text); - $attr_tmp_doc->parse($attr_tmp_text); - echo $attr_tmp_doc->render('application/html'); +// $attr_tmp_doc->parse($attr_tmp_text); +// echo $attr_tmp_doc->render('text/html'); + echo implode('',$attr_tmp_text); } break;