ideenmanagement/templates/modern/fill_erfassen.html
2023-04-25 13:05:19 +02:00

16 lines
3.2 KiB
HTML
Executable File

{if $action == ''}
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='https://www.w3.org/1999/xhtml' dir='ltr'>
<head>
<title>TinyMCE - Full featured example</title>
<script language='javascript' type='text/javascript' src='tinymce/jscripts/tiny_mce/tiny_mce.js'></script>
<script type='text/javascript'>
{literal}
function myCustomInitInstance(inst) {
if(inst.editorId != 'mce_fullscreen')
inst.execCommand('mceFullScreen');
}
tinyMCE.init({
// General options
language: 'de',
mode : 'textareas',
theme : 'advanced',
plugins : 'save,autosave,safari,style,table,advhr,advimage,advlink,iespell,insertdatetime,preview,searchreplace,contextmenu,paste,fullscreen,visualchars,nonbreaking,xhtmlxtras,template',
remove_linebreaks : true,
force_br_newlines : true,
force_p_newlines : false,
forced_root_block : '',
apply_source_formatting : true,
convert_newlines_to_brs : true,
init_instance_callback : 'myCustomInitInstance',
// Theme options
theme_advanced_buttons1 : 'save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect',
theme_advanced_buttons2 : 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor',
theme_advanced_buttons3 : 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen',
theme_advanced_buttons4 : 'insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,restoredraft,|,insertfile,insertimage',
theme_advanced_toolbar_location : 'top',
theme_advanced_toolbar_align : 'left',
theme_advanced_statusbar_location : 'bottom',
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : 'css/example.css',
// Drop lists for link/image/media/template dialogs
template_external_list_url : 'js/template_list.js',
external_link_list_url : 'js/link_list.js',
external_image_list_url : 'js/image_list.js',
media_external_list_url : 'js/media_list.js',
autosave_ask_before_unload : false
});
{/literal}
</script>
</head>
<body>
<form action="?action=save2" enctype="multipart/form-data" method='post' name='mail'>
<div>
<textarea name='content' style='width:100%' rows='13' cols='10'>Zum Speichern auf das Diskettensymbol klicken!</textarea>
</div>
</form>
</body>
</html>
{/if}
{if $action == 'save2'}
<html>
</head>
<script>
function redirect() {
top.frames.detail.location.replace("patronendetails.php?tid={$fill_erfassen_tid}");
}
</script>
</head>
<body>
</body>
</html>
{/if}