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. 198
      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. 6
      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. 8
      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. 4
      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. 6
      public/main/template/default/my_space/pdf_tracking_lp.html.twig
  23. 4
      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. 10
      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. 6
      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. 4
      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 }"
>
<span class="mdi mdi-book-open" />
{{ t("Session: {0}", [link.session.name]) }}
{{ t("Session: {0}", [link.session.title]) }}
</div>
<div

@ -53,7 +53,7 @@ class AttendanceLink extends AbstractLink
$links = $qb->getQuery()->getResult();
/*$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
WHERE
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
*
* @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)
{

@ -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';
if (0 == $in_get_empty_group) {
// 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
INNER JOIN ".Database::get_course_table(TABLE_GROUP_USER)." gu
ON (g.iid = gu.group_id)
$session_condition
ORDER BY g.name";
ORDER BY g.title";
} else {
// 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
$session_condition
AND c_id = $course_id";

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

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

@ -5,42 +5,42 @@ var skills = []; //current window divs
var parents = []; //list of parents normally there should be only 2
var first_parent = '';
var duration_value = 500;
//Setting the parent by default
//Setting the parent by default
var parents = ['block_1'];
function clean_values() {
function clean_values() {
skills = []; //current window divs
parents = ['block_1'];
first_parent = '';
//Reseting jsplumb
jsPlumb.reset();
jsPlumb.reset();
//Deletes all windows
$('.skill_root').remove();
$('.skill_child').remove();
open_block('block_1', 0, 1);
}
//Admin/normal arrows
var editEndpointOptions = {
isTarget:true,
var editEndpointOptions = {
isTarget:true,
maxConnections:100,
endpoint:"Rectangle",
paintStyle:{
endpoint:"Rectangle",
paintStyle:{
fillStyle:"yellow" },
detachable:false,
connector:"Straight"
connector:"Straight"
};
//Student arrows
//Student arrows
// If user completed the skill
var done_arrow_color = '#73982C'; //green
var doneEndpointOptions = {
// If user completed the skill
var done_arrow_color = '#73982C'; //green
var doneEndpointOptions = {
//connector:[ "Flowchart", { stub:28 } ], like a chart
//anchors: ['BottomCenter','TopCenter'],
//anchors: ['BottomCenter','TopCenter'],
endpoint:"Rectangle",
paintStyle:{ width:1, height:1, fillStyle:done_arrow_color},
isSource:false,
@ -52,11 +52,11 @@ var doneEndpointOptions = {
strokeStyle:done_arrow_color
},
isTarget:false,
setDraggableByDefault : false,
setDraggableByDefault : false,
connector:"Straight"
};
//Functions
//Functions
/* Clean window block classes*/
function cleanclass(obj) {
@ -66,119 +66,119 @@ function cleanclass(obj) {
}
/* When clicking the red block */
function open_parent(parent_id, id) {
console.log("open_parent call : id " + id + " parent_id:" + parent_id);
function open_parent(parent_id, id) {
console.log("open_parent call : id " + id + " parent_id:" + parent_id);
var numeric_parent_id = parent_id.split('_')[1];
var numeric_id = id.split('_')[1];
var numeric_id = id.split('_')[1];
$('#'+id).css('top', '0px');
load_parent(numeric_parent_id, numeric_id);
}
/*
* When clicking a children block
@param string block id i.e "block_1"
@param int load user data or not
/*
* When clicking a children block
@param string block id i.e "block_1"
@param int load user data or not
*/
function open_block(id, load_user_data, create_root) {
if (debug) console.log("open_block id : " + id+" load_user_data: " +load_user_data + ', create_root ' + create_root);
var numeric_id = id.split('_')[1];
if (debug) console.log("open_block id : " + id+" load_user_data: " +load_user_data + ', create_root ' + create_root);
var numeric_id = id.split('_')[1];
for (var i = 0; i < skills.length; i++) {ranc
//Remove everything except parents
if (jQuery.inArray(skills[i].element, parents) == -1) {
//if (debug) console.log('deleting this skill '+ skills[i].element + " id: " + i);
jsPlumb.detachAllConnections(skills[i].element);
jsPlumb.removeAllEndpoints(skills[i].element);
$("#"+skills[i].element).remove();
jsPlumb.removeAllEndpoints(skills[i].element);
$("#"+skills[i].element).remove();
}
}
load_children(numeric_id, 0, load_user_data, create_root);
load_children(numeric_id, 0, load_user_data, create_root);
}
function load_children(my_id, top_value, load_user_data, create_root) {
if (debug) console.log("load_children : my_id " + my_id + ", top_value:" + top_value +", load_user_data: "+load_user_data+", create_root: "+create_root);
//Fix the block vertical position
my_top_root = 150;
my_top_children = 250;
console.log('Loading root info by ajax '+my_id);
var skill = null;
$.ajax({
async: false,//very important other wise it would not work
url: url+'&a=get_skill_info&id='+my_id,
url: url+'&a=get_skill_info&id='+my_id,
success: function(json) {
skill = jQuery.parseJSON(json);
skill = jQuery.parseJSON(json);
}
});
//Creating the root
//Creating the root
if (create_root == 1) {
//Loading children for the first time
my_top_root = 0;
my_top_children = 150;
if (my_id == 1) {
if (my_id == 1) {
$('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root first_window" >Root </div>');
} else {
$('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root open_block first_window" >' +skill.name+'</div>');
} else {
$('#skill_tree').append('<div id="block_'+my_id+'" class="skill_root open_block first_window" >' +skill.title+'</div>');
}
//Adding to the skill list
skills.push({
element: "block_" + my_id
});
// jsPlumb.animate('block_'+my_id, { left: 500, top:50 }, { duration: 100 });
// jsPlumb.animate('block_'+my_id, { left: 500, top:50 }, { duration: 100 });
/*
var root_end_point_options = {
var root_end_point_options = {
// anchor:"Continuous",
maxConnections:100,
endpoint:"Dot",
paintStyle:{ fillStyle:"gray" },
endpoint:"Dot",
paintStyle:{ fillStyle:"gray" },
};
//The root is the source
//The root is the source
jsPlumb.makeSource("block_" + my_id, root_end_point_options);*/
}
//Loading children
$.ajax({
url: url+'&a=load_children&load_user_data='+load_user_data+'&id='+my_id,
dataType: 'json',
async: false,
async: false,
success: function(result) {
if (result.success) {
json = result.data;
console.log('getJSON result: ' + result.success);
//console.log('getJSON json: ' + json);
//console.log('getJSON json: ' + json);
//Fixing the root position in the organigram
var final_left =0;
var normal_width = 0;
$('.skill_child').each( function(){
$('.skill_child').each( function(){
normal_width = $(this).width();
return true;
});
//normal_width = $('.skill_child :first').width();
return true;
});
//normal_width = $('.skill_child :first').width();
final_left = $('body').width() / 2 - normal_width/2;
console.log('normal_width -----> '+normal_width);
console.log('body.width -----> '+$('body').width());
console.log('body.width -----> '+$('body').width());
console.log('final_left -----> '+final_left);
$('#block_'+my_id).css('left', final_left+'px');
$.each(json,function(i, item) {
//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.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.title = '<a href="#" class="edit_block" id="edit_block_'+item.id+'">'+item.title+'</a>';
var status_class = ' ';
my_edit_point_options = editEndpointOptions;
@ -187,34 +187,34 @@ function load_children(my_id, top_value, load_user_data, create_root) {
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
$('#block_'+item.id).css('top', my_top_children+'px');
if (create_root == 0) {
}
}
//if (debug) console.log('Append block: '+item.id);
endpoint = jsPlumb.makeTarget("block_" + item.id, my_edit_point_options);
endpoint = jsPlumb.makeTarget("block_" + item.id, my_edit_point_options);
jsPlumb.connect({source: "block_" + my_id, target:"block_" + item.id});
skills.push({
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_root"));
console.log('draggable');
console.log('setting animate for block_'+my_id);
console.log('draggable');
console.log('setting animate for block_'+my_id);
console.log('final parents '+parents);
} //result
}
@ -223,56 +223,56 @@ function load_children(my_id, top_value, load_user_data, create_root) {
/* Loads parent blocks */
function load_parent(parent_id, id) {
if (debug) console.log("load_parent call : id " + id + " parent_id:" + parent_id);
if (debug) console.log("load_parent call : id " + id + " parent_id:" + parent_id);
$.ajax({
url: url+'&a=load_direct_parents&id='+id,
async: false,
success: function(json) {
async: false,
success: function(json) {
var json = jQuery.parseJSON(json);
$.each(json,function(i,item) {
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({
source: 'block_'+parent_id, target:'block_'+id
source: 'block_'+parent_id, target:'block_'+id
});
if (debug) console.log('setting NO--- first_parent ');
first_parent = '';
if (debug) console.log('setting NO--- first_parent ');
first_parent = '';
} 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({
source: 'block_'+parent_id, target:'block_'+id
source: 'block_'+parent_id, target:'block_'+id
});
if (debug) console.log('setting first_parent '+item.parent_id);
first_parent = "block_" + item.parent_id;
first_parent = "block_" + item.parent_id;
jsPlumb.draggable(jsPlumb.getSelector(".skill_root"));
}
}
my_top_root = 0;
var normal_width = 0;
$('.skill_child').each( function(){
$('.skill_child').each( function(){
normal_width = $(this).width();
return true;
});
return true;
});
final_left = $('body').width() / 2 - normal_width/2;
console.log('normal_width -----> '+normal_width);
console.log('body.width -----> '+$('body').width());
console.log('final_left -----> '+final_left);
console.log('body.width -----> '+$('body').width());
console.log('final_left -----> '+final_left);
$('#block_'+item.id).css('left', final_left+'px');
jsPlumb.repaint('block_'+item.id);
//jsPlumb.animate(id, { left: final_left, top:my_top_root }, { duration: 100 });
//jsPlumb.animate(parent_id, { left: final_left, top:my_top_root }, { duration: 100 });
//jsPlumb.animate(parent_id, { left: final_left, top:my_top_root }, { duration: 100 });
});
});
}
});
}
@ -295,4 +295,4 @@ function updateTips( t ) {
setTimeout(function() {
tips.removeClass( "ui-state-highlight", 1500 );
}, 500 );
}
}

@ -3330,7 +3330,7 @@ class SessionManager
*
* @param array $conditions a list of condition example :
* 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 int $urlId
* @param array $onlyThisSessionList
@ -9012,7 +9012,7 @@ class SessionManager
$options_by_double['extra_'.$double['field_variable']] = $my_options;
}
//sc.name as category_name,
//sc.title as category_name,
$select = "
SELECT * FROM (
SELECT DISTINCT

@ -10,10 +10,10 @@
<h4>
{% if is_granted('ROLE_ADMIN') %}
<a href="{{ url('legacy_main', { 'name' : 'admin/careers.php', 'action' : 'edit', 'id' : item.id }) }}">
{{ item.name }}
{{ item.title }}
</a>
{% else %}
{{ item.name }}
{{ item.title }}
{% endif %}
</h4>
</div>
@ -31,10 +31,10 @@
<tr>
<td class="promo" rowspan="{{ line }}">
<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 }) }}"
>
{{ prom.name }}
{{ prom.title }}
</a>
</h4>
</td>
@ -48,9 +48,9 @@
<tr>
<td class="cycles">
<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 }}">
{{ session.data.name }}
{{ session.data.title }}
</a>
</h4>
</td>

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

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

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

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

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

@ -5,22 +5,22 @@
<div class="btn-group btn-group-sm" role="group" aria-label="">
{% for item in toolbar %}
<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>
</a>
{% endfor %}
</div>
</div>
{% if intro.text !='' %}
<div id="{{ intro.name }}" class="content">
<div id="{{ intro.title }}" class="content">
{{ intro.text }}
</div>
{% else %}
<div class="help">
<h1>{{ intro.name }}</h1>
<h1>{{ intro.title }}</h1>
<p>{{ intro.help }}</p>
</div>
{% endif %}
</section>
{% endif %}
{% endautoescape %}
{% endautoescape %}

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

@ -20,7 +20,7 @@
{% endfor %}
<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 }}">
</a>
{{ item.link }}

@ -34,7 +34,7 @@
{% if pdf_session_info %}
<tr>
<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>
{% if pdf_session_info.description %}
@ -110,4 +110,4 @@
</table>
{% endif %}
{% endautoescape %}
{% endautoescape %}

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

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

@ -16,7 +16,7 @@
{% if 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 %}
{% endif %}
</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>
<p>{{ 'Candidate' | get_lang }} : {{ data.candidate }}</p>
<p>{{ 'ScormStartAttemptDate' | get_lang }} : {{ data.start_date }}</p>
@ -58,7 +58,7 @@
{% for item in categories %}
<tr>
<td style="height:40px; width: 40%; text-align: left; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
{{ item.name }}
{{ item.title }}
</td>
<td style="text-align: center; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
{% if item.score_numeric == 0 %}
@ -109,4 +109,4 @@
{# </tr>#}
{# {% endif %}#}
{% endfor %}
</table>
</table>

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

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

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

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

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

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

@ -3,9 +3,9 @@
<div class="row">
<div class="col-md-3">
<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">
<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 %}
<p class="code-badge text-center">
{{ 'ObjectIcon::BADGE' | mdi_icon }}
@ -16,7 +16,7 @@
</div>
<div class="col-md-9">
<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>
<p>{{ skill_info.description }}</p>
<h4 class="title-badge">{{ 'CriteriaToEarnTheBadge'|trans }}</h4>

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

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

@ -4,7 +4,7 @@
<ul class="holder">
{% for search_skill_id in search_skill_list %}
<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>
</li>
{% endfor %}
@ -21,7 +21,7 @@
<ul class="holder">
{%for profile in profiles %}
<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>
{% endfor %}
</ul>
@ -68,15 +68,15 @@
{% for skill_data in user.skills %}
<li class="list-group-item {{ skill_data.found ? '' : 'text-muted' }}">
{% 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 %}
{{ '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 %}
{% if skill_data.found %}
<b>{{ skill_list[skill_data.skill_id].name }}</b>
<b>{{ skill_list[skill_data.skill_id].title }}</b>
{% else %}
{{ skill_list[skill_data.skill_id].name }}
{{ skill_list[skill_data.skill_id].title }}
{% endif %}
</li>
{% endfor %}

@ -4,7 +4,7 @@
<tbody>
{%for profile in profiles %}
<tr>
<td>{{ profile.name }}</td>
<td>{{ profile.title }}</td>
<td class="text-right">
<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 }}">

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

@ -87,7 +87,7 @@ jsPlumb.ready(function() {
function(data) {
$.each(data, function(n, parent) {
// 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) {
$.each(data, function(n, gradebook) {
// 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) {
$.each(data, function(n, parent) {
// 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,
success: function(json) {
var skill = jQuery.parseJSON(json);
$("#name").attr('value', skill.name);
$("#name").attr('value', skill.title);
$("#id").attr('value', skill.id);
$("#description").attr('value', skill.description);
//filling parent_id

@ -126,7 +126,7 @@ jsPlumb.bind("ready", function() {
url: url+'&a=get_skill_info&id='+my_id,
success: function(json) {
var skill = jQuery.parseJSON(json);
$("#name").html(skill.name);
$("#name").html(skill.title);
$("#id").attr('value', skill.id);
$("#description").html(skill.description);
//filling parent_id
@ -134,7 +134,7 @@ jsPlumb.bind("ready", function() {
//filling the gradebook_id
$("#gradebook_id").html('');
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) {
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);
}
}
@ -110,7 +110,7 @@
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>');
}
}
@ -150,7 +150,7 @@
if ($('#gradebook_item_' + gradebook_id).length == 0) {
gradebook = get_gradebook_info(gradebook_id);
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>');
}
}
@ -297,7 +297,7 @@
);
$.when(getProfileInfo).done(function (profileInfo) {
$("#name_profile").val(profileInfo.name);
$("#name_profile").val(profileInfo.title);
$("#description_profile").val(profileInfo.description);
$('#frm-save-profile').modal('show');
@ -334,10 +334,10 @@
$.each(skill_list, function (index, 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);
add_skill_in_profile_list(skill_id, skill_info.name);
add_skill_in_profile_list(skill_id, skill_info.title);
});
submit_profile_search_form();
@ -447,7 +447,7 @@
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 () {

@ -23,10 +23,10 @@ var SkillWheel = {
var getSkillParentInfo = SkillWheel.getSkillInfo(skillInfo.extra.parent_id);
$.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) {
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();
$.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 {
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.lighten(family1, position, 15);
color = part_color.getHex();
//console.log(d.depth + " - " + d.name + " + "+ color+ "+ " +d.counter);
//console.log(d.depth + " - " + d.title + " + "+ color+ "+ " +d.counter);
} else {
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) {
var multiline = is_multiline(d.name); //(d.name || "").split(" ").length > 1;
var multiline = is_multiline(d.title); //(d.title || "").split(" ").length > 1;
return function() {
var angle = x(d.x + d.dx / 2) * 180 / Math.PI - 90,
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("title", function(d) {
return d.name;
return d.title;
})
.attr("dy", ".2em")
.attr("transform", function(d) {
/** 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,
rotate = angle + (multiline ? -.5 : 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;
}
if (d.depth && d.name) {
var nameParts = d.name.split(' ');
if (d.depth && d.title) {
var nameParts = d.title.split(' ');
if (nameParts[0].length > max_size_text_length) {
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 d.depth ? d.name : '';
return d.depth ? d.title : '';
});
textEnter.append("tspan")
@ -626,8 +626,8 @@ function load_nodes(load_skill_id, main_depth, extra_parent_id) {
return null;
}
if (d.depth && d.name) {
var nameParts = d.name.split(' ');
if (d.depth && d.title) {
var nameParts = d.title.split(' ');
if (nameParts.length >= 2) {
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 d.depth ? d.name : '';
return d.depth ? d.title : '';
});
/* Icon settings */

@ -36,7 +36,7 @@
if ($('#skill_to_select_id_' + skill_id).length == 0) {
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);
}
}

@ -1,11 +1,11 @@
{% if skills is not empty %}
<ul class="skill-winner">
{%for skill in skills %}
{%for skill in skills %}
<li>
<a class="" rel="{{ skill.id}}" href="#">{{ skill.name }}</a>
</li>
<a class="" rel="{{ skill.id}}" href="#">{{ skill.title }}</a>
</li>
{% endfor %}
</ul>
</ul>
{% else %}
{{ 'You have not yet achieved skills' | trans }}
{% endif %}
{% endif %}

@ -21,18 +21,18 @@
{{ form }}
{% endif %}
{% for item in list %}
{% for skill in list %}
<h4>
{{ item.name }}
{% if item.shortCode %}
({{ item.shortCode }})
{{ skill.title }}
{% if skill.shortCode %}
({{ skill.shortCode }})
{% endif %}
<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) }}
</a>
</h4>
{{ item.profile }}
{{ skill.profile }}
{% endfor %}
{% endautoescape %}

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

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

@ -20,7 +20,7 @@
{% endif %}
<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>
</div>

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

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

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

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

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

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

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p> {{ "MailDear" | get_plugin_lang('AdvancedSubscriptionPlugin') }} </p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear"| get_plugin_lang('AdvancedSubscriptionPlugin') }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -8,13 +8,13 @@
</option>
{% for sessionItem in sessionItems %}
<option value="{{ sessionItem.id }}" {{ sessionItem.selected }}>
{{ sessionItem.name }}
{{ sessionItem.title }}
</option>
{% endfor %}
</select>
<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>
<p>{{ session.target }}</p>

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

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>{{ "MailThankYouCollaboration"| get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ signature }}</p></td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
{% for student in students %}

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -50,7 +50,7 @@
<td valign="top">
<p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
{% for student in students %}

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>{{ "MailThankYou" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<p>{{ signature }}</p></td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>{{ signature }}</p></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
<tr>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -50,7 +50,7 @@
<td valign="top">
<p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>{{ "MailThankYouCollaboration" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<h3>{{ signature }}</h3></td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -32,7 +32,7 @@
</tr>
<tr>
<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>
</tr>
<tr>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

@ -2,7 +2,7 @@
<html>
<head>
<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>
<body>
@ -49,7 +49,7 @@
<td height="356">&nbsp;</td>
<td valign="top"><p>{{ "MailDear" | get_plugin_lang("AdvancedSubscriptionPlugin") }}</p>
<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>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>

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

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

@ -42,7 +42,7 @@ if (false === $sm->tablesExist(BuyCoursesPlugin::TABLE_TRANSFER)) {
\Doctrine\DBAL\Types\Type::INTEGER,
['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('swift', \Doctrine\DBAL\Types\Type::STRING);
$transferTable->setPrimaryKey(['id']);
@ -255,7 +255,7 @@ if (false === $sm->tablesExist(BuyCoursesPlugin::TABLE_SERVICES)) {
\Doctrine\DBAL\Types\Type::INTEGER,
['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(
'price',

@ -298,6 +298,13 @@ class BuyCoursesPlugin extends Plugin
$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');
exit;
}
@ -2508,7 +2515,7 @@ class BuyCoursesPlugin extends Plugin
];
if (!empty($name)) {
$whereConditions['AND s.name LIKE %?%'] = $name;
$whereConditions['AND s.title LIKE %?%'] = $name;
}
if (!empty($min)) {
@ -3011,7 +3018,7 @@ class BuyCoursesPlugin extends Plugin
];
if (!empty($name)) {
$whereConditions['AND s.name LIKE %?%'] = $name;
$whereConditions['AND s.title LIKE %?%'] = $name;
}
if (!empty($min)) {

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

@ -117,7 +117,7 @@
{% for item in sessions %}
<tr data-item="{{ item.id }}" data-type="session">
<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 class="text-center">
{{ item.displayStartDate | api_convert_and_format_date(6)}}
@ -182,7 +182,7 @@
{% for item in services %}
<tr data-item="{{ item.id }}" data-type="service">
<td>
{{ item.name }}
{{ item.title }}
</td>
<td>
{{ item.description }}

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

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

@ -65,7 +65,7 @@
{% elseif buying_session %}
<div class="row">
<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() }}">
{% if session.tax_enable %}
<div class="price-details-tax">
@ -83,7 +83,7 @@
</div>
<div class="col-md-9">
<div class="buy-item">
<h3 class="title">{{ session.name }}</h3>
<h3 class="title">{{ session.title }}</h3>
{% if session.description %}
<div class="description">
{{ session.description }}

@ -37,12 +37,12 @@
<div class="row">
<div class="col-sm-12 col-md-12 col-xs-12">
<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() }}">
</p>
</div>
<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>
<ul class="list-unstyled">
{% for course in session.courses %}
@ -70,7 +70,7 @@
<div class="row">
<div class="col-sm-12 col-md-12 col-xs-12">
<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() }}">
</a>
</div>
@ -78,7 +78,7 @@
<div class="row">
<div class="col-sm-12 col-md-12 col-xs-12">
<h3>
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.name }}</a>
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.title }}</a>
</h3>
<ul class="list-unstyled">
{% if service.applies_to == 0 %}
@ -165,7 +165,7 @@
<tbody>
{% for account in transfer_accounts %}
<tr>
<td>{{ account.name }}</td>
<td>{{ account.title }}</td>
<td class="text-center">{{ account.account }}</td>
<td class="text-center">{{ account.swift }}</td>
</tr>

@ -1,6 +1,6 @@
<div id="service" class="service">
<div class="page-header">
<h2>{{ service.name }}</h2>
<h2>{{ service.title }}</h2>
</div>
<section id="service-info">
<div class="panel panel-default">
@ -17,7 +17,7 @@
{% elseif service.image %}
<div class="service-image">
<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() }}">
</a>
</div>

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

@ -36,7 +36,7 @@
<tbody>
{% for sale in sale_list %}
<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.currency ~ ' ' ~ sale.price }}</td>
<td class="text-center">{{ sale.date | api_get_local_time }}</td>

@ -16,7 +16,7 @@
<div class="row">
<div class="col-md-3">
<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() }}">
</a>
{% if service.tax_enable %}
@ -42,7 +42,7 @@
<div class="col-md-9">
<div class="buy-item">
<h3 class="title">
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.name }}</a>
<a href='{{ _p.web }}service/{{ service.id }}'>{{ service.title }}</a>
</h3>
{% if service.description %}
<div class="description">

@ -37,7 +37,7 @@
<tbody>
{% for sale in sale_list %}
<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">
{% if sale.status == sale_status_cancelled %}

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

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

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

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

@ -4,7 +4,7 @@
<div class="vchamilo-host-list">
<ul>
{% 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 %}
</ul>
</div>
</div>

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

@ -22,7 +22,7 @@
<tbody>
{% for contact_category in contact_categories %}
<tr>
<td>{{ contact_category.name }}</td>
<td>{{ contact_category.title }}</td>
<td>{{ contact_category.email }}</td>
<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">

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

@ -6,17 +6,17 @@
<div class="row">
{% for category, items in tools %}
{% 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="tools mt-3 mb-3">
<div class="big_icon">
<a
href="{{ url(
'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>
</div>
<div class="content pt-2 pb-2">
@ -46,12 +46,12 @@
{% endset %}
<div class="big_icon">
<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>
</div>
<div class="content pt-2 pb-2">
<a href="{{ url }}">
{{ shortcut.name }}
{{ shortcut.title }}
</a>
</div>
</div>

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

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

@ -1,10 +1,10 @@
<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>
<dt>{{ 'Student'|trans }}</dt>
<dd>{{ student.complete_name }}</dd>
<dt>{{ 'Course'|trans }}</dt>
<dd>{{ course.name }} - {{ course.code }}</dd>
<dd>{{ course.title }} - {{ course.code }}</dd>
<dt>{{ 'AssignmentName'|trans }}</dt>
<dd>{{ work.title }}</dd>
<dd>{{ work.description }}</dd>

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

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

Loading…
Cancel
Save