Leitgedanken/templates/standard/lue_notizen.html
2022-11-21 09:47:28 +01:00

48 lines
1.3 KiB
HTML

{if $action == ''}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="templates/{$global_template}/css/styles_pc.php" type="text/css">
<title>{$lue_notizen_titel}</title>
<style type='text/css'>
{literal}
.r{
text-decoration: none;
font-weight: bold;
color: black;
}
{/literal}
</style>
{literal}
<script type="text/javascript" src="CKEditor_4.6.1/ckeditor.js"></script>
{/literal}
</head>
<body>
<b>{$lue_notizen_titel}</b>
<form action=?action=notes method="POST" name="auswahl">
<textarea id='notizen' name='notizen'>{$notes_text}</textarea>
{literal}
<script type='text/javascript'>
CKEDITOR.replace( 'notizen', {
height: "60%",
toolbar: [{ name: 'document', items: ['PasteFromWord']},
{ name: 'basicstyles', items: [ 'Bold', 'Italic' ] },
{ name: 'paragraph', items: [ 'NumberedList','BulletedList', '-', 'Outdent', 'Indent' ] }
]
})
CKEDITOR.instances.notizen.on('blur', function() {
document.auswahl.submit();
});
</script>
{/literal}
<input type="submit" value="Speichern" name="B1">
</form>
</body>
</html>
{/if}
{if $action == 'notes'}
<meta http-equiv="refresh" content="0; URL=lue_notizen.php?eid={$notes_eid}">
{/if}