<?php defined('_JEXEC') or die('Restricted access'); ?> <?php JToolBarHelper::title(JText::_('JCE Administration'), 'cpanel.png'); jceToolbarHelper::help('cpanel'); JHTML::stylesheet('icons.css', 'administrator/components/com_jce/css/'); $updater =& JCEUpdater::getInstance(); ?> <table class="admintable"> <tr> <td width="55%" valign="top" colspan="2"> <div id="cpanel"><?php $link = 'index.php?option=com_jce&type=config'; JCEHelper::quickiconButton($link, 'icon-48-config.png', JText::_('Configuration')); $link = 'index.php?option=com_jce&type=plugin'; JCEHelper::quickiconButton($link, 'icon-48-plugin.png', JText::_('Plugins')); $link = 'index.php?option=com_jce&type=group'; JCEHelper::quickiconButton($link, 'icon-48-user.png', JText::_('Groups')); $link = 'index.php?option=com_jce&type=install'; JCEHelper::quickiconButton($link, 'icon-48-install.png', JText::_('Install')); ?> </div> <div class="clr"></div> </td> </tr> <tr> <td>
/** * Uninstall function * @return */ function com_uninstall() { require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_jce' . DS . 'updater.php'; $updater =& JCEUpdater::getInstance(); $updater->removeDB(); $params =& JComponentHelper::getParams('com_jce'); if ($params->get('package')) { $updater->removeEditor(); } }