Browse Source

Merge branch '1.11.x' of https://github.com/aragonc/chamilo-lms into 1.11.x

Alex Aragon 7 years ago
parent
commit
4dc97dda32

+ 2 - 1
app/Resources/public/css/scorm.css

@@ -40,7 +40,8 @@ See https://support.chamilo.org/issues/6976
   padding-bottom: 5px;
 }
 #learning_path_left_zone .description-autor{
-
+  text-align: left;
+  padding-top: 10px;
 }
 .inner_lp_toc .scorm_item a {
     font-weight: bold;

+ 2 - 2
src/Chamilo/CoreBundle/Component/Utils/ChamiloApi.php

@@ -72,13 +72,13 @@ class ChamiloApi
         $theme = empty($theme) ? api_get_visual_theme() : $theme;
         $accessUrlId = api_get_current_access_url_id();
         $themeDir = \Template::getThemeDir($theme);
-        $customLogoPath = "$themeDir/images/header-logo-custom$accessUrlId.png";
+        $customLogoPath = $themeDir."images/header-logo-custom$accessUrlId.png";
 
         if (file_exists(api_get_path(SYS_PUBLIC_PATH)."css/$customLogoPath")) {
             return api_get_path(WEB_CSS_PATH).$customLogoPath;
         }
 
-        $originalLogoPath = "$themeDir/images/header-logo.png";
+        $originalLogoPath = $themeDir."images/header-logo.png";
 
         if (file_exists(api_get_path(SYS_CSS_PATH).$originalLogoPath)) {
             return api_get_path(WEB_CSS_PATH).$originalLogoPath;