|
jforum example source code file (group_macros.ftl)
The jforum group_macros.ftl source code
<#-- ******************************* -->
<#-- Make the HTML for group listing -->
<#-- ******************************* -->
<#macro listGroups parent>
<#assign total = parent.size() - 1>
<#if (total >= 0 )>
<#list 0..total as i>
<#global level = level + 2>
<#assign node = parent.getNode(i)>
<tr bgcolor="#f4f4f4">
<td><#list 0..level as j> #list>${node.name} |
<td align="center">${I18n.getMessage("Groups.List.Edit")}
<td align="center">
<td class="row2" align="center">${I18n.getMessage("Permissions")}
</tr>
<@listGroups node/>
<#global level = level - 2>
</#list>
</#if>
</#macro>
<#-- ******************************************** -->
<#-- Create a
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.