fixed a bug when no posts.
parent
d4f4e72049
commit
f976025030
|
|
@ -200,7 +200,7 @@ $theme = new themes;
|
|||
|
||||
$theme->set('pagination',$p->getPagination());
|
||||
} else {
|
||||
$template->renderizaEtiqueta("No posts in this tumblelog.", "div","error");
|
||||
$theme->set('error','No posts in this tumblelog.');
|
||||
}
|
||||
} else {
|
||||
$register = $tumble->getPost($id_post);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
{if {$error}}
|
||||
<div class="error">{$error}</div>
|
||||
{else}
|
||||
{block {$rows} as {$row}}
|
||||
<div class="date">
|
||||
{$row.Date_Added}
|
||||
|
|
@ -156,7 +159,7 @@
|
|||
{else}
|
||||
{pagination}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
<div id="footer">
|
||||
subscribe via <a href="{URL_Tumble}/rss.php">rss</a> /
|
||||
|
|
|
|||
Loading…
Reference in New Issue