/administrator/templates/hathor/html/com_config/application/default_cache.php

https://bitbucket.org/eternaware/joomus · PHP · 39 lines · 28 code · 4 blank · 7 comment · 5 complexity · 077e6060bca0ed2b4579ea67c31d95d3 MD5 · raw file

  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. defined('_JEXEC') or die;
  10. ?>
  11. <div class="width-100">
  12. <fieldset class="adminform">
  13. <legend><?php echo JText::_('COM_CONFIG_CACHE_SETTINGS'); ?></legend>
  14. <ul class="adminformlist">
  15. <?php
  16. foreach ($this->form->getFieldset('cache') as $field):
  17. ?>
  18. <li><?php echo $field->label; ?>
  19. <?php echo $field->input; ?></li>
  20. <?php
  21. endforeach;
  22. ?>
  23. <?php if (isset($this->data['cache_handler']) && $this->data['cache_handler'] == 'memcache' || $this->data['session_handler'] == 'memcache') : ?>
  24. <?php
  25. foreach ($this->form->getFieldset('memcache') as $mfield):
  26. ?>
  27. <li><?php echo $mfield->label; ?>
  28. <?php echo $mfield->input; ?></li>
  29. <?php
  30. endforeach;
  31. ?>
  32. <?php endif; ?>
  33. </ul>
  34. </fieldset>
  35. </div>