Changeset 6113
- Timestamp:
- 05/30/08 20:18:44 (6 months ago)
- Files:
-
- 1 modified
-
trunk/interface/blog/entry.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/blog/entry.php
r5986 r6113 7 7 fetchConfigVal(); 8 8 } 9 // For category view.10 9 11 if(isset($_GET['category'])) { // category exists 10 if(empty($suri['value'])) { 11 list($entries, $paging) = getEntriesWithPaging($blogid, $suri['page'], $blog['entriesOnPage']); 12 } else if(isset($_GET['category'])) { // category exists 12 13 if(Validator::isInteger($_GET['category'], 0)) { 13 14 list($entries, $paging) = getEntryWithPagingBySlogan($blogid, $suri['value'],false,$_GET['category']); … … 16 17 list($entries, $paging) = getEntryWithPagingBySlogan($blogid, $suri['value']); 17 18 } 19 18 20 fireEvent('OBStart'); 19 21 require ROOT . '/lib/piece/blog/begin.php'; … … 22 24 dress('SKIN_head_end', $automaticLink."[##_SKIN_head_end_##]", $view); 23 25 24 if (empty($entries)) { 26 if (empty($suri['value'])) { 27 require ROOT . '/lib/piece/blog/entries.php'; 28 } else if (empty($entries)) { 25 29 header('HTTP/1.1 404 Not Found'); 26 30 if (empty($skin->pageError)) { … … 34 38 require ROOT . '/lib/piece/blog/entries.php'; 35 39 } 40 41 42 36 43 require ROOT . '/lib/piece/blog/end.php'; 37 44 fireEvent('OBEnd');
