Internal: Database: Fix internal methods calls with name vs title (7) - refs #3581 #4706

pull/5095/head
Yannick Warnier 2 years ago
parent f7706bba33
commit 38ef378d06
  1. 2
      assets/vue/components/resource_links/ShowLinks.vue
  2. 2
      public/main/gradebook/lib/be/attendancelink.class.php
  3. 2
      public/main/inc/lib/api.lib.php
  4. 6
      public/main/inc/lib/course.lib.php
  5. 6
      public/main/inc/lib/glossary.lib.php
  6. 4
      public/main/inc/lib/groupmanager.lib.php
  7. 14
      public/main/inc/lib/javascript/skills.js
  8. 4
      public/main/inc/lib/sessionmanager.lib.php
  9. 12
      public/main/template/default/admin/career_dashboard.html.twig
  10. 2
      public/main/template/default/admin/gradebook_dependency.html.twig
  11. 2
      public/main/template/default/admin/gradebook_list.html.twig
  12. 4
      public/main/template/default/admin/teacher_time_report.html.twig
  13. 2
      public/main/template/default/admin/teachers_time_by_session_report.html.twig
  14. 4
      public/main/template/default/agenda/planification.html.twig
  15. 6
      public/main/template/default/auth/introduction_section.html.twig
  16. 12
      public/main/template/default/auth/session_catalog.html.twig
  17. 2
      public/main/template/default/course_home/vertical_activity.html.twig
  18. 2
      public/main/template/default/export/table_pdf.html.twig
  19. 2
      public/main/template/default/gradebook/certificate_report.html.twig
  20. 2
      public/main/template/default/gradebook/custom_certificate.html.twig
  21. 2
      public/main/template/default/my_space/partials/tracking_course_overview.html.twig
  22. 4
      public/main/template/default/my_space/pdf_tracking_lp.html.twig
  23. 2
      public/main/template/default/my_space/works_in_session_report.html.twig
  24. 4
      public/main/template/default/sequence_resource/course_requirements.html.twig
  25. 4
      public/main/template/default/sequence_resource/session_requirements.html.twig
  26. 6
      public/main/template/default/session/resume_session.html.twig
  27. 2
      public/main/template/default/skill/badge_create.html.twig
  28. 2
      public/main/template/default/skill/badge_list.html.twig
  29. 6
      public/main/template/default/skill/criteria.html.twig
  30. 2
      public/main/template/default/skill/drh_report.html.twig
  31. 2
      public/main/template/default/skill/list.html.twig
  32. 12
      public/main/template/default/skill/profile.html.twig
  33. 2
      public/main/template/default/skill/profile_item.html.twig
  34. 6
      public/main/template/default/skill/skill_info.html.twig
  35. 8
      public/main/template/default/skill/skill_tree.html.twig
  36. 4
      public/main/template/default/skill/skill_tree_student.html.twig
  37. 14
      public/main/template/default/skill/skill_wheel.html.twig
  38. 26
      public/main/template/default/skill/skill_wheel.js.html.twig
  39. 2
      public/main/template/default/skill/skill_wheel_student.html.twig
  40. 2
      public/main/template/default/skill/user_skills.html.twig
  41. 12
      public/main/template/default/skills/skill.html.twig
  42. 16
      public/main/template/default/skills/skill_profile.html.twig
  43. 2
      public/main/template/default/social/avatar_block.html.twig
  44. 2
      public/main/template/default/social/group_view.html.twig
  45. 2
      public/main/template/default/social/home.html.twig
  46. 2
      public/main/template/default/social/profile.html.twig
  47. 2
      public/main/template/default/survey/pending.html.twig
  48. 4
      public/main/template/default/user_portal/course_categories.html.twig
  49. 2
      public/main/template/default/user_portal/grid_session.html.twig
  50. 8
      public/main/template/default/user_portal/list_sessions.html.twig
  51. 4
      public/plugin/advanced_subscription/views/admin_accepted_notice_admin.tpl
  52. 6
      public/plugin/advanced_subscription/views/admin_accepted_notice_student.tpl
  53. 6
      public/plugin/advanced_subscription/views/admin_accepted_notice_superior.tpl
  54. 4
      public/plugin/advanced_subscription/views/admin_rejected_notice_admin.tpl
  55. 6
      public/plugin/advanced_subscription/views/admin_rejected_notice_student.tpl
  56. 6
      public/plugin/advanced_subscription/views/admin_rejected_notice_superior.tpl
  57. 4
      public/plugin/advanced_subscription/views/admin_view.tpl
  58. 4
      public/plugin/advanced_subscription/views/open_session.tpl
  59. 6
      public/plugin/advanced_subscription/views/reminder_notice_admin.tpl
  60. 6
      public/plugin/advanced_subscription/views/reminder_notice_student.tpl
  61. 4
      public/plugin/advanced_subscription/views/reminder_notice_superior.tpl
  62. 4
      public/plugin/advanced_subscription/views/reminder_notice_superior_max.tpl
  63. 6
      public/plugin/advanced_subscription/views/student_no_superior_notice_admin.tpl
  64. 6
      public/plugin/advanced_subscription/views/student_no_superior_notice_student.tpl
  65. 6
      public/plugin/advanced_subscription/views/student_notice_student.tpl
  66. 4
      public/plugin/advanced_subscription/views/student_notice_superior.tpl
  67. 6
      public/plugin/advanced_subscription/views/superior_accepted_notice_admin.tpl
  68. 6
      public/plugin/advanced_subscription/views/superior_accepted_notice_student.tpl
  69. 4
      public/plugin/advanced_subscription/views/superior_accepted_notice_superior.tpl
  70. 6
      public/plugin/advanced_subscription/views/superior_rejected_notice_student.tpl
  71. 4
      public/plugin/advanced_subscription/views/superior_rejected_notice_superior.tpl
  72. 2
      public/plugin/advanced_subscription/views/terms_and_conditions.tpl
  73. 2
      public/plugin/bbb/listing.php
  74. 4
      public/plugin/buycourses/database.php
  75. 11
      public/plugin/buycourses/src/buy_course_plugin.class.php
  76. 10
      public/plugin/buycourses/view/catalog.tpl
  77. 4
      public/plugin/buycourses/view/list.tpl
  78. 2
      public/plugin/buycourses/view/message_transfer.tpl
  79. 2
      public/plugin/buycourses/view/paymentsetup.tpl
  80. 4
      public/plugin/buycourses/view/process.tpl
  81. 10
      public/plugin/buycourses/view/process_confirm.tpl
  82. 4
      public/plugin/buycourses/view/service_information.tpl
  83. 6
      public/plugin/buycourses/view/service_message_transfer.tpl
  84. 2
      public/plugin/buycourses/view/service_panel.tpl
  85. 4
      public/plugin/buycourses/view/service_process.tpl
  86. 2
      public/plugin/buycourses/view/service_sales_report.tpl
  87. 4
      public/plugin/buycourses/view/success.tpl
  88. 2
      public/plugin/justification/view/justification_user_list.tpl
  89. 2
      public/plugin/justification/view/list.tpl
  90. 2
      public/plugin/learning_calendar/view/calendar.tpl
  91. 2
      public/plugin/vchamilo/template.tpl
  92. 2
      public/plugin/zoom/view/activity.tpl
  93. 2
      src/CoreBundle/Resources/views/ContactCategory/index.html.twig
  94. 2
      src/CoreBundle/Resources/views/ContactCategory/show.html.twig
  95. 10
      src/CoreBundle/Resources/views/Course/home.html.twig
  96. 2
      src/CoreBundle/Resources/views/Lti/admin.html.twig
  97. 4
      src/CoreBundle/Resources/views/Lti/course_configure.twig
  98. 4
      src/CoreBundle/Resources/views/Mailer/Legacy/new_work_alert_hrm.html.twig
  99. 2
      src/CoreBundle/Resources/views/Resource/glossary/view_resource.html.twig
  100. 4
      src/CoreBundle/Resources/views/Session/about.html.twig

@ -17,7 +17,7 @@
:class="{ 'text-right text-body-2': editStatus }" :class="{ 'text-right text-body-2': editStatus }"
> >
<span class="mdi mdi-book-open" /> <span class="mdi mdi-book-open" />
{{ t("Session: {0}", [link.session.name]) }} {{ t("Session: {0}", [link.session.title]) }}
</div> </div>
<div <div

@ -53,7 +53,7 @@ class AttendanceLink extends AbstractLink
$links = $qb->getQuery()->getResult(); $links = $qb->getQuery()->getResult();
/*$tbl_attendance = $this->get_attendance_table(); /*$tbl_attendance = $this->get_attendance_table();
$sql = 'SELECT att.iid, att.name, att.attendance_qualify_title $sql = 'SELECT att.iid, att.title, att.attendance_qualify_title
FROM '.$tbl_attendance.' att FROM '.$tbl_attendance.' att
WHERE WHERE
att.c_id = '.$this->course_id.' AND att.c_id = '.$this->course_id.' AND

@ -2125,7 +2125,7 @@ function api_get_url_entity($id = 0): ?AccessUrl
* *
* @param int $id Numeric ID of the course * @param int $id Numeric ID of the course
* *
* @return array The course info as an array formatted by api_format_course_array, including category.name * @return array The course info as an array formatted by api_format_course_array, including category.title
*/ */
function api_get_course_info_by_id($id = 0) function api_get_course_info_by_id($id = 0)
{ {

@ -2268,15 +2268,15 @@ class CourseManager
/* 0 != $session_id ? $session_condition = ' WHERE g.session_id IN(1,'.intval($session_id).')' : $session_condition = ' WHERE g.session_id = 0'; /* 0 != $session_id ? $session_condition = ' WHERE g.session_id IN(1,'.intval($session_id).')' : $session_condition = ' WHERE g.session_id = 0';
if (0 == $in_get_empty_group) { if (0 == $in_get_empty_group) {
// get only groups that are not empty // get only groups that are not empty
$sql = "SELECT DISTINCT g.iid, g.name $sql = "SELECT DISTINCT g.iid, g.title
FROM ".Database::get_course_table(TABLE_GROUP)." AS g FROM ".Database::get_course_table(TABLE_GROUP)." AS g
INNER JOIN ".Database::get_course_table(TABLE_GROUP_USER)." gu INNER JOIN ".Database::get_course_table(TABLE_GROUP_USER)." gu
ON (g.iid = gu.group_id) ON (g.iid = gu.group_id)
$session_condition $session_condition
ORDER BY g.name"; ORDER BY g.title";
} else { } else {
// get all groups even if they are empty // get all groups even if they are empty
$sql = "SELECT g.iid, g.name $sql = "SELECT g.iid, g.title
FROM ".Database::get_course_table(TABLE_GROUP)." AS g FROM ".Database::get_course_table(TABLE_GROUP)." AS g
$session_condition $session_condition
AND c_id = $course_id"; AND c_id = $course_id";

@ -615,7 +615,7 @@ class GlossaryManager
$keyword = isset($_GET['keyword']) ? Database::escape_string($_GET['keyword']) : ''; $keyword = isset($_GET['keyword']) ? Database::escape_string($_GET['keyword']) : '';
if(!empty($keyword)){ if(!empty($keyword)){
$qb->andWhere( $qb->andWhere(
$qb->expr()->like('resource.name',':keyword') $qb->expr()->like('resource.title',':keyword')
)->andWhere( )->andWhere(
$qb->expr()->like('resource.description',':keyword') $qb->expr()->like('resource.description',':keyword')
)->setParameter('keyword', '%'.$keyword.'%'); )->setParameter('keyword', '%'.$keyword.'%');
@ -748,10 +748,10 @@ class GlossaryManager
$keyword = isset($_GET['keyword']) ? Database::escape_string($_GET['keyword']) : ''; $keyword = isset($_GET['keyword']) ? Database::escape_string($_GET['keyword']) : '';
$keywordCondition = ''; $keywordCondition = '';
if (!empty($keyword)) { if (!empty($keyword)) {
$keywordCondition = "AND (glossary.name LIKE '%$keyword%' OR glossary.description LIKE '%$keyword%')"; $keywordCondition = "AND (glossary.title LIKE '%$keyword%' OR glossary.description LIKE '%$keyword%')";
} }
$sql = "SELECT $sql = "SELECT
glossary.name as col0, glossary.title as col0,
glossary.description as col1, glossary.description as col1,
$col2 $col2
glossary.session_id glossary.session_id

@ -140,7 +140,7 @@ class GroupManager
/*$table_group = Database::get_course_table(TABLE_GROUP); /*$table_group = Database::get_course_table(TABLE_GROUP);
$select = ' g.iid, $select = ' g.iid,
g.name, g.title,
g.description, g.description,
g.category_id, g.category_id,
g.max_student maximum_number_of_members, g.max_student maximum_number_of_members,
@ -182,7 +182,7 @@ class GroupManager
if (!empty($session_condition)) { if (!empty($session_condition)) {
$sql .= $session_condition; $sql .= $session_condition;
} }
$sql .= ' ORDER BY UPPER(g.name)'; $sql .= ' ORDER BY UPPER(g.title)';
$result = Database::query($sql); $result = Database::query($sql);

@ -122,7 +122,7 @@ function load_children(my_id, top_value, load_user_data, create_root) {
if (my_id == 1) { if (my_id == 1) {
$('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root first_window" >Root </div>'); $('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root first_window" >Root </div>');
} else { } else {
$('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root open_block first_window" >' +skill.name+'</div>'); $('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root open_block first_window" >' +skill.title+'</div>');
} }
//Adding to the skill list //Adding to the skill list
@ -177,8 +177,8 @@ function load_children(my_id, top_value, load_user_data, create_root) {
$.each(json,function(i, item) { $.each(json,function(i, item) {
//if (debug) console.log('Loading children: #' + item.id + " " +item.name); //if (debug) console.log('Loading children: #' + item.id + " " +item.name);
//item.name = '<a href="#" class="edit_block" id="edit_block_'+item.id+'">'+item.name+'</a>'; //item.title = '<a href="#" class="edit_block" id="edit_block_'+item.id+'">'+item.title+'</a>';
item.name = '<a href="#" class="edit_block" id="edit_block_'+item.id+'">'+item.name+'</a>'; item.title = '<a href="#" class="edit_block" id="edit_block_'+item.id+'">'+item.title+'</a>';
var status_class = ' '; var status_class = ' ';
my_edit_point_options = editEndpointOptions; my_edit_point_options = editEndpointOptions;
@ -187,7 +187,7 @@ function load_children(my_id, top_value, load_user_data, create_root) {
status_class = 'done_window'; status_class = 'done_window';
} }
$('#skill_tree').append('<div id="block_'+item.id+ '" class="skill_child open_block '+status_class+'" >'+item.name+'</div>'); $('#skill_tree').append('<div id="block_'+item.id+ '" class="skill_child open_block '+status_class+'" >'+item.title+'</div>');
//Fix the block vertical position //Fix the block vertical position
$('#block_'+item.id).css('top', my_top_children+'px'); $('#block_'+item.id).css('top', my_top_children+'px');
@ -207,7 +207,7 @@ function load_children(my_id, top_value, load_user_data, create_root) {
skills.push({ skills.push({
element: "block_" + item.id, endp:endpoint element: "block_" + item.id, endp:endpoint
}); });
//console.log('added to array skills id: ' + item.id+" - name: "+item.name); //console.log('added to array skills id: ' + item.id+" - name: "+item.title);
}); });
jsPlumb.draggable(jsPlumb.getSelector(".skill_child")); jsPlumb.draggable(jsPlumb.getSelector(".skill_child"));
@ -233,7 +233,7 @@ function load_parent(parent_id, id) {
$.each(json,function(i,item) { $.each(json,function(i,item) {
if (item.parent_id == 0) { if (item.parent_id == 0) {
$('#skill_tree').append('<div id="block_'+item.id+ '" class="skill_root first_window ">'+item.name+'</div>'); $('#skill_tree').append('<div id="block_'+item.id+ '" class="skill_root first_window ">'+item.title+'</div>');
jsPlumb.connect({ jsPlumb.connect({
source: 'block_'+parent_id, target:'block_'+id source: 'block_'+parent_id, target:'block_'+id
@ -241,7 +241,7 @@ function load_parent(parent_id, id) {
if (debug) console.log('setting NO--- first_parent '); if (debug) console.log('setting NO--- first_parent ');
first_parent = ''; first_parent = '';
} else { } else {
$('#skill_tree').append('<div id="block_'+item.id+ '" class="open_block skill_child ">'+item.name+'</div>'); $('#skill_tree').append('<div id="block_'+item.id+ '" class="open_block skill_child ">'+item.title+'</div>');
jsPlumb.connect({ jsPlumb.connect({
source: 'block_'+parent_id, target:'block_'+id source: 'block_'+parent_id, target:'block_'+id

@ -3330,7 +3330,7 @@ class SessionManager
* *
* @param array $conditions a list of condition example : * @param array $conditions a list of condition example :
* array('status' => STUDENT) or * array('status' => STUDENT) or
* array('s.name' => array('operator' => 'LIKE', value = '%$needle%')) * array('s.title' => array('operator' => 'LIKE', value = '%$needle%'))
* @param array $order_by a list of fields on which sort * @param array $order_by a list of fields on which sort
* @param int $urlId * @param int $urlId
* @param array $onlyThisSessionList * @param array $onlyThisSessionList
@ -9012,7 +9012,7 @@ class SessionManager
$options_by_double['extra_'.$double['field_variable']] = $my_options; $options_by_double['extra_'.$double['field_variable']] = $my_options;
} }
//sc.name as category_name, //sc.title as category_name,
$select = " $select = "
SELECT * FROM ( SELECT * FROM (
SELECT DISTINCT SELECT DISTINCT

@ -10,10 +10,10 @@
<h4> <h4>
{% if is_granted('ROLE_ADMIN') %} {% if is_granted('ROLE_ADMIN') %}
<a href="{{ url('legacy_main', { 'name' : 'admin/careers.php', 'action' : 'edit', 'id' : item.id }) }}"> <a href="{{ url('legacy_main', { 'name' : 'admin/careers.php', 'action' : 'edit', 'id' : item.id }) }}">
{{ item.name }} {{ item.title }}
</a> </a>
{% else %} {% else %}
{{ item.name }} {{ item.title }}
{% endif %} {% endif %}
</h4> </h4>
</div> </div>
@ -31,10 +31,10 @@
<tr> <tr>
<td class="promo" rowspan="{{ line }}"> <td class="promo" rowspan="{{ line }}">
<h4 id="promotion-id-{{ prom.id }}"> <h4 id="promotion-id-{{ prom.id }}">
<a title="{{ prom.name }}" <a title="{{ prom.title }}"
href="{{ url('legacy_main', { 'name' : 'admin/promotions.php', 'action' : 'edit', 'id' : prom.id }) }}" href="{{ url('legacy_main', { 'name' : 'admin/promotions.php', 'action' : 'edit', 'id' : prom.id }) }}"
> >
{{ prom.name }} {{ prom.title }}
</a> </a>
</h4> </h4>
</td> </td>
@ -48,9 +48,9 @@
<tr> <tr>
<td class="cycles"> <td class="cycles">
<h4 id="session-id-{{ sessionid }}"> <h4 id="session-id-{{ sessionid }}">
<a title="{{ session.data.name }}" <a title="{{ session.data.title }}"
href="{{ _p.web }}main/session/resume_session.php?id_session={{ sessionid }}"> href="{{ _p.web }}main/session/resume_session.php?id_session={{ sessionid }}">
{{ session.data.name }} {{ session.data.title }}
</a> </a>
</h4> </h4>
</td> </td>

@ -3,7 +3,7 @@
{% block content %} {% block content %}
{% autoescape false %} {% autoescape false %}
<h3> <h3>
{{ gradebook_category.name }} {{ gradebook_category.title }}
{% if gradebook_category.courseCode is not empty %} {% if gradebook_category.courseCode is not empty %}
({{ gradebook_category.courseCode }}) ({{ gradebook_category.courseCode }})
{% endif %} {% endif %}

@ -16,7 +16,7 @@
{% for item in gradebook_list %} {% for item in gradebook_list %}
<tr> <tr>
<td> <td>
{{ item.name | e }} {{ item.title | e }}
</td> </td>
<td> <td>
{{ item.courseCode }} {{ item.courseCode }}

@ -44,8 +44,8 @@
{% for row in rows %} {% for row in rows %}
<tr> <tr>
{% if with_filter %} {% if with_filter %}
<td>{{ row.session ? row.session.name : '&nbsp' }}</td> <td>{{ row.session ? row.session.title : '&nbsp' }}</td>
<td>{{ row.course.name }}</td> <td>{{ row.course.title }}</td>
{% endif %} {% endif %}
<td>{{ row.coach.complete_name }} ({{ row.coach.username }})</td> <td>{{ row.coach.complete_name }} ({{ row.coach.username }})</td>
<td class="text-center">{{ row.total_time }}</td> <td class="text-center">{{ row.total_time }}</td>

@ -2,7 +2,7 @@
{{ form }} {{ form }}
{% if session %} {% if session %}
<h3 class="page-header">{{ session.name }}</h3> <h3 class="page-header">{{ session.title }}</h3>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-hover table-striped"> <table class="table table-hover table-striped">
<thead> <thead>

@ -37,9 +37,9 @@
<tbody> <tbody>
{% for session in sessions %} {% for session in sessions %}
<tr> <tr>
<td class="col-session" title="{{ session.name }}"> <td class="col-session" title="{{ session.title }}">
<a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}"> <a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">
{{ session.name }} {{ session.title }}
</a> </a>
</td> </td>

@ -5,19 +5,19 @@
<div class="btn-group btn-group-sm" role="group" aria-label=""> <div class="btn-group btn-group-sm" role="group" aria-label="">
{% for item in toolbar %} {% for item in toolbar %}
<a href="{{ item.url }}" <a href="{{ item.url }}"
title="{{ item.name }}" class="btn btn-light {{ item.class }}"> title="{{ item.title }}" class="btn btn-light {{ item.class }}">
<i class="{{ item.icon }}"></i> <i class="{{ item.icon }}"></i>
</a> </a>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
{% if intro.text !='' %} {% if intro.text !='' %}
<div id="{{ intro.name }}" class="content"> <div id="{{ intro.title }}" class="content">
{{ intro.text }} {{ intro.text }}
</div> </div>
{% else %} {% else %}
<div class="help"> <div class="help">
<h1>{{ intro.name }}</h1> <h1>{{ intro.title }}</h1>
<p>{{ intro.help }}</p> <p>{{ intro.help }}</p>
</div> </div>
{% endif %} {% endif %}

@ -52,15 +52,15 @@
{{ item.category }} {{ item.category }}
</div> </div>
{% endif %} {% endif %}
<a href="{{ _p.web ~ 'session/' ~ item.id ~ '/about/' }}" title="{{ item.name }}"> <a href="{{ _p.web ~ 'session/' ~ item.id ~ '/about/' }}" title="{{ item.title }}">
<img class="img-fluid" src="{{ item.image ? _p.web_upload ~ item.image : 'session_default.png'|icon() }}"> <img class="img-fluid" src="{{ item.image ? _p.web_upload ~ item.image : 'session_default.png'|icon() }}">
</a> </a>
{% endset %} {% endset %}
{% set content %} {% set content %}
<div class="card-title"> <div class="card-title">
<h5 class="title"> <h5 class="title">
<a href="{{ _p.web ~ 'session/' ~ item.id ~ '/about/' }}" title="{{ item.name }}"> <a href="{{ _p.web ~ 'session/' ~ item.id ~ '/about/' }}" title="{{ item.title }}">
{{ item.name }} {{ item.title }}
</a> </a>
</h5> </h5>
</div> </div>
@ -126,14 +126,14 @@
var content = ''; var content = '';
{% if item.sequences %} {% if item.sequences %}
{% for sequence in item.sequences %} {% for sequence in item.sequences %}
content += '<p class="lead">{{ sequence.name }}</p>'; content += '<p class="lead">{{ sequence.title }}</p>';
{% if sequence.requirements %} {% if sequence.requirements %}
content += '<p><em class="fa fa-sort-amount-desc"></em> {{ 'RequiredSessions'|get_lang }}</p>'; content += '<p><em class="fa fa-sort-amount-desc"></em> {{ 'RequiredSessions'|get_lang }}</p>';
content += '<ul>'; content += '<ul>';
{% for requirement in sequence.requirements %} {% for requirement in sequence.requirements %}
content += '<li>'; content += '<li>';
content += '<a href="{{ _p.web ~ 'session/' ~ requirement.id ~ '/about/' }}">{{ requirement.name }}</a>'; content += '<a href="{{ _p.web ~ 'session/' ~ requirement.id ~ '/about/' }}">{{ requirement.title }}</a>';
content += '</li>'; content += '</li>';
{% endfor %} {% endfor %}
@ -146,7 +146,7 @@
{% for dependency in sequence.dependencies %} {% for dependency in sequence.dependencies %}
content += '<li>'; content += '<li>';
content += '<a href="{{ _p.web ~ 'session/' ~ dependency.id ~ '/about/' }}">{{ dependency.name }}</a>'; content += '<a href="{{ _p.web ~ 'session/' ~ dependency.id ~ '/about/' }}">{{ dependency.title }}</a>';
content += '</li>'; content += '</li>';
{% endfor %} {% endfor %}

@ -20,7 +20,7 @@
{% endfor %} {% endfor %}
<a {{ a_params }} > <a {{ a_params }} >
<img src="{{ item.tool.image|replace({'.gif': '.png'})|icon() }}" alt="{{ item.name }}" <img src="{{ item.tool.image|replace({'.gif': '.png'})|icon() }}" alt="{{ item.item }}"
id="toolimage_{{ item.tool.iid }}"> id="toolimage_{{ item.tool.iid }}">
</a> </a>
{{ item.link }} {{ item.link }}

@ -34,7 +34,7 @@
{% if pdf_session_info %} {% if pdf_session_info %}
<tr> <tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px;"> <td style="background-color: #E5E5E5; text-align: left; width:130px;">
<strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.name }} <strong>{{ "Session" | get_lang }}:</strong> {{ pdf_session_info.title }}
</td> </td>
{% if pdf_session_info.description %} {% if pdf_session_info.description %}

@ -20,7 +20,7 @@ $(function () {
$.each(courseList, function (index, course) { $.each(courseList, function (index, course) {
$('<option>', { $('<option>', {
value: course.id, value: course.id,
text: course.name text: course.title
}).appendTo($selectCourse); }).appendTo($selectCourse);
}); });
} }

@ -58,7 +58,7 @@
{% if skills %} {% if skills %}
<ul style="color: #672290; font-size: 16px;"> <ul style="color: #672290; font-size: 16px;">
{% for skill in skills %} {% for skill in skills %}
<li>{{ skill.name }}</li> <li>{{ skill.title }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}

@ -16,7 +16,7 @@
{% if course.categories %} {% if course.categories %}
{% for category in course.categories %} {% for category in course.categories %}
<p><strong>{{ 'Category'|get_lang }}</strong><br>{{ category.name }}</p> <p><strong>{{ 'Category'|get_lang }}</strong><br>{{ category.title }}</p>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div>

@ -1,5 +1,5 @@
<h3 style="text-align: center; text-transform: uppercase; font-size: 20px; font-weight: bold;">{{ data.name }}</h3> <h3 style="text-align: center; text-transform: uppercase; font-size: 20px; font-weight: bold;">{{ data.title }}</h3>
<br> <br>
<p>{{ 'Candidate' | get_lang }} : {{ data.candidate }}</p> <p>{{ 'Candidate' | get_lang }} : {{ data.candidate }}</p>
<p>{{ 'ScormStartAttemptDate' | get_lang }} : {{ data.start_date }}</p> <p>{{ 'ScormStartAttemptDate' | get_lang }} : {{ data.start_date }}</p>
@ -58,7 +58,7 @@
{% for item in categories %} {% for item in categories %}
<tr> <tr>
<td style="height:40px; width: 40%; text-align: left; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;"> <td style="height:40px; width: 40%; text-align: left; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
{{ item.name }} {{ item.title }}
</td> </td>
<td style="text-align: center; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;"> <td style="text-align: center; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
{% if item.score_numeric == 0 %} {% if item.score_numeric == 0 %}

@ -2,7 +2,7 @@
{{ form }} {{ form }}
{% if session %} {% if session %}
<h3 class="page-header">{{ session.name }}</h3> <h3 class="page-header">{{ session.title }}</h3>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-hover table-striped"> <table class="table table-hover table-striped">
<thead> <thead>

@ -1,13 +1,13 @@
<h2 class="page-header">{{ 'RequiredCourses'|trans }}</h2> <h2 class="page-header">{{ 'RequiredCourses'|trans }}</h2>
{% for key, item in sequences %} {% for key, item in sequences %}
<h4>{{ item.name }}</h4> <h4>{{ item.title }}</h4>
<div id="parents"> <div id="parents">
{% for course in item.requirements %} {% for course in item.requirements %}
<div class="parent"> <div class="parent">
<div class="big-icon"> <div class="big-icon">
{{ 'ObjectIcon::SEQUENCE'|mdi_icon(48) }} {{ 'ObjectIcon::SEQUENCE'|mdi_icon(48) }}
<p class="sequence-course">{{ course.name }}</p> <p class="sequence-course">{{ course.title }}</p>
{% if _u.logged %} {% if _u.logged %}
<span class="label {{ course.status ? 'label-success' : 'label-danger' }}"> <span class="label {{ course.status ? 'label-success' : 'label-danger' }}">

@ -1,13 +1,13 @@
<h2 class="page-header">{{ 'Required sessions'|trans }}</h2> <h2 class="page-header">{{ 'Required sessions'|trans }}</h2>
{% for item in sequences %} {% for item in sequences %}
<h4>{{ item.name }}</h4> <h4>{{ item.title }}</h4>
<div id="parents"> <div id="parents">
{% for session in item.requirements %} {% for session in item.requirements %}
<div class="parent"> <div class="parent">
<div class="big-icon"> <div class="big-icon">
{{ 'ObjectIcon::SEQUENCE'|mdi_icon(48) }} {{ 'ObjectIcon::SEQUENCE'|mdi_icon(48) }}
<p class="sequence-course">{{ session.name }}</p> <p class="sequence-course">{{ session.title }}</p>
{% if _u.logged %} {% if _u.logged %}
<span class="label {{ session.status ? 'label-success' : 'label-danger' }}"> <span class="label {{ session.status ? 'label-success' : 'label-danger' }}">

@ -26,7 +26,7 @@
{% if session.category %} {% if session.category %}
<tr> <tr>
<td>{{ 'Session category' | trans}} </td> <td>{{ 'Session category' | trans}} </td>
<td>{{ session.category.name }}</td> <td>{{ session.category.title }}</td>
</tr> </tr>
{% endif %} {% endif %}
@ -81,7 +81,7 @@
<a <a
href="{{ _p.web_main }}admin/career_dashboard.php?filter={{ session.promotion.career.id }}&submit=&_qf__filter_form=" href="{{ _p.web_main }}admin/career_dashboard.php?filter={{ session.promotion.career.id }}&submit=&_qf__filter_form="
> >
{{ session.promotion.career.name }} {{ session.promotion.career.title }}
</a> </a>
</td> </td>
</tr> </tr>
@ -89,7 +89,7 @@
<td>{{ 'Promotion' | trans}}</td> <td>{{ 'Promotion' | trans}}</td>
<td> <td>
<a href="{{ _p.web_main }}admin/promotions.php?action=edit&id={{ session.promotion.id }}"> <a href="{{ _p.web_main }}admin/promotions.php?action=edit&id={{ session.promotion.id }}">
{{ session.promotion.name }} {{ session.promotion.title }}
</a> </a>
</td> </td>
</tr> </tr>

@ -42,7 +42,7 @@
<div class="col-md-9"> <div class="col-md-9">
<form action="{{ current_url }}" class="form-horizontal" method="post" enctype="multipart/form-data"> <form action="{{ current_url }}" class="form-horizontal" method="post" enctype="multipart/form-data">
<legend> <legend>
{{ skill.name }} {{ skill.title }}
</legend> </legend>
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label" for="image">{{ 'Image' | trans }}</label> <label class="col-sm-2 control-label" for="image">{{ 'Image' | trans }}</label>

@ -26,7 +26,7 @@
{{ skill.img_small }} {{ skill.img_small }}
</td> </td>
<td> <td>
{{ skill.name }} {{ skill.title }}
</td> </td>
<td>{{ skill.description }}</td> <td>{{ skill.description }}</td>
<td> <td>

@ -3,9 +3,9 @@
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<figure class="thumbnail"> <figure class="thumbnail">
<img class="img-fluid" src="{{ skill_info.badge_image }}" alt="{{ skill_info.name }}"> <img class="img-fluid" src="{{ skill_info.badge_image }}" alt="{{ skill_info.title }}">
<figcaption class="caption"> <figcaption class="caption">
<p class="name-badge text-center">{{ skill_info.name }}</p> <p class="name-badge text-center">{{ skill_info.title }}</p>
{% if skill_info.short_code %} {% if skill_info.short_code %}
<p class="code-badge text-center"> <p class="code-badge text-center">
{{ 'ObjectIcon::BADGE' | mdi_icon }} {{ 'ObjectIcon::BADGE' | mdi_icon }}
@ -16,7 +16,7 @@
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
<h4 class="title-badge">{{ 'Name'|trans }}</h4> <h4 class="title-badge">{{ 'Name'|trans }}</h4>
<p class="lead">{{ skill_info.name }}</p> <p class="lead">{{ skill_info.title }}</p>
<h4 class="title-badge">{{ 'Description'|trans }}</h4> <h4 class="title-badge">{{ 'Description'|trans }}</h4>
<p>{{ skill_info.description }}</p> <p>{{ skill_info.description }}</p>
<h4 class="title-badge">{{ 'CriteriaToEarnTheBadge'|trans }}</h4> <h4 class="title-badge">{{ 'CriteriaToEarnTheBadge'|trans }}</h4>

@ -35,7 +35,7 @@
<option value="0">{{ 'Select' | trans }}</option> <option value="0">{{ 'Select' | trans }}</option>
{% for skill in skills %} {% for skill in skills %}
<option value="{{ skill.id }}" {{ (skill.id == selected_skill) ? 'selected' : '' }}> <option value="{{ skill.id }}" {{ (skill.id == selected_skill) ? 'selected' : '' }}>
{{ skill.name }} {{ skill.title }}
</option> </option>
{% endfor %} {% endfor %}
</select> </select>

@ -43,7 +43,7 @@
<img src="{{ skill.asset }}?w=50" /> <img src="{{ skill.asset }}?w=50" />
{% endif %} {% endif %}
</td> </td>
<td width="200">{{ skill.name }}</td> <td width="200">{{ skill.title }}</td>
<td class="text-center">{{ skill.short_code }}</td> <td class="text-center">{{ skill.short_code }}</td>
<td width="500">{{ skill.description }}</td> <td width="500">{{ skill.description }}</td>
<td class="text-right"> <td class="text-right">

@ -4,7 +4,7 @@
<ul class="holder"> <ul class="holder">
{% for search_skill_id in search_skill_list %} {% for search_skill_id in search_skill_list %}
<li class="bit-box"> <li class="bit-box">
{{ skill_list[search_skill_id].name}} {{ skill_list[search_skill_id].title}}
<a class="closebutton" href="?a=remove_skill&id={{search_skill_id}}"></a> <a class="closebutton" href="?a=remove_skill&id={{search_skill_id}}"></a>
</li> </li>
{% endfor %} {% endfor %}
@ -21,7 +21,7 @@
<ul class="holder"> <ul class="holder">
{%for profile in profiles %} {%for profile in profiles %}
<li class="bit-box"> <li class="bit-box">
<a href="?a=load_profile&id={{profile.id}}">{{profile.name}}</a> <a href="?a=load_profile&id={{profile.id}}">{{profile.title}}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -68,15 +68,15 @@
{% for skill_data in user.skills %} {% for skill_data in user.skills %}
<li class="list-group-item {{ skill_data.found ? '' : 'text-muted' }}"> <li class="list-group-item {{ skill_data.found ? '' : 'text-muted' }}">
{% if skill_list[skill_data.skill_id].icon %} {% if skill_list[skill_data.skill_id].icon %}
<img src="{{ _p.web_upload ~ skill_list[skill_data.skill_id].icon_small }}" width="22" height="22" alt="{{ skill_list[skill_data.skill_id].name }}"> <img src="{{ _p.web_upload ~ skill_list[skill_data.skill_id].icon_small }}" width="22" height="22" alt="{{ skill_list[skill_data.skill_id].title }}">
{% else %} {% else %}
{{ 'ObjectIcon::BADGE'|mdi_icon(22, 'ch-tool-icon', skill_list[skill_data.skill_id].name) }}"> {{ 'ObjectIcon::BADGE'|mdi_icon(22, 'ch-tool-icon', skill_list[skill_data.skill_id].title) }}">
{% endif %} {% endif %}
{% if skill_data.found %} {% if skill_data.found %}
<b>{{ skill_list[skill_data.skill_id].name }}</b> <b>{{ skill_list[skill_data.skill_id].title }}</b>
{% else %} {% else %}
{{ skill_list[skill_data.skill_id].name }} {{ skill_list[skill_data.skill_id].title }}
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}

@ -4,7 +4,7 @@
<tbody> <tbody>
{%for profile in profiles %} {%for profile in profiles %}
<tr> <tr>
<td>{{ profile.name }}</td> <td>{{ profile.title }}</td>
<td class="text-right"> <td class="text-right">
<div class="btn-group btn-group-sm"> <div class="btn-group btn-group-sm">
<button class="btn btn--plain btn-sm skill-wheel-load-profile" aria-label="{{ 'Search'|trans }}" title="{{ 'Search'|trans }}" data-id="{{ profile.id }}"> <button class="btn btn--plain btn-sm skill-wheel-load-profile" aria-label="{{ 'Search'|trans }}" title="{{ 'Search'|trans }}" data-id="{{ profile.id }}">

@ -1,16 +1,16 @@
<p>{{ "ToGetToLearnXYouWillNeedToTakeOneOfTheFollowingCourses" | trans | format( "<em>" ~ skill.name ~ "</em>") }}</p> <p>{{ "ToGetToLearnXYouWillNeedToTakeOneOfTheFollowingCourses" | trans | format( "<em>" ~ skill.title ~ "</em>") }}</p>
<ul> <ul>
{% for course in courses %} {% for course in courses %}
<li> <li>
<a href="#" class="course_description_popup" rel="{{ course.code }}"> <a href="#" class="course_description_popup" rel="{{ course.code }}">
{{ "SkillXWithCourseX" | trans | format(skill.name, course.title) }} {{ "SkillXWithCourseX" | trans | format(skill.title, course.title) }}
</a> </a>
</li> </li>
{% endfor %} {% endfor %}
{% for session in sessions %} {% for session in sessions %}
<li> <li>
{{ "SkillXWithCourseX" | trans | format(skill.name, session.name) }} {{ "SkillXWithCourseX" | trans | format(skill.title, session.name) }}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -87,7 +87,7 @@ jsPlumb.ready(function() {
function(data) { function(data) {
$.each(data, function(n, parent) { $.each(data, function(n, parent) {
// add a new option with the JSON-specified value and text // add a new option with the JSON-specified value and text
$("<option />").attr("value", parent.id).text(parent.name).appendTo("#parent_id"); $("<option />").attr("value", parent.id).text(parent.title).appendTo("#parent_id");
}); });
} }
);*/ );*/
@ -97,7 +97,7 @@ jsPlumb.ready(function() {
function(data) { function(data) {
$.each(data, function(n, gradebook) { $.each(data, function(n, gradebook) {
// add a new option with the JSON-specified value and text // add a new option with the JSON-specified value and text
$("<option />").attr("value", gradebook.id).text(gradebook.name).appendTo("#gradebook_id"); $("<option />").attr("value", gradebook.id).text(gradebook.title).appendTo("#gradebook_id");
}); });
} }
); );
@ -124,7 +124,7 @@ jsPlumb.ready(function() {
function(data) { function(data) {
$.each(data, function(n, parent) { $.each(data, function(n, parent) {
// add a new option with the JSON-specified value and text // add a new option with the JSON-specified value and text
$("<option />").attr("value", parent.id).text(parent.name).appendTo("#parent_id"); $("<option />").attr("value", parent.id).text(parent.title).appendTo("#parent_id");
}); });
} }
); );
@ -281,7 +281,7 @@ jsPlumb.ready(function() {
url: url+'&a=get_skill_info&id='+my_id, url: url+'&a=get_skill_info&id='+my_id,
success: function(json) { success: function(json) {
var skill = jQuery.parseJSON(json); var skill = jQuery.parseJSON(json);
$("#name").attr('value', skill.name); $("#name").attr('value', skill.title);
$("#id").attr('value', skill.id); $("#id").attr('value', skill.id);
$("#description").attr('value', skill.description); $("#description").attr('value', skill.description);
//filling parent_id //filling parent_id

@ -126,7 +126,7 @@ jsPlumb.bind("ready", function() {
url: url+'&a=get_skill_info&id='+my_id, url: url+'&a=get_skill_info&id='+my_id,
success: function(json) { success: function(json) {
var skill = jQuery.parseJSON(json); var skill = jQuery.parseJSON(json);
$("#name").html(skill.name); $("#name").html(skill.title);
$("#id").attr('value', skill.id); $("#id").attr('value', skill.id);
$("#description").html(skill.description); $("#description").html(skill.description);
//filling parent_id //filling parent_id
@ -134,7 +134,7 @@ jsPlumb.bind("ready", function() {
//filling the gradebook_id //filling the gradebook_id
$("#gradebook_id").html(''); $("#gradebook_id").html('');
jQuery.each(skill.gradebooks, function(index, data) { jQuery.each(skill.gradebooks, function(index, data) {
$("#gradebook_id").append('<span class="label_tag gradebook">'+data.name+'</div>'); $("#gradebook_id").append('<span class="label_tag gradebook">'+data.title+'</div>');
}); });
}, },
}); });

@ -38,7 +38,7 @@
if ($('#skill_to_select_id_' + skill_id).length == 0) { if ($('#skill_to_select_id_' + skill_id).length == 0) {
skill_info = get_skill_info(skill_id); skill_info = get_skill_info(skill_id);
li = fill_skill_search_li(skill_id, skill_info.name); li = fill_skill_search_li(skill_id, skill_info.title);
$("#skill_holder").append(li); $("#skill_holder").append(li);
} }
} }
@ -110,7 +110,7 @@
skill = get_skill_info(skill_id); skill = get_skill_info(skill_id);
$("#skill_edit_holder").append('<li class="bit-box" id="skill_option_' + skill_id + '"> ' + skill.name + '</li>'); $("#skill_edit_holder").append('<li class="bit-box" id="skill_option_' + skill_id + '"> ' + skill.title + '</li>');
$("#parent_id").append('<option class="selected" selected="selected" value="' + skill_id + '"></option>'); $("#parent_id").append('<option class="selected" selected="selected" value="' + skill_id + '"></option>');
} }
} }
@ -150,7 +150,7 @@
if ($('#gradebook_item_' + gradebook_id).length == 0) { if ($('#gradebook_item_' + gradebook_id).length == 0) {
gradebook = get_gradebook_info(gradebook_id); gradebook = get_gradebook_info(gradebook_id);
if (gradebook) { if (gradebook) {
$("#gradebook_holder").append('<li id="gradebook_item_' + gradebook_id + '" class="bit-box"> ' + gradebook.name + $("#gradebook_holder").append('<li id="gradebook_item_' + gradebook_id + '" class="bit-box"> ' + gradebook.title +
' <a rel="' + gradebook_id + '" class="closebutton" href="#"></a></li>'); ' <a rel="' + gradebook_id + '" class="closebutton" href="#"></a></li>');
} }
} }
@ -297,7 +297,7 @@
); );
$.when(getProfileInfo).done(function (profileInfo) { $.when(getProfileInfo).done(function (profileInfo) {
$("#name_profile").val(profileInfo.name); $("#name_profile").val(profileInfo.title);
$("#description_profile").val(profileInfo.description); $("#description_profile").val(profileInfo.description);
$('#frm-save-profile').modal('show'); $('#frm-save-profile').modal('show');
@ -334,10 +334,10 @@
$.each(skill_list, function (index, skill_id) { $.each(skill_list, function (index, skill_id) {
skill_info = get_skill_info(skill_id); skill_info = get_skill_info(skill_id);
li = fill_skill_search_li(skill_id, skill_info.name, 1); li = fill_skill_search_li(skill_id, skill_info.title, 1);
$("#skill_holder").append(li); $("#skill_holder").append(li);
add_skill_in_profile_list(skill_id, skill_info.name); add_skill_in_profile_list(skill_id, skill_info.title);
}); });
submit_profile_search_form(); submit_profile_search_form();
@ -447,7 +447,7 @@
return; return;
} }
add_skill_in_profile_list(SkillWheel.currentSkill.id, SkillWheel.currentSkill.name); add_skill_in_profile_list(SkillWheel.currentSkill.id, SkillWheel.currentSkill.title);
}); });
$('#frm-save-profile').on('hidden.bs.modal', function () { $('#frm-save-profile').on('hidden.bs.modal', function () {

@ -23,10 +23,10 @@ var SkillWheel = {
var getSkillParentInfo = SkillWheel.getSkillInfo(skillInfo.extra.parent_id); var getSkillParentInfo = SkillWheel.getSkillInfo(skillInfo.extra.parent_id);
$.when(getSkillParentInfo).done(function(skillParentInfo) { $.when(getSkillParentInfo).done(function(skillParentInfo) {
formSkill.find('p#parent').text(skillParentInfo.name); formSkill.find('p#parent').text(skillParentInfo.title);
}); });
formSkill.find('p#name').text(skillInfo.name); formSkill.find('p#name').text(skillInfo.title);
if (skillInfo.short_code.length > 0) { if (skillInfo.short_code.length > 0) {
formSkill.find('p#short_code').text(skillInfo.short_code).parent().parent().show(); formSkill.find('p#short_code').text(skillInfo.short_code).parent().parent().show();
@ -44,7 +44,7 @@ var SkillWheel = {
formSkill.find('ul#gradebook').empty().parent().parent().show(); formSkill.find('ul#gradebook').empty().parent().parent().show();
$.each(skillInfo.gradebooks, function(index, gradebook) { $.each(skillInfo.gradebooks, function(index, gradebook) {
$('<li>').text(gradebook.name).appendTo(formSkill.find('ul#gradebook')); $('<li>').text(gradebook.title).appendTo(formSkill.find('ul#gradebook'));
}); });
} else { } else {
formSkill.find('ul#gradebook').parent().parent().hide(); formSkill.find('ul#gradebook').parent().parent().hide();
@ -183,7 +183,7 @@ function get_color(d) {
//part_color = $.xcolor.gradientlevel(family1, family2, position, 100); //part_color = $.xcolor.gradientlevel(family1, family2, position, 100);
part_color = $.xcolor.lighten(family1, position, 15); part_color = $.xcolor.lighten(family1, position, 15);
color = part_color.getHex(); color = part_color.getHex();
//console.log(d.depth + " - " + d.name + " + "+ color+ "+ " +d.counter); //console.log(d.depth + " - " + d.title + " + "+ color+ "+ " +d.counter);
} else { } else {
color = colors[d.family_id]; color = colors[d.family_id];
} }
@ -335,7 +335,7 @@ function click_partition(d, path, text, icon, arc, x, y, r, p, vis) {
}; };
}) })
.attrTween("transform", function(d) { .attrTween("transform", function(d) {
var multiline = is_multiline(d.name); //(d.name || "").split(" ").length > 1; var multiline = is_multiline(d.title); //(d.title || "").split(" ").length > 1;
return function() { return function() {
var angle = x(d.x + d.dx / 2) * 180 / Math.PI - 90, var angle = x(d.x + d.dx / 2) * 180 / Math.PI - 90,
rotate = angle + (multiline ? -.5 : 0); rotate = angle + (multiline ? -.5 : 0);
@ -571,12 +571,12 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
}) })
.attr("rel", "tooltip_skill") .attr("rel", "tooltip_skill")
.attr("title", function(d) { .attr("title", function(d) {
return d.name; return d.title;
}) })
.attr("dy", ".2em") .attr("dy", ".2em")
.attr("transform", function(d) { .attr("transform", function(d) {
/** Get the text details and define the rotation and general position */ /** Get the text details and define the rotation and general position */
var multiline = is_multiline(d.name); //(d.name || "").split(" ").length > 1, var multiline = is_multiline(d.title); //(d.title || "").split(" ").length > 1,
angle = x(d.x + d.dx / 2) * 180 / Math.PI - 90, angle = x(d.x + d.dx / 2) * 180 / Math.PI - 90,
rotate = angle + (multiline ? -.5 : 0); rotate = angle + (multiline ? -.5 : 0);
return "rotate(" + rotate + ")translate(" + (y(d.y) + padding) + ")rotate(" + (angle > 90 ? -180 : 0) + ")"; return "rotate(" + rotate + ")translate(" + (y(d.y) + padding) + ")rotate(" + (angle > 90 ? -180 : 0) + ")";
@ -605,8 +605,8 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
return d.short_code; return d.short_code;
} }
if (d.depth && d.name) { if (d.depth && d.title) {
var nameParts = d.name.split(' '); var nameParts = d.title.split(' ');
if (nameParts[0].length > max_size_text_length) { if (nameParts[0].length > max_size_text_length) {
return nameParts[0].substring(0, max_size_text_length - 3) + '...'; return nameParts[0].substring(0, max_size_text_length - 3) + '...';
@ -615,7 +615,7 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
return nameParts[0]; return nameParts[0];
} }
return d.depth ? d.name : ''; return d.depth ? d.title : '';
}); });
textEnter.append("tspan") textEnter.append("tspan")
@ -626,8 +626,8 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
return null; return null;
} }
if (d.depth && d.name) { if (d.depth && d.title) {
var nameParts = d.name.split(' '); var nameParts = d.title.split(' ');
if (nameParts.length >= 2) { if (nameParts.length >= 2) {
if (nameParts[1].length > max_size_text_length) { if (nameParts[1].length > max_size_text_length) {
@ -640,7 +640,7 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
return ''; return '';
} }
return d.depth ? d.name : ''; return d.depth ? d.title : '';
}); });
/* Icon settings */ /* Icon settings */

@ -36,7 +36,7 @@
if ($('#skill_to_select_id_' + skill_id).length == 0) { if ($('#skill_to_select_id_' + skill_id).length == 0) {
skill_info = get_skill_info(skill_id); skill_info = get_skill_info(skill_id);
li = fill_skill_search_li(skill_id, skill_info.name); li = fill_skill_search_li(skill_id, skill_info.title);
$("#skill_holder").append(li); $("#skill_holder").append(li);
} }
} }

@ -2,7 +2,7 @@
<ul class="skill-winner"> <ul class="skill-winner">
{%for skill in skills %} {%for skill in skills %}
<li> <li>
<a class="" rel="{{ skill.id}}" href="#">{{ skill.name }}</a> <a class="" rel="{{ skill.id}}" href="#">{{ skill.title }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -21,18 +21,18 @@
{{ form }} {{ form }}
{% endif %} {% endif %}
{% for item in list %} {% for skill in list %}
<h4> <h4>
{{ item.name }} {{ skill.title }}
{% if item.shortCode %} {% if skill.shortCode %}
({{ item.shortCode }}) ({{ skill.shortCode }})
{% endif %} {% endif %}
<a <a
href="{{ url('legacy_main', {'name' : 'skills/skill.php'}) ~ '?action=edit&id=' ~ item.id}}" href="{{ url('legacy_main', {'name' : 'skills/skill.php'}) ~ '?action=edit&id=' ~ skill.id}}"
> >
{{ 'ActionIcon::EDIT'|mdi_icon(22) }} {{ 'ActionIcon::EDIT'|mdi_icon(22) }}
</a> </a>
</h4> </h4>
{{ item.profile }} {{ skill.profile }}
{% endfor %} {% endfor %}
{% endautoescape %} {% endautoescape %}

@ -4,32 +4,32 @@
{{ form }} {{ form }}
{% endif %} {% endif %}
{% for item in list %} {% for profile in list %}
<h4>{{ item.name }} <h4>{{ profile.title }}
{#<a href="{{ _p.web_main }}skills/skill_level.php?action=add_level&id={{ item.id }}">#} {#<a href="{{ _p.web_main }}skills/skill_level.php?action=add_level&id={{ profile.id }}">#}
{#{{ 'ActionIcon::ADD'|mdi_icon }}#} {#{{ 'ActionIcon::ADD'|mdi_icon }}#}
{#</a>#} {#</a>#}
<a <a
href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=edit&id={{ item.id }}" href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=edit&id={{ profile.id }}"
> >
{{ 'ActionIcon::EDIT'|mdi_icon }} {{ 'ActionIcon::EDIT'|mdi_icon }}
</a> </a>
<a <a
href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=delete&id={{ item.id }}" href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=delete&id={{ profile.id }}"
> >
{{ 'ActionIcon::DELETE'|mdi_icon }} {{ 'ActionIcon::DELETE'|mdi_icon }}
</a> </a>
</h4> </h4>
<ul> <ul>
{% for level in item.levels %} {% for level in profile.levels %}
<li> <li>
{{ level }} {{ level }}
{% if loop.first %} {% if loop.first %}
{{ 'ActionIcon::UP'|mdi_icon(22, 'ch-tool-icon-disabled') }} {{ 'ActionIcon::UP'|mdi_icon(22, 'ch-tool-icon-disabled') }}
{% else %} {% else %}
<a <a
href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=move_up&level_id={{ level.id }}&id={{ item.id }}" href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=move_up&level_id={{ level.id }}&id={{ profile.id }}"
> >
{{ 'ActionIcon::UP'|mdi_icon(22) }} {{ 'ActionIcon::UP'|mdi_icon(22) }}
</a> </a>
@ -39,7 +39,7 @@
{{ 'ActionIcon::DOWN'|mdi_icon(22, 'ch-tool-icon-disabled') }} {{ 'ActionIcon::DOWN'|mdi_icon(22, 'ch-tool-icon-disabled') }}
{% else %} {% else %}
<a <a
href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=move_down&level_id={{ level.id }}&id={{ item.id }}" href="{{ url('legacy_main', {'name' : 'skills/skill_profile.php'}) }}?action=move_down&level_id={{ level.id }}&id={{ profile.id }}"
> >
{{ 'ActionIcon::DOWN'|mdi_icon(22) }} {{ 'ActionIcon::DOWN'|mdi_icon(22) }}
</a> </a>

@ -6,7 +6,7 @@
<div class="caption"> <div class="caption">
{# <h4 class="group-title">#} {# <h4 class="group-title">#}
{# <a href="{{ url('legacy_main', { 'name' : 'social/group_view.php', 'id': group_id}) }}">#} {# <a href="{{ url('legacy_main', { 'name' : 'social/group_view.php', 'id': group_id}) }}">#}
{# {{ user_group.name }}#} {# {{ user_group.title }}#}
{# </a>#} {# </a>#}
{# </h4>#} {# </h4>#}
{# <p class="group-description">#} {# <p class="group-description">#}

@ -20,7 +20,7 @@
{% endif %} {% endif %}
<div class="group-info"> <div class="group-info">
<h2 class="title">{{ group_info.name }}</h2> <h2 class="title">{{ group_info.title }}</h2>
<p class="description">{{ group_info.description }}</p> <p class="description">{{ group_info.description }}</p>
</div> </div>

@ -95,7 +95,7 @@
{% for session in session_list %} {% for session in session_list %}
<li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;"> <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
<img class="img-session" src="{{ session.image }}"/> <img class="img-session" src="{{ session.image }}"/>
<span class="title">{{ session.name }}</span> <span class="title">{{ session.title }}</span>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -91,7 +91,7 @@
{% for session in session_list %} {% for session in session_list %}
<li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;"> <li id="session_{{ session.id }}" class="list-group-item" style="min-height:65px;">
<img class="img-session" src="{{ session.image }}"/> <img class="img-session" src="{{ session.image }}"/>
<span class="title">{{ session.name }}</span> <span class="title">{{ session.title }}</span>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -28,7 +28,7 @@
{{ survey.course.title }} {{ survey.course.title }}
{% if survey.session %} {% if survey.session %}
({{ survey.session.name }}) ({{ survey.session.title }})
{% endif %} {% endif %}
</span> </span>
</li> </li>

@ -9,13 +9,13 @@
{% set image %} {% set image %}
<img src="{{ category.image ? _p.web_upload ~ category.image : 'session_default.png'|icon(128) }}" <img src="{{ category.image ? _p.web_upload ~ category.image : 'session_default.png'|icon(128) }}"
alt="{{ category.name }}" class=""> alt="{{ category.title }}" class="">
{% endset %} {% endset %}
{% set title %} {% set title %}
<a href="{{ _p.web_self ~ '?' ~ {'category':category.code}|url_encode }}"> <a href="{{ _p.web_self ~ '?' ~ {'category':category.code}|url_encode }}">
<h5 class="title"> <h5 class="title">
{{ category.name }} {{ category.title }}
</h5> </h5>
<div class="courses">{{ category.course_count }} {{ 'Courses'|get_lang }}</div> <div class="courses">{{ category.course_count }} {{ 'Courses'|get_lang }}</div>
</a> </a>

@ -4,7 +4,7 @@
<div class="col-xs-12 col-sm-6 col-md-4"> <div class="col-xs-12 col-sm-6 col-md-4">
<div class="items items-sessions"> <div class="items items-sessions">
<div class="image"> <div class="image">
<a title="{{ course.name }}" href="{{ course.link }}"> <a title="{{ course.title }}" href="{{ course.link }}">
<img src="{{ course.image }}" class="img-responsive"> <img src="{{ course.image }}" class="img-responsive">
</a> </a>
{% if course.category != '' and show_category %} {% if course.category != '' and show_category %}

@ -7,7 +7,7 @@
{% set image %} {% set image %}
{% if item.category %} {% if item.category %}
<div class="category" style="background: {{ item.color.color }}; color:{{ item.color.luminosity }}"> <div class="category" style="background: {{ item.color.color }}; color:{{ item.color.luminosity }}">
{{ item.category.name }} {{ item.category.title }}
</div> </div>
{% endif %} {% endif %}
<img src="{{ item.image }}" class="img-fluid"> <img src="{{ item.image }}" class="img-fluid">
@ -57,10 +57,10 @@
{% set content %} {% set content %}
<ul class="list-group list-group-flush"> <ul class="list-group list-group-flush">
{% for row in item.courses %} {% for course in item.courses %}
<li class="list-group-item"> <li class="list-group-item">
<img src="{{ row.icon }}" width="32px"> <img src="{{ course.icon }}" width="32px">
<a href="{{ row.link }}">{{ row.name }}</a> <a href="{{ course.link }}">{{ course.title }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<h2>{{ admin.complete_name }}</h2> <h2>{{ admin.complete_name }}</h2>
<p>{{ "MailContentAdminAcceptToAdmin" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name_with_username, session.name) }}</p> <p>{{ "MailContentAdminAcceptToAdmin" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name_with_username, session.title) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p> <p>{{ "MailThankYou" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminAcceptToStudent" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminAcceptToStudent" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p> {{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }} </p> <td valign="top"><p> {{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }} </p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentAdminAcceptToStudent" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name, session.date_start) }}</p> <p>{{ "MailContentAdminAcceptToStudent" | get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title, session.date_start) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p> <p>{{ "MailThankYou" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminAcceptToSuperior"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name, session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminAcceptToSuperior"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name, session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear"| get_plugin_lang('AdvancedSubscriptionPlugin') }}</p> <td valign="top"><p>{{ "MailDear"| get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentAdminAcceptToSuperior"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name, session.name, session.date_start) }}</p> <p>{{ "MailContentAdminAcceptToSuperior"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name, session.title, session.date_start) }}</p>
<p>{{ "MailThankYou"| get_plugin_lang('AdvancedSubscriptionPlugin') }}</p> <p>{{ "MailThankYou"| get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ admin.complete_name }}</h2> <h2>{{ admin.complete_name }}</h2>
<p>{{ "MailContentAdminRejectToAdmin"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name_with_username, session.name) }}</strong></p> <p>{{ "MailContentAdminRejectToAdmin"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(student.complete_name_with_username, session.title) }}</strong></p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminRejectToStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminRejectToStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentAdminRejectToStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name, session.date_start) }}</p> <p>{{ "MailContentAdminRejectToStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title, session.date_start) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleAdminRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentAdminRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.name) }}</p> <p>{{ "MailContentAdminRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.title) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -8,13 +8,13 @@
</option> </option>
{% for sessionItem in sessionItems %} {% for sessionItem in sessionItems %}
<option value="{{ sessionItem.id }}" {{ sessionItem.selected }}> <option value="{{ sessionItem.id }}" {{ sessionItem.selected }}>
{{ sessionItem.name }} {{ sessionItem.title }}
</option> </option>
{% endfor %} {% endfor %}
</select> </select>
<h4>{{ "SessionName" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4> <h4>{{ "SessionName" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4>
<h3 class="title-name-session">{{ session.name }}</h3> <h3 class="title-name-session">{{ session.title }}</h3>
<h4>{{ "Target" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4> <h4>{{ "Target" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</h4>
<p>{{ session.target }}</p> <p>{{ session.target }}</p>

@ -40,7 +40,7 @@
</div> </div>
{% else %} {% else %}
<div class="alert alert-success legal-terms-popup"> <div class="alert alert-success legal-terms-popup">
{{ 'SuccessSubscriptionToSessionX'|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.name) }} {{ 'SuccessSubscriptionToSessionX'|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.title) }}
</div> </div>
<div class="text-right legal-terms-popup"> <div class="text-right legal-terms-popup">
@ -48,7 +48,7 @@
class="btn btn--success btn-advanced-subscription btn-accept" class="btn btn--success btn-advanced-subscription btn-accept"
href="#" id="asp-go-to"> href="#" id="asp-go-to">
<em class="fa fa-external-link"></em> <em class="fa fa-external-link"></em>
{{ "GoToSessionX"|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.name) }} {{ "GoToSessionX"|get_plugin_lang('AdvancedSubscriptionPlugin')|format(session.title) }}
</a> </a>
</div> </div>
{% endif %} {% endif %}

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleReminderAdmin" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name)}}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleReminderAdmin" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title)}}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ admin.complete_name }}</h2> <h2>{{ admin.complete_name }}</h2>
<p>{{ "MailContentReminderAdmin" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, admin_view_url)}}</p> <p>{{ "MailContentReminderAdmin" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, admin_view_url)}}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleReminderStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleReminderStudent"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentReminderStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, session.date_start) }}</p> <p>{{ "MailContentReminderStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, session.date_start) }}</p>
<p>{{ "MailContentReminderStudentSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentReminderStudentSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ "MailThankYouCollaboration"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYouCollaboration"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ signature }}</p></td> <p>{{ signature }}</p></td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentReminderSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, session.date_start, session.description) }}</p> <p>{{ "MailContentReminderSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, session.date_start, session.description) }}</p>
<p>{{ "MailContentReminderSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentReminderSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA"> <table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
{% for student in students %} {% for student in students %}

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -50,7 +50,7 @@
<td valign="top"> <td valign="top">
<p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentReminderMaxSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, session.date_start, session.description) }}</p> <p>{{ "MailContentReminderMaxSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, session.date_start, session.description) }}</p>
<p>{{ "MailContentReminderMaxSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.recommended_number_of_participants) }}</p> <p>{{ "MailContentReminderMaxSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.recommended_number_of_participants) }}</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA"> <table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
{% for student in students %} {% for student in students %}

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestNoSuperiorToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestNoSuperiorToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ admin.complete_name }}</h2> <h2>{{ admin.complete_name }}</h2>
<p>{{ "MailContentStudentRequestNoSuperiorToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name_with_username, session.name, admin_view_url) }}</p> <p>{{ "MailContentStudentRequestNoSuperiorToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name_with_username, session.title, admin_view_url) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestNoSuperiorToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestNoSuperiorToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentStudentRequestNoSuperiorToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, session.date_start) }}</p> <p>{{ "MailContentStudentRequestNoSuperiorToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, session.date_start) }}</p>
<p>{{ "MailContentStudentRequestNoSuperiorToStudentSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentStudentRequestNoSuperiorToStudentSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ signature }}</p></td> <p>{{ signature }}</p></td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleStudentRequestToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentStudentRequestToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, session.date_start) }}</p> <p>{{ "MailContentStudentRequestToStudent"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, session.date_start) }}</p>
<p>{{ "MailContentStudentRequestToStudentSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentStudentRequestToStudentSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ signature }}</p></td> <p>{{ signature }}</p></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentStudentRequestToSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.name, session.date_start, session.description) }}</p> <p>{{ "MailContentStudentRequestToSuperior" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.title, session.date_start, session.description) }}</p>
<p>{{ "MailContentStudentRequestToSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentStudentRequestToSuperiorSecond" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA"> <table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
<tr> <tr>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorAcceptToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorAcceptToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name, session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ admin.complete_name }}</h2> <h2>{{ admin.complete_name }}</h2>
<p>{{ "MailContentSuperiorAcceptToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name_with_username, session.name, admin_view_url) }}</p> <p>{{ "MailContentSuperiorAcceptToAdmin"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(student.complete_name_with_username, session.title, admin_view_url) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorAcceptToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorAcceptToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -50,7 +50,7 @@
<td valign="top"> <td valign="top">
<p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentSuperiorAcceptToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name ) }}</p> <p>{{ "MailContentSuperiorAcceptToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title ) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentSuperiorAcceptToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, student.complete_name) }}</p> <p>{{ "MailContentSuperiorAcceptToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, student.complete_name) }}</p>
<p>{{ "MailContentSuperiorAcceptToSuperiorSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailContentSuperiorAcceptToSuperiorSecond"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ "MailThankYouCollaboration" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYouCollaboration" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -32,7 +32,7 @@
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorRejectToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }}</td> <td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">{{ "MailTitleSuperiorRejectToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}</td>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ student.complete_name }}</h2> <h2>{{ student.complete_name }}</h2>
<p>{{ "MailContentSuperiorRejectToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }}</p> <p>{{ "MailContentSuperiorRejectToStudent" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}</p>
<p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.name) }}</title> <title>{{ "MailTitle"| get_plugin_lang('AdvancedSubscriptionPlugin') | format(session.title) }}</title>
</head> </head>
<body> <body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td> <td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h2>{{ superior.complete_name }}</h2> <h2>{{ superior.complete_name }}</h2>
<p>{{ "MailContentSuperiorRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name, student.complete_name) }}</p> <p>{{ "MailContentSuperiorRejectToSuperior"| get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title, student.complete_name) }}</p>
<p>{{ "MailThankYouCollaboration" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p> <p>{{ "MailThankYouCollaboration" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td> <h3>{{ signature }}</h3></td>
<td>&nbsp;</td> <td>&nbsp;</td>

@ -23,7 +23,7 @@
</h2> </h2>
{% if termsRejected == 1 %} {% if termsRejected == 1 %}
<div class="error-message legal-terms-popup"> <div class="error-message legal-terms-popup">
{{ "YouMustAcceptTermsAndConditions" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.name) }} {{ "YouMustAcceptTermsAndConditions" | get_plugin_lang("AdvancedSubscriptionPlugin") | format(session.title) }}
</div> </div>
{% endif %} {% endif %}

@ -433,7 +433,7 @@ if (false === $bbb->isGlobalConference() &&
$name = $groupData->getTitle(); $name = $groupData->getTitle();
} else { } else {
$itemGroupId = $groupData['iid']; $itemGroupId = $groupData['iid'];
$name = $groupData['name']; $name = $groupData['title'];
} }
if (isset($meetingsGroup[$itemGroupId]) && 1 == $meetingsGroup[$itemGroupId]) { if (isset($meetingsGroup[$itemGroupId]) && 1 == $meetingsGroup[$itemGroupId]) {
$name .= ' ('.get_lang('Active').')'; $name .= ' ('.get_lang('Active').')';

@ -42,7 +42,7 @@ if (false === $sm->tablesExist(BuyCoursesPlugin::TABLE_TRANSFER)) {
\Doctrine\DBAL\Types\Type::INTEGER, \Doctrine\DBAL\Types\Type::INTEGER,
['autoincrement' => true, 'unsigned' => true] ['autoincrement' => true, 'unsigned' => true]
); );
$transferTable->addColumn('name', \Doctrine\DBAL\Types\Type::STRING); $transferTable->addColumn('title', \Doctrine\DBAL\Types\Type::STRING);
$transferTable->addColumn('account', \Doctrine\DBAL\Types\Type::STRING); $transferTable->addColumn('account', \Doctrine\DBAL\Types\Type::STRING);
$transferTable->addColumn('swift', \Doctrine\DBAL\Types\Type::STRING); $transferTable->addColumn('swift', \Doctrine\DBAL\Types\Type::STRING);
$transferTable->setPrimaryKey(['id']); $transferTable->setPrimaryKey(['id']);
@ -255,7 +255,7 @@ if (false === $sm->tablesExist(BuyCoursesPlugin::TABLE_SERVICES)) {
\Doctrine\DBAL\Types\Type::INTEGER, \Doctrine\DBAL\Types\Type::INTEGER,
['autoincrement' => true, 'unsigned' => true] ['autoincrement' => true, 'unsigned' => true]
); );
$servicesTable->addColumn('name', \Doctrine\DBAL\Types\Type::STRING); $servicesTable->addColumn('title', \Doctrine\DBAL\Types\Type::STRING);
$servicesTable->addColumn('description', \Doctrine\DBAL\Types\Type::TEXT); $servicesTable->addColumn('description', \Doctrine\DBAL\Types\Type::TEXT);
$servicesTable->addColumn( $servicesTable->addColumn(
'price', 'price',

@ -298,6 +298,13 @@ class BuyCoursesPlugin extends Plugin
$fielddefault = ''; $fielddefault = '';
UserManager::create_extra_field($fieldlabel, $fieldtype, $fieldtitle, $fielddefault); UserManager::create_extra_field($fieldlabel, $fieldtype, $fieldtitle, $fielddefault);
$table = self::TABLE_TRANSFER;
$sql = "ALTER TABLE $table CHANGE COLUMN name title varchar(255)";
Database::query($sql);
$table = self::TABLE_SERVICES;
$sql = "ALTER TABLE $table CHANGE COLUMN name title varchar(255)";
Database::query($sql);
header('Location: '.api_get_path(WEB_PLUGIN_PATH).'buycourses'); header('Location: '.api_get_path(WEB_PLUGIN_PATH).'buycourses');
exit; exit;
} }
@ -2508,7 +2515,7 @@ class BuyCoursesPlugin extends Plugin
]; ];
if (!empty($name)) { if (!empty($name)) {
$whereConditions['AND s.name LIKE %?%'] = $name; $whereConditions['AND s.title LIKE %?%'] = $name;
} }
if (!empty($min)) { if (!empty($min)) {
@ -3011,7 +3018,7 @@ class BuyCoursesPlugin extends Plugin
]; ];
if (!empty($name)) { if (!empty($name)) {
$whereConditions['AND s.name LIKE %?%'] = $name; $whereConditions['AND s.title LIKE %?%'] = $name;
} }
if (!empty($min)) { if (!empty($min)) {

@ -80,12 +80,12 @@
<div class="col-md-4 col-sm-6"> <div class="col-md-4 col-sm-6">
<article class="items-course"> <article class="items-course">
<div class="items-course-image"> <div class="items-course-image">
<img alt="{{ session.name }}" class="img-responsive" <img alt="{{ session.title }}" class="img-responsive"
src="{{ session.image ? session.image : 'session_default.png'|icon() }}"> src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
</div> </div>
<div class="items-course-info"> <div class="items-course-info">
<h4 class="title"> <h4 class="title">
<a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">{{ session.name }}</a> <a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">{{ session.title }}</a>
</h4> </h4>
{% if 'show_session_coach'|api_get_setting == 'true' %} {% if 'show_session_coach'|api_get_setting == 'true' %}
{% for coach in session.coaches %} {% for coach in session.coaches %}
@ -138,15 +138,15 @@
<div class="items-course"> <div class="items-course">
<div class="items-course-image"> <div class="items-course-image">
<a href="{{ _p.web }}service/{{ service.id }}"> <a href="{{ _p.web }}service/{{ service.id }}">
<img alt="{{ service.name }}" <img alt="{{ service.title }}"
class="img-responsive" class="img-responsive"
src="{{ service.image ? service.image : 'session_default.png'|icon() }}"></a> src="{{ service.image ? service.image : 'session_default.png'|icon() }}"></a>
</div> </div>
<div class="items-course-info"> <div class="items-course-info">
<h4 class="title"> <h4 class="title">
<a title="{{ service.name }}" <a title="{{ service.title }}"
href="{{ _p.web }}service/{{ service.id }}"> href="{{ _p.web }}service/{{ service.id }}">
{{ service.name }} {{ service.title }}
</a> </a>
</h4> </h4>
<ul class="list-unstyled"> <ul class="list-unstyled">

@ -117,7 +117,7 @@
{% for item in sessions %} {% for item in sessions %}
<tr data-item="{{ item.id }}" data-type="session"> <tr data-item="{{ item.id }}" data-type="session">
<td> <td>
<a href="{{ _p.web_main ~ 'session/index.php?' ~ {'session_id': item.id}|url_encode() }}">{{ item.name }}</a> <a href="{{ _p.web_main ~ 'session/index.php?' ~ {'session_id': item.id}|url_encode() }}">{{ item.title }}</a>
</td> </td>
<td class="text-center"> <td class="text-center">
{{ item.displayStartDate | api_convert_and_format_date(6)}} {{ item.displayStartDate | api_convert_and_format_date(6)}}
@ -182,7 +182,7 @@
{% for item in services %} {% for item in services %}
<tr data-item="{{ item.id }}" data-type="service"> <tr data-item="{{ item.id }}" data-type="service">
<td> <td>
{{ item.name }} {{ item.title }}
</td> </td>
<td> <td>
{{ item.description }} {{ item.description }}

@ -25,7 +25,7 @@
<tbody> <tbody>
{% for account in transfer_accounts %} {% for account in transfer_accounts %}
<tr> <tr>
<td>{{ account.name }}</td> <td>{{ account.title }}</td>
<td>{{ account.account }}</td> <td>{{ account.account }}</td>
<td>{{ account.swift }}</td> <td>{{ account.swift }}</td>
</tr> </tr>

@ -83,7 +83,7 @@
<tbody> <tbody>
{% for account in transfer_accounts %} {% for account in transfer_accounts %}
<tr> <tr>
<td>{{ account.name }}</td> <td>{{ account.title }}</td>
<td>{{ account.account }}</td> <td>{{ account.account }}</td>
<td>{{ account.swift }}</td> <td>{{ account.swift }}</td>
<td> <td>

@ -65,7 +65,7 @@
{% elseif buying_session %} {% elseif buying_session %}
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<img alt="{{ session.name }}" class="img-rounded img-responsive" <img alt="{{ session.title }}" class="img-rounded img-responsive"
src="{{ session.image ? session.image : 'session_default.png'|icon() }}"> src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
{% if session.tax_enable %} {% if session.tax_enable %}
<div class="price-details-tax"> <div class="price-details-tax">
@ -83,7 +83,7 @@
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
<div class="buy-item"> <div class="buy-item">
<h3 class="title">{{ session.name }}</h3> <h3 class="title">{{ session.title }}</h3>
{% if session.description %} {% if session.description %}
<div class="description"> <div class="description">
{{ session.description }} {{ session.description }}

@ -37,12 +37,12 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12 col-xs-12"> <div class="col-sm-12 col-md-12 col-xs-12">
<p> <p>
<img alt="{{ session.name }}" class="img-responsive" style="width: 100%;" <img alt="{{ session.title }}" class="img-responsive" style="width: 100%;"
src="{{ session.image ? session.image : 'session_default.png'|icon() }}"> src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
</p> </p>
</div> </div>
<div class="col-sm-12 col-md-12 col-xs-12"> <div class="col-sm-12 col-md-12 col-xs-12">
<h3>{{ session.name }}</h3> <h3>{{ session.title }}</h3>
<p><em class="fa fa-calendar fa-fw"></em> {{ session.dates.display }}</p> <p><em class="fa fa-calendar fa-fw"></em> {{ session.dates.display }}</p>
<ul class="list-unstyled"> <ul class="list-unstyled">
{% for course in session.courses %} {% for course in session.courses %}
@ -70,7 +70,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12 col-xs-12"> <div class="col-sm-12 col-md-12 col-xs-12">
<a href='{{ _p.web }}service/{{ service.id }}'> <a href='{{ _p.web }}service/{{ service.id }}'>
<img alt="{{ service.name }}" class="img-responsive" <img alt="{{ service.title }}" class="img-responsive"
src="{{ service.image ? _p.web ~ 'plugin/buycourses/uploads/services/images/' ~ service.image : 'session_default.png'|icon() }}"> src="{{ service.image ? _p.web ~ 'plugin/buycourses/uploads/services/images/' ~ service.image : 'session_default.png'|icon() }}">
</a> </a>
</div> </div>
@ -78,7 +78,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-12 col-xs-12"> <div class="col-sm-12 col-md-12 col-xs-12">
<h3> <h3>
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.name }}</a> <a href='{{ _p.web }}service/{{ service.id }}'>{{ service.title }}</a>
</h3> </h3>
<ul class="list-unstyled"> <ul class="list-unstyled">
{% if service.applies_to == 0 %} {% if service.applies_to == 0 %}
@ -165,7 +165,7 @@
<tbody> <tbody>
{% for account in transfer_accounts %} {% for account in transfer_accounts %}
<tr> <tr>
<td>{{ account.name }}</td> <td>{{ account.title }}</td>
<td class="text-center">{{ account.account }}</td> <td class="text-center">{{ account.account }}</td>
<td class="text-center">{{ account.swift }}</td> <td class="text-center">{{ account.swift }}</td>
</tr> </tr>

@ -1,6 +1,6 @@
<div id="service" class="service"> <div id="service" class="service">
<div class="page-header"> <div class="page-header">
<h2>{{ service.name }}</h2> <h2>{{ service.title }}</h2>
</div> </div>
<section id="service-info"> <section id="service-info">
<div class="panel panel-default"> <div class="panel panel-default">
@ -17,7 +17,7 @@
{% elseif service.image %} {% elseif service.image %}
<div class="service-image"> <div class="service-image">
<a href="{{ _p.web }}service/{{ service.id }}"> <a href="{{ _p.web }}service/{{ service.id }}">
<img alt="{{ service.name }}" class="img-rounded img-responsive" <img alt="{{ service.title }}" class="img-rounded img-responsive"
src="{{ service.image ? service.image : 'session_default.png'|icon() }}"> src="{{ service.image ? service.image : 'session_default.png'|icon() }}">
</a> </a>
</div> </div>

@ -9,11 +9,11 @@
<dt>{{ 'UserName'|get_lang }}</dt> <dt>{{ 'UserName'|get_lang }}</dt>
<dd>{{ service_sale.buyer }}</dd> <dd>{{ service_sale.buyer }}</dd>
<dt>{{ 'Service'|get_plugin_lang('BuyCoursesPlugin') }}</dt> <dt>{{ 'Service'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
<dd>{{ service_sale.name }}</dd> <dd>{{ service_sale.title }}</dd>
<dt>{{ 'SalePrice'|get_plugin_lang('BuyCoursesPlugin') }}</dt> <dt>{{ 'SalePrice'|get_plugin_lang('BuyCoursesPlugin') }}</dt>
<dd>{{ service_sale.currency ~ ' ' ~ service_sale.price }}</dd> <dd>{{ service_sale.currency ~ ' ' ~ service_sale.price }}</dd>
</dl> </dl>
<p>{{ 'BankAccountIntro'|get_plugin_lang('BuyCoursesPlugin')|format(service_sale.name) }}</p> <p>{{ 'BankAccountIntro'|get_plugin_lang('BuyCoursesPlugin')|format(service_sale.title) }}</p>
<table> <table>
<thead> <thead>
<tr> <tr>
@ -25,7 +25,7 @@
<tbody> <tbody>
{% for account in transfer_accounts %} {% for account in transfer_accounts %}
<tr> <tr>
<td>{{ account.name }}</td> <td>{{ account.title }}</td>
<td>{{ account.account }}</td> <td>{{ account.account }}</td>
<td>{{ account.swift }}</td> <td>{{ account.swift }}</td>
</tr> </tr>

@ -36,7 +36,7 @@
<tbody> <tbody>
{% for sale in sale_list %} {% for sale in sale_list %}
<tr class="{{ sale.status == service_sale_statuses.status_cancelled ? 'buy-courses-cross-out' : '' }}"> <tr class="{{ sale.status == service_sale_statuses.status_cancelled ? 'buy-courses-cross-out' : '' }}">
<td>{{ sale.name }}</td> <td>{{ sale.title }}</td>
<td class="text-center">{{ sale.service_type }}</td> <td class="text-center">{{ sale.service_type }}</td>
<td class="text-center">{{ sale.currency ~ ' ' ~ sale.price }}</td> <td class="text-center">{{ sale.currency ~ ' ' ~ sale.price }}</td>
<td class="text-center">{{ sale.date | api_get_local_time }}</td> <td class="text-center">{{ sale.date | api_get_local_time }}</td>

@ -16,7 +16,7 @@
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<a href='{{ _p.web }}service/{{ service.id }}'> <a href='{{ _p.web }}service/{{ service.id }}'>
<img alt="{{ service.name }}" class="img-rounded img-responsive" <img alt="{{ service.title }}" class="img-rounded img-responsive"
src="{{ service.image ? service.image : 'session_default.png'|icon() }}"> src="{{ service.image ? service.image : 'session_default.png'|icon() }}">
</a> </a>
{% if service.tax_enable %} {% if service.tax_enable %}
@ -42,7 +42,7 @@
<div class="col-md-9"> <div class="col-md-9">
<div class="buy-item"> <div class="buy-item">
<h3 class="title"> <h3 class="title">
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.name }}</a> <a href='{{ _p.web }}service/{{ service.id }}'>{{ service.title }}</a>
</h3> </h3>
{% if service.description %} {% if service.description %}
<div class="description"> <div class="description">

@ -37,7 +37,7 @@
<tbody> <tbody>
{% for sale in sale_list %} {% for sale in sale_list %}
<tr> <tr>
<td class="text-center">{{ sale.name }}</td> <td class="text-center">{{ sale.title }}</td>
<td class="text-center">{{ sale.reference }}</td> <td class="text-center">{{ sale.reference }}</td>
<td class="text-center"> <td class="text-center">
{% if sale.status == sale_status_cancelled %} {% if sale.status == sale_status_cancelled %}

@ -42,11 +42,11 @@
</div> </div>
</div> </div>
{% elseif buying_session %} {% elseif buying_session %}
<h3 class="page-header">{{ session.name }}</h3> <h3 class="page-header">{{ session.title }}</h3>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-5"> <div class="col-sm-12 col-md-5">
<p> <p>
<img alt="{{ session.name }}" class="img-responsive" <img alt="{{ session.title }}" class="img-responsive"
src="{{ session.image ? session.image : 'session_default.png'|icon() }}"> src="{{ session.image ? session.image : 'session_default.png'|icon() }}">
</p> </p>
<p class="lead text-right">{{ session.currency }} {{ session.price }}</p> <p class="lead text-right">{{ session.currency }} {{ session.price }}</p>

@ -15,7 +15,7 @@
</tr> </tr>
{% for item in list %} {% for item in list %}
<tr> <tr>
<td >{{ item.justification.name }} </td> <td >{{ item.justification.title }} </td>
<td >{{ item.file_path }} </td> <td >{{ item.file_path }} </td>
<td > <td >
{{ item.date_validity }} {{ item.date_validity }}

@ -13,7 +13,7 @@
{% for item in list %} {% for item in list %}
<tr> <tr>
<td >{{ item.name }} ({{ item.code }})</td> <td >{{ item.title }} ({{ item.code }})</td>
<td >{{ item.validity_duration }}</td> <td >{{ item.validity_duration }}</td>
<td >{{ item.date_manual_on }}</td> <td >{{ item.date_manual_on }}</td>

@ -92,7 +92,7 @@
{% for event in events %} {% for event in events %}
<tr> <tr>
<td> <td>
{{ event.name }}: {{ event.title }}:
</td> </td>
<td> <td>
<span style="display:block;height:20px;width:100px; background-color: {{ event.color }}"></span> <span style="display:block;height:20px;width:100px; background-color: {{ event.color }}"></span>

@ -4,7 +4,7 @@
<div class="vchamilo-host-list"> <div class="vchamilo-host-list">
<ul> <ul>
{% for host in hosts %} {% for host in hosts %}
<li class="vchamilo-host"> <a href="{{host.url}}">{{host.name}}</a></li> <li class="vchamilo-host"> <a href="{{host.url}}">{{host.title}}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>

@ -23,7 +23,7 @@
{{ activity.type }} {{ activity.type }}
</td> </td>
<td> <td>
{{ activity.name }} {{ activity.title }}
</td> </td>
<td> <td>
{{ activity.createdAt | api_convert_and_format_date(3)}} {{ activity.createdAt | api_convert_and_format_date(3)}}

@ -22,7 +22,7 @@
<tbody> <tbody>
{% for contact_category in contact_categories %} {% for contact_category in contact_categories %}
<tr> <tr>
<td>{{ contact_category.name }}</td> <td>{{ contact_category.title }}</td>
<td>{{ contact_category.email }}</td> <td>{{ contact_category.email }}</td>
<td class="flex items-center"> <td class="flex items-center">
<a href="{{ path('chamilo_contact_category_edit', {'id': contact_category.id}) }}" class="btn btn--info inline-flex items-center mr-2"> <a href="{{ path('chamilo_contact_category_edit', {'id': contact_category.id}) }}" class="btn btn--info inline-flex items-center mr-2">

@ -11,7 +11,7 @@
</tr> </tr>
<tr> <tr>
<th>Name</th> <th>Name</th>
<td>{{ contact_category.name }}</td> <td>{{ contact_category.title }}</td>
</tr> </tr>
<tr> <tr>
<th>Email</th> <th>Email</th>

@ -6,17 +6,17 @@
<div class="row"> <div class="row">
{% for category, items in tools %} {% for category, items in tools %}
{% for item in items %} {% for item in items %}
{% set toolTitle = item.name | title | replace({'_': ' '}) | trans %} {% set toolTitle = item.title | title | replace({'_': ' '}) | trans %}
<div class="items-tools col"> <div class="items-tools col">
<div class="tools mt-3 mb-3"> <div class="tools mt-3 mb-3">
<div class="big_icon"> <div class="big_icon">
<a <a
href="{{ url( href="{{ url(
'chamilo_core_course_redirect_tool', 'chamilo_core_course_redirect_tool',
{ 'toolName': item.name, 'cid': course.id, 'sid': session ? session.id : 0, })|raw { 'toolName': item.title, 'cid': course.id, 'sid': session ? session.id : 0, })|raw
}}" }}"
> >
<img alt="{{ item.name }}" src="{{ asset('img/tools/' ~ item.name ~ '.png') }}" /> <img alt="{{ item.title }}" src="{{ asset('img/tools/' ~ item.name ~ '.png') }}" />
</a> </a>
</div> </div>
<div class="content pt-2 pb-2"> <div class="content pt-2 pb-2">
@ -46,12 +46,12 @@
{% endset %} {% endset %}
<div class="big_icon"> <div class="big_icon">
<a href="{{ url }}"> <a href="{{ url }}">
<img src="{{ asset('img/tools/' ~ shortcut.shortCutNode.resourceType.tool.name ~ '.png') }}" /> <img src="{{ asset('img/tools/' ~ shortcut.shortCutNode.resourceType.tool.title ~ '.png') }}" />
</a> </a>
</div> </div>
<div class="content pt-2 pb-2"> <div class="content pt-2 pb-2">
<a href="{{ url }}"> <a href="{{ url }}">
{{ shortcut.name }} {{ shortcut.title }}
</a> </a>
</div> </div>
</div> </div>

@ -27,7 +27,7 @@
<tbody> <tbody>
{% for tool in tools %} {% for tool in tools %}
<tr> <tr>
<td>{{ tool.name }}</td> <td>{{ tool.title }}</td>
<td>{{ tool.launchUrl }}</td> <td>{{ tool.launchUrl }}</td>
<td class="text-center"> <td class="text-center">
{% if tool.isGlobal() %} {% if tool.isGlobal() %}

@ -25,7 +25,7 @@
<span class="sr-only">{{ 'Edit'|trans }}</span> <span class="sr-only">{{ 'Edit'|trans }}</span>
</a> </a>
</div> </div>
{{ tool.name }} {{ tool.title }}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -52,7 +52,7 @@
</a> </a>
{% endif %} {% endif %}
</div> </div>
{{ tool.name }} {{ tool.title }}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

@ -1,10 +1,10 @@
<p>{{ 'DearXComma'|trans|format(hrm_name) }}</p> <p>{{ 'DearXComma'|trans|format(hrm_name) }}</p>
<p>{{ 'AsHRMYouReceiveThisMailToAlertThatXHasNewWorkInCourseY'|trans | format(student.complete_name, course.name) }}</p> <p>{{ 'AsHRMYouReceiveThisMailToAlertThatXHasNewWorkInCourseY'|trans | format(student.complete_name, course.title) }}</p>
<dl> <dl>
<dt>{{ 'Student'|trans }}</dt> <dt>{{ 'Student'|trans }}</dt>
<dd>{{ student.complete_name }}</dd> <dd>{{ student.complete_name }}</dd>
<dt>{{ 'Course'|trans }}</dt> <dt>{{ 'Course'|trans }}</dt>
<dd>{{ course.name }} - {{ course.code }}</dd> <dd>{{ course.title }} - {{ course.code }}</dd>
<dt>{{ 'AssignmentName'|trans }}</dt> <dt>{{ 'AssignmentName'|trans }}</dt>
<dd>{{ work.title }}</dd> <dd>{{ work.title }}</dd>
<dd>{{ work.description }}</dd> <dd>{{ work.description }}</dd>

@ -2,7 +2,7 @@
{% block content %} {% block content %}
{% autoescape false %} {% autoescape false %}
<h3>{{ resource.name }}</h3> <h3>{{ resource.title }}</h3>
<p>{{ resource.description }}</p> <p>{{ resource.description }}</p>
{% include '@ChamiloCore/Resource/toolbar_view_resource.html.twig' %} {% include '@ChamiloCore/Resource/toolbar_view_resource.html.twig' %}

@ -18,7 +18,7 @@
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<h2 class="session-title">{{ session.name }}</h2> <h2 class="session-title">{{ session.title }}</h2>
{% if show_tutor and session.generalCoach %} {% if show_tutor and session.generalCoach %}
<div class="session-tutor"> <div class="session-tutor">
<em class="fa fa-user"></em> {{ 'SessionGeneralCoach'|trans }}: <em class="fa fa-user"></em> {{ 'SessionGeneralCoach'|trans }}:
@ -104,7 +104,7 @@
{% for sequence in sequences %} {% for sequence in sequences %}
{% if sequence.requirements %} {% if sequence.requirements %}
<p> <p>
{{ sequence.name }} : {{ sequence.title }} :
{% for requirement in sequence.requirements %} {% for requirement in sequence.requirements %}
<a href="{{ _p.web ~ 'session/' ~ requirement.getId ~ '/about/' }}"> <a href="{{ _p.web ~ 'session/' ~ requirement.getId ~ '/about/' }}">
{{ requirement.getTitle }} {{ requirement.getTitle }}

Loading…
Cancel
Save