Archived
1
0

groups.inc.tpl - some better use of booleans

This commit is contained in:
Ian
2012-06-01 15:42:57 +02:00
parent 064506d6f9
commit c45fc7181b
+3 -3
View File
@@ -19,7 +19,7 @@
</div>
{/if}
{if $delete == false}
{if !$delete}
<table width="100%">
<tr>
<td><strong>{$CONST.GROUP}</strong></td>
@@ -98,7 +98,7 @@
{continue}
{/if}
{if ! isset($section)}
{if !isset($section)}
{$section=$perm@key}
{/if}
@@ -113,7 +113,7 @@
{/if}
{/if}
{if $perm.permission == false}
{if !$perm.permission}
<tr>
<td>{$indent} {$perm.permission_name|escape:"html"}</td>
<td>{$indentB} {if isset($from.{$perm@key}) && $from.{$perm@key} == "true"} YES {else} NO {/if} </td>