[Phpcms-plugins-cvs] admin4phpCMS/modules/phpcms-content/templates phpcms-content_editor.tpl,NONE,1.
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2005-05-15 12:24:15
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/phpcms-content/templates Modified Files: module_phpcms-content.tpl Added Files: phpcms-content_editor.tpl Log Message: Commit as backup during development --- NEW FILE: phpcms-content_editor.tpl --- <style type="text/css"> <!-- @import url(/test/modules/editor/editor.css) screen; --> </style> <script type="text/javascript" src="/test/modules/editor/editor.js"></script> {if $WYSIWYG.NAME == 'HTMLAREA'} <!-- Editorfunktionen --> <script type="text/javascript"> _editor_lang = "de"; _editor_url = "{$WYSIWYG.PATH}"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="{$WYSIWYG.PATH}/htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ImageManager"); HTMLArea.loadPlugin("CSS"); </script> {/if} {if $WYSIWYG.NAME == 'FCKEDITOR'} <!-- load the main FCKEditor files --> <script type="text/javascript" src="{$WYSIWYG.PATH}/fckeditor.js"></script> {/if} {if $WYSIWYG.NAME == 'WYSIWYM'} <script type="text/javascript" src="{$WYSIWYG.PATH}/online-editor.js"></script> {/if} <div id="editor" > <form action="{$INDEX_FILE}?moduleid=phpcms&action=phpcms-content" method="post" id="editor_main" class="editor"> <fieldset> <legend>Allgemeines</legend> <h3>Optionen</h3> <div class="label"> <input type="button" name="editor-newfile" class="editor-newfile" onclick="displayTab('new')" value="Neue Datei anlegen" /> <input type="button" name="editor-openfile" class="editor-openfile" onclick="displayTab('open')" value="Datei zum Editieren öffnen" /> <input type="submit" name="editor-savefile" class="editor-savefile" value="Datei speichern" /> <input type="button" name="editor-delfile" class="editor-delfile" onclick="displayTab('delete')" value="Datei löschen" /> <input type="submit" name="editor-saveexit" class="editor-exit" value="Speichern und Datei schließen" /> </div> {$EDITOR.ERROR} <div id="new" style="display:block;"> <h3>Neue Datei anlegen</h3> <label for="input-newfile"> <span><a href="{$HELP}#filename" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dateiname</a></span> <input type="text" name="input-newfile" id="input-newfile" /> </label> <label for="input-template"> <span><a href="{$HELP}#selectstyle" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Vorlage wählen</a></span> <select name="input-template" id="input-template"> {$EDITOR.TPLSELECT} </select> </label> <label for="input-newmenu"> <span><a href="{$HELP}#selectdoc" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Menüpunkt auswählen</a></span> <select name="input-newmenu" id="input-newmenu"> {$MENUS} </select> </label> <div class="label"> <input type="radio" name="input-newmenu-position" id="input-newmenu-position" value="before" /><span>davor einfügen</span> </div> <div class="label"> <input type="radio" name="input-newmenu-position" id="input-newmenu-position" value="after" selected="selected" /><span>dahinter einfügen</span> </div> <label for="input-newfile-submit"> <input type="submit" name="input-newfile-submit" id="input-newfile-submit" class="editor-newfile" value="Datei anlegen" /> </label> </div> <div id="open" style="display:block;"> <h3>Dokument öffnen und editieren</h3> <label for="input-openfile"> <span><a href="{$HELP}#selectdoc" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument auswählen</a></span> <select name="input-openfile" id="input-openfile"> {$MENUS1} </select> </label> <label for="input-openfile-submit"> <input type="submit" name="input-openfile-submit" id="input-openfile-submit" class="editor-openfile" value="Datei öffnen" /> </label> </div> <div id="delete" style="display:block;"> <h3>Dokument löschen</h3> <label for="input-delfile"> <span><a href="{$HELP}#del" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument auswählen</a></span> <select name="input-delfile" id="input-delfile"> {$MENUS} </select> </label> <label for="input-delfile-check1"> <input type="checkbox" name="input-delfile-realy" id="input-delfile-check1" value="delete" /><span><a href="{$HELP}#wdel" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument wirklich löschen?</a></span> </label> <label for="input-delfile-check2"> <input type="checkbox" name="input-delfile-menu" id="input-delfile-check2" value="delete-menu" /><span><a href="{$HELP}#menudel" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Menüeintrag mit löschen?</a></span> </label> <label for="input-delfile-submit"> <input type="submit" name="input-delfile-submit" id="input-delfile-submit" class="editor-delfile" value="Datei löschen" /> </label> </div> </fieldset> {if $WYSIWYG.NAME == 'HTMLAREA'} <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> <script language='javascript1.2'>HTMLArea.replace('input-content-{$FIELD}')</script> {/if} {if $WYSIWYG.NAME == 'FCKEDITOR'} <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> <script type="text/javascript"> var oFCKEditor = new FCKEditor ('input-content-{$FIELD}'); oFCKEditor.ReplaceTextarea (); </script> {/if} {if $WYSIWYG.NAME == 'WYSIWYM'} <div class="label"> <img src="{$WYSIWYG.PATH}/edit/boldbtn.gif" width="18" height="18" title="Highlight some text and click for bold" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<b>', '</b>');" /> <img src="{$WYSIWYG.PATH}/edit/italicbtn.gif" width="18" height="18" title="Highlight some text and click for italic" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<em>', '</em>')" /> <img src="{$WYSIWYG.PATH}/edit/underlinebtn.gif" width="18" height="18" title="Highlight some text and click for underlined" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<u>', '</u>')" /> <img src="{$WYSIWYG.PATH}/edit/centerbtn.gif" width="18" height="18" title="Highlight some text and click to center" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<p class=%22center%22>', '</p>')" /> <img src="{$WYSIWYG.PATH}/edit/rightbtn.gif" width="18" height="18" title="Highlight some text and click to right align" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<p class=%22right%22>', '</p>')" /> <img src="{$WYSIWYG.PATH}/edit/blockquotebtn.gif" width="18" height="18" title="Highlight some text and click for a blockquote" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<blockquote>', '</blockquote>')" /> <img src="{$WYSIWYG.PATH}/edit/blistbtn.gif" width="18" height="18" title="Highlight some text and click for a bulleted list" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<li>', '</li>')" /> <img src="{$WYSIWYG.PATH}/edit/prebtn.gif" width="18" height="18" title="Highlight some text and click for pre" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<pre>', '</pre>')" /> <img src="{$WYSIWYG.PATH}/edit/rulebtn.gif" width="18" height="18" title="Insert a horizontal rule" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="insertTag(document.getElementById('input-content-{$INPUT.ID}'),'<hr />');" /> <img src="{$WYSIWYG.PATH}/edit/picbtn.gif" width="18" height="18" title="Insert an image" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="insertImage(document.getElementById('input-content-{$INPUT.ID}'));" /> <img src="{$WYSIWYG.PATH}/edit/linkbtn.gif" width="18" height="18" title="Highlight some text and click to add a link" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithLink(document.getElementById('input-content-{$INPUT.ID}'));" /> <img src="{$WYSIWYG.PATH}/edit/acronymbtn.gif" width="18" height="18" title="Highlight some text and click to add a acronym" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithTitle(document.getElementById('input-content-{$INPUT.ID}'), 'acronym');"> <img src="{$WYSIWYG.PATH}/edit/abbrbtn.gif" width="23" height="18" title="Highlight some text and click to add a abbr" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithTitle(document.getElementById('input-content-{$INPUT.ID}'), 'abbr');"> <img src="{$WYSIWYG.PATH}/edit/quotebtn.gif" width="18" height="18" title="Highlight some text and click for q" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<q>', '</q>')"> </div> <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> {/if} {$EDITOR.EDIT} </form> </div> Index: module_phpcms-content.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates/module_phpcms-content.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_phpcms-content.tpl 7 Apr 2005 14:09:10 -0000 1.1 +++ module_phpcms-content.tpl 15 May 2005 12:24:03 -0000 1.2 @@ -0,0 +1 @@ +{include file="$INDEX_PATH/modules/phpcms-content/templates/phpcms-content_editor.tpl"} \ No newline at end of file |