From e7505492baac857bb1565f379469f9bdd51d9593 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 27 Jul 2011 19:02:48 +0200 Subject: [PATCH] Now we can add/edit more fast the Thematic plan thanks to some jquery tricks, the Thematic advance will modify later --- main/course_progress/index.php | 46 ++++++++++++++- main/course_progress/layout.php | 4 +- main/course_progress/layout_headerless.php | 14 +++++ main/course_progress/thematic.php | 60 +++----------------- main/course_progress/thematic_advance.php | 2 + main/course_progress/thematic_controller.php | 30 +++------- main/course_progress/thematic_plan.php | 15 ++--- main/inc/ajax/thematic.ajax.php | 16 ++++++ main/inc/lib/events.lib.inc.php | 5 +- main/inc/lib/thematic.lib.php | 52 +++++++++++++++++ 10 files changed, 158 insertions(+), 86 deletions(-) create mode 100644 main/course_progress/layout_headerless.php diff --git a/main/course_progress/index.php b/main/course_progress/index.php index 19d1d31404..cff739d53d 100755 --- a/main/course_progress/index.php +++ b/main/course_progress/index.php @@ -79,8 +79,9 @@ if (!empty($thematic_id)) { // get default thematic plan title $default_thematic_plan_title = $thematic->get_default_thematic_plan_title(); -//jquery thickbox already called from main/inc/header.inc.php +$htmlHeadXtra[] = api_get_jquery_ui_js(); + $htmlHeadXtra[] = '