Leitgedanken/templates_c/6421b758f278f0c597e81fab12d7aef85735385d_0.file.lue_notizen.html.php
2022-11-21 10:38:21 +01:00

83 lines
2.4 KiB
PHP

<?php
/* Smarty version 3.1.39, created on 2021-09-30 06:46:56
from '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/lue_notizen.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_61554140f2cfe9_69514588',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6421b758f278f0c597e81fab12d7aef85735385d' =>
array (
0 => '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/lue_notizen.html',
1 => 1630662654,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_61554140f2cfe9_69514588 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_pc.php" type="text/css">
<title><?php echo $_smarty_tpl->tpl_vars['lue_notizen_titel']->value;?>
</title>
<style type='text/css'>
.r{
text-decoration: none;
font-weight: bold;
color: black;
}
</style>
<?php echo '<script'; ?>
type="text/javascript" src="CKEditor_4.6.1/ckeditor.js"><?php echo '</script'; ?>
>
</head>
<body>
<b><?php echo $_smarty_tpl->tpl_vars['lue_notizen_titel']->value;?>
</b>
<form action=?action=notes method="POST" name="auswahl">
<textarea id='notizen' name='notizen'><?php echo $_smarty_tpl->tpl_vars['notes_text']->value;?>
</textarea>
<?php echo '<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();
});
<?php echo '</script'; ?>
>
<input type="submit" value="Speichern" name="B1">
</form>
</body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'notes') {?>
<meta http-equiv="refresh" content="0; URL=lue_notizen.php?eid=<?php echo $_smarty_tpl->tpl_vars['notes_eid']->value;?>
">
<?php }
}
}