2011-08-25, 18:23:27
Just replace ($pageNum+2) by ($numpages) in the second block:
I'm currently rewriting some parts of the search plugin and won't release a fix before I'm finished.
The new version will:
Code:
if (@$i18n['LAST_TEXT'] && $pageNum < $numpages-1) {
$pagingHtml .= ' <span class="next"><a href="'.$pageUrl.($numpages).'" title="'.htmlspecialchars(@$i18n['LAST_TITLE']).'"> '.htmlspecialchars(@$i18n['LAST_TEXT']).'</a></span>';
}
The new version will:
- be able to index custom fields' contents
- allow other plugins to index their own content