|
@@ 1195-1198 (lines=4) @@
|
| 1192 |
|
$prepend_code['header_prive_css'] = ""; |
| 1193 |
|
} |
| 1194 |
|
foreach ($info['style'] as $style) { |
| 1195 |
|
if (isset($style['path']) and $style['path']) { |
| 1196 |
|
$code = "if (\$f=timestamp(direction_css(find_in_path('" . addslashes($style['path']) . "')))) "; |
| 1197 |
|
} else { |
| 1198 |
|
$code = "if (\$f='" . addslashes($style['url']) . "') "; |
| 1199 |
|
} |
| 1200 |
|
$code .= "\$val .= '<link rel=\"stylesheet\" href=\"'.\$f.'\" type=\"text/css\""; |
| 1201 |
|
if (isset($style['media']) and strlen($style['media'])) { |
|
@@ 1221-1224 (lines=4) @@
|
| 1218 |
|
} |
| 1219 |
|
if (isset($info['script']) and count($info['script'])) { |
| 1220 |
|
foreach ($info['script'] as $script) { |
| 1221 |
|
if (isset($script['path']) and $script['path']) { |
| 1222 |
|
$code = "if (\$f=timestamp(find_in_path('" . addslashes($script['path']) . "'))) "; |
| 1223 |
|
} else { |
| 1224 |
|
$code = "if (\$f='" . addslashes($script['url']) . "') "; |
| 1225 |
|
} |
| 1226 |
|
$code .= "\$val .= '<script src=\"'.\$f.'\" type=\"text/javascript\"></script>';\n"; |
| 1227 |
|
if ($script['type'] != 'prive') { |