{style} {literal} .ow_lp_groups .ow_lp_wrapper{ width: 75px; float: left; margin-right: -80px; } .ow_lp_groups .ow_lp_wrapper_inline { display:inline-block; margin:0 3px 3px 0; width:75px; } {/literal} {/style} {script} {literal} var $tb_container = $(".ow_box_toolbar_cont", $("#groups-list_widget").parents('.ow_box, .ow_box_empty').get(0)); $("#groups-widget-menu-popular").click(function(){ $tb_container.html($("#groups-widget-toolbar-popular").html()); }); $("#groups-widget-menu-latest").click(function(){ $tb_container.html($("#groups-widget-toolbar-latest").html()); }); {/literal} {/script}
{$menu} {if !empty($menuItems)}
{if $showTitles} {foreach from=$popular item='item'}
{$item.title}
{text key="groups+listing_users_label" count=$item.users}
{/foreach} {else}
{strip} {foreach from=$popular item='item'} {$item.title|escape} {/foreach} {/strip}
{/if}
{if $showTitles} {foreach from=$latest item='item'}
{$item.title}
{text key="groups+listing_users_label" count=$item.users}
{/foreach} {else}
{strip} {foreach from=$latest item='item'} {$item.title|escape} {/foreach}
{/strip} {/if}
{else}
{text key='groups+groups_widget_empty'}, {text key='groups+add_new'}
{/if}