Commit 7e9a747b authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't alternate row colours on SSO Peers block, it looks all wrong. Escape some stuff there too.

parent e51c4da5
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<ul id="sitemenu"> <ul id="sitemenu">
{foreach from=$data item=peer} {foreach from=$data item=peer}
{if $peer.instance != $userauthinstance} {if $peer.instance != $userauthinstance}
<li class="{cycle values=r0,r1}"><a href="{$WWWROOT}auth/xmlrpc/jump.php?wr={$peer.wwwroot|escape}&ins={$peer.instance|escape}">{$}</a></li> <li><a href="{$WWWROOT}auth/xmlrpc/jump.php?wr={$peer.wwwroot|escape}&ins={$peer.instance|escape}">{$|escape}</a></li>
{else} {else}
<li class="{cycle values=r0,r1}"><a href="{$peer.wwwroot}">{$}</a></li> <li><a href="{$peer.wwwroot|escape}">{$|escape}</a></li>
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment