Adding item_closed new span

skala
Julio Montoya 14 years ago
parent 266ac9b6bc
commit 988f881628
  1. 5
      main/css/academica/default.css
  2. 4
      main/css/baby_orange/default.css
  3. 5
      main/css/blue_lagoon/default.css
  4. 6
      main/css/chamilo/default.css
  5. 9
      main/css/chamilo_electric_blue/default.css
  6. 4
      main/css/chamilo_green/default.css
  7. 1
      main/css/chamilo_orange/default.css
  8. 1
      main/css/chamilo_red/default.css
  9. 1
      main/css/cool_blue/default.css
  10. 1
      main/css/corporate/default.css
  11. 4
      main/css/cosmic_campus/default.css
  12. 5
      main/css/delicious_bordeaux/default.css
  13. 5
      main/css/dokeos_blue/default.css
  14. 4
      main/css/dokeos_classic/default.css
  15. 6
      main/css/dokeos_classic_2D/default.css
  16. 4
      main/css/empire_green/default.css
  17. 4
      main/css/fruity_orange/default.css
  18. 4
      main/css/medical/default.css
  19. 5
      main/css/public_admin/default.css
  20. 4
      main/css/royal_purple/default.css
  21. 4
      main/css/silver_line/default.css
  22. 4
      main/css/sober_brown/default.css
  23. 4
      main/css/steel_grey/default.css
  24. 5
      main/css/tasty_olive/default.css
  25. 7
      main/inc/lib/course.lib.php

@ -1494,6 +1494,7 @@ div.system_announcement {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:20px; margin-bottom:20px;
font-size:135%;
} }
.session_course_item .courses { .session_course_item .courses {
@ -1501,6 +1502,10 @@ div.system_announcement {
height:35px; height:35px;
} }
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
}
/* Notebook */ /* Notebook */
.notebook-add-form { .notebook-add-form {
margin: 1em; margin: 1em;

@ -1541,6 +1541,10 @@ div.system_announcement {
.session_course_item { .session_course_item {
margin: 0px; margin: 0px;
margin-bottom:20px; margin-bottom:20px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
.session_course_item .courses { .session_course_item .courses {
margin-bottom: 5px; margin-bottom: 5px;

@ -307,6 +307,11 @@ select, input[type=checkbox], input[type=radio], input[type=button], input[type=
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************
* HEADER STYLES * * HEADER STYLES *

@ -391,6 +391,7 @@ input[text] {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:15px; margin-bottom:15px;
font-size:135%;
} }
/***************************************************** /*****************************************************
@ -3108,7 +3109,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
font-size:135%; font-size:135%;
} }
.session_course_item a { .session_course_item a {
font-size:135%; font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
#maincontent .courseslist li { #maincontent .courseslist li {
margin-bottom:8px; margin-bottom:8px;

@ -389,7 +389,12 @@ input[text] {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:15px; margin-bottom:15px;
font-size:135%;
} }
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
}
/***************************************************** /*****************************************************
* HEADER STYLES * * HEADER STYLES *
@ -4556,4 +4561,6 @@ span.form_required {
.decrease_font:hover { .decrease_font:hover {
border: 1px solid black; border: 1px solid black;
cursor: pointer; cursor: pointer;
} }

@ -391,6 +391,10 @@ input[text] {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:15px; margin-bottom:15px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -391,6 +391,7 @@ input[text] {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:15px; margin-bottom:15px;
font-size:135%;
} }
/***************************************************** /*****************************************************

@ -392,6 +392,7 @@ input[text] {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
margin-bottom:15px; margin-bottom:15px;
font-size:135%;
} }
/***************************************************** /*****************************************************

@ -1459,6 +1459,7 @@ div.report_section h4 {
.session_course_item { .session_course_item {
margin: 0px; margin: 0px;
margin-bottom:20px; margin-bottom:20px;
font-size:135%;
} }
.session_course_item .courses { .session_course_item .courses {
margin-bottom: 5px; margin-bottom: 5px;

@ -431,6 +431,7 @@ ul#navigation .student-connect a {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
} }
.session_course_item .courses { .session_course_item .courses {
margin-bottom: 5px; margin-bottom: 5px;

@ -443,6 +443,10 @@ ul#navigation .student-connect a {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
.courses a { .courses a {

@ -347,7 +347,12 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************
* HEADER STYLES * * HEADER STYLES *
*****************************************************/ *****************************************************/

@ -1466,7 +1466,12 @@ div.report_section h4 {
.session_course_item { .session_course_item {
margin: 0px; margin: 0px;
margin-bottom:20px; margin-bottom:20px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
.session_course_item .courses { .session_course_item .courses {
margin-bottom: 5px; margin-bottom: 5px;
height:35px; height:35px;

@ -350,6 +350,10 @@ input[text] {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -325,12 +325,11 @@ ul#navigation .student-connect a {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
} }
/* /*
==============================================================================
HEADER STYLES HEADER STYLES
==============================================================================
*/ */
#header { #header {
@ -1521,6 +1520,9 @@ div.report_section h4 {
margin: 0px; margin: 0px;
margin-bottom:20px; margin-bottom:20px;
} }
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
}
.session_course_item .courses { .session_course_item .courses {
margin-bottom: 5px; margin-bottom: 5px;
height:35px; height:35px;

@ -347,6 +347,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -347,6 +347,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -367,6 +367,10 @@ input[text] {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -369,6 +369,11 @@ select, input[type=checkbox], input[type=radio], input[type=button], input[type=
.session_course_item { .session_course_item {
margin: 0px; margin: 0px;
margin-bottom:18px; margin-bottom:18px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -347,6 +347,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -141,6 +141,10 @@ ul#navigation .help a{
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
#main { #main {

@ -369,6 +369,10 @@ input[text] {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -347,6 +347,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -347,6 +347,11 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
.session_course_item { .session_course_item {
/* padding: 0px; */ /* padding: 0px; */
margin: 0px; margin: 0px;
font-size:135%;
}
.session_course_item .item_closed, .userportal-course-item-title .item_closed {
font-size:80%;
} }
/***************************************************** /*****************************************************

@ -2584,7 +2584,7 @@ class CourseManager {
if ($course_visibility != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { if ($course_visibility != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) {
$course_title = '<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'/?id_session=0&amp;autoreg=1">'.$course['title'].'</a>'; $course_title = '<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'/?id_session=0&amp;autoreg=1">'.$course['title'].'</a>';
} else { } else {
$course_title = $course['title']." ".get_lang('CourseClosed'); $course_title = $course['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed'));
} }
echo '<div style="float: left; margin-right: 10px;">'.$status_icon.'</div><span class="userportal-course-item-title">'.$course_title.'</span><br />'; echo '<div style="float: left; margin-right: 10px;">'.$status_icon.'</div><span class="userportal-course-item-title">'.$course_title.'</span><br />';
@ -2756,7 +2756,7 @@ class CourseManager {
if ($course_visibility != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { if ($course_visibility != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) {
$course_title = '<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'/?id_session=0">'.$course['title'].'</a>'; $course_title = '<a href="'.api_get_path(WEB_COURSE_PATH).$course['directory'].'/?id_session=0">'.$course['title'].'</a>';
} else { } else {
$course_title = $course['title']." ".get_lang('CourseClosed'); $course_title = $course['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed'));
} }
// Start displaying the course block itself. // Start displaying the course block itself.
echo '<div style="float: left; margin-right: 10px;">'.$status_icon.'</div><span class="userportal-course-item-title">'.$course_title.'</span><br />'; echo '<div style="float: left; margin-right: 10px;">'.$status_icon.'</div><span class="userportal-course-item-title">'.$course_title.'</span><br />';
@ -2942,7 +2942,8 @@ class CourseManager {
$result .= '<a href="'.api_get_path(WEB_COURSE_PATH).$course_directory.'/">'.$course_display_title.'</a>'; $result .= '<a href="'.api_get_path(WEB_COURSE_PATH).$course_directory.'/">'.$course_display_title.'</a>';
} }
} else { } else {
$result .= $course_display_title.' '.get_lang('CourseClosed'); $result .= $course_display_title.' '.Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed'));
;
} }
} else { } else {
$result .= $course_display_title; $result .= $course_display_title;

Loading…
Cancel
Save