diff --git a/framework/id/textcube/config.default.php b/framework/id/textcube/config.default.php index 5d5376ce6..61daecfd2 100644 --- a/framework/id/textcube/config.default.php +++ b/framework/id/textcube/config.default.php @@ -61,5 +61,4 @@ $service['debug_rewrite_module'] = false; $service['useNumericURLonRSS'] = false; $service['forceinstall'] = false; -$service['adminskin'] = 'canon'; ?> diff --git a/interface/blog/page.php b/interface/blog/page.php index 203bdfbbc..d745789f4 100644 --- a/interface/blog/page.php +++ b/interface/blog/page.php @@ -2,5 +2,37 @@ /// Copyright (c) 2004-2010, Needlworks / Tatter Network Foundation /// All rights reserved. Licensed under the GPL. /// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT) -require ROOT . '/interface/blog/notice.php'; +require ROOT . '/library/preprocessor.php'; + +if (isset($suri['id']) || (isset($suri['value']) && strlen($suri['value']) > 0)) { + if (!isset($suri['id']) || (Setting::getBlogSettingGlobal('useSloganOnPost',1) == 1)) { + list($entries, $paging) = getEntryWithPagingBySlogan($blogid, $suri['value'], true); + } else { + list($entries, $paging) = getEntryWithPaging($blogid, $suri['id'], true); + } + fireEvent('OBStart'); + require ROOT . '/interface/common/blog/begin.php'; + + if (empty($entries)) { + header('HTTP/1.1 404 Not Found'); + if (empty($skin->pageError)) { + dress('article_rep', '
Posted by [##_page_rep_author_##]
+