WordPress.org

Plugin Directory

Changeset 1580652


Ignore:
Timestamp:
01/23/17 21:10:36 (5 months ago)
Author:
pgogy
Message:

JS path
CSS path
fixed

Location:
molie-instructure-canvas-linking-tool
Files:
155 added
20 edited

Legend:

Unmodified
Added
Removed
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-assignments.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_assignments"){ 
    13                     wp_register_style( 'molie_admin_assignment_css', plugins_url() . '/molie/css/molie-admin-assignment.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_assignment_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-assignment.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_assignment_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-assignment', plugins_url() . '/molie/js/molie-admin-assignment.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-assignment', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-assignment.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-assignment', 'molie_admin_assignment',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-calendar.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_roster"){ 
    13                     wp_register_style( 'molie_admin_calendar_css', plugins_url() . '/molie/css/molie-admin-roster.css', false, '1.0.0' ); 
    14                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
     13                    wp_register_style( 'molie_admin_calendar_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-roster.css', false, '1.0.0' ); 
     14                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
    1515                    wp_enqueue_style( 'molie_admin_calendar_css' ); 
    1616                } 
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-choose.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_choose"){ 
    13                     wp_register_style( 'molie_admin_choose_css', plugins_url() . '/molie/css/molie-admin-choose.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_choose_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-choose.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_choose_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-choose', plugins_url() . '/molie/js/molie-admin-choose.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-choose', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-choose.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-choose', 'molie_admin_choose',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-discussion.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_discussions"){ 
    13                     wp_register_style( 'molie_admin_discussion_css', plugins_url() . '/molie/css/molie-admin-discussion.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_discussion_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-discussion.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_discussion_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-discussion', plugins_url() . '/molie/js/molie-admin-discussion.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-discussion', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-discussion.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-discussion', 'molie_admin_discussion',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-files.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_files"){ 
    13                     wp_register_style( 'molie_admin_file_css', plugins_url() . '/molie/css/molie-admin-file.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_file_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-file.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_file_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-file', plugins_url() . '/molie/js/molie-admin-file.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-file', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-file.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-file', 'molie_admin_file',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-link.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_link"){ 
    13                     wp_register_style( 'molie_admin_link', plugins_url() . '/molie/css/molie-admin-link.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_link', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-link.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_link' ); 
    15                     wp_enqueue_script( 'molie-admin-link', plugins_url() . '/molie/js/molie-admin-link.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-link', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-link.js', array( 'jquery' ) ); 
    1616                    wp_localize_script( 'molie-admin-link', 'molie_admin_link',  
    1717                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-quiz.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_quiz"){ 
    13                     wp_register_style( 'molie_admin_quiz_css', plugins_url() . '/molie/css/molie-admin-quiz.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_quiz_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-quiz.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_quiz_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-quiz', plugins_url() . '/molie/js/molie-admin-quiz.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-quiz', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-quiz.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-quiz', 'molie_admin_quiz',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/ingest/molie-roster.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_roster"){ 
    13                     wp_register_style( 'molie_admin_roster_css', plugins_url() . '/molie/css/molie-admin-roster.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_roster_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-roster.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_roster_css' ); 
    15                     wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie/js/molie-admin-select.js', array( 'jquery' ) ); 
    16                     wp_enqueue_script( 'molie-admin-roster', plugins_url() . '/molie/js/molie-admin-roster.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-select', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-select.js', array( 'jquery' ) ); 
     16                    wp_enqueue_script( 'molie-admin-roster', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-roster.js', array( 'jquery' ) ); 
    1717                    wp_localize_script( 'molie-admin-roster', 'molie_admin_roster',  
    1818                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/media/molie-post-save-image-handler.php

    r1523810 r1580652  
    1010         
    1111        function admin_scripts_and_styles(){ 
    12             wp_enqueue_script( 'molie-admin-upload-missing-file', plugins_url() . '/molie/js/molie-admin-upload-missing-file.js', array( 'jquery' ) ); 
     12            wp_enqueue_script( 'molie-admin-upload-missing-file', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-upload-missing-file.js', array( 'jquery' ) ); 
    1313            wp_localize_script( 'molie-admin-upload-missing-file', 'molie_admin_upload_missing_file',  
    1414                                                                            array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/mgmt/molie-course-poll.php

    r1523810 r1580652  
    4040         
    4141        function admin_scripts_and_styles(){ 
    42             wp_enqueue_script( 'molie-admin-check-diff', plugins_url() . '/molie/js/molie-admin-check-diff.js', array( 'jquery' ) ); 
     42            wp_enqueue_script( 'molie-admin-check-diff', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-check-diff.js', array( 'jquery' ) ); 
    4343            wp_localize_script( 'molie-admin-check-diff', 'molie_admin_check_diff',  
    4444                                                                            array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/mgmt/molie-media-mgmt.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_mediamgmt"){ 
    13                     wp_register_style( 'molie_admin_media_mgmt_css', plugins_url() . '/molie/css/molie-admin-media-mgmt.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_media_mgmt_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-media-mgmt.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_media_mgmt_css' ); 
    1515                } 
  • molie-instructure-canvas-linking-tool/trunk/classes/molie-course-status.php

    r1523810 r1580652  
    1111            if(isset($_GET['page'])){ 
    1212                if($_GET['page']=="molie_course_check"){ 
    13                     wp_register_style( 'molie_admin_choose_css', plugins_url() . '/molie/css/molie-admin-choose.css', false, '1.0.0' ); 
     13                    wp_register_style( 'molie_admin_choose_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-choose.css', false, '1.0.0' ); 
    1414                    wp_enqueue_style( 'molie_admin_choose_css' ); 
    15                     wp_enqueue_script( 'molie-admin-check', plugins_url() . '/molie/js/molie-admin-check.js', array( 'jquery' ) ); 
     15                    wp_enqueue_script( 'molie-admin-check', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-check.js', array( 'jquery' ) ); 
    1616                    wp_localize_script( 'molie-admin-check', 'molie_admin_check',  
    1717                                                                                    array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types/molie-course-delete.php

    r1523810 r1580652  
    66            add_action("before_delete_post", array($this, "delete_course")); 
    77            if(strpos($_SERVER["REQUEST_URI"],"edit.php?post_status=trash&post_type=linkedcanvascourse")!==FALSE){ 
    8                 wp_enqueue_script( 'molie-admin-course-delete', plugins_url() . '/molie/js/molie-admin-course-delete.js', array( 'jquery' ) ); 
     8                wp_enqueue_script( 'molie-admin-course-delete', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-course-delete.js', array( 'jquery' ) ); 
    99            } 
    1010        } 
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types_editor/molie-course-post-editor.php

    r1523810 r1580652  
    1616                if($_GET['action']=="edit" && $post->post_type=="linkedcanvascourse"){ 
    1717                    add_meta_box("linkedcanvascoursemeta",__("Edit course"),array($this,"editor")); 
    18                     wp_register_style( 'molie_admin_course_post_editor_css', plugins_url() . '/molie/css/molie-admin-course-post-editor.css', false, '1.0.0' ); 
     18                    wp_register_style( 'molie_admin_course_post_editor_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-course-post-editor.css', false, '1.0.0' ); 
    1919                    wp_enqueue_style( 'molie_admin_course_post_editor_css' ); 
    2020                } 
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types_editor/molie-linked-post-editor.php

    r1523810 r1580652  
    99     
    1010        function admin_scripts_and_styles(){ 
    11             wp_register_style( 'molie_admin_post_link_css', plugins_url() . '/molie/css/molie-admin-post-link.css', false, '1.0.0' ); 
     11            wp_register_style( 'molie_admin_post_link_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-post-link.css', false, '1.0.0' ); 
    1212            wp_enqueue_style( 'molie_admin_post_link_css' ); 
    13             wp_enqueue_script( 'molie-admin-post-course-place', plugins_url() . '/molie/js/molie-admin-post-course-place.js', array( 'jquery' ) ); 
     13            wp_enqueue_script( 'molie-admin-post-course-place', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-post-course-place.js', array( 'jquery' ) ); 
    1414            wp_localize_script( 'molie-admin-post-course-place', 'molie_admin_post_course_place',  
    1515                                                                            array(  
     
    1818                                                                                )  
    1919            ); 
    20             wp_enqueue_script( 'molie-admin-post-link', plugins_url() . '/molie/js/molie-admin-post-link.js', array( 'jquery' ) ); 
     20            wp_enqueue_script( 'molie-admin-post-link', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-post-link.js', array( 'jquery' ) ); 
    2121            wp_localize_script( 'molie-admin-post-link', 'molie_admin_post_link',  
    2222                                                                            array(  
     
    2525                                                                                )  
    2626            ); 
    27             wp_enqueue_script( 'molie-admin-post-unlink', plugins_url() . '/molie/js/molie-admin-post-unlink.js', array( 'jquery' ) ); 
     27            wp_enqueue_script( 'molie-admin-post-unlink', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-post-unlink.js', array( 'jquery' ) ); 
    2828            wp_localize_script( 'molie-admin-post-unlink', 'molie_admin_post_unlink',  
    2929                                                                            array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types_editor/molie-linked-post-pre-editor.php

    r1523810 r1580652  
    1010     
    1111        function admin_scripts_and_styles(){ 
    12             wp_register_style( 'molie_admin_link_options_css', plugins_url() . '/molie/css/molie-admin-link-options.css', false, '1.0.0' ); 
     12            wp_register_style( 'molie_admin_link_options_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-link-options.css', false, '1.0.0' ); 
    1313            wp_enqueue_style( 'molie_admin_link_options_css' ); 
    14             wp_enqueue_script( 'molie-admin-link-options', plugins_url() . '/molie/js/molie-admin-link-options.js', array( 'jquery' ) ); 
    15             wp_enqueue_script( 'molie-admin-post-update', plugins_url() . '/molie/js/molie-admin-post-update.js', array( 'jquery' ) ); 
     14            wp_enqueue_script( 'molie-admin-link-options', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-link-options.js', array( 'jquery' ) ); 
     15            wp_enqueue_script( 'molie-admin-post-update', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-post-update.js', array( 'jquery' ) ); 
    1616            wp_localize_script( 'molie-admin-post-update', 'molie_admin_post_update',  
    1717                                                                            array(  
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types_editor/molie-quiz-post-display.php

    r1523810 r1580652  
    99     
    1010        function admin_scripts_and_styles(){ 
    11             wp_enqueue_script( 'molie-admin-quiz-display', plugins_url() . '/molie/js/molie-admin-quiz-display.js', array( 'jquery' ) ); 
     11            wp_enqueue_script( 'molie-admin-quiz-display', plugins_url() . '/molie-instructure-canvas-linking-tool/js/molie-admin-quiz-display.js', array( 'jquery' ) ); 
    1212        } 
    1313         
  • molie-instructure-canvas-linking-tool/trunk/classes/post_types_editor/molie-quiz-question-post-editor.php

    r1523810 r1580652  
    1616                if($_GET['action']=="edit" && $post->post_type=="linkedcanvasqa"){ 
    1717                    add_meta_box("linkedcanvasqameta",__("Edit course"),array($this,"editor")); 
    18                     wp_register_style( 'molie_admin_qa_editor_css', plugins_url() . '/molie/css/molie-admin-qa-editor.css', false, '1.0.0' ); 
     18                    wp_register_style( 'molie_admin_qa_editor_css', plugins_url() . '/molie-instructure-canvas-linking-tool/css/molie-admin-qa-editor.css', false, '1.0.0' ); 
    1919                    wp_enqueue_style( 'molie_admin_qa_editor_css' ); 
    2020                } 
  • molie-instructure-canvas-linking-tool/trunk/molie.php

    r1523810 r1580652  
    55        Description: Linking a course between Instructure Canvas and WordPress to help create open courses 
    66        Author: pgogy 
    7         Version: 0.2 
     7        Version: 0.3 
    88    */ 
    99     
  • molie-instructure-canvas-linking-tool/trunk/readme.txt

    r1523810 r1580652  
    33Tags: Instructure Canvas, Canvas, LMS, Open Courses, Connected courses 
    44Requires at least: 3.0.1 
    5 Tested up to: 4.6.1 
    6 Stable tag: 0.2 
     5Tested up to: 4.7.1 
     6Stable tag: 0.3 
    77 
    88== Description == 
Note: See TracChangeset for help on using the changeset viewer.