<?php $view->extend('::wicms.html.php') ?>

<?php $this->addGlobal('menuIsActive', $view['router']->path('wi_admin_core_cache_index')); ?>
<?php $view['slots']->set('title', $view['translator']->trans('cache.meta.title', [], 'cache')); ?>

<?php $view['slots']->start('stylesheets') ?>
<link rel="stylesheet" href="<?php echo $view['assets']->getUrl('media/Admin/WiCMS3/css/cache.css') ?><?php echo $view['config']->getParameter('vStyle'); ?>">
<?php $view['slots']->stop() ?>

<?php $view['slots']->start('breadcrumbs') ?>
<li>
    <?php echo $view['translator']->trans('main-menu.configuration.title'); ?>
</li>
<li><a href="<?php echo $view['router']->path('wi_admin_core_cache_index'); ?>"><?php echo $view['translator']->trans('breadcrumbs.cache', [], 'cache'); ?></a></li>
<?php $view['slots']->stop() ?>

<?php $view['slots']->start('titleSite') ?>
<?php echo $view['translator']->trans('cache.title', [], 'cache'); ?>
<?php $view['slots']->stop() ?>
<?php $view['slots']->start('titleIcon') ?>
<i class="icon-desktop color-menu-configuration"></i>
<?php $view['slots']->stop() ?>
<?php $view['slots']->start('helpRightPanel') ?>
<?php $view['slots']->stop() ?>

<?php $view['slots']->start('body'); ?>
<?php echo $view['form']->start($form); ?>
    <div class="box">
        <div class="box-header bg-transparent">
            <!-- tools box -->
            <h3 class="box-title"><i class="icon-desktop"></i>
                <span><?php echo $view['translator']->trans('cache.title', [], 'cache'); ?></span>
            </h3>
        </div>
        <div class="box-body " style="display: block;">
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.enableCache.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.enableCache.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div>
                        <?php echo $view['form']->widget($form['cache_enable']); ?>
                    </div>
                </div>
            </div>
            <hr>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.pageLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.pageLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_lifetimePage']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_lifetimePage'], [
                        'attr' => [
                            'class' => $form['cache_lifetimePage']->vars['attr']['class'] . (! $form['cache_lifetimePage']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.newsLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.newsLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_lifetimeNews']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_lifetimeNews'], [
                        'attr' => [
                            'class' => $form['cache_lifetimeNews']->vars['attr']['class'] . (! $form['cache_lifetimeNews']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.newsListLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.newsListLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_lifetimeNewsList']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_lifetimeNewsList'], [
                        'attr' => [
                            'class' => $form['cache_lifetimeNewsList']->vars['attr']['class'] . (! $form['cache_lifetimeNewsList']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <hr>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.imageEnable.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.imageEnable.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div>
                        <?php echo $view['form']->widget($form['cache_imageEnable']); ?>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.imageLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.imageLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_imageLifetime']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_imageLifetime'], [
                        'attr' => [
                            'class' => $form['cache_imageLifetime']->vars['attr']['class'] . (! $form['cache_imageLifetime']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.scriptEnable.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.scriptEnable.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div>
                        <?php echo $view['form']->widget($form['cache_scriptEnable']); ?>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.scriptLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.scriptLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_scriptLifetime']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_scriptLifetime'], [
                        'attr' => [
                            'class' => $form['cache_scriptLifetime']->vars['attr']['class'] . (! $form['cache_scriptLifetime']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.styleEnable.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.styleEnable.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div>
                        <?php echo $view['form']->widget($form['cache_styleEnable']); ?>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.styleLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.styleLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_styleLifetime']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_styleLifetime'], [
                        'attr' => [
                            'class' => $form['cache_styleLifetime']->vars['attr']['class'] . (! $form['cache_styleLifetime']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.docEnable.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.docEnable.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div>
                        <?php echo $view['form']->widget($form['cache_docEnable']); ?>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="large-2 columns">
                    <p><strong><?php echo $view['translator']->trans('cache.docLifetime.title', [], 'cache'); ?></strong>
                        <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('cache.docLifetime.desc', [], 'cache'); ?>"></i>
                    </p>
                </div>
                <div class="large-10 columns">
                    <div class="formAlert">
                        <?php echo $view['form']->errors($form['cache_docLifetime']); ?>
                    </div>
                    <?php echo $view['form']->widget($form['cache_docLifetime'], [
                        'attr' => [
                            'class' => $form['cache_docLifetime']->vars['attr']['class'] . (! $form['cache_docLifetime']->vars['valid'] ? ' callout alert' : null),
                        ],
                    ]); ?> s
                </div>
            </div>
        </div>
        <!-- /.box-header -->
    </div>
<div class="row">
    <div class="columns">
        <button class="button" type="submit" value="<?php echo $view['translator']->trans('Form.send'); ?>">
            <i class="icon-edit"></i>
            <?php echo $view['translator']->trans('Form.send'); ?>
        </button>
    </div>
</div>
<?php echo $view['form']->end($form); ?>
<?php $view['slots']->stop(); ?>

<?php $view['slots']->start('javascript') ?>
<?php $view['slots']->stop() ?>
