Beispiel #1
0
    WYTSD("SaveButton", true);
    ?>
">
               <?php 
    echo WYEditor::sHiddenFieldsForElement($oElement);
    ?>
</td>
           </tr>
         </table>
         </form>
      <?php 
    echo $goApp->sHelpLink($sHelpFile);
    ?>
      <?php 
} else {
    echo "<blockquote>";
    echo "<div class='response'>{$sResponse}</div>";
    if ($bOK) {
        echo WYEditor::sPostSaveScript();
    } else {
        echo "<p class='textButton'>" . webyep_sBackLink() . "</p>";
    }
    echo "</blockquote>";
}
?>
</td>
     </tr>
   </table>
</body>
</html>
Beispiel #2
0
"></script></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="margin:0; padding:0;" onload="loadEditor();" onresize="wy_saveSize();">
<?php 
if (!$oEditor->bSave) {
    ?>
<form method="post" action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
">
<textarea name="CKEditor1" id="CKEditor"><?php 
    echo $sContent;
    ?>
</textarea>
<?php 
    echo WYEditor::sHiddenFieldsForElement($oElement);
    ?>
</form>
<?php 
} else {
    echo "<div style=\"margin: 20px\">";
    echo "<div class=\"response\">{$sResponse}</div>";
    echo WYEditor::sPostSaveScript();
    echo "<p class=\"textButton\">" . webyep_sBackLink() . "</p>";
    echo "</div>";
}
?>

<div id="console"></div>
</body>
</html>