Okaloma & Video Forum

Okaloma & Video Forum (https://okaloma.com/index.php)
-   X-Mentor (Archiv) (https://okaloma.com/forumdisplay.php?f=51)
-   -   Problem mit $_Session[´wysiwyg´] bei Artikelbearbeitung (https://okaloma.com/showthread.php?t=2104)

lotsch 10.07.2004 10:53

Problem mit $_Session[´wysiwyg´] bei Artikelbearbeitung
 
Bei mir tritt ein Problem beim Bearbeiten von Artikeln auf. Wenn ich die wysiwyg-Option ausschalte und einen Artikel im ETF-Format anlege funktioniert alles. Wenn ich den Artikel aber bearbeiten will, so wird der ETF-Code in HTML umgewandelt, die Einstellung (ETF/HTML) aber nicht verändert. Wenn ich aus inc/admin.class.php die Zeilen
PHP-Code:

if(isset($_SESSION['wysiwyg']) && $data['format']=="etf") {
          require_once(
DOC_ROOT."inc/bb.class.php");
          
$array['text'] = Bbcode::encode($array['text']);


rauskommentiere, dann ist das Problem in diesem Fall gelöst, ergibt allerdings ein neues, wenn die wysiwyg-Option aktiviert ist.


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:16 Uhr.

SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Unregistered)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25