Minor style corrections

skala
Julio Montoya 13 years ago
parent 2fa2744fe4
commit 4abeb7c731
  1. 7
      main/gradebook/lib/fe/catform.class.php
  2. 15
      main/gradebook/lib/fe/displaygradebook.php
  3. 2
      main/gradebook/user_stats.php

@ -189,9 +189,8 @@ class CatForm extends FormValidator {
$content .= Display::tag('li', $skill['name'].'<a id="deleteskill_'.$skill['id'].'" class="closebutton" href="#"></a>', array('id'=>'skill_'.$skill['id'], 'class'=>'bit-box'));
}
}
$this->addElement('html', '<div class="row"><div class="label "></div><div class="formw">'.
Display::tag('ul', $content, array('class'=>'holder holder_simple')).'</div></div>'
);
$this->addElement('label', null, Display::tag('ul', $content, array('class'=>'holder holder_simple')));
}
if (isset($this->category_object) && $this->category_object->get_parent_id() == 0) {
@ -208,8 +207,6 @@ class CatForm extends FormValidator {
$this->addElement('hidden','hid_parent_id');
$this->addElement('textarea', 'description', get_lang('Description'),array('rows'=>'3','cols' => '34'));
if ($this->form_type == self :: TYPE_ADD) {
$this->addElement('style_submit_button', null, get_lang('AddCategory'), 'class="save"');
} else {

@ -650,12 +650,15 @@ class DisplayGradebook
//limit display width to 200px
$img_attributes .= 'width="200" ';
}
$info = '<table width="100%" border=0 cellpadding=5><tr><td width="80%">';
$info.= get_lang('Name') . ' : <a target="_blank" href="'.api_get_path(WEB_CODE_PATH).'social/profile.php?u=' . $userid . '"> ' . api_get_person_name($user['firstname'], $user['lastname']) . '</a><br />';
$info.= get_lang('Email') . ' : <a href="mailto:' . $user['email'] . '">' . $user['email'] . '</a><br />';
$info.= get_lang('TotalUser') . ' : <b>' . $scorecourse_display . '</b><br>';
$info.= '</td><td>';
$info.= '<img ' . $img_attributes . '/></td></tr></table>';
$info = '<div class="row"><div class="span3">';
$info .= '<div class="thumbnail"><img ' . $img_attributes . '/></div>';
$info .= '</div>';
$info .= '<div class="span6">';
$info .= get_lang('Name') . ' : <a target="_blank" href="'.api_get_path(WEB_CODE_PATH).'social/profile.php?u=' . $userid . '"> ' . api_get_person_name($user['firstname'], $user['lastname']) . '</a><br />';
$info .= get_lang('Email') . ' : <a href="mailto:' . $user['email'] . '">' . $user['email'] . '</a><br />';
$info .= get_lang('TotalUser') . ' : <b>' . $scorecourse_display . '</b>';
$info .= '</div>';
$info .= '</div>';
//$scoreinfo = get_lang('StatsStudent') . ' :<b> '.api_get_person_name($user['lastname'], $user['firstname']).'</b><br />';
//$scoreinfo.= '<br />'.get_lang('Total') . ' : <b>' . $scorecourse_display . '</b>';

@ -110,7 +110,7 @@ $actions.= '<a href="' . api_get_self() . '?exportpdf=&userid='.Security::remove
$actions.='</div>';
Display :: display_header(get_lang('ResultsPerUser'));
DisplayGradebook :: display_header_user($_GET['userid']);
echo $actions;
DisplayGradebook :: display_header_user($_GET['userid']);
$user_table->display();
Display :: display_footer();
Loading…
Cancel
Save