From a191ff14f371e2b8a1ed8a29be3cb6cd356dc434 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 22 Apr 2013 10:58:59 -0500 Subject: [PATCH] Changed mobile template name to jquery_mobile --- main/template/default/layout/head.tpl | 1 - main/template/jqm/index/course_block.tpl | 1 - .../jqm/index/course_session_block.tpl | 1 - main/template/jqm/index/notice_block.tpl | 1 - main/template/jqm/index/skills_block.tpl | 1 - main/template/jqm/index/teacher_block.tpl | 1 - main/template/jqm/userportal/course_page.tpl | 2 -- main/template/jqm/userportal/index.tpl | 1 - .../admin/settings_index.tpl | 4 +-- .../{jqm => jquery_mobile}/agenda/month.tpl | 6 ++-- .../auth/categories_list.php | 0 .../auth/courses_categories.php | 0 .../auth/courses_list.php | 0 .../{jqm => jquery_mobile}/auth/layout.php | 0 .../course_description/edit.tpl | 0 .../course_description/index.tpl | 0 .../course_description/upload.tpl | 0 .../create_course/add_course.tpl | 4 +-- .../export/table_pdf.tpl | 0 .../form/form_custom_template.tpl | 36 +++++++++---------- .../{jqm => jquery_mobile}/glossary/csv.tpl | 0 .../{jqm => jquery_mobile}/glossary/edit.tpl | 4 +-- .../glossary/header.tpl | 0 .../{jqm => jquery_mobile}/glossary/index.tpl | 8 ++--- .../glossary/javascript.tpl | 0 .../{jqm => jquery_mobile}/glossary/list.tpl | 0 .../{jqm => jquery_mobile}/glossary/table.tpl | 0 .../glossary/upload.tpl | 4 +-- .../jquery_mobile/index/course_block.tpl | 1 + .../index/course_session_block.tpl | 1 + .../index/help_block.tpl | 4 +-- .../jquery_mobile/index/notice_block.tpl | 1 + .../index/profile_block.tpl | 4 +-- .../index/profile_social_block.tpl | 4 +-- .../jquery_mobile/index/skills_block.tpl | 1 + .../jquery_mobile/index/teacher_block.tpl | 1 + .../index/user_image_block.tpl | 4 +-- .../{jqm => jquery_mobile}/layout/blank.tpl | 0 .../layout/block_menu.tpl | 0 .../layout/course_navigation.tpl | 0 .../{jqm => jquery_mobile}/layout/error.tpl | 2 +- .../{jqm => jquery_mobile}/layout/footer.tpl | 0 .../{jqm => jquery_mobile}/layout/head.tpl | 0 .../layout/hot_course_item.tpl | 0 .../layout/hot_course_item_popup.tpl | 0 .../layout/hot_courses.tpl | 2 +- .../layout/layout_1_col.tpl | 4 +-- .../layout/layout_2_col.tpl | 28 +++++++-------- .../layout/layout_3_col.tpl | 2 +- .../layout/login_form.tpl | 0 .../{jqm => jquery_mobile}/layout/main.tpl | 6 ++-- .../layout/main_footer.tpl | 2 +- .../layout/main_header.tpl | 8 ++--- .../{jqm => jquery_mobile}/layout/menu.tpl | 0 .../layout/no_layout.tpl | 2 +- .../layout/page_body.tpl | 2 +- .../layout/page_post_body.tpl | 0 .../layout/show_footer.tpl | 2 +- .../layout/show_header.tpl | 4 +-- .../{jqm => jquery_mobile}/layout/sniff.tpl | 0 .../layout/social_layout.tpl | 2 +- .../{jqm => jquery_mobile}/layout/topbar.tpl | 0 .../layout/welcome_to_course.tpl | 0 .../learnpath/impress.tpl | 0 .../learnpath/subscribe_users.tpl | 4 +-- .../link/edit_category.tpl | 0 .../{jqm => jquery_mobile}/link/edit_link.tpl | 0 .../{jqm => jquery_mobile}/link/index.tpl | 0 .../mail_editor/email_link.js.tpl | 4 +-- .../notebook/edit.tpl} | 5 +-- .../notebook/header.tpl | 0 .../{jqm => jquery_mobile}/notebook/index.tpl | 6 ++-- .../notebook/javascript.tpl | 0 .../{jqm => jquery_mobile}/notebook/list.tpl | 0 .../notebook/upload.tpl} | 3 +- .../{jqm => jquery_mobile}/pages/add.tpl | 4 +-- .../{jqm => jquery_mobile}/pages/listing.tpl | 4 +-- .../{jqm => jquery_mobile}/pages/show.tpl | 4 +-- .../{jqm => jquery_mobile}/skill/profile.tpl | 0 .../skill/profile_item.tpl | 0 .../skill/skill_ranking.tpl | 0 .../skill/skill_tree.tpl | 0 .../skill/skill_tree_student.tpl | 4 +-- .../skill/skill_wheel.js.tpl | 2 +- .../skill/skill_wheel.tpl | 4 +-- .../skill/skill_wheel_student.tpl | 2 +- .../skill/user_skills.tpl | 0 .../userportal/course_item.tpl | 0 .../jquery_mobile/userportal/course_page.tpl | 2 ++ .../jquery_mobile/userportal/index.tpl | 1 + .../{jqm => jquery_mobile}/work/view.tpl | 0 91 files changed, 105 insertions(+), 106 deletions(-) delete mode 100644 main/template/jqm/index/course_block.tpl delete mode 100644 main/template/jqm/index/course_session_block.tpl delete mode 100644 main/template/jqm/index/notice_block.tpl delete mode 100644 main/template/jqm/index/skills_block.tpl delete mode 100644 main/template/jqm/index/teacher_block.tpl delete mode 100644 main/template/jqm/userportal/course_page.tpl delete mode 100644 main/template/jqm/userportal/index.tpl rename main/template/{jqm => jquery_mobile}/admin/settings_index.tpl (95%) rename main/template/{jqm => jquery_mobile}/agenda/month.tpl (99%) rename main/template/{jqm => jquery_mobile}/auth/categories_list.php (100%) rename main/template/{jqm => jquery_mobile}/auth/courses_categories.php (100%) rename main/template/{jqm => jquery_mobile}/auth/courses_list.php (100%) rename main/template/{jqm => jquery_mobile}/auth/layout.php (100%) rename main/template/{jqm => jquery_mobile}/course_description/edit.tpl (100%) rename main/template/{jqm => jquery_mobile}/course_description/index.tpl (100%) rename main/template/{jqm => jquery_mobile}/course_description/upload.tpl (100%) rename main/template/{jqm => jquery_mobile}/create_course/add_course.tpl (96%) rename main/template/{jqm => jquery_mobile}/export/table_pdf.tpl (100%) rename main/template/{jqm => jquery_mobile}/form/form_custom_template.tpl (94%) rename main/template/{jqm => jquery_mobile}/glossary/csv.tpl (100%) rename main/template/{jqm => jquery_mobile}/glossary/edit.tpl (65%) rename main/template/{jqm => jquery_mobile}/glossary/header.tpl (100%) rename main/template/{jqm => jquery_mobile}/glossary/index.tpl (85%) rename main/template/{jqm => jquery_mobile}/glossary/javascript.tpl (100%) rename main/template/{jqm => jquery_mobile}/glossary/list.tpl (100%) rename main/template/{jqm => jquery_mobile}/glossary/table.tpl (100%) rename main/template/{jqm => jquery_mobile}/glossary/upload.tpl (65%) create mode 100644 main/template/jquery_mobile/index/course_block.tpl create mode 100644 main/template/jquery_mobile/index/course_session_block.tpl rename main/template/{jqm => jquery_mobile}/index/help_block.tpl (72%) create mode 100644 main/template/jquery_mobile/index/notice_block.tpl rename main/template/{jqm => jquery_mobile}/index/profile_block.tpl (87%) rename main/template/{jqm => jquery_mobile}/index/profile_social_block.tpl (90%) create mode 100644 main/template/jquery_mobile/index/skills_block.tpl create mode 100644 main/template/jquery_mobile/index/teacher_block.tpl rename main/template/{jqm => jquery_mobile}/index/user_image_block.tpl (69%) rename main/template/{jqm => jquery_mobile}/layout/blank.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/block_menu.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/course_navigation.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/error.tpl (64%) rename main/template/{jqm => jquery_mobile}/layout/footer.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/head.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/hot_course_item.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/hot_course_item_popup.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/hot_courses.tpl (95%) rename main/template/{jqm => jquery_mobile}/layout/layout_1_col.tpl (88%) rename main/template/{jqm => jquery_mobile}/layout/layout_2_col.tpl (75%) rename main/template/{jqm => jquery_mobile}/layout/layout_3_col.tpl (91%) rename main/template/{jqm => jquery_mobile}/layout/login_form.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/main.tpl (70%) rename main/template/{jqm => jquery_mobile}/layout/main_footer.tpl (52%) rename main/template/{jqm => jquery_mobile}/layout/main_header.tpl (94%) rename main/template/{jqm => jquery_mobile}/layout/menu.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/no_layout.tpl (92%) rename main/template/{jqm => jquery_mobile}/layout/page_body.tpl (89%) rename main/template/{jqm => jquery_mobile}/layout/page_post_body.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/show_footer.tpl (92%) rename main/template/{jqm => jquery_mobile}/layout/show_header.tpl (83%) rename main/template/{jqm => jquery_mobile}/layout/sniff.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/social_layout.tpl (89%) rename main/template/{jqm => jquery_mobile}/layout/topbar.tpl (100%) rename main/template/{jqm => jquery_mobile}/layout/welcome_to_course.tpl (100%) rename main/template/{jqm => jquery_mobile}/learnpath/impress.tpl (100%) rename main/template/{jqm => jquery_mobile}/learnpath/subscribe_users.tpl (96%) rename main/template/{jqm => jquery_mobile}/link/edit_category.tpl (100%) rename main/template/{jqm => jquery_mobile}/link/edit_link.tpl (100%) rename main/template/{jqm => jquery_mobile}/link/index.tpl (100%) rename main/template/{jqm => jquery_mobile}/mail_editor/email_link.js.tpl (97%) rename main/template/{jqm/notebook/upload.tpl => jquery_mobile/notebook/edit.tpl} (65%) rename main/template/{jqm => jquery_mobile}/notebook/header.tpl (100%) rename main/template/{jqm => jquery_mobile}/notebook/index.tpl (90%) rename main/template/{jqm => jquery_mobile}/notebook/javascript.tpl (100%) rename main/template/{jqm => jquery_mobile}/notebook/list.tpl (100%) rename main/template/{jqm/notebook/edit.tpl => jquery_mobile/notebook/upload.tpl} (75%) rename main/template/{jqm => jquery_mobile}/pages/add.tpl (71%) rename main/template/{jqm => jquery_mobile}/pages/listing.tpl (84%) rename main/template/{jqm => jquery_mobile}/pages/show.tpl (61%) rename main/template/{jqm => jquery_mobile}/skill/profile.tpl (100%) rename main/template/{jqm => jquery_mobile}/skill/profile_item.tpl (100%) rename main/template/{jqm => jquery_mobile}/skill/skill_ranking.tpl (100%) rename main/template/{jqm => jquery_mobile}/skill/skill_tree.tpl (100%) rename main/template/{jqm => jquery_mobile}/skill/skill_tree_student.tpl (99%) rename main/template/{jqm => jquery_mobile}/skill/skill_wheel.js.tpl (99%) rename main/template/{jqm => jquery_mobile}/skill/skill_wheel.tpl (99%) rename main/template/{jqm => jquery_mobile}/skill/skill_wheel_student.tpl (99%) rename main/template/{jqm => jquery_mobile}/skill/user_skills.tpl (100%) rename main/template/{jqm => jquery_mobile}/userportal/course_item.tpl (100%) create mode 100644 main/template/jquery_mobile/userportal/course_page.tpl create mode 100644 main/template/jquery_mobile/userportal/index.tpl rename main/template/{jqm => jquery_mobile}/work/view.tpl (100%) diff --git a/main/template/default/layout/head.tpl b/main/template/default/layout/head.tpl index 14eef970de..a77a592594 100644 --- a/main/template/default/layout/head.tpl +++ b/main/template/default/layout/head.tpl @@ -9,7 +9,6 @@ {# Use the latest engine in ie8/ie9 or use google chrome engine if available #} {# Improve usability in portal devices #} - {{ title_string }} {{ css_file_to_string }} {{ css_style_print }} diff --git a/main/template/jqm/index/course_block.tpl b/main/template/jqm/index/course_block.tpl deleted file mode 100644 index 70f218bb0a..0000000000 --- a/main/template/jqm/index/course_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': course_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/course_session_block.tpl b/main/template/jqm/index/course_session_block.tpl deleted file mode 100644 index 23b6c35e27..0000000000 --- a/main/template/jqm/index/course_session_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': course_session_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/notice_block.tpl b/main/template/jqm/index/notice_block.tpl deleted file mode 100644 index e6205c3492..0000000000 --- a/main/template/jqm/index/notice_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': notice_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/skills_block.tpl b/main/template/jqm/index/skills_block.tpl deleted file mode 100644 index d27587a19d..0000000000 --- a/main/template/jqm/index/skills_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': skills_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/teacher_block.tpl b/main/template/jqm/index/teacher_block.tpl deleted file mode 100644 index c9dd5c96ae..0000000000 --- a/main/template/jqm/index/teacher_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': teacher_block} %} \ No newline at end of file diff --git a/main/template/jqm/userportal/course_page.tpl b/main/template/jqm/userportal/course_page.tpl deleted file mode 100644 index be719a0472..0000000000 --- a/main/template/jqm/userportal/course_page.tpl +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "default/layout/layout_2_col.tpl" %} - diff --git a/main/template/jqm/userportal/index.tpl b/main/template/jqm/userportal/index.tpl deleted file mode 100644 index 4fd1b8f775..0000000000 --- a/main/template/jqm/userportal/index.tpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "default/layout/layout_2_col.tpl" %} \ No newline at end of file diff --git a/main/template/jqm/admin/settings_index.tpl b/main/template/jquery_mobile/admin/settings_index.tpl similarity index 95% rename from main/template/jqm/admin/settings_index.tpl rename to main/template/jquery_mobile/admin/settings_index.tpl index 337b31b92b..81b6ff5d2e 100644 --- a/main/template/jqm/admin/settings_index.tpl +++ b/main/template/jquery_mobile/admin/settings_index.tpl @@ -1,4 +1,4 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %} \ No newline at end of file + diff --git a/main/template/jqm/notebook/upload.tpl b/main/template/jquery_mobile/notebook/edit.tpl similarity index 65% rename from main/template/jqm/notebook/upload.tpl rename to main/template/jquery_mobile/notebook/edit.tpl index 54dc5810fe..1bc933d8c7 100644 --- a/main/template/jqm/notebook/upload.tpl +++ b/main/template/jquery_mobile/notebook/edit.tpl @@ -1,4 +1,5 @@ -{% include 'default/notebook/header.tpl' %} + +{% include 'jquery_mobile/notebook/header.tpl' %}
@@ -6,4 +7,4 @@
-{{form.return_form()}} \ No newline at end of file +{{form.return_form()}} diff --git a/main/template/jqm/notebook/header.tpl b/main/template/jquery_mobile/notebook/header.tpl similarity index 100% rename from main/template/jqm/notebook/header.tpl rename to main/template/jquery_mobile/notebook/header.tpl diff --git a/main/template/jqm/notebook/index.tpl b/main/template/jquery_mobile/notebook/index.tpl similarity index 90% rename from main/template/jqm/notebook/index.tpl rename to main/template/jquery_mobile/notebook/index.tpl index 33223a7398..524b52ec5c 100644 --- a/main/template/jqm/notebook/index.tpl +++ b/main/template/jquery_mobile/notebook/index.tpl @@ -1,5 +1,5 @@ -{% include 'default/notebook/header.tpl' %} -{% include 'default/notebook/javascript.tpl' %} +{% include 'jquery_mobile/notebook/header.tpl' %} +{% include 'jquery_mobile/notebook/javascript.tpl' %}
{% if is_allowed_to_edit %} @@ -37,5 +37,5 @@
-{% include 'default/notebook/list.tpl' %} +{% include 'jquery_mobile/notebook/list.tpl' %} diff --git a/main/template/jqm/notebook/javascript.tpl b/main/template/jquery_mobile/notebook/javascript.tpl similarity index 100% rename from main/template/jqm/notebook/javascript.tpl rename to main/template/jquery_mobile/notebook/javascript.tpl diff --git a/main/template/jqm/notebook/list.tpl b/main/template/jquery_mobile/notebook/list.tpl similarity index 100% rename from main/template/jqm/notebook/list.tpl rename to main/template/jquery_mobile/notebook/list.tpl diff --git a/main/template/jqm/notebook/edit.tpl b/main/template/jquery_mobile/notebook/upload.tpl similarity index 75% rename from main/template/jqm/notebook/edit.tpl rename to main/template/jquery_mobile/notebook/upload.tpl index 244ffab0dc..0ca4792fa3 100644 --- a/main/template/jqm/notebook/edit.tpl +++ b/main/template/jquery_mobile/notebook/upload.tpl @@ -1,5 +1,4 @@ - -{% include 'default/notebook/header.tpl' %} +{% include 'jquery_mobile/notebook/header.tpl' %}
diff --git a/main/template/jqm/pages/add.tpl b/main/template/jquery_mobile/pages/add.tpl similarity index 71% rename from main/template/jqm/pages/add.tpl rename to main/template/jquery_mobile/pages/add.tpl index 57eaabf34e..6087e2f03a 100755 --- a/main/template/jqm/pages/add.tpl +++ b/main/template/jquery_mobile/pages/add.tpl @@ -1,8 +1,8 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %}
{{ form_widget(form) }}
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/pages/listing.tpl b/main/template/jquery_mobile/pages/listing.tpl similarity index 84% rename from main/template/jqm/pages/listing.tpl rename to main/template/jquery_mobile/pages/listing.tpl index 72ae7d53da..1e97581e8d 100755 --- a/main/template/jqm/pages/listing.tpl +++ b/main/template/jquery_mobile/pages/listing.tpl @@ -1,4 +1,4 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %} {% for page in pages %} @@ -11,4 +11,4 @@
{% endfor %} {{ pagination }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/pages/show.tpl b/main/template/jquery_mobile/pages/show.tpl similarity index 61% rename from main/template/jqm/pages/show.tpl rename to main/template/jquery_mobile/pages/show.tpl index e786091bf3..d99cf4671e 100755 --- a/main/template/jqm/pages/show.tpl +++ b/main/template/jquery_mobile/pages/show.tpl @@ -1,8 +1,8 @@ -{% extends 'default/layout/layout_1_col.tpl' %} +{% extends 'jquery_mobile/layout/layout_1_col.tpl' %} {% block content %} {{ page|var_dump}} {{ page.title }} {{ page.slug }} {{ page.content }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/skill/profile.tpl b/main/template/jquery_mobile/skill/profile.tpl similarity index 100% rename from main/template/jqm/skill/profile.tpl rename to main/template/jquery_mobile/skill/profile.tpl diff --git a/main/template/jqm/skill/profile_item.tpl b/main/template/jquery_mobile/skill/profile_item.tpl similarity index 100% rename from main/template/jqm/skill/profile_item.tpl rename to main/template/jquery_mobile/skill/profile_item.tpl diff --git a/main/template/jqm/skill/skill_ranking.tpl b/main/template/jquery_mobile/skill/skill_ranking.tpl similarity index 100% rename from main/template/jqm/skill/skill_ranking.tpl rename to main/template/jquery_mobile/skill/skill_ranking.tpl diff --git a/main/template/jqm/skill/skill_tree.tpl b/main/template/jquery_mobile/skill/skill_tree.tpl similarity index 100% rename from main/template/jqm/skill/skill_tree.tpl rename to main/template/jquery_mobile/skill/skill_tree.tpl diff --git a/main/template/jqm/skill/skill_tree_student.tpl b/main/template/jquery_mobile/skill/skill_tree_student.tpl similarity index 99% rename from main/template/jqm/skill/skill_tree_student.tpl rename to main/template/jquery_mobile/skill/skill_tree_student.tpl index fdb7dab51c..f3fce80b6e 100644 --- a/main/template/jqm/skill/skill_tree_student.tpl +++ b/main/template/jquery_mobile/skill/skill_tree_student.tpl @@ -166,7 +166,7 @@ jsPlumb.bind("ready", function() { ;(function() { window.jsPlumbDemo = { init : function() { - console.log('Import defaults'); + console.log('Import defaults'); jsPlumb.Defaults.Anchors = [ "BottomCenter", "TopCenter" ]; jsPlumb.Defaults.Container = "skill_tree"; @@ -213,4 +213,4 @@ $(document).ready( function() {
- \ No newline at end of file + diff --git a/main/template/jqm/skill/skill_wheel.js.tpl b/main/template/jquery_mobile/skill/skill_wheel.js.tpl similarity index 99% rename from main/template/jqm/skill/skill_wheel.js.tpl rename to main/template/jquery_mobile/skill/skill_wheel.js.tpl index 74de28a41b..d680680988 100644 --- a/main/template/jqm/skill/skill_wheel.js.tpl +++ b/main/template/jquery_mobile/skill/skill_wheel.js.tpl @@ -1,5 +1,5 @@ {# topbar #} -{% include "default/layout/topbar.tpl" %} +{% include "jquery_mobile/layout/topbar.tpl" %}