{include file='header.tpl'} {* $Id: browse_groups.tpl 247 2009-11-14 03:30:43Z phil $ *}
Sort By
{lang_print id=1000128} 
{lang_print id=1000131} 
{* CATEGORY JAVASCRIPT *} {literal} {/literal}
{lang_print id=2000131}
{section name=cat_loop loop=$cats} {* CATEGORY JAVASCRIPT *} {literal} {/literal}
0 && $cats[cat_loop].subcats != ""}style='cursor: pointer;' onClick="if($('subcats_{$cats[cat_loop].cat_id}').style.display == 'none') {literal}{{/literal} $('subcats_{$cats[cat_loop].cat_id}').style.display = ''; this.src='./images/icons/minus16.gif'; cat_minimized.set({$cats[cat_loop].cat_id}, 1); {literal}} else {{/literal} $('subcats_{$cats[cat_loop].cat_id}').style.display = 'none'; this.src='./images/icons/plus16.gif'; cat_minimized.set({$cats[cat_loop].cat_id}, 0); {literal}}{/literal}"{/if} border='0' class='icon'>{lang_print id=$cats[cat_loop].cat_title}
{/section}
Groups up for adoption
{* NO GROUPS AT ALL *} {if $groups|@count == 0}
{lang_print id=2000132}
{/if} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_groups} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_groups} {/if}
Go to Page:
{/if} {section name=group_loop loop=$groups}
{assign var='group_dateupdated' value=$datetime->time_since($groups[group_loop].group->group_info.group_dateupdated)} {capture assign="updated"}{lang_sprintf id=$group_dateupdated[0] 1=$group_dateupdated[1]}{/capture} {capture assign='group_leader'}{$groups[group_loop].group_leader->user_displayname}{/capture} {lang_sprintf id=2000133 1=$groups[group_loop].group_members 2=$group_leader} - {lang_sprintf id=2000134 1=$updated}
{$groups[group_loop].group->group_info.group_desc|strip_tags|truncate:300:"...":true}
{/section} {* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_groups} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_groups} {/if}
Go to Page:
{/if}
{include file='footer.tpl'}