echo '<a href="' . JRoute::_(JoomDOCRoute::viewSupport()) . '" title="" >'; echo '<img src="' . JOOMDOC_IMAGES . 'icon-48-help_header.png" alt="" />'; echo '<span>' . JText::_('JOOMDOC_SUPPORT') . '</span>'; echo '</a>'; echo '</div>'; echo '</div>'; echo JHtmlJoomDOC::endTab(); echo JHtmlJoomDOC::endTabs(); echo '</div>'; echo '</div>'; ?> <div class="doc-width-40 fltrt"> <?php echo JHtmlJoomDOC::startSliders('doc-info-pane', 'info-panel'); echo JHtmlJoomDOC::addSlide('doc-info-pane', 'JOOMDOC', 'info-panel'); ?> <table class="adminlist table table-striped"> <tr> <th></td> <td> <?php echo '<a href="' . JRoute::_($data['authorurl']) . '" target="_blank" title="">'; echo '<img src="' . JOOMDOC_IMAGES . 'icon-120-joomdoc.png" alt="" />'; ?> </a> </td> </tr> <tr>
$js[] = 'function submitform(pressbutton){Joomla.submitbutton(pressbutton);}'; $document->addScriptDeclaration(PHP_EOL . implode(PHP_EOL, $js) . PHP_EOL); echo '<form action="' . JRoute::_(JoomDOCRoute::saveLicense($this->license->id)) . '" method="post" name="adminForm" id="item-form" class="form-validate">'; echo '<div class="fltlft col"><fieldset class="adminform"><legend>' . JText::_('JOOMDOC_DOCUMENT') . '</legend><table class="admintable">'; echo '<tr><td class="key">' . $this->form->getLabel('title') . '</td><td>' . $this->form->getInput('title') . '</td></tr>'; echo '<tr><td class="key">' . $this->form->getLabel('alias') . '</td><td>' . $this->form->getInput('alias') . '</td></tr>'; echo '<tr><td class="key">' . $this->form->getLabel('default') . '</td><td>' . $this->form->getInput('default') . '</td></tr>'; echo '<tr><td class="key">' . $this->form->getLabel('state') . '</td><td>' . $this->form->getInput('state') . '</td></tr>'; echo '</table><div class="clr"></div>'; echo $this->form->getLabel('text') . '<div class="clr"></div>'; echo JoomDOCAccess::licenses() ? $this->form->getInput('text') : $this->form->getValue('text'); echo '<div class="clr"></div></fieldset></div>'; if ($this->license->id) { echo '<div class="fltlft col">'; require_once JOOMDOC_ADMINISTRATOR . '/libraries/joomdoc/html/joomdoc.php'; echo JHtmlJoomDOC::startSliders('license', 'publishing'); echo JHtmlJoomDOC::addSlide('license', 'JOOMDOC_PUBLISHING', 'publishing'); echo '<fieldset class="panelform"><table class="admintable">'; echo '<tr><td class="key">' . $this->form->getLabel('created') . '</td><td>' . $this->date('created') . '</td></tr>'; echo '<tr><td class="key">' . $this->form->getLabel('created_by') . '</td><td>' . $this->form->getInput('created_by') . '</td></tr>'; if ($this->license->modified_by) { echo '<tr><td class="key">' . $this->form->getLabel('modified') . '</td><td>' . $this->date('modified') . '</td></tr>'; echo '<tr><td class="key">' . $this->form->getLabel('modified_by') . '</td><td>' . $this->form->getInput('modified_by') . '</td></tr>'; } echo '</table></fieldset>'; echo JHtmlJoomDOC::endSlide(); echo JHtmlJoomDOC::endSlides(); echo '</div><div class="clr"></div>'; } echo JHtml::_('form.token') . '<input type="hidden" name="task" value="" />'; echo '<input type="hidden" name="return" value="' . JRequest::getCmd('return') . '" /><div class="clr"></div></form>';
foreach ($this->form->getFieldset($name) as $field) { echo '<tr>'; echo '<td class="key">' . $field->label . '</td>'; echo '<td>' . $field->input . '</td>'; echo '</tr>'; } echo '</table>'; echo '</fieldset>'; echo JHtmlJoomDOC::endSlide(); } echo JHtmlJoomDOC::endSlides(); echo '</div>'; echo '<div class="clr"></div>'; if (JoomDOCAccess::admin()) { echo '<div>'; echo JHtmlJoomDOC::startSliders('permissions-sliders-' . $this->document->id, 'access-rules'); echo JHtmlJoomDOC::addSlide('permissions-sliders-' . $this->document->id, 'JOOMDOC_FIELDSET_RULES', 'access-rules'); echo '<fieldset class="panelform">'; echo $this->form->getLabel('rules'); echo $this->form->getInput('rules'); echo '</fieldset>'; echo JHtmlJoomDOC::endSlide(); echo JHtmlJoomDOC::endSlides(); echo '</div>'; } echo '<div>'; echo '<input type="hidden" name="Itemid" value="' . JoomDOCMenu::getMenuItemID($this->form->getValue('path')) . '" />'; echo '<input type="hidden" name="task" value="" />'; echo '<input type="hidden" name="id" value="' . $this->document->id . '" />'; echo '<input type="hidden" name="option" value="' . JOOMDOC_OPTION . '" />'; echo '<input type="hidden" name="return" value="' . JRequest::getCmd('return') . '" />';