AEOS Calvarium v0.5

This commit is contained in:
OverSu 2026-08-26 17:23:29 +02:00
commit 1fa8b9e152
177 changed files with 2936 additions and 3386 deletions

22
lib/wysiwyg.lib.php Executable file → Normal file
View file

@ -1,6 +1,24 @@
<?php
// Script owEditor
// Script owEditor/pell
if (isset($_['input']))
{
$currentContent=stripslashes($_['input']);
}
else
{
$currentContent=@$page['page']['contenu']['#text'];
}
?>
<script type="text/javascript">
new owEditor({fullPanel : true, maxHeight : 230, maxWidth : 700}).panelInstance('input');
var editor = window.pell.init({
element: document.getElementById('editor'),
defaultParagraphSeparator: 'p',
onChange: function (html) {
document.getElementById('html-output').textContent = html
},
})
document.getElementById("pell-id").innerHTML = `<?php echo $currentContent; ?>`;
</script>