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];
- ?>
+?>
- '.CRLF;
- $itemsView .= ' '._text('글목록').'('.$list['count'].')'.CRLF;
- $itemsView .= ' Page ' . $paging['page'] . ' / '.$paging['pages'].''.CRLF;
- $itemsView .= ''.CRLF;
- foreach ($list['items'] as $item) {
- $author = User::getName($item['userid']);
- if($imageName = printIphoneAttachmentExtract($item['content'])){
- $imageSrc = printIphoneImageResizer($blogid, $imageName, 28);
- }else{
- $imageSrc = $service['path'] . '/resources/style/iphone/image/noPostThumb.png';
- }
- $itemsView .= '- '.CRLF;
- $itemsView .= '
'.CRLF;
- $itemsView .= ' '.CRLF;
- $itemsView .= ' '.CRLF;
- $itemsView .= ' ' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . ''.CRLF;
- $itemsView .= ' ' . Timestamp::format5($item['published']) . ', ' . 'Comments(' . ($item['comments'] > 0 ? $item['comments'] : 0) . ')' . ''.CRLF;
- $itemsView .= '
'.CRLF;
- $itemsView .= ' '.CRLF;
- $itemsView .= ' '.CRLF;
- }
-
- $itemsView .= ''.CRLF;
+ foreach ($list['items'] as $item) {
+ $author = User::getName($item['userid']);
+ if($imageName = printIphoneAttachmentExtract($item['content'])){
+ $imageSrc = printIphoneImageResizer($blogid, $imageName, 28);
+ }else{
+ $imageSrc = $service['path'] . '/resources/style/iphone/image/noPostThumb.png';
}
+ $itemsView .= '- '.CRLF;
+ $itemsView .= '
'.CRLF;
+ $itemsView .= ' '.CRLF;
+ $itemsView .= ' '.CRLF;
+ $itemsView .= ' ' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . ''.CRLF;
+ $itemsView .= ' ' . Timestamp::format5($item['published']) . ', ' . 'Comments(' . ($item['comments'] > 0 ? $item['comments'] : 0) . ')' . ''.CRLF;
+ $itemsView .= '
'.CRLF;
+ $itemsView .= ' '.CRLF;
$itemsView .= ' '.CRLF;
- print $itemsView;
- ?>
+ }
+
+ $itemsView .= ''.CRLF;
+ print $itemsView;
+?>
0) {
+ $entryTags = getTags($entry['blogid'], $entry['id']);
+ if (sizeof($entryTags) > 0) {
?>
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));
?>