diff --git a/interface/i/entry/index.php b/interface/i/entry/index.php index 8ced2ea6f..bda6c65f7 100644 --- a/interface/i/entry/index.php +++ b/interface/i/entry/index.php @@ -5,53 +5,50 @@ define('__TEXTCUBE_IPHONE__', true); require ROOT . '/library/preprocessor.php'; requireView('iphoneView'); -if (false) { - fetchConfigVal(); -} if(empty($suri['id']) && empty($suri['value'])) { $blog['entriesOnList'] = 8; if(!$listWithPaging = getEntriesWithPaging($blogid, $suri['page'], $blog['entriesOnList'])) $listWithPaging = array(array(), array('total' => 0)); $list = array('title' => (empty($suri['value']) ? getCategoryLabelById($blogid, 0) : $suri['value']), 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']); $paging = $listWithPaging[1]; - ?> +?>
0) { + $entryTags = getTags($entry['blogid'], $entry['id']); + if (sizeof($entryTags) > 0) { ?>

Tags

1 && (count($entries) == 1 || !empty($skin->hentryExisted) ); - foreach ($entryTags as $entryTag) { - $tags[$entryTag['name']] = "' . htmlspecialchars($entryTag['name']) . ''; - } - echo implode(",\r\n", array_values($tags)); + $tags = array(); + $relTag = Setting::getBlogSettingGlobal('useMicroformat', 3)>1 && (count($entries) == 1 || !empty($skin->hentryExisted) ); + foreach ($entryTags as $entryTag) { + $tags[$entryTag['name']] = "' . htmlspecialchars($entryTag['name']) . ''; + } + echo implode(",\r\n", array_values($tags)); ?>
- = 2) || (isset($_COOKIE['GUEST_PASSWORD']) && (trim($_COOKIE['GUEST_PASSWORD']) == trim($entry['password'])))) { - printIphoneNavigation($entry, true, true, $paging); - } else { - printIphoneNavigation($entry, false, false, $paging); - } - ?> + if(doesHaveOwnership() || ($entry['visibility'] >= 2) || (isset($_COOKIE['GUEST_PASSWORD']) && (trim($_COOKIE['GUEST_PASSWORD']) == trim($entry['password'])))) { + printIphoneNavigation($entry, true, true, $paging); + } else { + printIphoneNavigation($entry, false, false, $paging); + } +?>