Commit 7654688d authored by Penny Leach's avatar Penny Leach

dwoo support: moved sideblocks to use sbdata rather than data

parent 2e3e92ce
<h3>{str tag="friendsdescr" section="account"}{contextualhelp plugintype='core' pluginname='account' form='accountprefs' element='friendscontrol'}</h3>
<div class="sidebar-content">
{$data}
{$sbdata}
</div>
<h3>{str tag="groupinteractions" section="group"}</h3>
<div class="sidebar-content">
{if $data}
{if $sbdata}
<ul>
{foreach from=$sbdata.interactiontypes item=interactions key=plugin}
<li>
......
<h3>{str tag="linksandresources"}</h3>
<div class="sidebar-content">
{if $data}
{if $sbdata}
<ul>
{foreach from=$data item=item}
{foreach from=$sbdata item=item}
<li><strong><a href="{$item.link|escape}">{$item.name}</a></strong></li>
{/foreach}
</ul>
......
<h3>{str tag="networkservers" section="auth.xmlrpc"}{contextualhelp plugintype='auth' pluginname='xmlrpc' section='networkservers'}</h3>
<div class="sidebar-content">
{if $data}
{if $sbdata}
<ul id="sitemenu">
{foreach from=$data item=peer}
{foreach from=$sbdata item=peer}
{if $peer.instance != $userauthinstance}
{if !$MNETUSER}
<li><a href="{$WWWROOT}auth/xmlrpc/jump.php?wr={$peer.wwwroot|escape}&amp;ins={$peer.instance|escape}">{$peer.name|escape}</a></li>
......@@ -13,4 +13,4 @@
{/foreach}
</ul>
{/if}
</div>
\ No newline at end of file
</div>
<h3><a href="{$WWWROOT}tags.php">{str tag="tags"}</a></h3>
<div class="sidebar-content tags">
{if $data.tags}
{foreach from=$data.tags item=tag}
{if $sbdata.tags}
{foreach from=$sbdata.tags item=tag}
<a class="tag" style="font-size: {$tag->size}em;" href="{$WWWROOT}tags.php?tag={$tag->tag|urlencode}" title="{str tag=numitems arg1=$tag->count}">{$tag->tag|str_shorten_text:20|escape}</a>
{/foreach}
{else}
{str tag=youhavenottaggedanythingyet}
{/if}
</div>
\ No newline at end of file
</div>
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