54 lines
1.3 KiB
HTML
54 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>{$notizen_titel}</title>
|
|
<style>
|
|
{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>{$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: "78%",
|
|
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="Notizen speichern" name="B1">
|
|
</form>
|
|
</body>
|
|
</html>
|
|
{/if}
|
|
|
|
{if $action == 'notes'}
|
|
{if $notes_redirect == '1'}
|
|
<meta http-equiv="refresh" content="0; URL=?lid={$notes_lid}">
|
|
{/if}
|
|
{/if} |