Téléverser les fichiers vers "lib"

This commit is contained in:
Alexandre NOEL 2026-08-11 21:38:53 +02:00
commit 2a489a5ff4
4 changed files with 319 additions and 0 deletions

26
lib/wysiwyg.lib.php Normal file
View file

@ -0,0 +1,26 @@
<?php
// Script TinyEditor
?>
<script type="text/javascript">
new TINY.editor.edit('editor',{
id:'input',
width:700,
height:175,
cssclass:'te',
controlclass:'tecontrol',
rowclass:'teheader',
dividerclass:'tedivider',
controls:['bold','italic','underline','strikethrough','|','subscript','superscript','|',
'orderedlist','unorderedlist','|','outdent','indent','|','leftalign',
'centeralign','rightalign','blockjustify','|','unformat','|','undo','redo','n',
'font','size','style','|','image','hr','link','unlink','|','cut','copy','paste','print'],
footer:true,
fonts:['Verdana','Arial','Georgia','Trebuchet MS'],
xhtml:true,
cssfile:'style.css',
bodyid:'editor',
footerclass:'tefooter',
toggle:{text:'source',activetext:'wysiwyg',cssclass:'toggle'},
resize:{cssclass:'resize'}
});
</script>