|
@@ 1207-1210 (lines=4) @@
|
| 1204 |
|
$prepend_code['header_prive_css'] = ""; |
| 1205 |
|
} |
| 1206 |
|
foreach ($info['style'] as $style) { |
| 1207 |
|
if (isset($style['path']) and $style['path']) { |
| 1208 |
|
$code = "if (\$f=timestamp(direction_css(find_in_path('" . addslashes($style['path']) . "')))) "; |
| 1209 |
|
} else { |
| 1210 |
|
$code = "if (\$f='" . addslashes($style['url']) . "') "; |
| 1211 |
|
} |
| 1212 |
|
$code .= "\$val .= '<link rel=\"stylesheet\" href=\"'.\$f.'\" type=\"text/css\""; |
| 1213 |
|
if (isset($style['media']) and strlen($style['media'])) { |
|
@@ 1233-1236 (lines=4) @@
|
| 1230 |
|
} |
| 1231 |
|
if (isset($info['script']) and count($info['script'])) { |
| 1232 |
|
foreach ($info['script'] as $script) { |
| 1233 |
|
if (isset($script['path']) and $script['path']) { |
| 1234 |
|
$code = "if (\$f=timestamp(find_in_path('" . addslashes($script['path']) . "'))) "; |
| 1235 |
|
} else { |
| 1236 |
|
$code = "if (\$f='" . addslashes($script['url']) . "') "; |
| 1237 |
|
} |
| 1238 |
|
$code .= "\$val .= '<script src=\"'.\$f.'\" type=\"text/javascript\"></script>';\n"; |
| 1239 |
|
if ($script['type'] != 'prive') { |