Neuigkeiten:

moziloCMS verwendet Cookies. Wenn Sie auf unserer Seite weitersurfen, stimmen Sie der Cookie-Nutzung zu Datenschutzerklärung
moziloCMS Layouts
moziloCMS Plugins

Hauptmenü

Hochdach ^ im PHP Plugin

Begonnen von baggi, 16. Mai 2014, 09:32:53

« vorheriges - nächstes »

baggi

Hallo,

ich benutze mozilo 2.0 und das PHP Revision 2 Plugin. Ich moechte die Funktion preg_match benutzen und brauche dafuer das Hochdach. Das Problem ist, dass es so aussieht als ob ich im PHP Plugin das Hochdach nicht darstellen kann.

Einfach so in mozilo funktioniert das:
Dies ist ein Hochdach in mozilo ^^.
liefert:
Dies ist ein Hochdach in mozilo ^.
In HTML geht es auch:
[HTML|Dies ist ein Hochdach in mozilo HTML ^^.] liefert
Dies ist ein Hochdach in mozilo HTML ^.
In PHP funktioniert es nicht:
{PHP| echo "Dies ist ein Hochdach in mozilo PHP ^^.";} liefert
Dies ist ein Hochdach in mozilo PHP .


Wuerde mich sehr ueber Kommentare freuen.

Baggi


stefanbe

Änder mal in der index.php des Plugins das
        $value = str_replace("^", "", $value);
nach
        $value = str_replace("^^", "-html_94~", $value);
        $value = str_replace("^", "", $value);
        $value = str_replace("-html_94~", "^", $value);

lg stefanbe

baggi

Super, funktioniert, danke fuer die schnelle Antwort.

Baggi

blacknight

Version im Plug-in Archiv aktualisiert.