@ -36,21 +36,16 @@
</td>
{ /if }
<td> { $item.modified } </td>
{ if $authentication_has_role.global_admin = = true }
{ assign var = "address" value = $item.address | escape : "url" }
<td><a href="edit-active.php?alias= { $item.address | escape : "url" } &domain= { $fDomain | escape : "url" } &return= { $file | escape : "url" } ?domain= { $fDomain | escape : "url" } "> { if $item.active = = 1 } { $PALANG.YES } { else } { $PALANG.NO } { /if } </a></td>
<td><a href="edit.php?table=alias&edit= { $item.address | escape : "url" } "> { $PALANG.edit } </a></td>
<td><a href="delete.php?table=alias&delete= { $item.address | escape : "url" } &domain= { $fDomain | escape : "url" } " onclick="return confirm (' { $PALANG.confirm } { $PALANG.pOverview_get_aliases } : { $item.address } ');"> { $PALANG.del } </a></td>
{ if $check_alias_owner [ $i ] = = true }
<td><a href=" { #url_create_alias# } &edit= { $item.address | escape : "url" } &active= { if ( $item.active = = 0 ) } 1 { else } 0 { /if } "
> { if $item.active = = 1 } { $PALANG.YES } { else } { $PALANG.NO } { /if } </a></td>
<td><a href=" { #url_create_alias# } &edit= { $item.address | escape : "url" } "> { $PALANG.edit } </a></td>
<td><a href="delete.php?table=alias&delete= { $item.address | escape : "url" } &domain= { $fDomain | escape : "url" } "
onclick="return confirm (' { $PALANG.confirm } { $PALANG.pOverview_get_aliases } : { $item.address } ');"> { $PALANG.del } </a></td>
{ else }
{ if $CONF.special_alias_control = = = YES | | $check_alias_owner [ $i ] = = true }
<td><a href="edit-active.php?alias= { $item.address | escape : "url" } &domain= { $fDomain | escape : "url" } "> { if $item.active = = 1 } { $PALANG.YES } { else } { $PALANG.NO } { /if } </a></td>
<td><a href="edit.php?table=alias&edit= { $item.address | escape : "url" } "> { $PALANG.edit } </a></td>
<td><a href="delete.php?table=alias&delete= { $item.address | escape : "url" } &domain= { $fDomain | escape : "url" } " onclick="return confirm (' { $PALANG.confirm } { $PALANG.pOverview_get_aliases } : { $item.address } ');"> { $PALANG.del } </a></td>
{ else }
<td> { if $item.active = = 1 } { $PALANG.YES } { else } { $PALANG.NO } { /if } </td>
<td> </td>
<td> </td>
{ /if }
<td> { if $item.active = = 1 } { $PALANG.YES } { else } { $PALANG.NO } { /if } </td>
<td> </td>
<td> </td>
{ /if }
</tr>
{ /foreach }