예제 #1
0
파일: edit.php 프로젝트: madseller/coperio
                <?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));
?>
예제 #2
0
파일: edit.php 프로젝트: sulicz/JINC_J30
    
    <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);
예제 #3
0
파일: edit.php 프로젝트: madseller/coperio
            <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>