Changed mobile template name to jquery_mobile

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

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

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

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

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

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

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

@ -1 +0,0 @@
{% extends "default/layout/layout_2_col.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 %}

@ -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 %}

@ -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 %}

@ -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 %}

@ -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()}}

@ -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 %}

@ -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()}}

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

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

@ -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 %}

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

@ -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 %}

@ -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 %}

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

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

@ -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 %}

@ -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 }}

@ -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 %}

@ -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 %}

@ -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,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">

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

@ -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 %}

@ -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 %}

@ -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 %}

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

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

@ -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 %}

@ -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>

@ -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()}}

@ -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' %}

@ -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">

@ -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 %}

@ -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 %}

@ -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 %}

@ -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,5 +1,5 @@
{# topbar #}
{% include "default/layout/topbar.tpl" %}
{% include "jquery_mobile/layout/topbar.tpl" %}
<script>
/* Skill wheel settings */

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

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

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