Skip to content

Commit

Permalink
refs #514
Browse files Browse the repository at this point in the history
  * Synchronize with 1.8 tree.
  • Loading branch information
inureyes committed Dec 4, 2010
1 parent 4716cb5 commit 95b94fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions interface/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
dress('article_rep', '', $view);
dress('paging', '', $view);
require ROOT . '/interface/common/blog/cover.php';
require ROOT . '/interface/common/blog/end.php';
} else if ($frontpage == 'line' && isset($skin->line)) {
define('__TEXTCUBE_LINE__',true);
$lineobj = Model_Line::getInstance();
Expand All @@ -91,14 +92,17 @@
$lines = $lineobj->get();
require ROOT . '/interface/common/blog/begin.php';
require ROOT . '/interface/common/blog/line.php';
require ROOT . '/interface/common/blog/end.php';
} else {
require ROOT . '/interface/common/blog/begin.php';
require ROOT . '/interface/common/blog/end.php';
}
} else {
list($entries, $paging) = getEntriesWithPaging($blogid, $suri['page'], $blog['entriesOnPage']);
require ROOT . '/interface/common/blog/begin.php';
require ROOT . '/interface/common/blog/entries.php';
require ROOT . '/interface/common/blog/end.php';
}

require ROOT . '/interface/common/blog/end.php';
} else { // With id.
if(isset($_GET['category'])) { // category exists
if(Validator::isInteger($_GET['category'], 0)) {
Expand Down

0 comments on commit 95b94fe

Please sign in to comment.