Пример #1
0
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="top"><h1><!-- InstanceBeginEditable name="headline" -->WebYep Anmeldung<!-- InstanceEndEditable --></h1></td>
        <td align="right"><img src="images/logo.gif"></td>
      </tr>
    </table>
    <hr noshade size="1"></td>
  </tr>
  <tr>
    <td>  <!-- InstanceBeginEditable name="content" -->
	 <h1>WebYep</h1>
	 <h2>Das feine, kleine Web Content Management System</h2>
	 <p><a href="<?php 
WYTSD("WebYepProductURL");
?>
">WebYep</a> ist ein kompaktes Web Content
	   Management System, mit dem editierbare Web-Seiten besonders einfach erstellt
	   und verwaltet werden k&ouml;nnen. Im Gegensatz zu gr&ouml;&szlig;eren CMS
	   L&ouml;sungen, bietet WebYep eine kosteng&uuml;nstige Alternative f&uuml;r
	   kleinere Anwendungen. WebYep richtet sich vor allem an Anwender ohne PHP
	   oder HTML Kenntnisse, die rasch und unkompliziert editierbare Web Seiten
	   erstellen wollen.</p>
	 <p class="warning">Um mit WebYep Ihre Webseiten bearbeiten zu k&ouml;nnen, m&uuml;ssen
	   Sie in Ihrem Webbrowser <b>JavaScript aktivieren</b>! </p>
	 <!-- InstanceEndEditable --></td></tr>
</table>
</body>
<!-- InstanceEnd --></html>
Пример #2
0
          <td align="left" valign="top" nowrap class="formFieldTitle"><?php 
    WYTSD("GalleryText", true);
    ?>
</td>
          <td align="left" valign="top" nowrap><?php 
    echo $oTA->sDisplay();
    ?>
</td>
        </tr>
        <tr>
          <td style="height: 20px" nowrap>&nbsp;</td>
          <td align="left" valign="top"><input type="button" class="formButton" value="<?php 
    WYTSD("CancelButton", true);
    ?>
" onclick="window.close();">&nbsp;<input type="submit" class="formButton" value="<?php 
    WYTSD("SaveButton", true);
    ?>
">
<?php 
    if (!WYImage::bCanResizeImages()) {
        ?>
   <div class="warning remark" style="padding-top: 8px"><?php 
        echo WYTS("ImageCannotResize");
        ?>
</div>
<?php 
    }
    ?>
              <?php 
    echo WYEditor::sHiddenFieldsForElement($oElement);
    echo $oHFImageID->sDisplay();
Пример #3
0
          <td><?php 
        echo $oTFPassword->sDisplay();
        ?>
</td>
        </tr>
        <tr>
          <td><input name="CACHE_KILLER" type="hidden" id="CACHE_KILLER" value="<?php 
        echo mt_rand(1000, 9999);
        ?>
">
            <?php 
        echo $oHFPageURL->sDisplay();
        ?>
</td>
          <td><input type="submit" class="formButton" value="<?php 
        WYTSD("LogonButtonTitle", true);
        ?>
">
            <input name="<?php 
        echo WY_QK_ACTION;
        ?>
" type="hidden" value="<?php 
        echo WY_QV_LOGON;
        ?>
"></td>
        </tr>
        </table>
        </form>
    <?php 
    } else {
        if ($bSuccess) {
Пример #4
0
 <?php 
echo WYTS("WebYepNotice");
?>
</h1></td>
        <td align="right"><img src="../images/logo.gif"></td>
      </tr>
    </table>
    <hr noshade size="1"></td>
  </tr>
  <tr>
    <td>

<h2><?php 
WYTSD("PermissionErrorTitle");
?>
</h2>
<p><?php 
WYTSD("PermissionErrorMessage");
?>
</p>
<div class="textButton">&lt;<a href="javascript:window.close();"><?php 
WYTSD("CloseWindow", true);
?>
</a>&gt;</div>

    </td>
  </tr>
</table>
</body>
</html>
Пример #5
0
                            var content = window.frames[i].document.getElementById("embed").value;
                        }
                    }
                    final_html = 'MediaEmbedInsertData|---' + escape('<div class="media_embed">'+content+'</div>') + '---|MediaEmbedInsertData';
                    window.wyCKEditor.insertHtml(final_html);
                    updated_editor_data = window.wyCKEditor.getData();
                    clean_editor_data = updated_editor_data.replace(final_html,'<div class="media_embed">'+content+'</div>');
                    window.wyCKEditor.setData(clean_editor_data);
                }
            };
        });
        window.wyCKEditor.addCommand('MediaEmbed', new CKEDITOR.dialogCommand('MediaEmbedDialog'));

        window.wyCKEditor.ui.addButton('MediaEmbed', {
            label: '<?php 
WYTSD('RichTextEditorEmbedMediaButton');
?>
',
            command: 'MediaEmbed',
            icon: '<?php 
echo $oImagePath->sPath . '/media-embed.gif';
?>
'
        });

		CKEDITOR.on('instanceReady', function(evt) {
				var editor = evt.editor;
				editor.execCommand('maximize');
				wy_restoreSize();
			});
Пример #6
0
    ?>
</span><?php 
    echo $oFU->sDisplay();
    ?>
</td>
        </tr>
        <tr>
          <td nowrap>&nbsp;</td>
          <td align="left" valign="top" nowrap><input name="Button" type="button" class="formButton" value="<?php 
    WYTSD("DeleteFileButton", true);
    ?>
" onClick="confirmDelete();"><img src="../images/nix.gif" width="24" height="8"><input type="button" class="formButton" value="<?php 
    WYTSD("CancelButton");
    ?>
" onClick="window.close();">&nbsp;<input type="submit" class="formButton" value="<?php 
    WYTSD("SendFileButton", true);
    ?>
">
            <?php 
    echo WYEditor::sHiddenFieldsForElement($oElement);
    echo $oHFDelete->sDisplay();
    ?>
</td>
        </tr>
      </table>
      </form>
	<?php 
    echo $goApp->sHelpLink($sHelpFile);
    ?>
	<?php 
} else {
Пример #7
0
echo $goApp->sCharsetMetatag();
?>
<link href="../styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function returnURL($sURL)
{
		window.opener.CKEDITOR.tools.callFunction( <?php 
echo $sFunctionNumber;
?>
, $sURL);
		window.close();
}
function confirmDelete()
{
	return confirm("<?php 
WYTSD("DeleteImageQuestion");
?>
");
}
</script>
</head>

<body>
<div style="margin-left: auto; margin-right: auto; overflow: auto; height: 100%; width: <?php 
echo NUM_COLS * (IMG_SIZE + 2 * PADDING) + 24;
?>
;">
<table border="0" cellpadding="<?php 
echo PADDING;
?>
" cellspacing="0">
Пример #8
0
        $oImage->setAttribute("alt", $sAltText);
    }
    $iW = $oImage->iWidth();
    $iH = $oImage->iHeight();
    if (!$sAltText) {
        $sAltText = WYTS("GalleryCloseWindow");
    }
} else {
    exit(-1);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?php 
WYTSD("GalleryDetailTitle", true);
?>
</title>
<?php 
echo $goApp->sCharsetMetatag();
?>
<script type="text/javascript">
	function setupWindow()
	{
		var iW = <?php 
echo $iW;
?>
;
		var iH = <?php 
echo $iH;
?>
Пример #9
0
<?php

// WebYep
// (C) Objective Development Software GmbH
// http://www.obdev.at
$webyep_bDocumentPage = false;
$webyep_sIncludePath = "..";
include_once "{$webyep_sIncludePath}/webyep.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
        <style type="text/css">
                body { font: normal 12px Arial,sans-serif; }
                #embed { width: 100%; height: 110px; margin: 5px 0 0 0; border: 1px solid #a0a0a0; font: normal 11px Courier, Fixedsys, serif; color: #333; }
        </style>
	</head>
	<body>
		<?php 
WYTSD('RichTextEditorEmbedMediaTitle');
?>
:
		<textarea id="embed" /></textarea>
	</body>
</html>