Lack of interest Remove empty pageNavLinkGroup from html

Luxus

Well-known member
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>
 

Luxus

Well-known member
An empty <div class="pageNavLinkGroup"></div> which takes up a height of 10px due to margin applied to it.
 
Top