[svn r20845] Fixed info icon "i" not aligned - partial FS#4232

skala
Cristian Fasanando 16 years ago
parent 4fd8ccf353
commit e951ede4d1
  1. 4
      main/admin/user_fields_add.php
  2. 2
      main/auth/my_progress.php
  3. 2
      main/inc/lib/main_api.lib.php
  4. 8
      main/mySpace/index.php
  5. 16
      main/mySpace/myStudents.php

@ -1,4 +1,4 @@
<?php // $Id: user_fields_add.php 19597 2009-04-07 14:38:36Z pcool $
<?php // $Id: user_fields_add.php 20845 2009-05-19 17:27:22Z cfasanando $
/*
==============================================================================
Dokeos - elearning and course management software
@ -131,7 +131,7 @@ $form->applyFilter('fieldtitle','html_filter');
$form->applyFilter('fieldtitle','trim');
$form->addRule('fieldtitle', get_lang('ThisFieldIsRequired'), 'required');
// Field options
$form->addElement('text','fieldoptions',get_lang('FieldPossibleValues').' '.Display::return_icon('info3.gif', get_lang('FieldPossibleValuesComment')));
$form->addElement('text','fieldoptions',get_lang('FieldPossibleValues').Display::return_icon('info3.gif', get_lang('FieldPossibleValuesComment'), array('align' => 'absmiddle', 'hspace' => '3px')));
$form->applyFilter('fieldoptions','trim');
if (is_numeric($_GET['field_id']))
{

@ -69,7 +69,7 @@ $now=date('Y-m-d');
<th><?php echo get_lang('Progress'); ?></th>
<th><?php
echo get_lang('Score');
Display :: display_icon('info3.gif',get_lang('ScormAndLPTestTotalAverage') , array ('style' => 'margin-bottom:-3px;'));
Display :: display_icon('info3.gif',get_lang('ScormAndLPTestTotalAverage') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?></th>
<th><?php echo get_lang('LastConnexion'); ?></th>
<th><?php echo get_lang('Details'); ?></th>

@ -2341,7 +2341,7 @@ function api_time_to_hms($seconds) {
//if seconds = -1, it means we have wrong datas in the db
if($seconds==-1) {
return get_lang('Unknown').Display::return_icon('info2.gif',get_lang('WrongDatasForTimeSpentOnThePlatform'));
return get_lang('Unknown').Display::return_icon('info2.gif', get_lang('WrongDatasForTimeSpentOnThePlatform'), array('align' => 'absmiddle', 'hspace' => '3px'));
}
//How many hours ?

@ -518,10 +518,10 @@ if(api_is_allowed_to_create_course() && $view=='teacher')
$table->set_additional_parameters($parameters);
$table -> set_header(0, get_lang('CourseTitle'), false, 'align="center"');
$table -> set_header(1, get_lang('NbStudents'), false);
$table -> set_header(2, get_lang('AvgTimeSpentInTheCourse').Display :: return_icon('info3.gif', get_lang('TimeOfActiveByTraining')),false);
$table -> set_header(3, get_lang('AvgStudentsProgress').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses')), false);
$table -> set_header(4, get_lang('AvgCourseScore').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses')), false);
$table -> set_header(5, get_lang('AvgExercisesScore').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses')), false);
$table -> set_header(2, get_lang('AvgTimeSpentInTheCourse').Display :: return_icon('info3.gif', get_lang('TimeOfActiveByTraining'), array('align' => 'absmiddle', 'hspace' => '3px')),false);
$table -> set_header(3, get_lang('AvgStudentsProgress').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses'), array('align' => 'absmiddle', 'hspace' => '3px')), false);
$table -> set_header(4, get_lang('AvgCourseScore').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses'), array('align' => 'absmiddle', 'hspace' => '3px')), false);
$table -> set_header(5, get_lang('AvgExercisesScore').Display :: return_icon('info3.gif', get_lang('AvgAllUsersInAllCourses'), array('align' => 'absmiddle', 'hspace' => '3px')), false);
$table -> set_header(6, get_lang('AvgMessages'), false);
$table -> set_header(7, get_lang('AvgAssignments'), false);
$table -> set_header(8, get_lang('Details'), false);

@ -1,4 +1,4 @@
<?php //$Id: myStudents.php 20463 2009-05-11 07:27:07Z ivantcholakov $
<?php //$Id: myStudents.php 20845 2009-05-19 17:27:22Z cfasanando $
/* For licensing terms, see /dokeos_license.txt */
/**
* Implements the tracking of students in the Reporting pages
@ -406,7 +406,7 @@ if(!empty($_GET['student']))
<td align="right">
<?php
echo get_lang('Progress');
Display :: display_icon('info2.gif',get_lang('ScormAndLPProgressTotalAverage') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info2.gif',get_lang('ScormAndLPProgressTotalAverage') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</td>
<td align="left">
@ -417,7 +417,7 @@ if(!empty($_GET['student']))
<td align="right">
<?php
echo get_lang('Score');
Display :: display_icon('info2.gif',get_lang('ScormAndLPTestTotalAverage') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info2.gif',get_lang('ScormAndLPTestTotalAverage') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</td>
<td align="left">
@ -565,25 +565,25 @@ if(!empty($_GET['student']))
<th>
<?php
echo get_lang('Time');
Display :: display_icon('info3.gif',get_lang('TotalTimeByCourse') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info3.gif',get_lang('TotalTimeByCourse') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</th>
<th>
<?php
echo get_lang('Score');
Display :: display_icon('info3.gif',get_lang('LPTestScore') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info3.gif',get_lang('LPTestScore') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</th>
<th>
<?php
echo get_lang('Progress');
Display :: display_icon('info3.gif',get_lang('LPProgressScore') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info3.gif',get_lang('LPProgressScore') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</th>
<th>
<?php
echo get_lang('LastConnexion');
Display :: display_icon('info3.gif',get_lang('LastTimeTheCourseWasUsed') , array ('style' => 'margin-bottom:-5px;'));
Display :: display_icon('info3.gif',get_lang('LastTimeTheCourseWasUsed') , array ('align' => 'absmiddle', 'hspace' => '3px'));
?>
</th>
<th>
@ -748,7 +748,7 @@ if(!empty($_GET['student']))
<?php echo get_lang('Exercices'); ?>
</th>
<th>
<?php echo get_lang('Score').Display :: return_icon('info3.gif', get_lang('LastScoreTest')) ?>
<?php echo get_lang('Score').Display :: return_icon('info3.gif', get_lang('LastScoreTest'), array('align' => 'absmiddle', 'hspace' => '3px')) ?>
</th>
<th>
<?php echo get_lang('Attempts'); ?>

Loading…
Cancel
Save