    [% # PROCESS dumper.tt dump = user_permissions %]
<!-- BEGIN admin/user/functions.tt -->

    <table>
        <tr>
            <th>Function description</th>
            <th>Active</th>
        </tr>

        [% FOREACH function IN user_permissions; 
			NEXT UNLESS function.active.match('yes') %]
        <tr>
            <td>[% function.detail %]</td>
            <td align="center">
                [% IF function.selected %]<img src="/images/tick.gif" alt="" />
				[% ELSE %]&nbsp;[% END %]
            </td>
        </tr>
        [% END %]
	</table>
<!-- END admin/user/functions.tt -->
