mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add theme Apple touch icon support
This commit is contained in:
parent
b41b40637e
commit
cd227af5c2
@ -19,6 +19,7 @@ foreach($apple_ua as $useragent)
|
||||
<head>
|
||||
<title><?=gentitle($pgtitle);?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<link rel=”apple-touch-icon” href=”/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png”/>
|
||||
<?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false &&
|
||||
file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?>
|
||||
<link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/wizard.css" media="all" />
|
||||
@ -29,7 +30,6 @@ foreach($apple_ua as $useragent)
|
||||
<script type="text/javascript">var theme = "<?php echo $g['theme']; ?>"</script>
|
||||
<script type="text/javascript" src="/themes/<?php echo $g['theme']; ?>/loader.js"></script>
|
||||
|
||||
|
||||
<?
|
||||
/*
|
||||
* Find all javascript files that need to be included
|
||||
|
||||
Loading…
Reference in New Issue
Block a user