From d80b10878746f45bfc57ad22d64c01447a16c7b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 21 Aug 2010 11:45:54 +0200 Subject: [PATCH] Fixes link in list moderaters list (Closes #1218). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/lists/members.tpl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/lists/members.tpl b/templates/lists/members.tpl index 1a56e74..14ec8c0 100644 --- a/templates/lists/members.tpl +++ b/templates/lists/members.tpl @@ -86,7 +86,7 @@ {if $owners|@count} {foreach from=$owners item=xs key=promo} - {foreach from=$xs item=x name=all} + {foreach from=$xs item=user name=all} - {if $x.p} + {if $user.p} {/if} -- 2.1.4
{if $smarty.foreach.all.first} @@ -94,20 +94,20 @@ {/if} - {if $promo && strpos($x.l, '@') === false} - {if $x.b}{icon name=error}{/if} - {$x.n} - {elseif $x.x} - {$x.n} - {elseif $x.n} - {$x.n} + {if $promo && $user.x} + {if $user.b}{assign var=lostUsers value=true}{/if} + {profile user=$user.x promo=false} + {elseif $user.x} + {if $user.n|trim}{$x.n}{else}{$user.l}{/if} + {elseif $user.n} + {$user.n} {else} - {$x.l} + {$user.l} {/if} - {$x.p} + {$user.p}