fix lang var

skala
Juan Carlos Raña 16 years ago
parent e0a4c7660a
commit 47bf2f3a0b
  1. 4
      main/admin/calendar.lib.php
  2. 2
      main/admin/course_list.php

@ -796,7 +796,7 @@ function display_agenda_items()
Display::display_icon('agenda.gif', get_lang('Agenda')); Display::display_icon('agenda.gif', get_lang('Agenda'));
if ($myrow['to_group_id']!=='0') if ($myrow['to_group_id']!=='0')
{ {
echo Display::return_icon('group.gif', get_lang('Group')); echo Display::return_icon('group.gif', get_lang('AllUsersOfThePlatform'));
} }
echo " ".$myrow['title']."\n"; echo " ".$myrow['title']."\n";
echo "\t\t</th>\n"; echo "\t\t</th>\n";
@ -812,7 +812,7 @@ function display_agenda_items()
{ {
if( ! (api_is_course_coach() && !api_is_element_in_the_session(TOOL_AGENDA, $myrow['id'] ) ) ) if( ! (api_is_course_coach() && !api_is_element_in_the_session(TOOL_AGENDA, $myrow['id'] ) ) )
{ // a coach can only delete an element belonging to his session { // a coach can only delete an element belonging to his session
echo '<th>'.get_lang('Modify'); echo '<th>'.get_lang('Actions');
echo '</th></tr>'; echo '</th></tr>';
} }
} }

@ -286,7 +286,7 @@ else
$table->set_header(6, get_lang('UnsubscriptionAllowed')); $table->set_header(6, get_lang('UnsubscriptionAllowed'));
$table->set_header(7, get_lang('IsVirtualCourse')); $table->set_header(7, get_lang('IsVirtualCourse'));
$table->set_header(8, get_lang('Teacher')); $table->set_header(8, get_lang('Teacher'));
$table->set_header(9, get_lang('Modify'), false,'width="120px"'); $table->set_header(9, get_lang('Action'), false,'width="120px"');
$table->set_column_filter(9,'modify_filter'); $table->set_column_filter(9,'modify_filter');
$table->set_form_actions(array ('delete_courses' => get_lang('DeleteCourse')),'course'); $table->set_form_actions(array ('delete_courses' => get_lang('DeleteCourse')),'course');
$table->display(); $table->display();

Loading…
Cancel
Save