Browse Source

Changed mobile template name to jquery_mobile

Yannick Warnier 12 years ago
parent
commit
a191ff14f3
91 changed files with 105 additions and 106 deletions
  1. 0 1
      main/template/default/layout/head.tpl
  2. 0 1
      main/template/jqm/index/course_block.tpl
  3. 0 1
      main/template/jqm/index/course_session_block.tpl
  4. 0 1
      main/template/jqm/index/notice_block.tpl
  5. 0 1
      main/template/jqm/index/skills_block.tpl
  6. 0 1
      main/template/jqm/index/teacher_block.tpl
  7. 0 2
      main/template/jqm/userportal/course_page.tpl
  8. 0 1
      main/template/jqm/userportal/index.tpl
  9. 2 2
      main/template/jquery_mobile/admin/settings_index.tpl
  10. 3 3
      main/template/jquery_mobile/agenda/month.tpl
  11. 0 0
      main/template/jquery_mobile/auth/categories_list.php
  12. 0 0
      main/template/jquery_mobile/auth/courses_categories.php
  13. 0 0
      main/template/jquery_mobile/auth/courses_list.php
  14. 0 0
      main/template/jquery_mobile/auth/layout.php
  15. 0 0
      main/template/jquery_mobile/course_description/edit.tpl
  16. 0 0
      main/template/jquery_mobile/course_description/index.tpl
  17. 0 0
      main/template/jquery_mobile/course_description/upload.tpl
  18. 2 2
      main/template/jquery_mobile/create_course/add_course.tpl
  19. 0 0
      main/template/jquery_mobile/export/table_pdf.tpl
  20. 18 18
      main/template/jquery_mobile/form/form_custom_template.tpl
  21. 0 0
      main/template/jquery_mobile/glossary/csv.tpl
  22. 2 2
      main/template/jquery_mobile/glossary/edit.tpl
  23. 0 0
      main/template/jquery_mobile/glossary/header.tpl
  24. 4 4
      main/template/jquery_mobile/glossary/index.tpl
  25. 0 0
      main/template/jquery_mobile/glossary/javascript.tpl
  26. 0 0
      main/template/jquery_mobile/glossary/list.tpl
  27. 0 0
      main/template/jquery_mobile/glossary/table.tpl
  28. 2 2
      main/template/jquery_mobile/glossary/upload.tpl
  29. 1 0
      main/template/jquery_mobile/index/course_block.tpl
  30. 1 0
      main/template/jquery_mobile/index/course_session_block.tpl
  31. 2 2
      main/template/jquery_mobile/index/help_block.tpl
  32. 1 0
      main/template/jquery_mobile/index/notice_block.tpl
  33. 2 2
      main/template/jquery_mobile/index/profile_block.tpl
  34. 2 2
      main/template/jquery_mobile/index/profile_social_block.tpl
  35. 1 0
      main/template/jquery_mobile/index/skills_block.tpl
  36. 1 0
      main/template/jquery_mobile/index/teacher_block.tpl
  37. 2 2
      main/template/jquery_mobile/index/user_image_block.tpl
  38. 0 0
      main/template/jquery_mobile/layout/blank.tpl
  39. 0 0
      main/template/jquery_mobile/layout/block_menu.tpl
  40. 0 0
      main/template/jquery_mobile/layout/course_navigation.tpl
  41. 1 1
      main/template/jquery_mobile/layout/error.tpl
  42. 0 0
      main/template/jquery_mobile/layout/footer.tpl
  43. 0 0
      main/template/jquery_mobile/layout/head.tpl
  44. 0 0
      main/template/jquery_mobile/layout/hot_course_item.tpl
  45. 0 0
      main/template/jquery_mobile/layout/hot_course_item_popup.tpl
  46. 1 1
      main/template/jquery_mobile/layout/hot_courses.tpl
  47. 2 2
      main/template/jquery_mobile/layout/layout_1_col.tpl
  48. 14 14
      main/template/jquery_mobile/layout/layout_2_col.tpl
  49. 1 1
      main/template/jquery_mobile/layout/layout_3_col.tpl
  50. 0 0
      main/template/jquery_mobile/layout/login_form.tpl
  51. 3 3
      main/template/jquery_mobile/layout/main.tpl
  52. 1 1
      main/template/jquery_mobile/layout/main_footer.tpl
  53. 4 4
      main/template/jquery_mobile/layout/main_header.tpl
  54. 0 0
      main/template/jquery_mobile/layout/menu.tpl
  55. 1 1
      main/template/jquery_mobile/layout/no_layout.tpl
  56. 1 1
      main/template/jquery_mobile/layout/page_body.tpl
  57. 0 0
      main/template/jquery_mobile/layout/page_post_body.tpl
  58. 1 1
      main/template/jquery_mobile/layout/show_footer.tpl
  59. 2 2
      main/template/jquery_mobile/layout/show_header.tpl
  60. 0 0
      main/template/jquery_mobile/layout/sniff.tpl
  61. 1 1
      main/template/jquery_mobile/layout/social_layout.tpl
  62. 0 0
      main/template/jquery_mobile/layout/topbar.tpl
  63. 0 0
      main/template/jquery_mobile/layout/welcome_to_course.tpl
  64. 0 0
      main/template/jquery_mobile/learnpath/impress.tpl
  65. 2 2
      main/template/jquery_mobile/learnpath/subscribe_users.tpl
  66. 0 0
      main/template/jquery_mobile/link/edit_category.tpl
  67. 0 0
      main/template/jquery_mobile/link/edit_link.tpl
  68. 0 0
      main/template/jquery_mobile/link/index.tpl
  69. 2 2
      main/template/jquery_mobile/mail_editor/email_link.js.tpl
  70. 3 2
      main/template/jquery_mobile/notebook/edit.tpl
  71. 0 0
      main/template/jquery_mobile/notebook/header.tpl
  72. 3 3
      main/template/jquery_mobile/notebook/index.tpl
  73. 0 0
      main/template/jquery_mobile/notebook/javascript.tpl
  74. 0 0
      main/template/jquery_mobile/notebook/list.tpl
  75. 1 2
      main/template/jquery_mobile/notebook/upload.tpl
  76. 2 2
      main/template/jquery_mobile/pages/add.tpl
  77. 2 2
      main/template/jquery_mobile/pages/listing.tpl
  78. 2 2
      main/template/jquery_mobile/pages/show.tpl
  79. 0 0
      main/template/jquery_mobile/skill/profile.tpl
  80. 0 0
      main/template/jquery_mobile/skill/profile_item.tpl
  81. 0 0
      main/template/jquery_mobile/skill/skill_ranking.tpl
  82. 0 0
      main/template/jquery_mobile/skill/skill_tree.tpl
  83. 2 2
      main/template/jquery_mobile/skill/skill_tree_student.tpl
  84. 1 1
      main/template/jquery_mobile/skill/skill_wheel.js.tpl
  85. 2 2
      main/template/jquery_mobile/skill/skill_wheel.tpl
  86. 1 1
      main/template/jquery_mobile/skill/skill_wheel_student.tpl
  87. 0 0
      main/template/jquery_mobile/skill/user_skills.tpl
  88. 0 0
      main/template/jquery_mobile/userportal/course_item.tpl
  89. 2 0
      main/template/jquery_mobile/userportal/course_page.tpl
  90. 1 0
      main/template/jquery_mobile/userportal/index.tpl
  91. 0 0
      main/template/jquery_mobile/work/view.tpl

+ 0 - 1
main/template/default/layout/head.tpl

@@ -9,7 +9,6 @@
 <meta name="Generator" content="{{ _s.software_name }} {{ _s.system_version|slice(0,1) }}" />
 {#  Use the latest engine in ie8/ie9 or use google chrome engine if available  #}
 {#  Improve usability in portal devices #}
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
 <title>{{ title_string }}</title>
 {{ css_file_to_string }}
 {{ css_style_print }}

+ 0 - 1
main/template/jqm/index/course_block.tpl

@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': course_block} %}

+ 0 - 1
main/template/jqm/index/course_session_block.tpl

@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': course_session_block} %}

+ 0 - 1
main/template/jqm/index/notice_block.tpl

@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': notice_block} %}

+ 0 - 1
main/template/jqm/index/skills_block.tpl

@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': skills_block} %}

+ 0 - 1
main/template/jqm/index/teacher_block.tpl

@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': teacher_block} %}

+ 0 - 2
main/template/jqm/userportal/course_page.tpl

@@ -1,2 +0,0 @@
-{% extends "default/layout/layout_2_col.tpl" %}
-

+ 0 - 1
main/template/jqm/userportal/index.tpl

@@ -1 +0,0 @@
-{% extends "default/layout/layout_2_col.tpl" %}

+ 2 - 2
main/template/jqm/admin/settings_index.tpl → 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 %}
 <script>
 $(function() {
@@ -45,4 +45,4 @@ $(function() {
     {% endfor %}
     </div>
 </div>
-{% endblock %}
+{% endblock %}

+ 3 - 3
main/template/jqm/agenda/month.tpl → main/template/jquery_mobile/agenda/month.tpl

@@ -1,4 +1,4 @@
-{% extends "default/layout/layout_1_col.tpl" %}
+{% extends "jquery_mobile/layout/layout_1_col.tpl" %}
 {% block content %}
 <script>
 function checkLength( o, n, min, max ) {
@@ -136,7 +136,7 @@ $(document).ready(function() {
 			//Cleans the selected attr
 		    clean_user_select();
 
-            //Sets the 1st item selected by default
+            //Sets the 1st item selected by jquery_mobile
             //$('#users_to_send_id option').eq(0).attr('selected', 'selected');
 
 			//Update chz-select
@@ -509,4 +509,4 @@ $(document).ready(function() {
 <div id="loading" style="margin-left:150px;position:absolute;display:none">{{"Loading"|get_lang}}...</div>
 <div id="calendar"></div>
 
-{% endblock %}
+{% endblock %}

+ 0 - 0
main/template/jqm/auth/categories_list.php → main/template/jquery_mobile/auth/categories_list.php


+ 0 - 0
main/template/jqm/auth/courses_categories.php → main/template/jquery_mobile/auth/courses_categories.php


+ 0 - 0
main/template/jqm/auth/courses_list.php → main/template/jquery_mobile/auth/courses_list.php


+ 0 - 0
main/template/jqm/auth/layout.php → main/template/jquery_mobile/auth/layout.php


+ 0 - 0
main/template/jqm/course_description/edit.tpl → main/template/jquery_mobile/course_description/edit.tpl


+ 0 - 0
main/template/jqm/course_description/index.tpl → main/template/jquery_mobile/course_description/index.tpl


+ 0 - 0
main/template/jqm/course_description/upload.tpl → main/template/jquery_mobile/course_description/upload.tpl


+ 2 - 2
main/template/jqm/create_course/add_course.tpl → main/template/jquery_mobile/create_course/add_course.tpl

@@ -1,4 +1,4 @@
-{% extends "default/layout/layout_1_col.tpl" %}
+{% extends "jquery_mobile/layout/layout_1_col.tpl" %}
 
 {% block content %}
 
@@ -55,4 +55,4 @@
     </div>
 </div>
 <div class="clear"></div>
-{% endblock %}
+{% endblock %}

+ 0 - 0
main/template/jqm/export/table_pdf.tpl → main/template/jquery_mobile/export/table_pdf.tpl


+ 18 - 18
main/template/jqm/form/form_custom_template.tpl → main/template/jquery_mobile/form/form_custom_template.tpl

@@ -12,7 +12,7 @@
 
 {% block form_widget_simple %}
 {% spaceless %}
-    {% set type = type|default('text') %}
+    {% set type = type|jquery_mobile('text') %}
     {% if attr.prepend_input is defined and attr.append_input is defined and attr.prepend_input is not empty and attr.append_input is not empty %}
         {{ block('form_widget_prepend_append_input') }}
     {% elseif attr.prepend_input is defined and attr.prepend_input is not empty %}
@@ -200,14 +200,14 @@
 {% block number_widget %}
 {% spaceless %}
     {# type="number" doesn't work with floats #}
-    {% set type = type|default('text') %}
+    {% set type = type|jquery_mobile('text') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock number_widget %}
 
 {% block integer_widget %}
 {% spaceless %}
-    {% set type = type|default('number') %}
+    {% set type = type|jquery_mobile('number') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock integer_widget %}
@@ -220,43 +220,43 @@
 
 {% block url_widget %}
 {% spaceless %}
-    {% set type = type|default('url') %}
+    {% set type = type|jquery_mobile('url') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock url_widget %}
 
 {% block search_widget %}
 {% spaceless %}
-    {% set attr = attr|merge({'class': (attr.class|default('') ~ ' search-query')|trim}) %}
-    {% set type = type|default('search') %}
+    {% set attr = attr|merge({'class': (attr.class|jquery_mobile('') ~ ' search-query')|trim}) %}
+    {% set type = type|jquery_mobile('search') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock search_widget %}
 
 {% block percent_widget %}
 {% spaceless %}
-    {% set type = type|default('text') %}
+    {% set type = type|jquery_mobile('text') %}
     {{ block('form_widget_simple') }} %
 {% endspaceless %}
 {% endblock percent_widget %}
 
 {% block password_widget %}
 {% spaceless %}
-    {% set type = type|default('password') %}
+    {% set type = type|jquery_mobile('password') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock password_widget %}
 
 {% block hidden_widget %}
 {% spaceless %}
-    {% set type = type|default('hidden') %}
+    {% set type = type|jquery_mobile('hidden') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock hidden_widget %}
 
 {% block email_widget %}
 {% spaceless %}
-    {% set type = type|default('email') %}
+    {% set type = type|jquery_mobile('email') %}
     {{ block('form_widget_simple') }}
 {% endspaceless %}
 {% endblock email_widget %}
@@ -269,10 +269,10 @@
         {% set label_attr = label_attr|merge({'for': id}) %}
     {% endif %}
     {% if required %}
-        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
+        {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' required')|trim}) %}
     {% endif %}
     {% if form_type is defined and form_type == 'horizontal' %}
-        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' control-label')|trim}) %}
+        {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' control-label')|trim}) %}
     {% endif %}
     {% if label is empty %}
         {% set label = name|humanize %}
@@ -286,12 +286,12 @@
     {% if not compound %}
         {% set label_attr = label_attr|merge({'for': id}) %}
     {% endif %}
-    {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' checkbox')|trim}) %}
+    {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' checkbox')|trim}) %}
     {% if attr.inline is defined and attr.inline %}
-        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' inline')|trim}) %}
+        {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' inline')|trim}) %}
     {% endif %}
     {% if required %}
-        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
+        {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' required')|trim}) %}
     {% endif %}
     {% if label is empty %}
         {% set label = name|humanize %}
@@ -307,9 +307,9 @@
     {% if not compound %}
         {% set label_attr = label_attr|merge({'for': id}) %}
     {% endif %}
-    {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' radio')|trim}) %}
+    {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' radio')|trim}) %}
     {% if required %}
-        {% set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' required')|trim}) %}
+        {% set label_attr = label_attr|merge({'class': (label_attr.class|jquery_mobile('') ~ ' required')|trim}) %}
     {% endif %}
     {% if label is empty %}
         {% set label = name|humanize %}
@@ -497,4 +497,4 @@ placed inside the label. See checkbox_label block.
 {% block field_enctype %}{{ block('form_enctype') }}{% endblock %}
 {% block field_errors %}{{ block('form_errors') }}{% endblock %}
 {% block field_rest %}{{ block('form_rest') }}{% endblock %}
-{% block field_rows %}{{ block('form_rows') }}{% endblock %}
+{% block field_rows %}{{ block('form_rows') }}{% endblock %}

+ 0 - 0
main/template/jqm/glossary/csv.tpl → main/template/jquery_mobile/glossary/csv.tpl


+ 2 - 2
main/template/jqm/glossary/edit.tpl → main/template/jquery_mobile/glossary/edit.tpl

@@ -1,5 +1,5 @@
 
-{% include 'default/glossary/header.tpl' %}
+{% include 'jquery_mobile/glossary/header.tpl' %}
 
 <div class="actions-bar btn-toolbar" >
     <a href = "{{root}}&amp;action=index" class="btn">
@@ -7,4 +7,4 @@
     </a>
 </div>
 
-{{form.return_form()}}
+{{form.return_form()}}

+ 0 - 0
main/template/jqm/glossary/header.tpl → main/template/jquery_mobile/glossary/header.tpl


+ 4 - 4
main/template/jqm/glossary/index.tpl → main/template/jquery_mobile/glossary/index.tpl

@@ -1,5 +1,5 @@
-{% include 'default/glossary/header.tpl' %}
-{% include 'default/glossary/javascript.tpl' %}
+{% include 'jquery_mobile/glossary/header.tpl' %}
+{% include 'jquery_mobile/glossary/javascript.tpl' %}
 
 <div class="btn-toolbar actions-bar" >
     {% if is_allowed_to_edit %}
@@ -33,7 +33,7 @@
 </div>
 
 {% if view == 'table' %}
-    {% include 'default/glossary/table.tpl' %}
+    {% include 'jquery_mobile/glossary/table.tpl' %}
 {% else %}
-    {% include 'default/glossary/list.tpl' %}
+    {% include 'jquery_mobile/glossary/list.tpl' %}
 {% endif %}

+ 0 - 0
main/template/jqm/glossary/javascript.tpl → main/template/jquery_mobile/glossary/javascript.tpl


+ 0 - 0
main/template/jqm/glossary/list.tpl → main/template/jquery_mobile/glossary/list.tpl


+ 0 - 0
main/template/jqm/glossary/table.tpl → main/template/jquery_mobile/glossary/table.tpl


+ 2 - 2
main/template/jqm/glossary/upload.tpl → main/template/jquery_mobile/glossary/upload.tpl

@@ -1,4 +1,4 @@
-{% include 'default/glossary/header.tpl' %}
+{% include 'jquery_mobile/glossary/header.tpl' %}
 
 <div class="actions-bar btn-toolbar" >
     <a href = "{{root}}&amp;action=index" class="btn">
@@ -6,4 +6,4 @@
     </a>
 </div>
 
-{{form.return_form()}}
+{{form.return_form()}}

+ 1 - 0
main/template/jquery_mobile/index/course_block.tpl

@@ -0,0 +1 @@
+{% include 'jquery_mobile/layout/block_menu.tpl' with {'block_menu': course_block} %}

+ 1 - 0
main/template/jquery_mobile/index/course_session_block.tpl

@@ -0,0 +1 @@
+{% include 'jquery_mobile/layout/block_menu.tpl' with {'block_menu': course_session_block} %}

+ 2 - 2
main/template/jqm/index/help_block.tpl → main/template/jquery_mobile/index/help_block.tpl

@@ -1,8 +1,8 @@
 {% set block_menu =  help_block %}
-{% extends "default/layout/block_menu.tpl" %}
+{% extends "jquery_mobile/layout/block_menu.tpl" %}
 {% block block_menu_item %}
     <h4>{{ block_menu.title }}</h4>
     <ul class="nav nav-list">
         {{ block_menu.content }}</ul>
     </ul>
-{% endblock %}
+{% endblock %}

+ 1 - 0
main/template/jquery_mobile/index/notice_block.tpl

@@ -0,0 +1 @@
+{% include 'jquery_mobile/layout/block_menu.tpl' with {'block_menu': notice_block} %}

+ 2 - 2
main/template/jqm/index/profile_block.tpl → main/template/jquery_mobile/index/profile_block.tpl

@@ -1,5 +1,5 @@
 {% set block_menu =  profile_block %}
-{% extends "default/layout/block_menu.tpl" %}
+{% extends "jquery_mobile/layout/block_menu.tpl" %}
 {% block block_menu_item %}
     <h4>{{ block_menu.title }}</h4>
     <ul class="nav nav-list">
@@ -7,4 +7,4 @@
         <li><a href="{{ _p.web }}main/messages/new_message.php">{{ 'Compose' | get_lang }}</a></li>
         <li><a href="{{ _p.web }}main/auth/profile.php">{{ 'EditProfile' | get_lang }}</a></li>
     </ul>
-{% endblock %}
+{% endblock %}

+ 2 - 2
main/template/jqm/index/profile_social_block.tpl → main/template/jquery_mobile/index/profile_social_block.tpl

@@ -1,5 +1,5 @@
 {% set block_menu =  profile_social_block %}
-{% extends "default/layout/block_menu.tpl" %}
+{% extends "jquery_mobile/layout/block_menu.tpl" %}
 {% block block_menu_item %}
     <h4>{{ block_menu.title }}</h4>
     <ul class="nav nav-list">
@@ -8,4 +8,4 @@
         <li><a href="{{ _p.web}}main/social/invitations.php"> {{ 'PendingInvitations' | get_lang }} {{ _u.messages_invitations_count}}</a></li>
         <li><a href="{{ _p.web }}main/auth/profile.php">{{ 'EditProfile' | get_lang }}</a></li>
     </ul>
-{% endblock %}
+{% endblock %}

+ 1 - 0
main/template/jquery_mobile/index/skills_block.tpl

@@ -0,0 +1 @@
+{% include 'jquery_mobile/layout/block_menu.tpl' with {'block_menu': skills_block} %}

+ 1 - 0
main/template/jquery_mobile/index/teacher_block.tpl

@@ -0,0 +1 @@
+{% include 'jquery_mobile/layout/block_menu.tpl' with {'block_menu': teacher_block} %}

+ 2 - 2
main/template/jqm/index/user_image_block.tpl → main/template/jquery_mobile/index/user_image_block.tpl

@@ -1,7 +1,7 @@
 {% set block_menu =  user_image_block %}
-{% extends "default/layout/block_menu.tpl" %}
+{% extends "jquery_mobile/layout/block_menu.tpl" %}
 {% block block_menu_item %}
     <div style="text-align:center;">
         {{ user_image_block.content }}
     </div>
-{% endblock %}
+{% endblock %}

+ 0 - 0
main/template/jqm/layout/blank.tpl → main/template/jquery_mobile/layout/blank.tpl


+ 0 - 0
main/template/jqm/layout/block_menu.tpl → main/template/jquery_mobile/layout/block_menu.tpl


+ 0 - 0
main/template/jqm/layout/course_navigation.tpl → main/template/jquery_mobile/layout/course_navigation.tpl


+ 1 - 1
main/template/jqm/layout/error.tpl → main/template/jquery_mobile/layout/error.tpl

@@ -1,4 +1,4 @@
-{% extends 'jqm/layout/layout_1_col.tpl' %}
+{% extends 'jquery_mobile/layout/layout_1_col.tpl' %}
 {% block content %}
     {{ error_code }} - {{ error_message }}
     {{ content }}

+ 0 - 0
main/template/jqm/layout/footer.tpl → main/template/jquery_mobile/layout/footer.tpl


+ 0 - 0
main/template/jqm/layout/head.tpl → main/template/jquery_mobile/layout/head.tpl


+ 0 - 0
main/template/jqm/layout/hot_course_item.tpl → main/template/jquery_mobile/layout/hot_course_item.tpl


+ 0 - 0
main/template/jqm/layout/hot_course_item_popup.tpl → main/template/jquery_mobile/layout/hot_course_item_popup.tpl


+ 1 - 1
main/template/jqm/layout/hot_courses.tpl → main/template/jquery_mobile/layout/hot_courses.tpl

@@ -35,7 +35,7 @@ $(document).ready( function() {
                 {{ "HottestCourses"|display_page_subheader }}
             </div>            
                 
-            {% include 'jqm/layout/hot_course_item.tpl' %}
+            {% include 'jquery_mobile/layout/hot_course_item.tpl' %}
         </div>
     </section>
 {% endif %}

+ 2 - 2
main/template/jqm/layout/layout_1_col.tpl → main/template/jquery_mobile/layout/layout_1_col.tpl

@@ -1,4 +1,4 @@
-{% extends "jqm/layout/main.tpl" %}
+{% extends "jquery_mobile/layout/main.tpl" %}
 
 {#  1 column  #}
 {% block body %}
@@ -14,7 +14,7 @@
         <div class="span12">
     {% endif %}
 
-        {% include "jqm/layout/page_body.tpl" %}
+        {% include "jquery_mobile/layout/page_body.tpl" %}
 
         {% block content %}
             {% if content is not null %}

+ 14 - 14
main/template/jqm/layout/layout_2_col.tpl → main/template/jquery_mobile/layout/layout_2_col.tpl

@@ -1,4 +1,4 @@
-{% extends "jqm/layout/main.tpl" %}
+{% extends "jquery_mobile/layout/main.tpl" %}
 
 {% block body %}
 	{# Main content #}
@@ -13,31 +13,31 @@
 
 	    {# if user is not login show the login form #}
 		{% if _u.logged  == 0 %}
-			{% include "jqm/layout/login_form.tpl" %}
+			{% include "jquery_mobile/layout/login_form.tpl" %}
 		{% endif %}
 
         {#  course_session_block #}
-        {% include "jqm/index/course_session_block.tpl" %}
+        {% include "jquery_mobile/index/course_session_block.tpl" %}
 
 		{#  User picture  #}
-        {% include "jqm/index/user_image_block.tpl" %}
+        {% include "jquery_mobile/index/user_image_block.tpl" %}
 
         {#  User Profile links #}
-        {% include "jqm/index/profile_block.tpl" %}
+        {% include "jquery_mobile/index/profile_block.tpl" %}
 
-        {% include "jqm/index/profile_social_block.tpl" %}
+        {% include "jquery_mobile/index/profile_social_block.tpl" %}
 
         {#  Course block - admin #}
-        {% include "jqm/index/course_block.tpl" %}
+        {% include "jquery_mobile/index/course_block.tpl" %}
 
         {#  Course block - teacher #}
-        {% include "jqm/index/teacher_block.tpl" %}
+        {% include "jquery_mobile/index/teacher_block.tpl" %}
 
 		{#  Notice  #}
-        {% include "jqm/index/notice_block.tpl" %}
+        {% include "jquery_mobile/index/notice_block.tpl" %}
 
         {#  Help #}
-		{% include "jqm/index/help_block.tpl" %}
+		{% include "jquery_mobile/index/help_block.tpl" %}
 
 		{#  Links that are not added in the tabs #}
 		{{ navigation_course_links }}
@@ -52,7 +52,7 @@
 		{{ classes_block }}
 
 		{#  Skills #}
-        {% include "jqm/index/skills_block.tpl" %}
+        {% include "jquery_mobile/index/skills_block.tpl" %}
 
 		{#  Plugin courses sidebar  #}
         {#  Plugins for footer section  #}
@@ -86,7 +86,7 @@
 		{#  ??  #}
 		{{ sniff_notification }}
 
-        {% include "jqm/layout/page_body.tpl" %}
+        {% include "jquery_mobile/layout/page_body.tpl" %}
 
         {% if content is not null %}
             <section id="main_content">
@@ -94,7 +94,7 @@
             </section>
         {% endif %}
 
-        {% include "jqm/layout/page_post_body.tpl" %}
+        {% include "jquery_mobile/layout/page_post_body.tpl" %}
 
 		{#  Announcements  #}
         {% if announcements_block %}
@@ -115,7 +115,7 @@
         {% endif %}
 
 		{#  Hot courses template  #}
-		{% include "jqm/layout/hot_courses.tpl" %}
+		{% include "jquery_mobile/layout/hot_courses.tpl" %}
 
         {#  Content bottom  #}
         {% if plugin_content_bottom %}

+ 1 - 1
main/template/jqm/layout/layout_3_col.tpl → main/template/jquery_mobile/layout/layout_3_col.tpl

@@ -1,5 +1,5 @@
 {#  This template is NOT used in chamilo 1.9 #}
-{% extends "jqm/layout/main.tpl" %}
+{% extends "jquery_mobile/layout/main.tpl" %}
 
 {% block body %}
 	<div id="maincontent" class="maincontent">

+ 0 - 0
main/template/jqm/layout/login_form.tpl → main/template/jquery_mobile/layout/login_form.tpl


+ 3 - 3
main/template/jqm/layout/main.tpl → main/template/jquery_mobile/layout/main.tpl

@@ -1,10 +1,10 @@
 {% block header %}
-{% include "jqm/layout/main_header.tpl" %}
+{% include "jquery_mobile/layout/main_header.tpl" %}
 {% endblock %}
 
 {% block body %}
 	{% if show_sniff == 1 %}
-	 	{% include "jqm/layout/sniff.tpl" %}
+	 	{% include "jquery_mobile/layout/sniff.tpl" %}
 	{% endif %}
 {% endblock %}
 
@@ -16,6 +16,6 @@
         <div class="push"></div>
         </div> <!-- end of #wrapper section -->
     {% endif %}
-{% include "jqm/layout/main_footer.tpl" %}
+{% include "jquery_mobile/layout/main_footer.tpl" %}
 {{ xhprof }}
 {% endblock %}

+ 1 - 1
main/template/jqm/layout/main_footer.tpl → main/template/jquery_mobile/layout/main_footer.tpl

@@ -1,5 +1,5 @@
 {% if show_footer == true %}
-    {% include "jqm/layout/footer.tpl" %}
+    {% include "jquery_mobile/layout/footer.tpl" %}
 {% endif %}
 </body>
 </html>

+ 4 - 4
main/template/jqm/layout/main_header.tpl → main/template/jquery_mobile/layout/main_header.tpl

@@ -4,7 +4,7 @@
 <!--[if IE 8]>    <html lang="{{ document_language }}" class="no-js lt-ie9"> <![endif]-->
 <!--[if gt IE 8]><!--><html lang="{{ document_language }}" class="no-js"> <!--<![endif]-->
 <head>
-{% include "jqm/layout/head.tpl" %}
+{% include "jquery_mobile/layout/head.tpl" %}
 </head>
 <body dir="{{ text_direction }}" class="{{ section_name }}">
 <noscript>{{ "NoJavascript"|get_lang }}</noscript>
@@ -40,7 +40,7 @@
         </ul>
 
         {# topbar #}
-        {% include "jqm/layout/topbar.tpl" %}
+        {% include "jquery_mobile/layout/topbar.tpl" %}
 
         <div id="main" class="container" data-role="page">
             <header data-role="header">
@@ -91,7 +91,7 @@
                 {% endif %}
 
                 {# menu #}
-                {% include "jqm/layout/menu.tpl" %}
+                {% include "jquery_mobile/layout/menu.tpl" %}
 
                 {# breadcrumb #}
                 {{ breadcrumb }}
@@ -99,5 +99,5 @@
 
             <div id="top_main_content" class="row">
             {# course navigation links/shortcuts need to be activated by the admin #}
-            {% include "jqm/layout/course_navigation.tpl" %}
+            {% include "jquery_mobile/layout/course_navigation.tpl" %}
 {% endif %}

+ 0 - 0
main/template/jqm/layout/menu.tpl → main/template/jquery_mobile/layout/menu.tpl


+ 1 - 1
main/template/jqm/layout/no_layout.tpl → main/template/jquery_mobile/layout/no_layout.tpl

@@ -4,7 +4,7 @@
 <!--[if IE 8]>    <html lang="{{document_language}}" class="no-js lt-ie9"> <![endif]-->
 <!--[if gt IE 8]><!--><html lang="{{document_language}}" class="no-js"> <!--<![endif]-->
 <head>
-{% include "jqm/layout/head.tpl" %}
+{% include "jquery_mobile/layout/head.tpl" %}
 </head>
 <body dir="{{text_direction}}" class="{{section_name}}">
 {% block name %}

+ 1 - 1
main/template/jqm/layout/page_body.tpl → main/template/jquery_mobile/layout/page_body.tpl

@@ -26,6 +26,6 @@
 {#  Welcome to course block  #}
 {% if welcome_to_course_block %}
     <section id="welcome_to_course">
-        {% include "jqm/layout/welcome_to_course.tpl" %}
+        {% include "jquery_mobile/layout/welcome_to_course.tpl" %}
     </section>
 {% endif %}

+ 0 - 0
main/template/jqm/layout/page_post_body.tpl → main/template/jquery_mobile/layout/page_post_body.tpl


+ 1 - 1
main/template/jqm/layout/show_footer.tpl → main/template/jquery_mobile/layout/show_footer.tpl

@@ -21,4 +21,4 @@
 </div> <!-- end of #wrapper section -->
 {% endif %}
 
-{% include "jqm/layout/main_footer.tpl" %}
+{% include "jquery_mobile/layout/main_footer.tpl" %}

+ 2 - 2
main/template/jqm/layout/show_header.tpl → main/template/jquery_mobile/layout/show_header.tpl

@@ -1,4 +1,4 @@
-{% include "jqm/layout/main_header.tpl" %}
+{% include "jquery_mobile/layout/main_header.tpl" %}
 {#
     show_header and show_footer templates are only called when using the Display::display_header and Display::display_footer
     for backward compatibility we suppose that the default layout is one column which means using a div with class span12
@@ -11,6 +11,6 @@
             </div>
         {% endif %}
         <div class="span12">
-            {% include "jqm/layout/page_body.tpl" %}
+            {% include "jquery_mobile/layout/page_body.tpl" %}
             <section id="main_content" data-role="content">
 {% endif %}

+ 0 - 0
main/template/jqm/layout/sniff.tpl → main/template/jquery_mobile/layout/sniff.tpl


+ 1 - 1
main/template/jqm/layout/social_layout.tpl → main/template/jquery_mobile/layout/social_layout.tpl

@@ -1,4 +1,4 @@
-{% extends "jqm/layout/layout_1_col.tpl" %}
+{% extends "jquery_mobile/layout/layout_1_col.tpl" %}
 
 {% block content %}
     <div class="row">

+ 0 - 0
main/template/jqm/layout/topbar.tpl → main/template/jquery_mobile/layout/topbar.tpl


+ 0 - 0
main/template/jqm/layout/welcome_to_course.tpl → main/template/jquery_mobile/layout/welcome_to_course.tpl


+ 0 - 0
main/template/jqm/learnpath/impress.tpl → main/template/jquery_mobile/learnpath/impress.tpl


+ 2 - 2
main/template/jqm/learnpath/subscribe_users.tpl → main/template/jquery_mobile/learnpath/subscribe_users.tpl

@@ -1,4 +1,4 @@
-{% extends "default/layout/layout_1_col.tpl" %}
+{% extends "jquery_mobile/layout/layout_1_col.tpl" %}
 {% block content %}
     {#
     <h2>{{ 'SubscribeUsersToLp' | get_lang }}</h2>
@@ -46,4 +46,4 @@
     #}
     {{ formUsers }}
     {{ formGroups }}
-{% endblock %}
+{% endblock %}

+ 0 - 0
main/template/jqm/link/edit_category.tpl → main/template/jquery_mobile/link/edit_category.tpl


+ 0 - 0
main/template/jqm/link/edit_link.tpl → main/template/jquery_mobile/link/edit_link.tpl


+ 0 - 0
main/template/jqm/link/index.tpl → main/template/jquery_mobile/link/index.tpl


+ 2 - 2
main/template/jqm/mail_editor/email_link.js.tpl → main/template/jquery_mobile/mail_editor/email_link.js.tpl

@@ -55,7 +55,7 @@ function loadEmailEditor(e) {
 	//el is now my link object, so I can get el.href here to load the new window
 	var link = el.href.replace('mailto:','');
 	document.location = "{{ _p.web_main }}inc/lib/email_editor.php?dest=" + link;
-	//cancel default link action
+	//cancel jquery_mobile link action
 	if (window.event && window.event.returnValue){
 		window.event.returnValue = false;
 	}
@@ -68,4 +68,4 @@ $(document).ready(function() {
     addEvent(window,'load',addListeners,false);
 });
 
-</script>
+</script>

+ 3 - 2
main/template/jqm/notebook/upload.tpl → main/template/jquery_mobile/notebook/edit.tpl

@@ -1,4 +1,5 @@
-{% include 'default/notebook/header.tpl' %}
+
+{% include 'jquery_mobile/notebook/header.tpl' %}
 
 <div class="actions-bar btn-toolbar" >
     <a href = "{{root}}&amp;action=index" class="btn back">
@@ -6,4 +7,4 @@
     </a>
 </div>
 
-{{form.return_form()}}
+{{form.return_form()}}

+ 0 - 0
main/template/jqm/notebook/header.tpl → main/template/jquery_mobile/notebook/header.tpl


+ 3 - 3
main/template/jqm/notebook/index.tpl → 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' %}
 
 <div class="btn-toolbar actions-bar" >
     {% if is_allowed_to_edit %}
@@ -37,5 +37,5 @@
     </div>
 </div>
 
-{% include 'default/notebook/list.tpl' %}
+{% include 'jquery_mobile/notebook/list.tpl' %}
 

+ 0 - 0
main/template/jqm/notebook/javascript.tpl → main/template/jquery_mobile/notebook/javascript.tpl


+ 0 - 0
main/template/jqm/notebook/list.tpl → main/template/jquery_mobile/notebook/list.tpl


+ 1 - 2
main/template/jqm/notebook/edit.tpl → main/template/jquery_mobile/notebook/upload.tpl

@@ -1,5 +1,4 @@
-
-{% include 'default/notebook/header.tpl' %}
+{% include 'jquery_mobile/notebook/header.tpl' %}
 
 <div class="actions-bar btn-toolbar" >
     <a href = "{{root}}&amp;action=index" class="btn back">

+ 2 - 2
main/template/jqm/pages/add.tpl → 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 action="#" method="post">
     {{ form_widget(form) }}
     <input class="btn" type="submit" name="submit" value="{{ "Send" | get_lang }}" />
 </form>
-{% endblock %}
+{% endblock %}

+ 2 - 2
main/template/jqm/pages/listing.tpl → 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 @@
         <br />
     {% endfor %}
     {{ pagination }}
-{% endblock %}
+{% endblock %}

+ 2 - 2
main/template/jqm/pages/show.tpl → 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 %}
+{% endblock %}

+ 0 - 0
main/template/jqm/skill/profile.tpl → main/template/jquery_mobile/skill/profile.tpl


+ 0 - 0
main/template/jqm/skill/profile_item.tpl → main/template/jquery_mobile/skill/profile_item.tpl


+ 0 - 0
main/template/jqm/skill/skill_ranking.tpl → main/template/jquery_mobile/skill/skill_ranking.tpl


+ 0 - 0
main/template/jqm/skill/skill_tree.tpl → main/template/jquery_mobile/skill/skill_tree.tpl


+ 2 - 2
main/template/jqm/skill/skill_tree_student.tpl → 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() {
         </div>      
         </fieldset>
     </form>    
-</div>
+</div>

+ 1 - 1
main/template/jqm/skill/skill_wheel.js.tpl → 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" %}
 <script>
 
 /* Skill wheel settings */

+ 2 - 2
main/template/jqm/skill/skill_wheel.tpl → main/template/jquery_mobile/skill/skill_wheel.tpl

@@ -1,4 +1,4 @@
-{% include 'default/skill/skill_wheel.js.tpl' %}
+{% include 'jquery_mobile/skill/skill_wheel.js.tpl' %}
 
 <script>
 
@@ -562,4 +562,4 @@ $(document).ready(function() {
             </div>  
         </fieldset>
     </form>    
-</div>
+</div>

+ 1 - 1
main/template/jqm/skill/skill_wheel_student.tpl → main/template/jquery_mobile/skill/skill_wheel_student.tpl

@@ -1,4 +1,4 @@
-{% include 'default/skill/skill_wheel.js.tpl' %}
+{% include 'jquery_mobile/skill/skill_wheel.js.tpl' %}
 
 <script>
  

+ 0 - 0
main/template/jqm/skill/user_skills.tpl → main/template/jquery_mobile/skill/user_skills.tpl


+ 0 - 0
main/template/jqm/userportal/course_item.tpl → main/template/jquery_mobile/userportal/course_item.tpl


+ 2 - 0
main/template/jquery_mobile/userportal/course_page.tpl

@@ -0,0 +1,2 @@
+{% extends "jquery_mobile/layout/layout_2_col.tpl" %}
+

+ 1 - 0
main/template/jquery_mobile/userportal/index.tpl

@@ -0,0 +1 @@
+{% extends "jquery_mobile/layout/layout_2_col.tpl" %}

+ 0 - 0
main/template/jqm/work/view.tpl → main/template/jquery_mobile/work/view.tpl