Пример #1
0
<?php

/**
 * @package   	JCE
 * @copyright 	Copyright (c) 2009-2013 Ryan Demmer. All rights reserved.
 * @license   	GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * JCE is free software. 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');
require_once dirname(__FILE__) . '/classes/table.php';
$plugin = new WFTablesPlugin();
$plugin->execute();
Пример #2
0
<?php

/**
 * @package   	JCE
 * @copyright 	Copyright (c) 2009-2012 Ryan Demmer. All rights reserved.
 * @license   	GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * JCE is free software. 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');
$plugin = WFTablesPlugin::getInstance();
$tabs = WFTabs::getInstance();
?>
<form onsubmit="return false;">
	<?php 
echo $tabs->render();
?>
	<div class="mceActionPanel">
	<?php 
if ($plugin->getContext() == 'cell') {
    ?>
	<div>
		<select id="action" name="action">
			<option value="cell"><?php 
    echo WFText::_('WF_TABLE_CELL_CELL');
    ?>
</option>
			<option value="row"><?php 
    echo WFText::_('WF_TABLE_CELL_ROW');