/** * TuiyoViewTuiyo::showFieldsManager() * Shows a custom fields manager * @param mixed $data * @return */ public function showFieldsManager($data = null) { $TMPL = $GLOBALS["API"]->get("document"); $TMPL->IconPath = $iconPath; //Google Analytics stats $GAPI = TuiyoLoader::loadAPI(); $tmplVars = array("styleDir" => $livestyle, "livePath" => TUIYO_LIVE_PATH, "iconPath" => TUIYO_LIVE_PATH . '/client/default/', "user" => JFactory::getUser()); $tmplPath = JPATH_COMPONENT_ADMINISTRATOR . DS . "views" . DS . "tuiyo" . DS . "tmpl"; $tmplData = $TMPL->parseTmpl("customfields", $tmplPath, $tmplVars); return $tmplData; }