{if count($errors)} {include file="block_errors.html" errtitle="<#There were errors in your input#>"} {/if} {if $success}
{$success}

{/if}
{if $uploadallowed} <#Upload Icon#>
<#Existing icons are overwritten if they already exist#>
<#Upload Icon:#>
<#Image Formats Allowed:#> {foreach name='types' from=$validimgtypes item='type'} {$type}{if (!$smarty.foreach.types.last)}, {/if}{/foreach}; <#Max Size:#> {$maxsize|abbrnum:0} {if $zipallowed}
<#ADMIN_ICONS_ZIP_BLURB#> {* ZIP support is enabled.
You may upload a ZIP file of icon images and all images found in the ZIP will be extracted and saved. *} {/if}
 

{/if} <#Icon Gallery#>
{if $uploadallowed} <#Select icons to be deleted#> {else} <#ADMIN_ICONS_UPLOAD_BLURB#> {* Icons can not be uploaded or deleted due to the images/icons directory not being writable by the web server user.
If you want to manage your icons online you will have to fix the permissions on the directory first. *} {/if}

{if ($uploadallowed)} {/if}
{foreach name='icons' from=$iconlist item='icon'} {strip} {if ($uploadallowed)} {/if} {/strip} {/foreach}
{if !$zipallowed}
<#ADMIN_ICONS_ZIP_TIP#> {* Tip: Enable ZIP support in PHP to allow ZIP files with several images to be uploaded. *}
{else}
{/if}