Browse Source

Adding div in the LP list "chamilo local"

Julio Montoya 13 years ago
parent
commit
9fd32fd182
2 changed files with 7 additions and 2 deletions
  1. 5 0
      main/css/base.css
  2. 2 2
      main/newscorm/lp_list.php

+ 5 - 0
main/css/base.css

@@ -3873,4 +3873,9 @@ form div.error input, form div.error textarea {
 
 #install_form blockquote {
 	line-height: 16px;
+}
+
+.lp_content_type_label {
+	font-style: italic;
+	color:#999;
 }

+ 2 - 2
main/newscorm/lp_list.php

@@ -211,8 +211,8 @@ if (is_array($flat_list)) {
         $name = Security::remove_XSS($details['lp_name']);
         if ($is_allowed_to_edit) {
         	// '.$details['lp_proximity'].'
-            $dsp_desc = '<em>'.$details['lp_maker'].'</em>   '.(learnpath::is_lp_visible_for_student($id, api_get_user_id())?'':' - ('.get_lang('LPNotVisibleToStudent').')');
-            $extra = '<br /><font color="#999"><i>'.$dsp_desc .'</i></font>';
+            $dsp_desc = '<em>'.$details['lp_maker'].'</em>   '.(learnpath::is_lp_visible_for_student($id, api_get_user_id())?'':' - ('.get_lang('LPNotVisibleToStudent').')');            
+            $extra = '<div class ="lp_content_type_label">'.$dsp_desc .'</div>';
         }
         
         /*$image = '<img src="../img/icons/22/learnpath.png" border="0" align="absmiddle" alt="' . $name . '">';