/administrator/templates/hathor/html/com_config/application/default_cache.php
PHP | 39 lines | 28 code | 4 blank | 7 comment | 5 complexity | 077e6060bca0ed2b4579ea67c31d95d3 MD5 | raw file
Possible License(s): LGPL-2.1
1<?php 2/** 3 * @package Joomla.Administrator 4 * @subpackage com_config 5 * 6 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10defined('_JEXEC') or die; 11?> 12<div class="width-100"> 13 14<fieldset class="adminform"> 15 <legend><?php echo JText::_('COM_CONFIG_CACHE_SETTINGS'); ?></legend> 16 <ul class="adminformlist"> 17 <?php 18 foreach ($this->form->getFieldset('cache') as $field): 19 ?> 20 <li><?php echo $field->label; ?> 21 <?php echo $field->input; ?></li> 22 <?php 23 endforeach; 24 ?> 25 <?php if (isset($this->data['cache_handler']) && $this->data['cache_handler'] == 'memcache' || $this->data['session_handler'] == 'memcache') : ?> 26 27 <?php 28 foreach ($this->form->getFieldset('memcache') as $mfield): 29 ?> 30 <li><?php echo $mfield->label; ?> 31 <?php echo $mfield->input; ?></li> 32 <?php 33 endforeach; 34 ?> 35 <?php endif; ?> 36 </ul> 37 38</fieldset> 39</div>