<?php // Extid is hidden - only for info if this is an external image (the filename field will be not required) $formArray = array('id', 'subject', 'news_id', 'tem_id'); foreach ($formArray as $value) { echo '<li>' . $this->form->getLabel($value) . $this->form->getInput($value) . '</li>' . "\n"; } ?> </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)); ?>
<div class="row-fluid"> <!-- Begin Content --> <div class="span10 form-horizontal"> <ul class="nav nav-tabs"> <?php $this->printTabHeader('general', 'COM_JINC_DETAILS', true); $this->printTabHeader('attachment', 'COM_JINC_ATTACHMENTS'); ?> </ul> <div class="tab-content"> <!-- Begin Tabs --> <?php $jeditor = new JINCEditor('jform[body]'); $this->printTabBodyGeneralRightCol('general', array(), array('tem_id', 'bulkmail', 'plaintext'), array('body', $jeditor)); $this->printTabBodyFieldset('attachment'); ?> </div> <?php $this->printEditEndForm(); ?> </div> </form> <script type="text/javascript"> function selectTemplate(id) { SqueezeBox.close(); getTemplate(id);
<ul class="adminformlist"> <?php $formArray = array('id', 'name', 'subject'); foreach ($formArray as $value) { 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>