/**
  * Add the page title and toolbar.
  *
  * @since   1.6
  */
 protected function addToolbar()
 {
     JToolbarHelper::title(JText::_('COM_CACHE_CLEAR_CACHE'), 'lightning clear');
     JToolbarHelper::custom('delete', 'delete.png', 'delete_f2.png', 'JTOOLBAR_DELETE', true);
     JToolbarHelper::divider();
     if (JFactory::getUser()->authorise('core.admin', 'com_cache')) {
         JToolbarHelper::preferences('com_cache');
     }
     JToolbarHelper::divider();
     JToolbarHelper::help('JHELP_SITE_MAINTENANCE_CLEAR_CACHE');
     JHtmlSidebar::setAction('index.php?option=com_cache');
     JHtmlSidebar::addFilter('', 'filter_client_id', JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('clientId')));
 }
Beispiel #2
0
 */
// no direct access
defined('_JEXEC') or die;
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
?>

<form action="<?php 
echo JRoute::_('index.php?option=com_cache');
?>
" method="post" name="adminForm" id="adminForm">
	<fieldset id="filter-bar">
		<div class="filter-select fltrt">
			<select name="filter_client_id" class="inputbox" onchange="this.form.submit()">
				<?php 
echo JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('clientId'));
?>
			</select>
		</div>
	</fieldset>
	<div class="clr"> </div>
<table class="adminlist">
	<thead>
		<tr>
			<th class="title" width="10">
				<?php 
echo JText::_('COM_CACHE_NUM');
?>
			</th>
			<th width="20">
				<input type="checkbox" name="checkall-toggle" value="" title="<?php