From 0d596b4704b49f42e39ee2feb90d051c6390d4a3 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 26 Sep 2025 19:16:34 -0400 Subject: [PATCH] Introduce output_link which doesn't check for existence. The reason being to generate errors on a required include --- web/skins/classic/includes/functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php index 235e83931..6b13632d3 100644 --- a/web/skins/classic/includes/functions.php +++ b/web/skins/classic/includes/functions.php @@ -388,6 +388,14 @@ function getNavBarHTML() { return ob_get_clean(); } +function output_link($files) { + foreach ( $files as $file ) { + $html[] = ''; + } + $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();