Leitgedanken/templates_c/1f95eb57ca0229e5b7b37f4a0e01c4ea12d24aa7_0.file.notizen.html.php
2022-11-21 10:38:21 +01:00

89 lines
2.4 KiB
PHP

<?php
/* Smarty version 3.1.39, created on 2021-09-03 12:07:31
from '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/notizen.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_6131f3e308c6f3_23915159',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1f95eb57ca0229e5b7b37f4a0e01c4ea12d24aa7' =>
array (
0 => '/var/www/web360/htdocs/leitgedanken_php8/templates/standard/notizen.html',
1 => 1630662654,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6131f3e308c6f3_23915159 (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['notizen_titel']->value;?>
</title>
<style>
<!--
.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['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: "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();
});
;
<?php echo '</script'; ?>
>
<input type="submit" value="Notizen speichern" name="B1">
</form>
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'notes') {?>
<?php if ($_smarty_tpl->tpl_vars['notes_redirect']->value == '1') {?>
<meta http-equiv="refresh" content="0; URL=?lid=<?php echo $_smarty_tpl->tpl_vars['notes_lid']->value;?>
">
<?php }
}
}
}