element // We use \MRBS\Intl\Locale rather than \Locale because (a) we use isRightToLeft() method // which is only available from PHP 8.5, and (b) because we can't guarantee that the intl // extension is installed. use MRBS\Intl\Locale; function link_html(string $href, bool $add_version=false, ?string $media=null) : string { $html = 'getWebLang()); if ($using_rtl_lang) { echo link_html(multisite('css/mrbs-rtl.css.php'), true); } echo link_html(multisite('css/mrbs-print.css.php'), true, 'print'); echo "\n"; // Load the theme CSS, if any $theme_css = "Themes/$theme/theme.css"; if (is_readable($theme_css)) { echo link_html($theme_css, true); } // Load the custom CSS, if any if (isset($custom_css_url)) { echo link_html($custom_css_url, true); }