Fix tables style

pull/3534/head
Angel Fernando Quiroz Campos 5 years ago
parent fbdb830f12
commit 14bd40a23a
  1. 5
      main/admin/access_url_check_user_session.php
  2. 10
      main/admin/extra_field_workflow.php
  3. 2
      main/admin/settings.lib.php
  4. 2
      main/admin/statistics/index.php
  5. 8
      main/admin/user_information.php
  6. 2
      main/admin/user_list.php
  7. 10
      main/admin/user_move_stats.php
  8. 6
      main/attendance/attendance_sheet.php
  9. 2
      main/auth/justification.php
  10. 2
      main/auth/my_progress.php
  11. 10
      main/auth/sort_my_courses.php
  12. 2
      main/exercise/TestCategory.php
  13. 4
      main/exercise/exercise.class.php
  14. 22
      main/exercise/exercise_history.php
  15. 2
      main/exercise/exercise_submit_modal.php
  16. 2
      main/exercise/question_pool.php
  17. 4
      main/exercise/stats.php
  18. 4
      main/extra/create_school_calendar.php
  19. 2
      main/extra/edit_exam.php
  20. 2
      main/extra/edit_intervention.php
  21. 72
      main/extra/myStudents.php
  22. 56
      main/extra/my_progress_ind.php
  23. 4
      main/extra/print_myStudents.php
  24. 2
      main/forum/forumfunction.inc.php
  25. 2
      main/forum/forumqualify.php
  26. 2
      main/forum/viewforum.php
  27. 10
      main/gradebook/gradebook_edit_all.php
  28. 2
      main/gradebook/gradebook_statistics.php
  29. 2
      main/gradebook/lib/GradebookUtils.php
  30. 4
      main/gradebook/lib/fe/evalform.class.php
  31. 2
      main/gradebook/lib/fe/resulttable.class.php
  32. 2
      main/gradebook/user_stats.php
  33. 2
      main/inc/ajax/myspace.ajax.php
  34. 2
      main/inc/lib/AnnouncementManager.php
  35. 4
      main/inc/lib/attendance.lib.php
  36. 58
      main/inc/lib/blog.lib.php
  37. 2
      main/inc/lib/course_category.lib.php
  38. 6
      main/inc/lib/dashboard.lib.php
  39. 2
      main/inc/lib/diagnoser.lib.php
  40. 2
      main/inc/lib/display.lib.php
  41. 4
      main/inc/lib/exercise.lib.php
  42. 2
      main/inc/lib/export.lib.inc.php
  43. 6
      main/inc/lib/myspace.lib.php
  44. 2
      main/inc/lib/sortable_table.class.php
  45. 13
      main/inc/lib/statistics.lib.php
  46. 2
      main/lp/learnpath.class.php
  47. 6
      main/mySpace/access_details_session.php
  48. 4
      main/mySpace/admin.php
  49. 4
      main/mySpace/coaches.php
  50. 2
      main/mySpace/current_courses.php
  51. 2
      main/mySpace/lp_tracking.php
  52. 6
      main/mySpace/myStudents.php
  53. 2
      main/mySpace/progression.php
  54. 4
      main/mySpace/session_filter.php
  55. 2
      main/permissions/blog_permissions.inc.php
  56. 2
      main/permissions/group_permissions.inc.php
  57. 4
      main/permissions/roles.php
  58. 2
      main/permissions/user_permissions.inc.php
  59. 4
      main/session/resume_session.php
  60. 12
      main/session/session_category_list.php
  61. 4
      main/survey/surveyUtil.class.php
  62. 2
      main/survey/survey_invitation.php
  63. 2
      main/template/default/admin/skill.tpl
  64. 2
      main/template/default/admin/skill_level.tpl
  65. 2
      main/template/default/admin/skill_profile.tpl
  66. 2
      main/template/default/export/table_pdf.tpl
  67. 2
      main/template/default/session/resume_session.tpl
  68. 2
      main/tracking/courseLog.php
  69. 14
      main/tracking/course_log_tools.php
  70. 2
      main/tracking/course_session_report.php
  71. 4
      main/tracking/exams.php
  72. 2
      main/tracking/lp_results_by_user.php
  73. 2
      main/tracking/question_course_report.php
  74. 6
      main/user/resume_session.php
  75. 6
      main/wiki/wiki.inc.php
  76. 2
      main/work/student_work.php
  77. 2
      main/work/work.lib.php
  78. 2
      plugin/buycourses/src/invoice.php
  79. 2
      plugin/courselegal/user_list.php
  80. 2
      plugin/dashboard/block_course/block_course.class.php
  81. 2
      plugin/dashboard/block_daily/block_daily.class.php
  82. 2
      plugin/dashboard/block_session/block_session.class.php
  83. 4
      plugin/dashboard/block_student/block_student.class.php
  84. 4
      plugin/dashboard/block_teacher/block_teacher.class.php
  85. 2
      plugin/dictionary/view/terms.html.twig
  86. 2
      plugin/h5p/view/list.tpl
  87. 2
      plugin/mindmap/view/list.tpl
  88. 2
      plugin/studentfollowup/view/my_students.html.twig
  89. 2
      plugin/test2pdf/view/view-pdf.tpl
  90. 6
      plugin/vchamilo/views/manage.php

@ -80,7 +80,8 @@ foreach ($session_list as $session_item) {
$users = Database::store_result($result);
if (!empty($users)) {
$html .= '<table class="data_table"><tr><th>'.get_lang('User').'<th>'.get_lang('Actions').'</th></tr>';
$html .= '<table class="table table-hover table-striped data_table">
<thead><tr><th>'.get_lang('User').'<th>'.get_lang('Actions').'</th></tr></thead><tbody>';
foreach ($users as $user) {
$user_link = '';
@ -105,7 +106,7 @@ foreach ($session_list as $session_item) {
</td>
</tr>';
}
$html .= '</table>';
$html .= '</tbody>s</table>';
}
}
echo $html;

@ -93,20 +93,20 @@ $htmlHeadXtra[] = '<script>
}
}
$(function() {
$(function() {
$("#workflow_status").on("change", function() {
var roleId = $(this).find(":selected").val();
var roleId = $(this).find(":selected").val();
if (roleId != 0) {
window.location.replace("'.api_get_self().'?'.$paramsNoRole.'&roleId="+roleId);
}
});
$("[name=select_all]").on("click", function() {
$("#workflow :checkbox").prop("checked", 1);
$("#workflow :hidden").prop("value", 1);
return false;
});
$("[name=unselect_all]").on("click", function() {
$("#workflow :checkbox").prop("checked", 0);
$("#workflow :hidden").prop("value", 0);
@ -126,7 +126,7 @@ $result = Database::select(
]
);
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$table->setHeaderContents($row, $column, get_lang('CurrentStatus'));

@ -42,7 +42,7 @@ function handleRegions()
$installed_plugins = $plugin_obj->getInstalledPlugins();
echo '<form name="plugins" method="post" action="'.api_get_self().'?category='.Security::remove_XSS($_GET['category']).'">';
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<tr>';
echo '<th width="400px">';
echo get_lang('Plugin');

@ -938,7 +938,7 @@ switch ($report) {
);
$scoreDisplay = ScoreDisplay::instance();
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('Name'),
get_lang('Count'),

@ -131,7 +131,7 @@ $userInfo = null;
$studentBossList = UserManager::getStudentBossList($userId);
$studentBossListToString = '';
if (!empty($studentBossList)) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('User'));
$csvContent[] = [get_lang('StudentBoss')];
@ -147,7 +147,7 @@ if (!empty($studentBossList)) {
$registrationDate = $user['registration_date'];
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('Information'));
$csvContent[] = [get_lang('Information')];
@ -192,7 +192,7 @@ foreach ($data as $label => $item) {
$row++;
}
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('Tracking'));
$csvContent[] = [get_lang('Tracking')];
$userInfo['first_connection'] = Tracking::get_first_connection_date($userId);
@ -702,7 +702,7 @@ if (api_get_configuration_value('allow_career_users')) {
$careers = UserManager::getUserCareers($userId);
if (!empty($careers)) {
echo Display::page_subheader(get_lang('Careers'), null, 'h3', ['class' => 'section-title']);
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('Career'));
$row = 1;
foreach ($careers as $carerData) {

@ -1183,7 +1183,7 @@ if (0 == $table->get_total_number_of_items()) {
if (!empty($user_list)) {
$extra_search_options = Display::page_subheader(get_lang('UsersFoundInOtherPortals'));
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$headers = [get_lang('User'), 'URL', get_lang('Actions')];

@ -784,13 +784,16 @@ if (!empty($user_list)) {
$course_list = $course_list_registered;
echo '<div>';
echo '<table class="data_table">';
echo '<div class="table-responsive">';
echo '<table class="table table-hover table-striped data_table">';
echo '<thead>';
echo '<tr>';
echo '<th style="text-align:left;" colspan="'.count($course_list).'">';
echo "<h3>$name #$user_id </h3> ";
echo '</th>';
echo '</tr>';
echo '</thead>';
echo '<tbody>';
if (!empty($course_list)) {
echo '<tr>';
@ -822,7 +825,7 @@ if (!empty($user_list)) {
$unique_id = uniqid();
$combinations[$unique_id] = ['course_code' => $course_code, 'session_id' => $session_id];
echo '<select id="'.$unique_id.'" name="'.$unique_id.'">';
echo '<select id="'.$unique_id.'" name="'.$unique_id.'" class="form-control">';
echo $options;
echo '</select>';
echo '<br />';
@ -837,6 +840,7 @@ if (!empty($user_list)) {
echo get_lang('NoCoursesForThisUser');
echo '</td>';
}
echo '</tbody>';
echo '</table>';
echo '</div>';
}

@ -208,7 +208,7 @@ if (api_is_allowed_to_edit(null, true) ||
<form method="post" action="index.php?action=attendance_sheet_add&<?php echo api_get_cidreq().$param_filter; ?>&attendance_id=<?php echo $attendance_id; ?>" >
<div class="attendance-sheet-content" style="width:100%;background-color:#E1E1E1;margin-top:20px;">
<div class="divTableWithFloatingHeader attendance-users-table" style="width:45%;float:left;margin:0px;padding:0px;">
<table class="tableWithFloatingHeader data_table" width="100%">
<table class="tableWithFloatingHeader table table-hover table-striped data_table" width="100%">
<thead>
<tr class="tableFloatingHeader" style="position: absolute; top: 0px; left: 0px; visibility: hidden; margin:0px;padding:0px" >
<th width="10px"><?php echo '#'; ?></th>
@ -260,7 +260,7 @@ if (api_is_allowed_to_edit(null, true) ||
<?php
echo '<div class="divTableWithFloatingHeader attendance-calendar-table" style="margin:0px;padding:0px;float:left;width:55%;overflow:auto;overflow-y:hidden;">';
echo '<table class="tableWithFloatingHeader data_table" width="100%">';
echo '<table class="tableWithFloatingHeader table table-hover table-striped data_table" width="100%">';
echo '<thead>';
$result = null;
if (count($attendant_calendar) > 0) {
@ -436,7 +436,7 @@ if (api_is_allowed_to_edit(null, true) ||
</div>
<?php
} ?>
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr class="row_odd" >
<th><?php echo get_lang('Attendance'); ?></th>
</tr>

@ -118,7 +118,7 @@ switch ($action) {
if (!empty($userJustifications)) {
$userJustificationList .= Display::page_subheader3($plugin->get_lang('MyJustifications'));
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$headers = [

@ -120,7 +120,7 @@ if ($show) {
if (!empty($careers)) {
$title = Display::page_subheader(get_lang('Careers'), null, 'h3', ['class' => 'section-title']);
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('Career'));
$table->setHeaderContents(0, 1, get_lang('Diagram'));

@ -292,7 +292,7 @@ if (!empty($user_course_categories)) {
$counter++;
echo '<br /><br />';
// Show the courses inside this category
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$number_of_courses = isset($courses_in_category[$row['id']]) ? count($courses_in_category[$row['id']]) : 0;
$key = 0;
if (!empty($courses_in_category[$row['id']])) {
@ -371,7 +371,7 @@ if (!empty($user_course_categories)) {
}
echo Display::page_subheader(get_lang('NoCourseCategory'));
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
// COURSES WITHOUT CATEGORY
if (!empty($courses_without_category)) {
$number_of_courses = count($courses_without_category);
@ -390,8 +390,8 @@ if (!empty($courses_without_category)) {
if (api_get_setting('display_teacher_in_courselist') === 'true') {
echo $course['tutor'];
}
echo '</td><td valign="top">'; ?>
<div style="float:left; width:110px">
echo '</td><td class="text-right">'; ?>
<div>
<?php
if (api_get_setting('show_courses_descriptions_in_catalog') == 'true') {
$icon_title = get_lang('CourseDetails').' - '.$course['title']; ?>
@ -429,7 +429,7 @@ if (!empty($courses_without_category)) {
echo Display::return_icon('down_na.png', get_lang('Down'), '', 22);
} ?>
</div>
<div style="float:left; margin-right:10px;">
<div style="margin-right:10px;">
<?php
if ($course['status'] != 1) {
if ($course['unsubscr'] == 1) {

@ -978,7 +978,7 @@ class TestCategory
}
$return .= $warning;
$return .= '<table class="table table-bordered data_table">';
$return .= '<table class="table table-hover table-bordered data_table">';
$return .= '<tr>';
$return .= '<th height="24">'.get_lang('Categories').'</th>';
$return .= '<th width="70" height="24">'.get_lang('Number').'</th></tr>';

@ -5584,7 +5584,7 @@ class Exercise
$final_overlap = 100;
}
$table_resume = '<table class="data_table">
$table_resume = '<table class="table table-hover table-striped data_table">
<tr class="row_odd" >
<td></td>
<td ><b>'.get_lang('Requirements').'</b></td>
@ -9729,7 +9729,7 @@ class Exercise
}
$table_resume = '
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr class="row_odd" >
<td>&nbsp;</td>
<td><b>'.get_lang('Requirements').'</b></td>

@ -56,8 +56,8 @@ echo '</div>';
?>
<table class="data_table">
<tr class="row_odd">
<table class="table table-hover table-striped data_table">
<tr>
<th><?php echo get_lang('Question'); ?></th>
<th width="50px"><?php echo get_lang('Value'); ?></th>
<th><?php echo get_lang('Feedback'); ?></th>
@ -66,23 +66,17 @@ echo '</div>';
</tr>
<?php
$sql = "SELECT *, quiz_question.question, firstname, lastname
$sql = "SELECT *, quiz_question.question, firstname, lastname
FROM $TBL_TRACK_ATTEMPT_RECORDING t, $TBL_USER,
$TBL_EXERCISES_QUESTION quiz_question
WHERE
quiz_question.id = question_id AND
user_id = author AND
exe_id = '".(int) $_GET['exe_id']."'
WHERE
quiz_question.id = question_id AND
user_id = author AND
exe_id = '".(int) $_GET['exe_id']."'
ORDER BY position";
$query = Database::query($sql);
while ($row = Database::fetch_array($query)) {
echo '<tr';
if ($i % 2 == 0) {
echo 'class="row_odd"';
} else {
echo 'class="row_even"';
}
echo '>';
echo '<tr>';
echo '<td>'.$row['question'].'</td>';
echo '<td>'.$row['marks'].'</td>';
if (!empty($row['teacher_comment'])) {

@ -292,7 +292,7 @@ if ($objExercise->getFeedbackType() === EXERCISE_FEEDBACK_TYPE_DIRECT) {
$comments = '';
if ($answerType != HOT_SPOT_DELINEATION) {
if (isset($result['correct_answer_id'])) {
$table = new HTML_Table(['class' => 'table data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$table->setCellContents($row, 0, get_lang('YourAnswer'));
if ($answerType != DRAGGABLE) {

@ -1054,7 +1054,7 @@ echo '<input type="hidden" name="selected_course" value="'.$selected_course.'">'
echo '<input type="hidden" name="course_id" value="'.$selected_course.'">';
echo '<input type="hidden" name="action">';
$table = new HTML_Table(['class' => 'table table-bordered data_table'], false);
$table = new HTML_Table(['class' => 'table table-hover table-bordered data_table'], false);
$row = 0;
$column = 0;
foreach ($headers as $header) {

@ -100,7 +100,7 @@ if (!empty($question_list)) {
}
// Format A table
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
foreach ($headers as $header) {
@ -285,7 +285,7 @@ if (!empty($question_list)) {
}
// Format A table
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
foreach ($headers as $header) {

@ -32,7 +32,7 @@ if (empty($title)) {
}
?>
<form action="save_school_calendar.php" method="post" name="save_cal">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="3">
<?php echo get_lang('edit_save'); ?>
@ -65,7 +65,7 @@ if (empty($title)) {
echo '</td>';
echo "<td><input type='text' NAME='day_number' size='4' value=".$number."/></td>";
echo "<td><input type='text' NAME='d_title' size='4' value=".$title."/></td>";
$sql4 = "INSERT INTO set_module (cal_name,cal_day_num,cal_date)
$sql4 = "INSERT INTO set_module (cal_name,cal_day_num,cal_date)
VALUES ('$title','$number','".date('Y-m-d', $date1)."') ";
Database::query($sql4);
if ($i % $nbcol == ($nbcol - 1)) {

@ -18,7 +18,7 @@ $student_idd = isset($_GET['student_id']) ? (int) $_GET['student_id'] : '';
?>
<form action="update_exam.php" method="post" name="save_exam">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('edit_save'); ?>

@ -17,7 +17,7 @@ $tbl_stats_exercices = Database:: get_main_table(TABLE_STATISTIC_TRACK_E_EXERCIS
?>
<form action="update_intervention.php" method="post" name="save_intercention">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="4"><?php echo get_lang('Edit'); ?>
<tr>

@ -1121,7 +1121,7 @@ if (!empty($studentId)) {
WHERE
quiz.c_id = ".$courseInfo['real_id']." AND
active IN (0, 1)
$sessionCondition
$sessionCondition
ORDER BY quiz.title ASC ";
$result_exercices = Database::query($sql);
@ -1268,7 +1268,7 @@ if (!empty($studentId)) {
}
if (!empty($survey_list)) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$header_names = [get_lang('Survey'), get_lang('Answered')];
$row = 0;
$column = 0;
@ -1404,8 +1404,8 @@ $nom_hor = $horaire_id['official_code'];
$course_code_real = $_course['real_id'];
//avec le nom d'horaire= official code, on trouve le nombre de jour a faire
$sql = "SELECT * FROM $TABLECALHORAIRE
where
name = '$nom_hor' and
where
name = '$nom_hor' and
c_id = $course_code_real ";
$res = Database::query($sql);
@ -1460,10 +1460,10 @@ while ($a_courses = Database::fetch_array($result2)) {
$lp_item_id = $resulta['id'];
$Req3 = "SELECT MAX(id)
FROM c_lp_item_view
WHERE
lp_item_id = $lp_item_id AND
lp_view_id = $lp_id_view AND
c_id = $c_id_view AND
WHERE
lp_item_id = $lp_item_id AND
lp_view_id = $lp_id_view AND
c_id = $c_id_view AND
status = 'completed'
";
$res3 = Database::query($Req3);
@ -1471,8 +1471,8 @@ while ($a_courses = Database::fetch_array($result2)) {
$max = $resul['0'];
$Req4 = "SELECT COUNT( id )
FROM c_lp_item_view
WHERE
id = $max AND
WHERE
id = $max AND
c_id = $c_id_view";
$res4 = Database::query($Req4);
while ($resultat = Database::fetch_array($res4)) {
@ -1504,9 +1504,9 @@ while ($jour_agenda == '') {
$tour++;
$date = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - $tour, date("Y")));
$sql4 = "SELECT * FROM $tbl_personal_agenda
WHERE
user = $studentId AND
text='Pour le calendrier, ne pas effacer' AND
WHERE
user = $studentId AND
text='Pour le calendrier, ne pas effacer' AND
date like '".$date." %:%' ";
$result4 = Database::query($sql4);
$res4 = Database::fetch_array($result4);
@ -1531,7 +1531,7 @@ $goto = $num_days + $diff2;
$goto = number_format($goto);
$sqlgo = "SELECT * FROM $tbl_personal_agenda
WHERE user = $studentId
AND title = '".$goto."'
AND title = '".$goto."'
";
$result7 = Database::query($sqlgo);
$res7 = Database::fetch_array($result7);
@ -1543,7 +1543,7 @@ if ($end_date < '2010-01-01') {
}
?>
<table class="data_table">
<table class="table table-hover table-striped data_table">
<th rowspan="6">
<?php
//on récupere les points de controle de l'élève
@ -1632,7 +1632,7 @@ if ($end_date < '2010-01-01') {
<hr>
<br>
<form action="create_intervention.php" method="post" name="create_intervention">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('create_interventions_commentaires');
@ -1666,7 +1666,7 @@ if ($end_date < '2010-01-01') {
// formulaire d'édition des commentaires
?>
<form>
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th><?php echo get_lang('level'); ?> </th>
<th>
@ -1684,10 +1684,10 @@ if ($end_date < '2010-01-01') {
$tbl_stats_exercices = Database:: get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
$sqlinter = "SELECT *
FROM $tbl_stats_exercices
WHERE
exe_user_id = $studentId AND
WHERE
exe_user_id = $studentId AND
level != 0
ORDER BY exe_date ASC, level ASC
ORDER BY exe_date ASC, level ASC
";
$resultinter = Database::query($sqlinter);
$mod_no = null;
@ -1703,8 +1703,8 @@ if ($end_date < '2010-01-01') {
<td>
$inter_date
</td>
<td>$inter_coment
<td>$inter_coment
</td>
";
$exe_id = $a_inter['exe_id']; ?>
@ -1793,7 +1793,7 @@ if (empty($_GET['details'])) {
}
// Courses
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<h3>'.$title.'</h3>';
echo '<tr>
<th>'.get_lang('Course').'</th>
@ -1823,7 +1823,7 @@ if (empty($_GET['details'])) {
// firts connection date
$sql2 = 'SELECT STR_TO_DATE(access_date,"%Y-%m-%d")
FROM '.$tbl_stats_access.'
FROM '.$tbl_stats_access.'
WHERE access_user_id = '.$studentId.'
AND c_id = '.$c_id.'
ORDER BY access_id ASC LIMIT 0,1
@ -1860,9 +1860,9 @@ if (empty($_GET['details'])) {
$nombre_jours_module = number_format($nombre_jours_module, 0);
//on trouve la date de fin de chaque module AND date = date_format('$first_connection_date_to_module','%Y-%m-%d')
$sql = "SELECT * FROM `c_cal_dates`
WHERE
horaire_name = '$nom_hor' AND
c_id = '$course_code_real' AND
WHERE
horaire_name = '$nom_hor' AND
c_id = '$course_code_real' AND
STR_TO_DATE(date,'%Y-%m-%d') >= STR_TO_DATE('$first_connection_date_to_module','%Y-%m-%d')
ORDER BY STR_TO_DATE(date, '%Y-%m-%d') ASC ";
$res = Database::query($sql);
@ -1997,7 +1997,7 @@ if (empty($_GET['details'])) {
if (Database:: num_rows($rs_lp) > 0) {
?>
<!-- LPs-->
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th><?php echo get_lang('Learnpaths'); ?></th>
<th><?php echo get_lang('FirstConnexion'); ?></th>
@ -2041,7 +2041,7 @@ if (empty($_GET['details'])) {
// firts connection date
$sql2 = 'SELECT access_date
FROM '.$tbl_stats_access.'
FROM '.$tbl_stats_access.'
WHERE access_user_id = '.$studentId.'
AND c_id = '.$c_id.'
ORDER BY access_id ASC LIMIT 0,1
@ -2207,7 +2207,7 @@ if (empty($_GET['details'])) {
} ?>
</table>
<!-- line about exercises -->
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th><?php echo get_lang('Exercises'); ?></th>
<th><?php echo get_lang('LearningPath'); ?></th>
@ -2367,7 +2367,7 @@ if (empty($_GET['details'])) {
}
if (!empty($survey_list)) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$header_names = [get_lang('Survey'), get_lang('Answered')];
$row = 0;
$column = 0;
@ -2394,7 +2394,7 @@ if (empty($_GET['details'])) {
}
// line about other tools
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$csv_content[] = [];
$nb_assignments = Tracking::count_student_assignments($studentId, $course_code, $session_id);
@ -2475,7 +2475,7 @@ if ($export_csv) {
?>
<br>
<form action="create_exam.php" method="post" name="create_exam">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('Title');
@ -2533,7 +2533,7 @@ if ($export_csv) {
</form>
<form name="save_exam">
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('result_exam_title');
@ -2607,12 +2607,12 @@ if ($export_csv) {
</form>
<strong><?php echo get_lang('imprime_sommaire'); ?> </strong>
<?php
echo '<a target="_blank"
echo '<a target="_blank"
href="print_myStudents.php?student='.$studentId.'&details=true&course='.$course_code.'&origin=tracking_course">
<img src="'.api_get_path(WEB_IMG_PATH).'printmgr.gif" border="0" /></a>';
// tableau pour date de fin prévue pour chaque module
?>
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('fin_mod_prevue');

@ -20,9 +20,9 @@ $tbl_stats_access = Database:: get_main_table(TABLE_STATISTIC_TRACK_E_ACCESS);
Display::display_header($nameTools);
$result = Database::query(
"SELECT DISTINCT session.id as id, name, access_start_date date_start, access_end_date date_end
FROM session_rel_course_rel_user,session
WHERE session_id=session.id AND user_id=".$_user['user_id']."
"SELECT DISTINCT session.id as id, name, access_start_date date_start, access_end_date date_end
FROM session_rel_course_rel_user,session
WHERE session_id=session.id AND user_id=".$_user['user_id']."
ORDER BY date_start, date_end, name");
$Sessions = Database::store_result($result);
@ -96,10 +96,10 @@ while ($a_courses = Database::fetch_array($result2)) {
$lp_item_id = $resulta['id'];
$Req3 = " SELECT Max(id)
FROM c_lp_item_view
WHERE
lp_item_id = '$lp_item_id' AND
lp_view_id = '$lp_id_view' AND
c_id = '$c_id_view' AND
WHERE
lp_item_id = '$lp_item_id' AND
lp_view_id = '$lp_id_view' AND
c_id = '$c_id_view' AND
status = 'completed'
";
$res3 = Database::query($Req3);
@ -107,9 +107,9 @@ while ($a_courses = Database::fetch_array($result2)) {
$max = $resul['0'];
$Req4 = "SELECT COUNT( id )
FROM c_lp_item_view
WHERE
id = '$max' AND
c_id = '$c_id_view'
WHERE
id = '$max' AND
c_id = '$c_id_view'
";
$res4 = Database::query($Req4);
while ($resultat = Database::fetch_array($res4)) {
@ -133,7 +133,7 @@ $sqljtot = "SELECT COUNT( * ) AS TOT
FROM $tbl_personal_agenda
WHERE user = '".$_user['user_id']."'
And title like 'm%'
";
$resultjt = Database::query($sqljtot);
$jour_realise = 0;
@ -150,8 +150,8 @@ while ($jour_agenda == '') {
$tour++;
$date = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") - $tour, date("Y")));
$sql4 = "SELECT title FROM $tbl_personal_agenda
WHERE user = '".$_user['user_id']."' AND
text='Pour le calendrier, ne pas effacer' AND
WHERE user = '".$_user['user_id']."' AND
text='Pour le calendrier, ne pas effacer' AND
date like '".$date." %:%' ";
$result4 = Database::query($sql4);
$res4 = Database::fetch_array($result4);
@ -168,7 +168,7 @@ if ($diff > 0) {
}
$diff = abs($diff);
?>
<table class="data_table">
<table class="table table-hover table-striped data_table">
<th rowspan="5">
<?php
//on récupere les points de controle de l'élève
@ -245,7 +245,7 @@ $diff = abs($diff);
</tr>
</table>
<hr>
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th><?php echo get_lang('level'); ?> </th>
<th>
@ -272,7 +272,7 @@ $diff = abs($diff);
echo "
<tr>
<td> ".$a_inter['level']."</td>
<td> $inter_date </td>
<td> $inter_date </td>
<td>$inter_coment</td>";
$exe_id = $a_inter['exe_id'];
}
@ -289,7 +289,7 @@ $diff = abs($diff);
$user_info = api_get_user_info();
$user_id = api_get_user_id();
//On cherche le calendrier pour ce user et le c_id de ce calendrier
$sql = "SELECT *
$sql = "SELECT *
FROM user
WHERE user_id = '$user_id'
";
@ -300,13 +300,13 @@ $c_id_horaire = strstr($nom_hor, '.');
$c_id_horaire = str_replace(".", "", "$c_id_horaire");
// Courses
echo '<h3>'.get_lang('Course').'</h3>';
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<tr>
<th>'.get_lang('Course').'</th>
<th>'.get_lang('Time').'</th>
<th>'.get_lang('FirstConnexion').'</th>
<th>'.get_lang('Progress').'</th>
<th>'.get_lang('fin_mod_prevue').'</th>
<th>'.get_lang('fin_mod_prevue').'</th>
</tr>';
//on recherche les cours où sont inscrit les user
$user_c_id = $_user['user_id'];
@ -332,11 +332,11 @@ while ($a_courses = Database::fetch_array($result2)) {
$time_spent_on_course = api_time_to_hms(Tracking:: get_time_spent_on_the_course($user_id, $c_id, $session_id));
// firts connection date
$sql2 = "SELECT STR_TO_DATE(access_date,'%Y-%m-%d')
FROM $tbl_stats_access
WHERE
access_user_id = '$user_id' AND
FROM $tbl_stats_access
WHERE
access_user_id = '$user_id' AND
c_id = '$c_id'
ORDER BY access_id ASC
ORDER BY access_id ASC
LIMIT 0,1";
//Francois Belisle Kezber
@ -375,12 +375,12 @@ while ($a_courses = Database::fetch_array($result2)) {
$nombre_jours_module = (int) $nombre_jours_module;
//on trouve la date de fin de chaque module AND date = date_format('$first_connection_date_to_module','%Y-%m-%d')
$sql = "SELECT * FROM c_cal_dates
WHERE
horaire_name = '$nom_hor' AND
c_id = '$c_id_horaire' AND
WHERE
horaire_name = '$nom_hor' AND
c_id = '$c_id_horaire' AND
STR_TO_DATE(date,'%Y-%m-%d') >= STR_TO_DATE('$first_connection_date_to_module','%Y-%m-%d')
ORDER BY STR_TO_DATE(date, '%Y-%m-%d') asc
LIMIT $nombre_jours_module, 18446744073709551615
LIMIT $nombre_jours_module, 18446744073709551615
";
$res = Database::query($sql);
//Database::data_seek($res,$nombre_jours_module);
@ -457,7 +457,7 @@ while ($a_courses = Database::fetch_array($result2)) {
echo '</table>';
?> </table>
<br/><br/>
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php

@ -160,7 +160,7 @@ if (api_is_drh() && !UserManager::is_user_followed_by_drh($student_id, $_user['u
$info_user['name'] = api_get_person_name($info_user['firstname'], $info_user['lastname']);
?>
<table class='data_table'>
<table class='table table-hover table-striped data_table'>
<tr>
<th colspan="6">
<?php echo get_lang('result_exam_title');
@ -219,4 +219,4 @@ $info_user['name'] = api_get_person_name($info_user['firstname'], $info_user['la
</table>
</form>
<strong><?php echo get_lang('imprime_sommaire'); ?> </strong>
<a href="#" onclick="window.print()"><img align="absbottom" src="../img/printmgr.gif" border="0"></a>
<a href="#" onclick="window.print()"><img align="absbottom" src="../img/printmgr.gif" border="0"></a>

@ -6340,7 +6340,7 @@ function getAttachmentsAjaxTable($postId = 0)
<div class="control-group " style="'.$style.'">
<label class="control-label">'.get_lang('AttachmentList').'</label>
<div class="controls">
<table id="attachmentFileList" class="files data_table span10">
<table id="attachmentFileList" class="files table table-hover table-striped data_table span10">
<tr>
<th>'.get_lang('FileName').'</th>
<th>'.get_lang('Size').'</th>

@ -253,7 +253,7 @@ if (isset($rows)) {
echo Display::page_subheader($name);
}
echo "<div ".$style."><table class=\"data_table\">";
echo "<div ".$style."><table class=\"table table-hover table-striped data_table\">";
if ($row['visible'] == '0') {
$titleclass = 'forum_message_post_title_2_be_approved';

@ -260,7 +260,7 @@ if ($my_action == 'liststd' &&
$table_list .= Display::tabsOnlyLink($tabs, $active);
$icon_qualify = 'quiz.png';
$table_list .= '<center><br /><table class="data_table" style="width:50%">';
$table_list .= '<center><br /><table class="table table-hover table-striped data_table" style="width:50%">';
// The column headers (TODO: Make this sortable).
$table_list .= '<tr >';
$table_list .= '<th height="24">'.get_lang('NamesAndLastNames').'</th>';

@ -289,13 +289,17 @@ echo Display::return_message(sprintf(get_lang('TotalWeightMustBeX'), $original_t
?>
<form method="post" action="<?php echo $currentUrl; ?>">
<table class="data_table">
<tr class="row_odd">
<th style="width: 35px;"><?php echo get_lang('Type'); ?></th>
<table class="table table-hover table-striped data_table">
<thead>
<tr>
<th><?php echo get_lang('Type'); ?></th>
<th><?php echo get_lang('Resource'); ?></th>
<th><?php echo get_lang('Weight'); ?></th>
</tr>
</thead>
<tbody>
<?php echo $output; ?>
</tbody>
</table>
<input type="hidden" name="submitted" value="1"/>
<br/>

@ -82,7 +82,7 @@ if (!$displayScore->is_custom() || empty($displays)) {
}
// Generate table
$html = '<table class="data_table" cellspacing="0" cellpadding="3">';
$html = '<table class="table table-hover table-striped data_table" cellspacing="0" cellpadding="3">';
$html .= '<tr><th>'.get_lang('ScoringSystem').'</th>';
$html .= '<th>'.get_lang('Percentage').'</th>';
$html .= '<th>'.get_lang('CountUsers').'</th></tr>';

@ -1049,7 +1049,7 @@ class GradebookUtils
$columns = count($printable_data[0]);
$has_data = is_array($printable_data[1]) && count($printable_data[1]) > 0;
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
$table->setHeaderContents($row, $column, get_lang('NumberAbbreviation'));

@ -164,7 +164,7 @@ class EvalForm extends FormValidator
// set new form template
$form_template = '<form{attributes}>
<div class="table-responsive">
<table class="data_table" border="0" cellpadding="5" cellspacing="5">{content}</table>
<table class="table table-hover table-striped data_table" border="0" cellpadding="5" cellspacing="5">{content}</table>
</div>
</form>';
$renderer->setFormTemplate($form_template);
@ -311,7 +311,7 @@ class EvalForm extends FormValidator
$renderer->setFormTemplate(
'<form{attributes}>
<div class="table-responsive">
<table class="data_table">
<table class="table table-hover table-striped data_table">
{content}
</table>
</div>

@ -189,7 +189,7 @@ class ResultTable extends SortableTable
$resultQuery = Database::query($sql);
$list = Database::store_result($resultQuery);
$htmlTable = new HTML_Table(['class' => 'data_table']);
$htmlTable = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$htmlTable->setHeaderContents(0, 0, get_lang('Score'));
$htmlTable->setHeaderContents(0, 1, get_lang('Comment'));
$htmlTable->setHeaderContents(0, 2, get_lang('CreatedAt'));

@ -75,7 +75,7 @@ if (isset($_GET['exportpdf'])) {
];
}
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
foreach ($header_names as $item) {

@ -41,7 +41,7 @@ switch ($action) {
$sessionCategoryList = UserManager::get_sessions_by_category($userId, false);
$total = 0;
$totalAverage = 0;
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$col = 0;
foreach ($sessionCategoryList as $category) {

@ -449,7 +449,7 @@ class AnnouncementManager
$title = $announcement->getTitle();
$content = $announcement->getContent();
$html .= "<table height=\"100\" width=\"100%\" cellpadding=\"5\" cellspacing=\"0\" class=\"data_table\">";
$html .= "<table height=\"100\" width=\"100%\" cellpadding=\"5\" cellspacing=\"0\" class=\"table table-hover table-striped data_table\">";
$html .= "<tr><td><h2>".$title."</h2></td></tr>";
if (api_is_allowed_to_edit(false, true) ||

@ -2204,7 +2204,7 @@ class Attendance
$users = $data['users'];
$results = $data['results'];
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
foreach ($headers as $header) {
@ -2257,7 +2257,7 @@ class Attendance
$users = $data['users'];
$results = $data['results'];
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('User'));
$table->setHeaderContents(0, 1, get_lang('Date'));

@ -280,7 +280,7 @@ class Blog
// Update course homepage link
$sql = "UPDATE $tbl_tool SET
name = '$title'
WHERE c_id = $course_id AND link = 'blog/blog.php?blog_id=$blog_id'
WHERE c_id = $course_id AND link = 'blog/blog.php?blog_id=$blog_id'
LIMIT 1";
Database::query($sql);
}
@ -704,7 +704,7 @@ class Blog
if ($articleEdit == 'on') {
$sql = "
INSERT INTO $tbl_tasks_permissions (c_id, task_id, tool, action )
INSERT INTO $tbl_tasks_permissions (c_id, task_id, tool, action )
VALUES ($course_id, $task_id, '$tool', 'article_edit')";
Database::query($sql);
$id = Database::insert_id();
@ -789,7 +789,7 @@ class Blog
}
if ($articleEdit == 'on') {
$sql = "INSERT INTO $tbl_tasks_permissions (c_id, task_id, tool, action)
$sql = "INSERT INTO $tbl_tasks_permissions (c_id, task_id, tool, action)
VALUES ($course_id, $task_id, '$tool', 'article_edit')";
Database::query($sql);
$id = Database::insert_id();
@ -938,7 +938,7 @@ class Blog
Database::query($sql);
$sql = "DELETE FROM $tbl_tool
WHERE c_id = $course_id AND name = '".Database::escape_string($title)."'
WHERE c_id = $course_id AND name = '".Database::escape_string($title)."'
LIMIT 1";
Database::query($sql);
} else {
@ -1006,11 +1006,11 @@ class Blog
FROM $tbl_blogs_posts post
INNER JOIN $tbl_users user
ON post.author_id = user.user_id
WHERE
WHERE
post.blog_id = $blog_id AND
post.c_id = $course_id AND
$filter
ORDER BY post_id DESC
ORDER BY post_id DESC
LIMIT 0, $max_number_of_posts";
$result = Database::query($sql);
@ -1077,9 +1077,9 @@ class Blog
public static function getDailyResults($blog_id, $query_string)
{
$date = explode('-', $query_string);
$query_string = '
DAYOFMONTH(date_creation) ='.intval($date[2]).' AND
MONTH(date_creation) ='.intval($date[1]).' AND
$query_string = '
DAYOFMONTH(date_creation) ='.intval($date[2]).' AND
MONTH(date_creation) ='.intval($date[1]).' AND
YEAR(date_creation) ='.intval($date[0]);
$list = self::getPosts($blog_id, $query_string);
@ -1724,7 +1724,7 @@ class Blog
$html .= '</div>';
$html .= '<span class="blogpost_title">'.get_lang('TaskList').'</span><br />';
$html .= "<table class=\"data_table\">";
$html .= "<table class=\"table table-hover table-striped data_table\">";
$html .= "<tr bgcolor=\"$color2\" align=\"center\" valign=\"top\">"
."<th width='240'><b>".get_lang('Title')."</b></th>"
."<th><b>".get_lang('Description')."</b></th>"
@ -1794,7 +1794,7 @@ class Blog
global $charset, $color2;
$return = '<span class="blogpost_title">'.get_lang('AssignedTasks').'</span><br />';
$return .= "<table class=\"data_table\">";
$return .= "<table class=\"table table-hover table-striped data_table\">";
$return .= "<tr bgcolor=\"$color2\" align=\"center\" valign=\"top\">"
."<th width='240'><b>".get_lang('Member')."</b></th>"
."<th><b>".get_lang('Task')."</b></th>"
@ -1808,7 +1808,7 @@ class Blog
$sql = "SELECT task_rel_user.*, task.title, user.firstname, user.lastname, user.username, task.description, task.system_task, task.blog_id, task.task_id
FROM $tbl_blogs_tasks_rel_user task_rel_user
INNER JOIN $tbl_blogs_tasks task
INNER JOIN $tbl_blogs_tasks task
ON task_rel_user.task_id = task.task_id
INNER JOIN $tbl_users user
ON task_rel_user.user_id = user.user_id
@ -1921,7 +1921,7 @@ class Blog
'.get_lang('TaskManager').'
</label>
<div class="controls">';
$return .= '<table class="data_table" cellspacing="0" style="border-collapse:collapse; width:446px;">';
$return .= '<table class="table table-hover table-striped data_table" cellspacing="0" style="border-collapse:collapse; width:446px;">';
$return .= '<tr>';
$return .= '<th colspan="2" style="width:223px;">'.get_lang('ArticleManager').'</th>';
$return .= '<th width:223px;>'.get_lang('CommentManager').'</th>';
@ -2005,7 +2005,7 @@ class Blog
'000000',
];
$sql = "SELECT blog_id, task_id, title, description, color FROM $tbl_blogs_tasks
$sql = "SELECT blog_id, task_id, title, description, color FROM $tbl_blogs_tasks
WHERE c_id = $course_id AND task_id = $task_id";
$result = Database::query($sql);
$task = Database::fetch_array($result);
@ -2039,7 +2039,7 @@ class Blog
$return .= '<tr>';
$return .= '<td style="text-align:right; vertical-align:top;">'.get_lang('TaskManager').':&nbsp;&nbsp;</td>';
$return .= '<td>';
$return .= '<table class="data_table" cellspacing="0" style="border-collapse:collapse; width:446px;">';
$return .= '<table class="table table-hover table-striped data_table" cellspacing="0" style="border-collapse:collapse; width:446px;">';
$return .= '<tr>';
$return .= '<th colspan="2" style="width:223px;">'.get_lang('ArticleManager').'</th>';
$return .= '<th width:223px;>'.get_lang('CommentManager').'</th>';
@ -2243,9 +2243,9 @@ class Blog
$sql = "
SELECT COUNT(*) as 'number'
FROM $table
WHERE c_id = $course_id
AND blog_id = $blog_id
AND user_id = $user_id
WHERE c_id = $course_id
AND blog_id = $blog_id
AND user_id = $user_id
AND task_id = $task_id";
$result = Database::query($sql);
@ -2580,7 +2580,7 @@ class Blog
$course_id = api_get_course_int_id();
$sql = "SELECT user.user_id, user.lastname, user.firstname, user.email, user.username
FROM $tbl_users user
FROM $tbl_users user
INNER JOIN $tbl_blogs_rel_user blogs_rel_user
ON user.user_id = blogs_rel_user.user_id
WHERE blogs_rel_user.c_id = $course_id AND blogs_rel_user.blog_id = $blog_id";
@ -2769,15 +2769,15 @@ class Blog
// Get tasks for this month
if ($_user['user_id']) {
$sql = "SELECT
task_rel_user.*,
DAYOFMONTH(target_date) as task_day,
task.title,
$sql = "SELECT
task_rel_user.*,
DAYOFMONTH(target_date) as task_day,
task.title,
blog.blog_name
FROM $tbl_blogs_tasks_rel_user task_rel_user
INNER JOIN $tbl_blogs_tasks task
INNER JOIN $tbl_blogs_tasks task
ON task_rel_user.task_id = task.task_id
INNER JOIN $tbl_blogs blog
INNER JOIN $tbl_blogs blog
ON task_rel_user.blog_id = blog.blog_id
WHERE
task_rel_user.c_id = $course_id AND
@ -3045,9 +3045,9 @@ class Blog
$course_id = api_get_course_int_id();
$sql = "SELECT path, filename, comment
$sql = "SELECT path, filename, comment
FROM $blog_table_attachment
WHERE c_id = $course_id AND blog_id = $blog_id
WHERE c_id = $course_id AND blog_id = $blog_id
$where";
$result = Database::query($sql);
@ -3138,7 +3138,7 @@ class Blog
WHERE
blog.c_id = $courseId AND
post.c_id = $courseId AND
author_id = $userId AND
author_id = $userId AND
visibility = 1
ORDER BY post.date_creation DESC ";
$result = Database::query($sql);
@ -3181,7 +3181,7 @@ class Blog
$courseId = intval($courseId);
$sql = "SELECT DISTINCT blog.blog_id, comment_id, title, comment, comment.date_creation
FROM $tbl_blogs blog
FROM $tbl_blogs blog
INNER JOIN $tbl_blog_comment comment
ON (blog.blog_id = comment.blog_id AND blog.c_id = comment.c_id)
WHERE blog.c_id = $courseId AND

@ -461,7 +461,7 @@ class CourseCategory
$categorySource = Security::remove_XSS($categorySource);
if (count($categories) > 0) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$headers = [

@ -31,7 +31,7 @@ class DashboardManager
$table_cols = ['name', 'version', 'description'];
echo Display::page_subheader(get_lang('DashboardPlugins'));
echo '<form name="plugins" method="post" action="'.api_get_self().'?category='.Security::remove_XSS($_GET['category']).$tokenCondition.'">';
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<tr>';
echo '<th width="50px">'.get_lang('Enabled').'</th>';
echo '<th width="250px">'.get_lang('Name').'</th>';
@ -190,7 +190,7 @@ class DashboardManager
}
// clean from block data
if (!empty($not_selected_blocks_id)) {
$sql_check = "SELECT id FROM $tbl_block
$sql_check = "SELECT id FROM $tbl_block
WHERE id IN(".implode(',', $not_selected_blocks_id).")";
$rs_check = Database::query($sql_check);
if (Database::num_rows($rs_check) > 0) {
@ -355,7 +355,7 @@ class DashboardManager
$html .= '<div style="margin-top:20px">';
$html .= '<div><strong>'.get_lang('SelectBlockForDisplayingInsideBlocksDashboardView').'</strong></div><br />';
$html .= '<form name="dashboard_list" method="post" action="index.php?action=store_user_block">';
$html .= '<table class="data_table">';
$html .= '<table class="table table-hover table-striped data_table">';
$html .= '<tr>';
$html .= '<th width="5%">';
$html .= get_lang('Enabled');

@ -84,7 +84,7 @@ class Diagnoser
$headers = $data['headers'];
$results = $data['data'];
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
foreach ($headers as $header) {

@ -1485,7 +1485,7 @@ class Display
public static function table($headers, $rows, $attributes = [])
{
if (empty($attributes)) {
$attributes['class'] = 'data_table';
$attributes['class'] = 'table table-hover table-striped data_table';
}
$table = new HTML_Table($attributes);
$row = 0;

@ -146,7 +146,7 @@ class ExerciseLib
';
} else {
$s .= '<div id="drag'.$questionId.'_question" class="drag_question">
<table class="data_table">';
<table class="table table-hover table-striped data_table">';
}
// Iterate through answers.
@ -373,7 +373,7 @@ class ExerciseLib
$header .= Display::tag('th', get_lang('Feedback'));
}
$s .= '<table class="data_table">';
$s .= '<table class="table table-hover table-striped data_table">';
$s .= Display::tag('tr', $header, ['style' => 'text-align:left;']);
// ajout de la 2eme ligne d'entête pour true/falss et les pourcentages de certitude

@ -261,7 +261,7 @@ class Export
unset($data[0]);
$header_attributes = isset($params['header_attributes']) ? $params['header_attributes'] : [];
$table = new HTML_Table(['class' => 'data_table', 'repeat_header' => '1']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table', 'repeat_header' => '1']);
$row = 0;
$column = 0;
foreach ($headers as $header) {

@ -1063,7 +1063,7 @@ class MySpace
$tableHtml = '';
// Printing table
$total = 0;
$table = '<div class="table-responsive"><table class="table table-bordered data_table">';
$table = '<div class="table-responsive"><table class="table table-hover table-bordered data_table">';
$displayText = get_lang('Company');
$table .= "<thead><tr><th class=\"th-header\">$displayText</th><th class=\"th-header\"> ".get_lang('CountOfSubscribedUsers')." </th></tr></thead><tbody>";
@ -1190,7 +1190,7 @@ class MySpace
}
if ($csv == false) {
$table = "<div class='table-responsive'>".
"<table class='table table-bordered data_table'>".
"<table class='table table-hover table-bordered data_table'>".
"<thead>".
"<tr>".
"<th class=\"th-header\">".get_lang('Author')."</th>".
@ -1831,7 +1831,7 @@ class MySpace
{
$session_id = $row[0];
// the table header
$return = '<table class="data_table" style="width: 100%;border:0;padding:0;border-collapse:collapse;table-layout: fixed">';
$return = '<table class="table table-hover table-striped data_table" style="width: 100%;border:0;padding:0;border-collapse:collapse;table-layout: fixed">';
// database table definition
$tbl_session_rel_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);

@ -142,7 +142,7 @@ class SortableTable extends HTML_Table
if (empty($attributes)) {
$attributes = [];
$attributes['class'] = 'table table-bordered data_table';
$attributes['class'] = 'table table-hover table-bordered data_table';
$attributes['id'] = $table_id;
}

@ -461,8 +461,8 @@ class Statistics
$isFileSize = false
) {
$total = 0;
$content = '<table class="data_table" cellspacing="0" cellpadding="3" width="90%">
<tr><th colspan="'.($showTotal ? '4' : '3').'">'.$title.'</th></tr>';
$content = '<table class="table table-hover table-striped data_table" cellspacing="0" cellpadding="3" width="90%">
<thead><tr><th colspan="'.($showTotal ? '4' : '3').'">'.$title.'</th></tr></thead><tbody>';
$i = 0;
foreach ($stats as $subtitle => $number) {
$total += $number;
@ -486,13 +486,16 @@ class Statistics
$content .= '</tr>';
$i++;
}
$content .= '</tbody>';
if ($showTotal) {
if (!$isFileSize) {
$total_label = number_format($total, 0, ',', '.');
} else {
$total_label = self::makeSizeString($total);
}
$content .= '<tr><th colspan="4" align="right">'.get_lang('Total').': '.$total_label.'</td></tr>';
$content .= '
<tfoot><tr><th colspan="4" align="right">'.get_lang('Total').': '.$total_label.'</td></tr></tfoot>
';
}
$content .= '</table>';
@ -1271,7 +1274,7 @@ class Statistics
}
$scoreDisplay = ScoreDisplay::instance();
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('Name'),
get_lang('Count'),
@ -1354,7 +1357,7 @@ class Statistics
);
}
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('Username'));
$table->setHeaderContents(0, 1, get_lang('FirstName'));
$table->setHeaderContents(0, 2, get_lang('LastName'));

@ -5956,7 +5956,7 @@ class learnpath
if (count($this->items) == 0) {
$return .= Display::return_message(get_lang('YouShouldAddItemsBeforeAttachAudio'), 'normal');
} else {
$return_audio = '<table class="data_table">';
$return_audio = '<table class="table table-hover table-striped data_table">';
$return_audio .= '<tr>';
$return_audio .= '<th width="40%">'.get_lang('Title').'</th>';
$return_audio .= '<th>'.get_lang('Audio').'</th>';

@ -244,7 +244,7 @@ function getReport($userId, $from, $to, $addTime = false)
}
}
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('MinStartDate'),
get_lang('MaxEndDate'),
@ -276,7 +276,7 @@ function getReport($userId, $from, $to, $addTime = false)
$courseSessionTable .= '<div class="data-title">'.Display::page_subheader3(
$iconCourse.$data['name'][$courseId]
).'</div>';
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('StartDate'),
get_lang('EndDate'),
@ -306,7 +306,7 @@ function getReport($userId, $from, $to, $addTime = false)
}
$totalCourseSessionTable = '';
if ($courseSessionTableData) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('Course'),
get_lang('TotalDuration'),

@ -38,13 +38,13 @@ $sql = "SELECT user.user_id,lastname,firstname,email
$result_admins = Database::query($sql);
if (api_is_western_name_order()) {
echo '<table class="data_table">
echo '<table class="table table-hover table-striped data_table">
<tr>
<th>'.get_lang('FirstName').'</th>
<th>'.get_lang('LastName').'</th>
<th>'.get_lang('Email').'</th></tr>';
} else {
echo '<table class="data_table">
echo '<table class="table table-hover table-striped data_table">
<tr>
<th>'.get_lang('LastName').'</th>
<th>'.get_lang('FirstName').'</th>

@ -74,7 +74,7 @@ if (isset($_GET["id_student"])) {
$result_coachs = Database::query($sql_coachs);
if (api_is_western_name_order()) {
echo '<table class="data_table">
echo '<table class="table table-hover table-striped data_table">
<tr>
<th>'.get_lang('FirstName').'</th>
<th>'.get_lang('LastName').'</th>
@ -83,7 +83,7 @@ if (api_is_western_name_order()) {
<th>'.get_lang('Students').'</th>
</tr>';
} else {
echo '<table class="data_table">
echo '<table class="table table-hover table-striped data_table">
<tr>
<th>'.get_lang('LastName').'</th>
<th>'.get_lang('FirstName').'</th>

@ -247,7 +247,7 @@ if (isset($_GET['export'])) {
$interbreadcrumb[] = ['url' => 'index.php', 'name' => get_lang('MySpace')];
Display::display_header(get_lang('CurrentCourses'));
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$column = 0;
foreach ($headers as $header) {

@ -149,7 +149,7 @@ switch ($action) {
}
$counter = 1;
$table = new HTML_Table(['class' => 'table data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$row = 0;
$scoreDisplay = new ScoreDisplay();
$globalTotal = 0;

@ -277,7 +277,7 @@ switch ($action) {
$first = Tracking::get_first_connection_date($student_id);
$last = Tracking::get_last_connection_date($student_id);
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$headers = [
@ -301,7 +301,7 @@ switch ($action) {
$courseTable = '';
if (!empty($courses)) {
$courseTable .= '<table class="data_table">';
$courseTable .= '<table class="table table-hover table-striped data_table">';
$courseTable .= '<thead>';
$courseTable .= '<tr>
<th>'.get_lang('FormationUnit').'</th>
@ -2022,7 +2022,7 @@ if (empty($details)) {
}
if (!empty($survey_data)) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$header_names = [get_lang('Survey'), get_lang('Answered')];
$row = 0;
$column = 0;

@ -39,7 +39,7 @@ if (Database::num_rows($result_course) > 0) {
$export_result = export_csv($header, $data, 'test.csv'); // TODO: There is no data for exporting yet.
echo Display::return_message($export_result, 'error');
}
echo '<table class="data_table"><tr><th>'.get_lang('Course').'</th><th>'.get_lang('TempsFrequentation').'</th><th>'.get_lang('Progression').'</th><th>'.get_lang('MoyenneTest').'</th></tr>';
echo '<table class="table table-hover table-striped data_table"><tr><th>'.get_lang('Course').'</th><th>'.get_lang('TempsFrequentation').'</th><th>'.get_lang('Progression').'</th><th>'.get_lang('MoyenneTest').'</th></tr>';
$header = [get_lang('Course', ''), get_lang('TempsFrequentation', ''), get_lang('Progression', ''), get_lang('MoyenneTest', '')];
while ($a_course = Database::fetch_array($result_course)) {
// TODO: This query is to be checked, there are no HotPotatoes tests results.

@ -299,7 +299,7 @@ echo $form->returnForm();
if (count($certificateList) == 0) {
echo Display::return_message(get_lang('NoResultsAvailable'), 'warning');
} else {
echo '<table class="table data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<tbody>';
foreach ($certificateList as $index => $value) {
$categoryId = $value['category_id'];
@ -313,7 +313,7 @@ if (count($certificateList) == 0) {
echo '<td width="50%" class="actions">'.$courseInfo['title'].'</td>';
echo '</tr>';
echo '<tr><td colspan="2">
<table class="table data_table">
<table class="table table-hover table-striped data_table">
<tbody>';
$list = GradebookUtils::get_list_gradebook_certificates_by_user_id($value['user_id'], $categoryId);

@ -129,7 +129,7 @@ if (api_get_setting('user_roles') == 'true') {
// ---------------------------------------------------
// DISPLAYING THE MATRIX (user permissions)
// ---------------------------------------------------
echo "<table class=\"data_table\">\n";
echo "<table class=\"table table-hover table-striped data_table\">\n";
// the header
echo "\t<tr>\n";

@ -59,7 +59,7 @@ if (api_get_setting('group_roles') == 'true') {
}
// DISPLAYING THE MATRIX (group permissions)
echo "<table class=\"data_table\">\n";
echo "<table class=\"table table-hover table-striped data_table\">\n";
// the header
echo "\t<tr>\n";

@ -91,7 +91,7 @@ if ($_GET['action'] == 'add') {
echo "\n\t\t</td>";
echo "\n\t</tr>";
echo "\n</table>";
echo "<table class=\"data_table\">\n";
echo "<table class=\"table table-hover table-striped data_table\">\n";
// the header
if (api_get_setting('permissions') == 'limited') {
@ -169,7 +169,7 @@ if ($_GET['role_id']) {
echo get_lang('IsPlatformRoleNotEditable').'<br />';
}
echo "<table class=\"data_table\">\n";
echo "<table class=\"table table-hover table-striped data_table\">\n";
// the header
echo "\t<tr>\n";

@ -103,7 +103,7 @@ if (api_get_setting('user_roles') == 'true') {
// DISPLAYING THE MATRIX (user permissions)
// ---------------------------------------------------
echo '<strong>'.get_lang('UserPermissions').'</strong>';
echo "<table class=\"data_table\">\n";
echo "<table class=\"table table-hover table-striped data_table\">\n";
// the header
echo "\t<tr>\n";

@ -150,7 +150,7 @@ $url = Display::url(
);
$courseListToShow = Display::page_subheader(get_lang('CourseList').$url);
$courseListToShow .= '<table id="session-list-course" class="table table-hover data_table">
$courseListToShow .= '<table id="session-list-course" class="table table-hover table-striped data_table">
<tr>
<th width="35%">'.get_lang('CourseTitle').'</th>
<th width="30%">'.get_lang('CourseCoach').'</th>
@ -298,7 +298,7 @@ $userList = SessionManager::get_users_by_session($sessionId);
if (!empty($userList)) {
$table = new HTML_Table(
['class' => 'table table-hover data_table', 'id' => 'session-user-list']
['class' => 'table table-hover table-striped data_table', 'id' => 'session-user-list']
);
$table->setHeaderContents(0, 0, get_lang('User'));
$table->setHeaderContents(0, 1, get_lang('Status'));

@ -90,7 +90,7 @@ if (isset($_GET['search']) && $_GET['search'] === 'advanced') {
ORDER BY $sort $order
LIMIT $from,".($limit + 1);
$query_rows = "SELECT count(*) as total_rows
$query_rows = "SELECT count(*) as total_rows
FROM $tbl_session_category sc $where ";
$order = ($order == 'ASC') ? 'DESC' : 'ASC';
$result_rows = Database::query($query_rows);
@ -170,7 +170,7 @@ if (isset($_GET['search']) && $_GET['search'] === 'advanced') {
<?php
} ?>
<table class="data_table" width="100%">
<table class="table table-hover table-striped data_table" width="100%">
<tr>
<th>&nbsp;</th>
<th><a href="<?php echo api_get_self(); ?>?sort=name&order=<?php echo ($sort == 'name') ? $order
@ -192,11 +192,11 @@ if (isset($_GET['search']) && $_GET['search'] === 'advanced') {
break;
}
$sql = 'SELECT COUNT(session_category_id)
FROM '.$tbl_session.' s
INNER JOIN '.$table_access_url_rel_session.' us
FROM '.$tbl_session.' s
INNER JOIN '.$table_access_url_rel_session.' us
ON (s.id = us.session_id)
WHERE
s.session_category_id = '.intval($enreg['id']).' AND
WHERE
s.session_category_id = '.intval($enreg['id']).' AND
us.access_url_id = '.api_get_current_access_url_id();
$rs = Database::query($sql);

@ -1001,7 +1001,7 @@ class SurveyUtil
.$surveyId.'&'.api_get_cidreq().'">';
// The table
$content .= '<br /><table class="data_table" border="1">';
$content .= '<br /><table class="table table-hover table-striped data_table" border="1">';
// Getting the number of options per question
$content .= ' <tr>';
$content .= ' <th>';
@ -2117,7 +2117,7 @@ class SurveyUtil
$answers_y = self::get_answers_of_question_by_user($surveyId, $yAxis);
// Displaying the table
$tableHtml = '<table border="1" class="data_table">';
$tableHtml = '<table border="1" class="table table-hover table-striped data_table">';
$xOptions = [];
// The header
$tableHtml .= '<tr>';

@ -110,7 +110,7 @@ echo '</a></li>';
echo '</ul>';
// Table header
echo '<table class="data_table" style="margin-top: 5px;">';
echo '<table class="table table-hover table-striped data_table" style="margin-top: 5px;">';
echo ' <tr>';
echo ' <th>'.get_lang('User').'</th>';
echo ' <th>'.get_lang('InvitationDate').'</th>';

@ -13,7 +13,7 @@
</ul>
{{ form }}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>
{{ 'Name' | get_lang }}

@ -1,6 +1,6 @@
{{ form }}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>{{ 'Name' | get_lang }}</th>
<th>{{ 'ShortName' | get_lang }}</th>

@ -1,6 +1,6 @@
{{ form }}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>{{ 'Name' | get_lang }}</th>
<th>{{ 'SkillLevel' | get_lang }}</th>

@ -7,7 +7,7 @@
<br /><br />
{% endif %}
<table align="center" width="100%" class="table table-bordered data_table">
<table align="center" width="100%" class="table table-hover table-bordered data_table">
{% if pdf_student_info %}
<tr>
<td style="background-color: #E5E5E5; text-align: left; width:130px; ">

@ -5,7 +5,7 @@
{{ session_header }}
{{ title }}
<table id="session-properties" class="table table-hover data_table">
<table id="session-properties" class="table table-hover table-striped data_table">
<tr>
<td>{{ 'CreatedBy'|get_lang }}</td>
<td>{{ session_admin.complete_name_with_message_link }}</td>

@ -751,7 +751,7 @@ if ($nbStudents > 0) {
$groupContent = '';
echo Display::panel($html, $titleSession);
$groupTable = new HTML_Table(['class' => 'table table-bordered data_table']);
$groupTable = new HTML_Table(['class' => 'table table-hover table-bordered data_table']);
$column = 0;
$groupTable->setHeaderContents(0, $column++, get_lang('Name'));
$groupTable->setHeaderContents(0, $column++, get_lang('TrainingTime'));

@ -128,7 +128,7 @@ if ($lpReporting) {
get_lang('AverageProgressInLearnpath')
).' '.get_lang('AverageProgressInLearnpath')
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
if ($export_csv) {
$temp = [get_lang('AverageProgressInLearnpath', ''), ''];
$csv_content[] = ['', ''];
@ -182,7 +182,7 @@ if ($exerciseReporting) {
get_lang('AverageResultsToTheExercices')
).' '.get_lang('AverageResultsToTheExercices')
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$course_id = api_get_course_int_id();
$sql = "SELECT id, title FROM $TABLEQUIZ
WHERE c_id = $course_id AND active <> -1 AND session_id = $session_id";
@ -273,7 +273,7 @@ echo Display::page_subheader(
get_lang('Forum').'&nbsp;-&nbsp;<a href="../forum/index.php?'.api_get_cidreq().'">'.
get_lang('SeeDetail').'</a>'
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<tr><td>'.get_lang('ForumForumsNumber').'</td><td align="right">'.$count_number_of_forums_by_course.'</td></tr>';
echo '<tr><td>'.get_lang('ForumThreadsNumber').'</td><td align="right">'.$count_number_of_threads_by_course.'</td></tr>';
echo '<tr><td>'.get_lang('ForumPostsNumber').'</td><td align="right">'.$count_number_of_posts_by_course.'</td></tr>';
@ -287,7 +287,7 @@ if ($showChatReporting) {
Display::return_icon('chat.gif', get_lang('Chat')).' '.get_lang('Chat')
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$chat_connections_during_last_x_days_by_course = Tracking::chat_connections_during_last_x_days_by_course(
$course_code,
7,
@ -323,7 +323,7 @@ if ($showTrackingReporting) {
get_lang('ToolsMostUsed')
).' '.get_lang('ToolsMostUsed')
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$tools_most_used = Tracking::get_tools_most_used_by_course(
$course_id,
@ -373,7 +373,7 @@ if ($documentReporting) {
).'&nbsp;'.get_lang('DocumentsMostDownloaded').$link
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$documents_most_downloaded = Tracking::get_documents_most_downloaded_by_course(
$course_code,
$session_id,
@ -427,7 +427,7 @@ if ($linkReporting) {
get_lang('LinksMostClicked')
).'&nbsp;'.get_lang('LinksMostClicked')
);
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
$links_most_visited = Tracking::get_links_most_visited_by_course(
$course_code,
$session_id

@ -125,7 +125,7 @@ $total_average_score = 0;
$total_average_score_count = 0;
$html_result = '';
if (!empty($users) && is_array($users)) {
$html_result .= '<table class="data_table">';
$html_result .= '<table class="table table-hover table-striped data_table">';
$html_result .= '<tr><th>'.get_lang('User').'</th>';
foreach ($course_list as $item) {
$html_result .= '<th>'.$item['title'].'<br /> '.get_lang('AverageScore').' %</th>';

@ -131,7 +131,8 @@ if (!$exportToXLS) {
echo '<h3>'.sprintf(get_lang('FilteringWithScoreX'), $filter_score).'%</h3>';
}
$html = '<table class="data_table table table-responsive">';
$html = '<div class="table-responsive">';
$html .= '<table class="table table-hover table-striped data_table">';
if ($global) {
$html .= '<tr>';
$html .= '<th>'.get_lang('Courses').'</th>';
@ -341,6 +342,7 @@ if (!empty($courseList) && is_array($courseList)) {
}
$html .= '</table>';
$html .= '</div>';
if (!$exportToXLS) {
echo $html;

@ -170,7 +170,7 @@ if (!empty($user_list)) {
}
$export_array = [];
if (!empty($main_result)) {
$html_result .= '<table class="data_table">';
$html_result .= '<table class="table table-hover table-striped data_table">';
$html_result .= '<tr><th>'.get_lang('Course').'</th>';
$html_result .= '<th>'.get_lang('LearningPath').'</th>';
$html_result .= '<th>'.get_lang('Exercise').'</th>';

@ -177,7 +177,7 @@ $course_average = [];
$counter = 0;
if (!empty($main_question_list) && is_array($main_question_list)) {
$html_result .= '<table class="data_table">';
$html_result .= '<table class="table table-hover table-striped data_table">';
$html_result .= '<tr><th>'.get_lang('Question').
Display::return_icon('info3.gif', get_lang('QuestionsAreTakenFromLPExercises'), ['align' => 'absmiddle', 'hspace' => '3px']).'</th>';
$html_result .= '<th>'.$course_info['visual_code'].' '.get_lang('AverageScore').Display::return_icon('info3.gif', get_lang('AllStudentsAttemptsAreConsidered'), ['align' => 'absmiddle', 'hspace' => '3px']).' </th>';

@ -132,7 +132,7 @@ if ($allowTutors === 'true') {
);
echo Display::page_subheader(get_lang('GeneralProperties').$url); ?>
<!-- General properties -->
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<td><?php echo get_lang('GeneralCoach'); ?> :</td>
<td><?php echo api_get_person_name($session['firstname'], $session['lastname']).' ('.$session['username'].')'; ?></td>
@ -217,7 +217,7 @@ if ($allowTutors === 'true') {
<?php
echo Display::page_subheader(get_lang('CourseList').$url); ?>
<!--List of courses -->
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th width="35%"><?php echo get_lang('CourseTitle'); ?></th>
<th width="30%"><?php echo get_lang('CourseCoach'); ?></th>
@ -296,7 +296,7 @@ if ($allowTutors === 'true') {
<?php
echo Display::page_subheader(get_lang('UserList').$url); ?>
<!--List of users -->
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>
<?php echo get_lang('User'); ?>

@ -3722,7 +3722,7 @@ class Wiki
$total_ip = $total_ip + 1;
}
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<thead>';
echo '<tr>';
echo '<th colspan="2">'.get_lang('General').'</th>';
@ -3759,7 +3759,7 @@ class Wiki
echo '</table>';
echo '<br/>';
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<thead>';
echo '<tr>';
echo '<th colspan="2">'.get_lang('Pages').' '.get_lang(
@ -3840,7 +3840,7 @@ class Wiki
echo '</table>';
echo '<br/>';
echo '<table class="data_table">';
echo '<table class="table table-hover table-striped data_table">';
echo '<thead>';
echo '<tr>';
echo '<th colspan="3">'.get_lang('ContentPagesInfo').'</th>';

@ -105,7 +105,7 @@ if (api_is_allowed_to_edit()) {
echo '</div>';
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
$headers = [

@ -5594,7 +5594,7 @@ function exportAllStudentWorkFromPublication(
switch ($format) {
case 'pdf':
if (!empty($workList)) {
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$headers = [
get_lang('Name'),
get_lang('User'),

@ -136,7 +136,7 @@ if ($taxEnable) {
}
$data[] = $row;
$attr = [];
$attr['class'] = 'table data_table';
$attr['class'] = 'table table-hover table-striped data_table';
$attr['width'] = '100%';
$htmlText .= Display::table($header, $data, $attr);
$htmlText .= '</body></html>';

@ -39,7 +39,7 @@ switch ($action) {
$order = " ORDER BY firstname, lastname";
$userList = $legal->getUserAgreementList($courseId, $sessionId, $order);
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$table->setHeaderContents(0, 0, get_lang('User'));
$table->setHeaderContents(0, 1, $legal->get_lang('WebAgreement'));
$table->setHeaderContents(0, 2, $legal->get_lang('MailAgreement'));

@ -104,7 +104,7 @@ class BlockCourse extends Block
$content = '<h4>'.get_lang('YourCourseList').'</h4>';
$data_table = null;
if (!empty($course_data)) {
$data_table .= '<table class="data_table" width:"95%">';
$data_table .= '<table class="table table-hover table-striped data_table" width:"95%">';
$data_table .= '<tr>
<th>'.get_lang('CourseTitle').'</th>
<th width="20%">'.get_lang('NbStudents').'</th>

@ -110,7 +110,7 @@ class BlockDaily extends Block
$content = '<h4>'.get_lang('YourCourseList').'</h4>';
$data_table = null;
if (!empty($course_data)) {
$data_table .= '<table class="data_table" width:"95%">';
$data_table .= '<table class="table table-hover table-striped data_table" width:"95%">';
$data_table .= '<tr>
<th>'.get_lang('CourseTitle').'</th>
<th width="20%">'.get_lang('NbStudents').'</th>

@ -96,7 +96,7 @@ class BlockSession extends Block
$sessions = $this->sessions;
$content .= '<h4>'.get_lang('YourSessionsList').'</h4>';
if (count($sessions) > 0) {
$sessions_table = '<table class="data_table" width:"95%">';
$sessions_table = '<table class="table table-hover table-striped data_table" width:"95%">';
$sessions_table .= '<tr>
<th >'.get_lang('Title').'</th>
<th >'.get_lang('Date').'</th>

@ -95,7 +95,7 @@ class BlockStudent extends Block
$content = '<h4>'.get_lang('YourStudents').'</h4>';
$students_table = null;
if (count($students) > 0) {
$students_table .= '<table class="data_table">';
$students_table .= '<table class="table table-hover table-striped data_table">';
$students_table .= '<tr>
<th width="10%" rowspan="2">'.get_lang('FirstName').'</th>
<th width="10%" rowspan="2">'.get_lang('LastName').'</th>
@ -168,7 +168,7 @@ class BlockStudent extends Block
$content = '<h4>'.get_lang('YourStudents').'</h4>';
$students_table = null;
if (count($students) > 0) {
$students_table .= '<table class="data_table">';
$students_table .= '<table class="table table-hover table-striped data_table">';
$students_table .= '<tr>
<th>'.get_lang('User').'</th>
<th>'.get_lang('AttendancesFaults').'</th>

@ -102,7 +102,7 @@ class BlockTeacher extends Block
$teachers_table = null;
if (count($teachers) > 0) {
$teachers_table .= '<table class="data_table" width:"95%">';
$teachers_table .= '<table class="table table-hover table-striped data_table" width:"95%">';
$teachers_table .= '
<tr>
<th>'.get_lang('User').'</th>
@ -158,7 +158,7 @@ class BlockTeacher extends Block
$a_last_week = get_last_week();
$last_week = date('Y-m-d', $a_last_week[0]).' '.get_lang('To').' '.date('Y-m-d', $a_last_week[6]);
$teachers_table .= '<table class="data_table" width:"95%">';
$teachers_table .= '<table class="table table-hover table-striped data_table" width:"95%">';
$teachers_table .= '
<tr>
<th>'.get_lang('User').'</th>

@ -1,7 +1,7 @@
{{ form }}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>
{{ 'Term' | get_plugin_lang('DictionaryPlugin') }}

@ -1,7 +1,7 @@
{{ tables }}
{{ form }}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<thead>
<tr>
<th>

@ -3,7 +3,7 @@
{% endif %}
{% if terms %}
<div class="table-responsive">
<table class="table data_table">
<table class="table table table-hover table-striped data_table">
<thead>
<tr>
<th>

@ -1,7 +1,7 @@
<h2>{{ 'Students' | get_lang}}</h2>
{{ form }}
{% if users %}
<table class="data_table">
<table class="table table-hover table-striped data_table">
<tr>
<th>{{'Student' | get_lang }}</th>
<th>{{'Action' | get_lang }}</th>

@ -4,7 +4,7 @@
<div class="col-xs-12 col-md-12">
{% if infoExercise|length > 0 %}
<input type="hidden" id="course_id" value="{{course_id}}" />
<table id="courses_table" class="data_table table">
<table id="courses_table" class="table table-hover table-striped data_table table">
<tr class="row_odd">
<th class="th-header">{{ 'Exercise'|get_plugin_lang('Test2pdfPlugin') }}</th>
<th class="th-header text-center">{{ 'DownloadOnlyQuestion'|get_plugin_lang('Test2pdfPlugin') }}</th>

@ -37,7 +37,7 @@ if (empty($templates)) {
);
}
$table = new HTML_Table(['class' => 'data_table']);
$table = new HTML_Table(['class' => 'table table-hover table-striped data_table']);
$column = 0;
$row = 0;
@ -142,8 +142,8 @@ $selectionoptions[] = '<option value="setconfigvalue">'.$plugin->get_lang('setco
$selectionaction = '<select name="what" onchange="this.form.submit()">'.implode('', $selectionoptions).'</select>';
$content .= '<div class="vchamilo-right"><div></div><div>
<a href="javascript:selectallhosts()">'.$plugin->get_lang('selectall').'</a> -
<a href="javascript:deselectallhosts()">'.$plugin->get_lang('selectnone').'</a> -
<a href="javascript:selectallhosts()">'.$plugin->get_lang('selectall').'</a> -
<a href="javascript:deselectallhosts()">'.$plugin->get_lang('selectnone').'</a> -
&nbsp; - '.$plugin->get_lang('withselection').' '.$selectionaction.'</div></div>';
$content .= '</form>';

Loading…
Cancel
Save