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 @@
<ul id="sitemenu">
{foreach from=$data item=peer}
{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}">{$peer.name}</a></li>
<li><a href="{$WWWROOT}auth/xmlrpc/jump.php?wr={$peer.wwwroot|escape}&ins={$peer.instance|escape}">{$peer.name|escape}</a></li>
{else}
<li class="{cycle values=r0,r1}"><a href="{$peer.wwwroot}">{$peer.name}</a></li>
<li><a href="{$peer.wwwroot|escape}">{$peer.name|escape}</a></li>
{/if}
{/foreach}
</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