link.className = iconClassNames + ' jsTooltip';
link.href = '#';
link.title = Language.get('wcf.global.page.previous');
+ link.rel = 'prev';
listItem.appendChild(link);
link.addEventListener(WCF_CLICK_EVENT, this.switchPage.bind(this, this._options.activePage - 1));
link.className = iconClassNames + ' jsTooltip';
link.href = '#';
link.title = Language.get('wcf.global.page.next');
+ link.rel = 'next';
listItem.appendChild(link);
link.addEventListener(WCF_CLICK_EVENT, this.switchPage.bind(this, this._options.activePage + 1));
*/
protected function makePreviousLink($link, $pageNo) {
if ($pageNo > 1) {
- return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo - 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.previous').'" class="icon icon24 fa-chevron-left jsTooltip"></a></li>'."\n";
+ return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo - 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.previous').'" class="icon icon24 fa-chevron-left jsTooltip" rel="prev"></a></li>'."\n";
}
else {
return '<li class="skip disabled"><span class="icon icon24 fa-chevron-left"></span></li>'."\n";
*/
protected function makeNextLink($link, $pageNo, $pages) {
if ($pageNo && $pageNo < $pages) {
- return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo + 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.next').'" class="icon icon24 fa-chevron-right jsTooltip"></a></li>'."\n";
+ return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo + 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.next').'" class="icon icon24 fa-chevron-right jsTooltip" rel="next"></a></li>'."\n";
}
else {
return '<li class="skip disabled"><span class="icon icon24 fa-chevron-right"></span></li>'."\n";