Loading module/Information/config/module.config.php +8 −2 Changes for module/Information/config/module.config.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ return [ 'title' => "Informations sur le doctorat et sa gestion" ], 'ecoles-doctorales' => [ 'label' => 'Les Ecoles Doctorales', 'label' => 'Les Écoles Doctorales', 'route' => 'information/ecoles-doctorales', 'title' => "Informations sur les Ecoles Doctorales et le Collège des Ecoles doctorales" ], Loading @@ -216,6 +216,12 @@ return [ 'route' => 'information/guide-these', 'title' => "Informations sur le déroulement de la thèse et formulaires administratifs à l’intention du doctorant et de ses encadrants" ], 'tinymce-doctorat' => [ 'label' => 'Le doctorat', 'route' => 'informations/afficher', 'params'=> ['id' => 61], 'title' => "Informations sur le déroulement de la thèse et formulaires administratifs à l’intention du doctorant et de ses encadrants" ], ], ], ], Loading Loading @@ -252,7 +258,7 @@ return [ ], 'public_files' => [ 'inline_scripts' => [ '100_' => 'js/tinymce/js/tinymce/tinymce.js', '100_' => 'js/tinymce/js/tinymce/tinymce.min.js', '101_' => 'js/form_fiche.js', ], ] Loading module/Information/view/information/information/ajouter.phtml +0 −1 Changes for module/Information/view/information/information/ajouter.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ use Information\Form\InformationForm; $this->headTitle("Création d'une nouvelle page d'information"); ?> <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script> <h1 class="page-header"> Création d'une page d'information </h1> Loading module/Information/view/information/information/modifier.phtml +0 −1 Changes for module/Information/view/information/information/modifier.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,6 @@ use Information\Form\InformationForm; $this->headTitle("Modification d'une page d'information"); ?> <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script> <h1 class="page-header"> Modification d'une page d'information Loading public/js/form_fiche.js +26 −9 Changes for public/js/form_fiche.js: 26 added lines, 9 removed lines. Original line number Diff line number Diff line $(function () { $(document).ready(function() { // tinymce.remove(); tinymce.init({ selector: '.type2', toolbar: 'undo redo | styleselect | bold italic | bullist numlist | link', resize: true, toolbar: 'undo redo | styleselect | bold italic | bullist numlist | table link', plugins: 'lists link table', style_formats: [ {title: 'Titre 1', block: 'h2'}, {title: 'Titre 2', block: 'h3'}, {title: 'Titre 3', block: 'h4'} ], plugins: 'lists link', table_toolbar: "tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", statusbar: true, resize: true, browser_spellcheck: true, branding: false, // language: 'fr_FR', //menu: {}, menubar : 'insert', menu: {}, body_id: 'contenu', link_context_toolbar: true, setup: function (editor) { editor.on("focusout", function () { console.log(tinymce.get('contenu').getContent()); $('textarea#specificite').val(tinymce.get('contenu').getContent()); }); editor.addButton('lien', { text: 'Lien', icon: false, onclick: function () { editor.windowManager.open({ title: 'My html dialog', url: 'mydialog.html', width: 500, height: 300 }); } }); } }); }); $('.info-icon').popover({ html: true }) $(document).on("focusin", function(e) { if ($(e.target).closest(".mce-window, .moxman-window").length) { e.stopImmediatePropagation(); } }); }); No newline at end of file public/js/tinymce/LICENSE.TXTdeleted 100644 → 0 +0 −504 File deleted.Preview size limit exceeded, changes collapsed. Show changes Loading
module/Information/config/module.config.php +8 −2 Changes for module/Information/config/module.config.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ return [ 'title' => "Informations sur le doctorat et sa gestion" ], 'ecoles-doctorales' => [ 'label' => 'Les Ecoles Doctorales', 'label' => 'Les Écoles Doctorales', 'route' => 'information/ecoles-doctorales', 'title' => "Informations sur les Ecoles Doctorales et le Collège des Ecoles doctorales" ], Loading @@ -216,6 +216,12 @@ return [ 'route' => 'information/guide-these', 'title' => "Informations sur le déroulement de la thèse et formulaires administratifs à l’intention du doctorant et de ses encadrants" ], 'tinymce-doctorat' => [ 'label' => 'Le doctorat', 'route' => 'informations/afficher', 'params'=> ['id' => 61], 'title' => "Informations sur le déroulement de la thèse et formulaires administratifs à l’intention du doctorant et de ses encadrants" ], ], ], ], Loading Loading @@ -252,7 +258,7 @@ return [ ], 'public_files' => [ 'inline_scripts' => [ '100_' => 'js/tinymce/js/tinymce/tinymce.js', '100_' => 'js/tinymce/js/tinymce/tinymce.min.js', '101_' => 'js/form_fiche.js', ], ] Loading
module/Information/view/information/information/ajouter.phtml +0 −1 Changes for module/Information/view/information/information/ajouter.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ use Information\Form\InformationForm; $this->headTitle("Création d'une nouvelle page d'information"); ?> <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script> <h1 class="page-header"> Création d'une page d'information </h1> Loading
module/Information/view/information/information/modifier.phtml +0 −1 Changes for module/Information/view/information/information/modifier.phtml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,6 @@ use Information\Form\InformationForm; $this->headTitle("Modification d'une page d'information"); ?> <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script> <h1 class="page-header"> Modification d'une page d'information Loading
public/js/form_fiche.js +26 −9 Changes for public/js/form_fiche.js: 26 added lines, 9 removed lines. Original line number Diff line number Diff line $(function () { $(document).ready(function() { // tinymce.remove(); tinymce.init({ selector: '.type2', toolbar: 'undo redo | styleselect | bold italic | bullist numlist | link', resize: true, toolbar: 'undo redo | styleselect | bold italic | bullist numlist | table link', plugins: 'lists link table', style_formats: [ {title: 'Titre 1', block: 'h2'}, {title: 'Titre 2', block: 'h3'}, {title: 'Titre 3', block: 'h4'} ], plugins: 'lists link', table_toolbar: "tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", statusbar: true, resize: true, browser_spellcheck: true, branding: false, // language: 'fr_FR', //menu: {}, menubar : 'insert', menu: {}, body_id: 'contenu', link_context_toolbar: true, setup: function (editor) { editor.on("focusout", function () { console.log(tinymce.get('contenu').getContent()); $('textarea#specificite').val(tinymce.get('contenu').getContent()); }); editor.addButton('lien', { text: 'Lien', icon: false, onclick: function () { editor.windowManager.open({ title: 'My html dialog', url: 'mydialog.html', width: 500, height: 300 }); } }); } }); }); $('.info-icon').popover({ html: true }) $(document).on("focusin", function(e) { if ($(e.target).closest(".mce-window, .moxman-window").length) { e.stopImmediatePropagation(); } }); }); No newline at end of file
public/js/tinymce/LICENSE.TXTdeleted 100644 → 0 +0 −504 File deleted.Preview size limit exceeded, changes collapsed. Show changes