function make() { $tpl = new wproTemplate(); $tpl->templates = $this->template->templates; $tpl->bulkAssign(array('selected' => $this->selected, 'options' => $this->options, 'label' => $this->label, 'UID' => 'ddUI' . $this->uid, 'onChange' => $this->onChange)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UIDropDown.tpl.php'); if ($this->uid == 1) { $output = '<script type="text/javascript" src="core/js/wproUISelect_src.js"></script>' . $output; } return $output; }
function make() { $tpl = new wproTemplate(); $tpl->templates = $this->template->templates; $tpl->bulkAssign(array('name' => $this->name, 'color' => $this->color, 'UID' => 'cpUI' . $this->uid, 'onChange' => $this->onChange, 'showInput' => $this->showInput, 'accessKey' => $this->accessKey)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UIColorPicker.tpl.php'); if ($this->uid == 1) { $output = '<script type="text/javascript" src="core/js/wproUIColorPicker_src.js"></script>' . $output; } return $output; }
function make() { global $DIALOG, $EDITOR; $tpl = new wproTemplate(); $tpl->templates = $this->template->templates; $tpl->bulkAssign(array('headContent' => &$DIALOG->headContent, 'EDITOR' => &$EDITOR, 'name' => $this->name, 'UID' => 'irUI' . $this->uid, 'options' => $this->options, 'onChange' => $this->onChange, 'selected' => $this->selected, 'width' => $this->width, 'height' => $this->height)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UIImageRadio.tpl.php'); if ($this->uid == 1) { $output = '<script type="text/javascript" src="core/js/wproUIImageRadio_src.js"></script>' . $output; } return $output; }
function make() { $tpl = new wproTemplate(); $tpl->templates = $this->template->templates; $tpl->bulkAssign(array('nodes' => $this->nodes, 'UID' => 'treeUI' . $this->uid, 'editorURL' => $this->template->editorURL, 'themeURL' => $this->template->themeURL, 'width' => $this->width, 'height' => $this->height)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UITree.tpl.php'); if ($this->uid == 1) { $this->template->addOutputFilter('wproTemplate_UITree_outputfilter'); $output = '<script type="text/javascript" src="core/js/COOLjsTreePro/cooltreepro.js"></script> <script type="text/javascript" src="core/js/COOLjsTreePro/tree_format.js"></script>' . $output; } return $output; }
function make() { // close any unclosed tabs /*$o = array_reverse($this->options); foreach ($o as $k=>$v) { if ($v == '##capture##') { $this->options[$label] = ob_get_contents(); ob_end_clean(); } }*/ $tpl = new wproTemplate(); $tpl->templates = $this->template->templates; $tpl->bulkAssign(array('selected' => $this->selected, 'options' => $this->options, 'attributes' => $this->attributes, 'onswap' => $this->onswap, 'UID' => 'tUI' . $this->uid)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UITabbed.tpl.php'); if ($this->uid == 1) { $output = '<script type="text/javascript" src="core/js/wproUITabbed_src.js"></script>' . $output; } return $output; }
function make() { global $mainframe; $url = wysiwygPro::stripTrailingSlash($mainframe->isAdmin() ? $mainframe->getSiteURL() : JURI::base()); $tpl = new wproTemplate(); //$tpl->templates = $this->template->templates; $tpl->bulkAssign(array('nodes' => $this->nodes, 'UID' => 'treeUI' . $this->uid, 'editorURL' => $url . '/plugins/editors/wysiwygPro3/wysiwygPro/', 'themeURL' => $url . '/plugins/editors/wysiwygPro3/wysiwygPro/themes/default/wysiwygpro/', 'width' => $this->width, 'height' => $this->height)); $output = $tpl->fetch(WPRO_DIR . 'core/tpl/UITree.tpl.php'); //if ($this->uid==1) { $output = '<script type="text/javascript" src="' . $url . '/plugins/editors/wysiwygPro3/wysiwygPro/core/js/COOLjsTreePro/cooltreepro.js"></script> <script type="text/javascript" src="' . $url . '/plugins/editors/wysiwygPro3/wysiwygPro/core/js/COOLjsTreePro/tree_format.js"></script>' . $output; //} return $output; }