Add theme Apple touch icon support

This commit is contained in:
Scott Ullrich 2009-10-05 17:28:16 -04:00
parent b41b40637e
commit cd227af5c2

View File

@ -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