Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15434 | Rev 15436 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15434 Rev 15435
Línea 831... Línea 831...
831
 
831
 
832
    $('#select-competency').select2({
832
    $('#select-competency').select2({
833
        theme: 'bootstrap4',
833
        theme: 'bootstrap4',
834
        width: '100%',
834
        width: '100%',
835
    });
-
 
836
 
-
 
837
    CKEDITOR.editorConfig = function( config ) {
-
 
838
        config.toolbar = [ 'Source', '-', 'Bold', 'Italic' ];
-
 
839
        config.removePlugins = 'elementspath,save,font';    
-
 
840
    };
-
 
Línea 841... Línea 835...
841
    
835
    });
842
    
836
    
843
    CKEDITOR.replace('functions');
837
    CKEDITOR.replace('functions');
844
    CKEDITOR.replace('objectives');
-
 
845
    
838
    CKEDITOR.replace('objectives');
Línea 846... Línea 839...
846
    CKEDITOR.editorConfig() 
839
 
847
});
840
});
848
 
841
 
Línea 988... Línea 981...
988
 
981
 
989
                                echo $this->formLabel($element);
982
                                echo $this->formLabel($element);
990
                                echo $this->formTextArea($element);
983
                                echo $this->formTextArea($element);
991
                                ?>
984
                                ?>
-
 
985
                            </div>
-
 
986
                            <script>
-
 
987
                                CKEDITOR.replace('objectives', {
-
 
988
                                    toolbar: [{
-
 
989
                                            name: 'editing',
-
 
990
                                            items: ['Scayt']
-
 
991
                                        },
-
 
992
                                        {
-
 
993
                                            name: 'links',
-
 
994
                                            items: ['Link', 'Unlink']
-
 
995
                                        },
-
 
996
                                        {
-
 
997
                                            name: 'paragraph',
-
 
998
                                            items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote']
-
 
999
                                        },
-
 
1000
                                        {
-
 
1001
                                            name: 'basicstyles',
-
 
1002
                                            items: ['Bold', 'Italic', 'Strike', 'RemoveFormat']
-
 
1003
                                        },
-
 
1004
                                        '/',
-
 
1005
                                        {
-
 
1006
                                            name: 'insert',
-
 
1007
                                            items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar']
-
 
1008
                                        },
-
 
1009
                                        {
-
 
1010
                                            name: 'styles',
-
 
1011
                                            items: ['Styles', 'Format']
-
 
1012
                                        },
-
 
1013
                                        {
-
 
1014
                                            name: 'tools',
-
 
1015
                                            items: ['Maximize']
-
 
1016
                                        }
-
 
1017
                                    ],
-
 
1018
                                    removePlugins: 'elementspath,Anchor',
-
 
1019
                                    heigth: 100
-
 
1020
                                });
992
                            </div>
1021
                            </script>
993
                            <div class="form-group">
1022
                            <div class="form-group">
994
                                <?php
1023
                                <?php
995
                                $element = $form->get('functions');
1024
                                $element = $form->get('functions');
996
                                $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
1025
                                $element->setOptions(['label' => 'LABEL_FUNCTIONS']);