Beispiel #1
0
 function webyep_richText($sFieldName, $bGlobal, $sCSSURL = "", $bObfuscate = true)
 {
     global $goApp;
     $o = new WYRichTextElement($sFieldName, $bGlobal, $sCSSURL, $bObfuscate);
     $s = $o->sDisplay();
     if ($goApp->bEditMode) {
         echo $o->sEditButtonHTML("edit-button-rich-text.gif");
         if (!$s) {
             $s = $o->sName;
         }
     }
     echo $s;
 }