string smarty_function_prevpostlink(
array $params, object &$smarty, integer $sid, string $layout)
|
|
Smarty function to display a link to the previous post
Example <!--[prevpostlink sid=$info.sid layout='<span class="meta-nav">«</span> %link%']-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |
| integer |
$sid |
article id |
| string |
$layout |
HTML string in which to insert link |