{strip}
{bithelp}

{tr}System Caching{/tr}

{formfeedback hash=$feedback} {jstabs} {jstab title="Opcode and memory caching"}
{formlabel label="Object Caching"} {forminput} {if !function_exists('apcu_store')}
{tr}The APC-U PHP extension must also be installed.{/tr}
{/if} {if $gBitSystem->isCacheActive()}
{tr}Active{/tr}: APC
{formhelp note="To disable object caching, edit your config_inc.php and add this line define( 'BIT_CACHE_OBJECTS', false );."} {else}
{tr}Disabled{/tr}
{formhelp note="To disable object caching, edit your config_inc.php and add this line define( 'BIT_CACHE_OBJECTS', false );."} {/if} {/forminput}
{/jstab} {jstab title="File Caching"} {legend legend="All Cached Files"}
{forminput} {tr}Clear All Cache{/tr} {formhelp note="This will clear out all cache files in all the directories listed below."} {/forminput}
{foreach from=$diskUsage key=key item=item} {/foreach}
{tr}Cache Area{/tr} {tr}Relative Path{/tr} {tr}Files{/tr} {tr}Size{/tr} {tr}Actions{/tr}
{$item.title} {$item.path|replace:$smarty.const.BIT_ROOT_PATH:""|replace:"//":"/"} {$item.du.count} {$item.du.size|display_bytes} {smartlink ititle=Empty biticon="user-trash" prune=$key}
{/legend} {legend legend="Cached Template Files by Language"} {foreach from=$templates key=key item=item} {/foreach}
{tr}Language{/tr} {tr}Relative Path{/tr} {tr}Files{/tr} {tr}Size{/tr} {tr}Actions{/tr}
{$item.title} {$item.path|replace:$smarty.const.BIT_ROOT_PATH:""|replace:"//":"/"}{$key} {$item.du.count} {$item.du.size|display_bytes} {smartlink ititle="Compile Templates" biticon="edit" compiletemplates=$key}
{/legend} {/jstab} {/jstabs}
{/strip}