@@ 760-763 (lines=4) @@ | ||
757 | // Checking the theme icons folder example: app/Resources/public/css/themes/chamilo/icons/XXX |
|
758 | if (is_file($alternateCssPath.$theme.$size_extra.$image)) { |
|
759 | $icon = $alternateWebCssPath.$theme.$size_extra.$image; |
|
760 | } elseif (is_file($code_path.'img/icons/'.$size_extra.$image)) { |
|
761 | //Checking the main/img/icons/XXX/ folder |
|
762 | $icon = $w_code_path.'img/icons/'.$size_extra.$image; |
|
763 | } |
|
764 | } else { |
|
765 | if (is_file($code_path.'img/icons/'.$size_extra.$image)) { |
|
766 | // Checking the main/img/icons/XXX/ folder |
|
@@ 764-769 (lines=6) @@ | ||
761 | //Checking the main/img/icons/XXX/ folder |
|
762 | $icon = $w_code_path.'img/icons/'.$size_extra.$image; |
|
763 | } |
|
764 | } else { |
|
765 | if (is_file($code_path.'img/icons/'.$size_extra.$image)) { |
|
766 | // Checking the main/img/icons/XXX/ folder |
|
767 | $icon = $w_code_path.'img/icons/'.$size_extra.$image; |
|
768 | } |
|
769 | } |
|
770 | ||
771 | // Special code to enable SVG - refs #7359 - Needs more work |
|
772 | // The code below does something else to "test out" SVG: for each icon, |