Skip to content

Commit

Permalink
refs #1604 : iphone shortcut icon setting now also works with mobile…
Browse files Browse the repository at this point in the history
… page.
  • Loading branch information
inureyes committed Feb 24, 2012
1 parent 8a763ee commit 3fa3c78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ function printMobileHTMLHeader($title = '') {
?>
<script type="application/x-javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/jquery/jquery-<?php echo JQUERY_VERSION;?>.js"></script>
<script type="application/x-javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/jquery.mobile/jquery.mobile-<?php echo JQUERYMOBILE_VERSION;?>.js"></script>
<?php
if($context->getProperty('blog.useBlogIconAsIphoneShortcut') == true && file_exists(ROOT."/attach/".$context->getProperty('blog.id')."/index.gif")) {
?> <link rel="apple-touch-icon" href="<?php echo $context->getProperty('uri.default');?>/index.gif" />
<?php
}

</head>
<body>
<?php
Expand Down

0 comments on commit 3fa3c78

Please sign in to comment.