Esempio n. 1
0
if ($this->user->get('gid') > 24) {
    $link = 'index.php?option=com_eventlist&controller=settings&task=edit';
    EventListViewEventList::quickiconButton($link, 'icon-48-settings.png', JText::_('SETTINGS'));
    $link = 'index.php?option=com_eventlist&view=editcss';
    EventListViewEventList::quickiconButton($link, 'icon-48-cssedit.png', JText::_('EDIT CSS'));
    $link = 'index.php?option=com_eventlist&view=cleanup';
    EventListViewEventList::quickiconButton($link, 'icon-48-housekeeping.png', JText::_('CLEANUP'));
}
$link = 'index.php?option=com_eventlist&view=help';
EventListViewEventList::quickiconButton($link, 'icon-48-help.png', JText::_('HELP'));
$link = 'index.php?option=com_eventlist&view=updatecheck';
EventListViewEventList::quickiconButton($link, 'icon-48-update.png', JText::_('UPDATE CHECK'), 1);
$link = 'index.php?option=com_eventlist&controller=sampledata&task=load';
EventListViewEventList::quickiconButton($link, 'icon-48-sampledata.png', JText::_('LOAD SAMPLE DATA'));
$link = 'index.php?option=com_eventlist&view=import';
EventListViewEventList::quickiconButton($link, 'icon-48-sampledata.png', JText::_('IMPORT DATA'));
?>
						</div>
					</td>
				</tr>
			</table>
			</td>
			<td valign="top" width="320px" style="padding: 7px 0 0 5px">
			<?php 
$title = JText::_('EVENT STATS');
echo $this->pane->startPane('stat-pane');
echo $this->pane->startPanel($title, 'events');
?>
				<table class="adminlist">
					<tr>
						<td>
Esempio n. 2
0
EventListViewEventList::quickiconButton($link, 'icon-48-archive.png', JText::_('ARCHIVESCREEN'));
//only admins should be able to see this items
if ($this->user->get('gid') > 24) {
    $link = 'index.php?option=' . $option . '&amp;controller=settings&amp;task=edit';
    EventListViewEventList::quickiconButton($link, 'icon-48-settings.png', JText::_('SETTINGS'));
    $link = 'index.php?option=' . $option . '&amp;view=editcss';
    EventListViewEventList::quickiconButton($link, 'icon-48-cssedit.png', JText::_('EDIT CSS'));
    $link = 'index.php?option=' . $option . '&amp;view=cleanup';
    EventListViewEventList::quickiconButton($link, 'icon-48-housekeeping.png', JText::_('CLEANUP'));
}
$link = 'index.php?option=' . $option . '&amp;view=help';
EventListViewEventList::quickiconButton($link, 'icon-48-help.png', JText::_('HELP'));
$link = 'index.php?option=' . $option . '&amp;view=updatecheck';
EventListViewEventList::quickiconButton($link, 'icon-48-update.png', JText::_('UPDATE CHECK'), 1);
$link = 'index.php?option=' . $option . '&amp;controller=sampledata&amp;task=load';
EventListViewEventList::quickiconButton($link, 'icon-48-sampledata.png', JText::_('LOAD SAMPLE DATA'));
?>
						</div>
					</td>
				</tr>
			</table>
			</td>
			<td valign="top" width="320px" style="padding: 7px 0 0 5px">
			<?php 
$title = JText::_('EVENT STATS');
echo $this->pane->startPane('stat-pane');
echo $this->pane->startPanel($title, 'events');
?>
				<table class="adminlist">
					<tr>
						<td>