• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Remove empty pageNavLinkGroup from html

Luxus

Well-known member
#1
Template: online_list
Line: 42-44

Code:
	<div class="pageNavLinkGroup">
		<xen:pagenav link="online" linkparams="{xen:array 'type={$userLimit}'}" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
	</div>
Should be

Code:
<xen:if hascontent="true">
	<div class="pageNavLinkGroup">
		<xen:contentcheck>
			<xen:pagenav link="online" linkparams="{xen:array 'type={$userLimit}'}" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
		</xen:contentcheck>
	</div>
</xen:if>