mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-19 03:56:18 -04:00
Introduce output_link which doesn't check for existence. The reason being to generate errors on a required include
This commit is contained in:
@@ -388,6 +388,14 @@ function getNavBarHTML() {
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
function output_link($files) {
|
||||
foreach ( $files as $file ) {
|
||||
$html[] = '<link rel="stylesheet" href="'.getSkinFile($file).'" type="text/css"/>';
|
||||
}
|
||||
$html[] = ''; // So we ge a trailing \n
|
||||
return implode(PHP_EOL, $html);
|
||||
}
|
||||
|
||||
function output_link_if_exists($files, $cache_bust=true, $param=false) {
|
||||
global $skin;
|
||||
$html = array();
|
||||
|
||||
Reference in New Issue
Block a user