</legend>
        <table>
            <tr><td><?php 
echo JText::_('GROUPS LAYOUT DESC');
?>
</td></tr>
            <tr>
                <td>
                <fieldset>
                <legend><?php 
echo JText::_('GROUP AVAILABLE BUTTONS');
?>
</legend>
                <div class="sortableList">
                <?php 
$rows = JCEGroupsHelper::getRowArray($this->group->rows);
$spacer = file_exists(JPATH_PLUGINS . DS . 'editors' . DS . 'jce' . DS . 'tiny_mce' . DS . 'themes' . DS . 'advanced' . DS . 'img' . DS . 'spacer.gif');
for ($i = 1; $i <= 5; $i++) {
    ?>
                    <div class="sortableListDiv">
                        <span class="sortableListSpan" style="width:<?php 
    echo $this->params->get('editor_width', '600');
    ?>
px;">
                        <ul class="sortableRow">
                        	<?php 
    if ($spacer) {
        if ($i == 5) {
            for ($x = 1; $x <= 10; $x++) {
                ?>
										<li class="sortableItem spacer"><img src="../plugins/editors/jce/tiny_mce/themes/advanced/img/spacer.gif" alt="<?php 
Exemple #2
0
 if ($params->getNumParams('access')) {
     if ($output = $params->render('params', 'access')) {
         echo $pane->startPanel(JText::_('PERMISSIONS'), $name . "-access-page");
         echo $output;
         echo $pane->endPanel();
     }
 }
 if ($params->getNumParams('advanced')) {
     if ($output = $params->render('params', 'advanced')) {
         echo $pane->startPanel(JText::_('ADVANCED'), $name . "-advanced-page");
         echo $output;
         echo $pane->endPanel();
     }
 }
 if (JFolder::exists($path . DS . 'extensions')) {
     $extensions = JCEGroupsHelper::getExtensions($plugin->name);
     foreach ($extensions as $extension) {
         // Load extension xml file
         $file = $path . DS . 'extensions' . DS . $extension->folder . DS . $extension->extension . '.xml';
         // Load extension language file
         $lang =& JFactory::getLanguage();
         $lang->load('com_jce_' . trim($name) . '_' . trim($extension->extension), JPATH_SITE);
         if (JFile::exists($file)) {
             $params = new JParameter($this->group->params, $file);
             if ($params->getNumParams()) {
                 if ($output = $params->render('params')) {
                     echo $pane->startPanel(JText::_($extension->name), $extension->extension . "-extension-page");
                     echo $output;
                     echo $pane->endPanel();
                 }
             }