function display($params) { JHTML::_('behavior.tooltip'); fab_balsamiqViewfab_balsamiq::setToolbar(); ?> <p> </p> <form action="index.php" method="post" name="adminForm" enctype="multipart/form-data"> <div class="col60" style="width:60%;float:left"> <fieldset class="adminform"> <legend><?php echo JText::_('COM_FAB_BALSAMIQ_IMPORT'); ?> </legend> <?php echo $params->render('params', 'details'); ?> </fieldset> </div> <div class="col40" style="width:35%;float:left"> <fieldset class="adminform"> </fieldset> </div> <input type="hidden" name="option" value="com_fab_balsamiq" /> <input type="hidden" name="c" value="cron" /> <input type="hidden" name="task" /> <input type="hidden" name="id" value="0" /> <?php echo JHTML::_('form.token'); echo JHTML::_('behavior.keepalive'); ?> </form> <?php }
/** * Method to display a view. * * @param boolean If true, the view output will be cached * @param array An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}. * * @return JController This object to support chaining. * @since 1.5 */ public function display($cachable = false, $urlparams = false) { require_once JPATH_COMPONENT . DS . 'views' . DS . 'fab_balsamiq' . DS . 'view.html.php'; $params = new JParameter('', JPATH_COMPONENT . DS . 'models' . DS . 'import.xml'); fab_balsamiqViewfab_balsamiq::display($params); }