Ejemplo n.º 1
0
<?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&amp;type=config';
JCEHelper::quickiconButton($link, 'icon-48-config.png', JText::_('Configuration'));
$link = 'index.php?option=com_jce&amp;type=plugin';
JCEHelper::quickiconButton($link, 'icon-48-plugin.png', JText::_('Plugins'));
$link = 'index.php?option=com_jce&amp;type=group';
JCEHelper::quickiconButton($link, 'icon-48-user.png', JText::_('Groups'));
$link = 'index.php?option=com_jce&amp;type=install';
JCEHelper::quickiconButton($link, 'icon-48-install.png', JText::_('Install'));
?>
</div>
        <div class="clr"></div>
        </td>
    </tr>
	<tr>
    	<td>
Ejemplo n.º 2
0
<?php

defined('_JEXEC') or die('Restricted access');
JHTML::script('sortables.js', 'administrator/components/com_jce/js/');
JHTML::stylesheet('styles.css', 'administrator/components/com_jce/css/');
JHTML::stylesheet('icons.css', 'administrator/components/com_jce/css/');
JHTML::stylesheet('layout.css', 'administrator/components/com_jce/css/');
JToolBarHelper::title(JText::_('JCE Group') . ': <small><small>[' . JText::_('Edit') . ']</small></small>', 'user.png');
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel('cancelEdit', 'Close');
jceToolbarHelper::help('groups');
// clean item data
JFilterOutput::objectHTMLSafe($this->group, ENT_QUOTES, '');
?>
<script type="text/javascript">
	window.addEvent('domready', function(){
		$ES('h3.jpane-toggler-down').removeClass('jpane-toggler-down').addClass('jpane-toggler');
		new Sortables('.sortableList', {revert: true, 
			onComplete : function(el){
				var state = el.getParent().id == 'groupLayout';
				$ES('li.sortableItem', el).each(function(c){
					setParams(c.id, state);	
				});			
			}
		});
		new Sortables('.sortableRow', {revert: true, 
			onComplete : function(el){
				var state = $ES('.sortableItem', $('groupLayout')).contains(el);
				setParams(el.id, state);			
			}
Ejemplo n.º 3
0
<?php

defined('_JEXEC') or die('Restricted access');
?>

<?php 
JHTML::_('behavior.tooltip');
?>

<?php 
JToolBarHelper::title(JText::_('JCE Plugin') . ': <small><small>[' . JText::_('Edit') . ']</small></small>', 'plugin.png');
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel('cancelEdit', 'Close');
jceToolbarHelper::help('plugins.edit');
?>

<?php 
// clean item data
JFilterOutput::objectHTMLSafe($this->plugin, ENT_QUOTES, '');
?>

<?php 
$this->plugin->nameA = '';
if ($this->plugin->id) {
    $row->nameA = '<small><small>[ ' . $this->plugin->name . ' ]</small></small>';
}
$icon_disabled = $this->plugin->row == '0' ? ' disabled="disabled"' : '';
$layout_disabled = $this->plugin->row == '0' ? ' disabled="disabled"' : '';
?>
<script language="javascript" type="text/javascript">
Ejemplo n.º 4
0
<?php 
JHTML::_('behavior.tooltip');
JHTML::stylesheet('icons.css', 'administrator/components/com_jce/css/');
?>

<?php 
JToolBarHelper::title(JText::_('Plugin Manager'), 'plugin.png');
JToolBarHelper::publishList();
JToolBarHelper::unpublishList();
JToolBarHelper::addNew('add', JText::_('New Plugin'));
JToolBarHelper::custom('manage', 'upload.png', 'upload_f2.png', JText::_('Install'), false);
//jceToolbarHelper::popup( JText::_( 'Editor Layout' ), 'move', 'plugin', 'layout' );
//JToolBarHelper::custom( '', 'refresh.png', 'refresh_f2.png', JText::_( 'Refresh List' ), false );
JToolBarHelper::cancel('cancel', JText::_('Close'));
jceToolbarHelper::help('plugins');
$rows =& $this->items;
?>
<form action="index.php" method="post" name="adminForm">
<table>
	<tr>
		<td align="left" width="100%">
			<?php 
echo JText::_('Filter');
?>
:
			<input type="text" name="search" id="search" value="<?php 
echo $this->lists['search'];
?>
" class="text_area" onchange="document.adminForm.submit();" />
			<button onclick="this.form.submit();"><?php 
Ejemplo n.º 5
0
* @version		$Id: default.php 102 2009-06-21 19:20:52Z happynoodleboy $
* @package		JCE
* @copyright	Copyright (C) 2009 Ryan Demmer. All rights reserved.
* @license		GNU/GPL
* This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.tooltip');
JToolBarHelper::title(JText::_('JCE Configuration'), 'config.png');
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel('cancel', JText::_('Close'));
jceToolbarHelper::help('config');
?>
<form action="index.php" method="post" name="adminForm">
    <div class="col width-50">
            <table class="admintable">
                <tr>
                	<td style="vertical-align:top;">
                	<fieldset class="adminform">
                		<legend><?php 
echo JText::_('Setup');
?>
</legend>
                		<?php 
if ($output = $this->params->render('params', 'setup')) {
    echo $output;
} else {