@@ -31,13 +31,13 @@ |
||
31 | 31 | <script> |
32 | 32 | CKEDITOR.disableAutoInline = true; |
33 | 33 | |
34 | - <?php for($i=0 ; $i<$bloc_editable ; $i++):?> |
|
34 | + <?php for ($i = 0; $i < $bloc_editable; $i++):?> |
|
35 | 35 | $(document).ready(function() { |
36 | 36 | console.log("editor<?=$i?>"); |
37 | 37 | $("#editor<?=$i?>").attr("contenteditable", true); |
38 | 38 | }) |
39 | 39 | var editor<?=$i?> = CKEDITOR.inline("editor<?=$i?>", { customConfig: "<?=WEBROOT?>config/config_ckeditor.js" }); |
40 | 40 | CKFinder.setupCKEditor( editor<?=$i?>, "<?=LIBSWEBROOT?>ckfinder/" ); |
41 | - <?php endfor;?> |
|
41 | + <?php endfor; ?> |
|
42 | 42 | </script> |
43 | -<?php require_once(ROOT."admin/views/gestion-contenus/js/inline.php");?> |
|
44 | 43 | \ No newline at end of file |
44 | +<?php require_once(ROOT."admin/views/gestion-contenus/js/inline.php"); ?> |
|
45 | 45 | \ No newline at end of file |