Skip to content

Commit

Permalink
refs #1604 : Archive print added.
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 24, 2012
1 parent 6be258a commit bfe4a66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions interface/i/archive/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
define('__TEXTCUBE_IPHONE__', true);
require ROOT . '/library/preprocessor.php';
requireView('iphoneView');
if (false) {
fetchConfigVal();
}
printMobileHTMLHeader();
printMobileHTMLMenu();
if(!empty($suri['id'])) $period = $suri['id'];
else $period = Timestamp::getYearMonth();

Expand Down Expand Up @@ -56,5 +55,7 @@
?>
</ul>
<?php
printMobileHTMLFooter();
}

?>
2 changes: 1 addition & 1 deletion library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function printMobileHTMLHeader($title = '') {
<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" />
?> <link rel="apple-touch-icon" href="<?php echo $context->getProperty('uri.default');?>/index.gif" />
<?php
}
?>
Expand Down

0 comments on commit bfe4a66

Please sign in to comment.