Beispiel #1
0
}
?>
            </ul>

            <?php 
echo $this->form->getLabel('body');
?>
            <div class="clr"></div>

            <?php 
$jeditor = new JINCEditor('jform[body]');
$jeditor->content = $this->item->body;
if (!empty($this->item->tem_id)) {
    $jeditor->setTemplate($this->item->tem_id);
}
echo $jeditor->display();
?>
        </fieldset>
    </div>

    <div class="width-40 fltrt">

        <?php 
echo JHtml::_('sliders.start', 'jinc-sliders-' . $this->item->id, array('useCookie' => 1));
?>

        <?php 
echo JHtml::_('sliders.panel', JText::_('COM_JINC_BASIC_OPTIONS'), 'basic-options');
?>
        <fieldset class="adminform">
            <ul class="adminformlist">
Beispiel #2
0
    echo '<li>' . $this->form->getLabel($value) . $this->form->getInput($value) . '</li>' . "\n";
}
?>
            </ul>
            <?php 
echo $this->form->getLabel('body');
?>
            <div class="clr"></div>
            <?php 
jincimport('utility.jinceditor');
$editor_helper = new JINCEditor('jform[body]');
$editor_helper->content = $this->item->body;
if (!$isNew) {
    $editor_helper->setTemplate($this->item->id);
}
echo $editor_helper->display();
?>
        </fieldset>
    </div>

    <div class="width-40 fltrt">
        <fieldset class="adminform">
            <legend><?php 
echo JText::_('COM_JINC_EDIT_CSS');
?>
</legend>

            <?php 
if (!$isNew) {
    ?>
                <?php