Location: PHPKode > projects > My SQL Data Browser > tpl/msdbCatalogGroup.tpl
{************************************************************}
{$grp.description}
<br />
{************************************************************}
{msuTabulate inTable=grpGroups outTable=grpGroupsRows columns=4}
{msuTabulate inTable=grpItems outTable=grpItemsRows columns=4}
{************************************************************}
{if $grpCount > 0}
	<table border="0" cellpadding="2" cellspacing="2">
		<tr bgcolor="{$msuColors.title}">
			{*
			<td colspan="4">
				{$grpCount} groups in {$grp.description}
			</td>
			*}
		</tr>
		{foreach from=$grpGroupsRows item=grpGroupRow}
			<tr bgcolor="{cycle values=$msuColors.oddEvenBg}">
				{foreach from=$grpGroupRow item=grpGroup}
					<td>
						{msuShowTpl file="msdbCatalogGroupedGroup.tpl"}
					</td>
				{/foreach}
			</tr>
		{/foreach}
	</table>
{/if}
{************************************************************}
{if $itemCount > 0}
	<table border="0" cellpadding="2" cellspacing="2">
		<tr bgcolor="{$msuColors.title}">
			{*
			<td colspan="4">
				{$itemCount} items in {$grp.description}
			</td>
			*}
		</tr>
		{foreach from=$grpItemsRows item=grpItemRow}
			<tr bgcolor="{cycle values=$msuColors.oddEvenBg}">
				{foreach from=$grpItemRow item=grpItem}
					<td>
						{msuShowTpl file="msdbCatalogGroupedItem.tpl"}
					</td>
				{/foreach}
			</tr>
		{/foreach}
	</table>
{/if}
{************************************************************}
Return current item: My SQL Data Browser