[svn r10252] 2 new id's: 'coursestatusicons' and 'courses' to move inline styles to the css

skala
Edwandos 19 years ago
parent f2ef758e52
commit 80c36e39b3
  1. 13
      main/css/default/default.css
  2. 2
      user_portal.php

@ -174,6 +174,19 @@ a.invisible:visited {
color: #999;
}
/* user_portal course status icon */
#coursestatusicons{
border: 0px solid #000;
width: auto;
float: left;
padding-right: 5px;
}
/* user_portal course list */
#courses {
list-style-type: none;
margin-bottom: 5px;
}
/*
==============================================================================

@ -608,7 +608,7 @@ function get_logged_user_course_html($my_course)
//display course entry
$result.="\n\t";
$result .= '<li style="list-style-type: none; margin-bottom: 5px;"><div style="border:0px solid #000; width: auto; float:left;padding-right: 5px;">'.$s_htlm_status_icon.'</div>';
$result .= '<li id="courses"><div id="coursestatusicons">'.$s_htlm_status_icon.'</div>';
//show a hyperlink to the course, unless the course is closed and user is not course admin
if ($course_visibility != COURSE_VISIBILITY_CLOSED || $user_in_course_status == COURSEMANAGER)
{

Loading…
Cancel
Save