File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/admin/templates/category.row.tpl
<ul id="CategoryList" class="SortableList">
{foreach from=%admin_categories.GetCategoryList:'0' key=k item=row id=ViewListLoop}
<li id="ele-{$row.categoryid}" class="SortableRow">
<table class="GridPanel" cellspacing="0" cellpadding="0" border="0" style="width:100%;">
<tr class="GridRow" onmouseover="this.className='GridRowOver'" onmouseout="this.className='GridRow'">
<td width="1">
{if $row.isDeletable}
<input type="checkbox" name="cats[]" value="{$row.categoryid}" class="deleteBox" id="deleteBox_{$row.categoryid}" ondblclick="categoryDeleteBoxDoubleClick(this);return false" onclick="categoryDeleteBoxClick(this);return true;" title="If ticked, you may double-click here to untick all nested categories below." />
{else}
<div style="position:relative;">
<input type="checkbox" disabled="disabled" />
<div onclick="alert('{$lang.Unauthorized}');" style="position:absolute; top:0; left:0; margin:3px 3px 3px 4px; width:13px; height:13px; font-size:0;"> </div>
</div>
{/if}
</td>
<td class="IconColumn sort-handle" id="cathandle{$row.categoryid}">
<img src="{$row.iconpath}" alt="{$row.caticon}" />
</td>
<td width="100%" class="DragMouseDown sort-handle" id="catrow{$row.categoryid}title">
{$row.name|iwp_htmlspecialchars}
</td>
<td class="HideOnDrag"><div style="width:100px;">{$row.contentcount}</div></td>
<td class="HideOnDrag"><div style="width:100px;">{$row.visits}</div></td>
<td class="HideOnDrag"><div style="width:180px;">
{if $row.canCreateChild}
<a href="index.php?section={$section}&action=create&parentid={$row.categoryid}" class="bodylink" title="{$lang.CategoryNewLinkDesc}">{$lang.NewSubCategory}</a>
{else}
<span onclick="alert('{$lang.Unauthorized}');" title="{$lang.CategoryNewLinkDesc}">{$lang.New}</span>
{/if}
{if $row.isEditable}
<a href="index.php?section={$section}&action=edit&catid={$row.categoryid}" class="bodylink" title="{$lang.CategoryEditLinkDesc}">{$lang.Edit}</a>
{else}
<span onclick="alert('{$lang.Unauthorized}');" title="{$lang.CategoryEditLinkDesc}">{$lang.Edit}</span>
{/if}
{if $row.isDeletable}
<a onclick="return ConfirmDelete();" href="index.php?section={$section}&action=deletesingle&id={$row.categoryid}" class="bodylink" title="{$lang.CategoryDeleteLinkDesc}">{$lang.Delete}</a>
{else}
<span onclick="alert('{$lang.Unauthorized}');" title="{$lang.CategoryDeleteLinkDesc}">{$lang.Delete}</span>
{/if}
<a href="{$config.siteURL}{$row.urlpath}" target="_blank" class="bodylink" title="{$lang.CategoryViewLinkDesc}">{$lang.View}</a>
</div></td>
</tr>
</table>
<ul class="SortableList">
{recursion=$row.categoryid}
</ul>
</li>
{/foreach}
</ul>