Jump to content
Sign in to follow this  
DJkikisa

Salabojam Who Was Online padding un pievienojam, ka rāda grupu stilu.

Recommended Posts

1. Ejam uz acp un navigācijā izvēlamies otas ikoniņu b00deeedecbcbc36ad1d3878735a4878.png.

2. Izvēlamies kuru tēmu labot un uzspiežam uz ikonas: c126f15f4cb433fba5ac337493d2e551.png.
3. Zem Templates izvēlamies core>global>plugins>whowasonline.
4. Aizstājam šo kodu :
 

<h3 class='ipsType_reset ipsWidget_title'>
	{lang="block_whowasonline"}
</h3>
<div class='ipsWidget_inner {{if $orientation == 'vertical'}}ipsPad{{endif}}'>
	<span class='ipsType_light ipsType_unbold ipsType_medium'>{lang="who_was_online_last_x" sprintf="$hour" pluralize="$memberCount"}</span>
	<br>
	{{if $stat !== false && $orientation!='vertical'}}
		<span class='ipsType_light ipsType_unbold ipsType_medium'>{$stat|raw}</span>
	{{endif}}
	{{if $memberCount}}
		<ul class='ipsList_inline ipsList_csv ipsList_noSpacing'>
			{{foreach $members as $row}}
				<li>{template="userLinkFromData" group="global" app="core" params="$row['member_id'], $row['name'], $row['members_seo_name'], $row['member_group_id']"}</li>
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_reset ipsType_medium ipsType_light'>{lang="who_was_online_users_empty"}</p>
	{{endif}}
</div>

Ar šo:
 

<h3 class='ipsType_reset ipsWidget_title'>
	{lang="block_whowasonline"}
</h3>
<div class='ipsWidget_inner ipsPad'>
	<span class='ipsType_light ipsType_unbold ipsType_medium'>{lang="who_was_online_last_x" sprintf="$hour" pluralize="$memberCount"}</span>
	<br>
	{{if $stat !== false && $orientation!='vertical'}}
		<span class='ipsType_light ipsType_unbold ipsType_medium'>{$stat|raw}</span>
	{{endif}}
	{{if $memberCount}}
		<ul class='ipsList_inline ipsList_csv ipsList_noSpacing'>
			{{foreach $members as $row}}
				<li>{template="userLinkFromData" group="global" app="core" params="$row['member_id'], $row['name'], $row['members_seo_name'], $row['member_group_id'], TRUE"}</li>
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_reset ipsType_medium ipsType_light'>{lang="who_was_online_users_empty"}</p>
	{{endif}}
</div>

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...