Location: PHPKode > projects > OpenNitro > trunk/Nitro/Defaults/Templates/HierarchicalListing.tpl
{*
// +---------------------------------------------------------------------------+
// | Nitro :: Defaults :: Templates :: List                                    |
// +---------------------------------------------------------------------------+
// | Copyright (c) 2004 June Systems BV                                        |
// +---------------------------------------------------------------------------+
// | This source file is copyrighted by June Systems BV, the Netherlands       |
// | If you would like to use this file in your projects, please contact       |
// | hide@address.com                                                     |
// +---------------------------------------------------------------------------+
// | Author: Oli Oskarsson <hide@address.com>                               |
// +---------------------------------------------------------------------------+
//
// $Id: HierarchicalListing.tpl 229 2008-04-17 09:20:31Z oli $
//
// Nitro's default List template
//
*}
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
{if $ListActions|count > 0}
	<TR>
		<TD STYLE="text-align: right">
		{foreach from=$ListActions item=ListActionData name=ListActionName}
			{if !$smarty.foreach.ListActionName.first}
				<BR>
			{/if}
			<B><A href="{$ListActionData.URL}"{if $ListActionData.onClickAction} onClick="{$ListActionData.onClickAction}"{/if} STYLE='color: #000000;'>{$ListActionData.Type}</A></B>&nbsp;&nbsp;
		{/foreach}
		</TD>
	</TR>
{/if}
<TR><TD><DIV ID="tableDiv_{$ListID}"></DIV></TD></TR>
</TABLE>

<SCRIPT LANGUAGE="JavaScript">
{$jsListingArray}

{literal}
/*window.onload = function () {
		fullDraw('{/literal}{$ListID}{literal}');
	}*/
//window.setTimeout('fullDraw(\'{/literal}{$ListID}{literal}\');', 500);
{/literal}
CallOnLoadString += "fullDraw('{$ListID}');";
</SCRIPT>
Return current item: OpenNitro