function smarty_block_mtpageprevious($args, $content, &$ctx, &$repeat) { $args['class'] = 'page'; return smarty_block_mtentryprevious($args, $content, $ctx, $repeat); }
public function archive_prev_next($args, $content, &$repeat, $tag, $at) { $mt = MT::get_instance(); $ctx =& $mt->context(); $tag = $ctx->this_tag(); if ($tag == 'mtarchivenext') { require_once "block.mtentrynext.php"; return smarty_block_mtentrynext($args, $content, $ctx, $repeat); } else { require_once "block.mtentryprevious.php"; return smarty_block_mtentryprevious($args, $content, $ctx, $repeat); } }