echo $oHFNewImage->sDisplay(); ?> </td></tr> </table> </form> <?php echo $goApp->sHelpLink($sHelpFile); ?> <?php } else { /* else for 'if(!$bDidSave)' */ echo "<div class='formFieldTitle'>"; echo "<div class='response' style='font-size:12px'>{$sResponse}</div>"; if ($bOK) { echo WYEditor::sPostSaveScript(); } else { echo WYEditor::sPostSaveScript(true); // new parameter for static method, meaning: keep editor window (defaults to false) echo "<p class='textButton'>{$iNrOfErrors} Fehler!</p>"; echo "<div style='width:100%'><div style='width:auto;margin:10px auto'><input type='button' class='formButton' value='" . WYTS("CloseWindow") . "' onclick='window.close()' /></div></div>"; // no backlink, because of problems keeping track of internal state! } echo "</div>"; } ?> </td> </tr> </table> </body> </html>
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>