We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1607ec4 commit 34d8354Copy full SHA for 34d8354
system/core/template.php
@@ -22,7 +22,6 @@ class Template extends DataStore
22
* Stores CSS includes for the template system
23
*/
24
private static $cssIncludes = array();
25
-
26
27
/**
28
* Checks if a value exists
@@ -71,7 +70,7 @@ public static function addCSS($file)
71
70
72
public static function getJs()
73
{
74
- $jsFiles = '';
+ $jsList = '';
75
if (is_array(self::$jsIncludes))
76
77
foreach(self::$jsIncludes as $js)
@@ -94,7 +93,7 @@ public static function getCSS()
94
93
95
foreach(self::$cssIncludes as $css)
96
97
- $cssList .= '<script type="text/javascript" src="' . $css . '"></script>' . "\r\n";
+ $cssList .= '<link href="' . $css . '" rel="stylesheet">' . "\r\n";
98
}
99
return $cssList;
100
0 commit comments