function getHTML($id, $page) { $gui = new HTMLGUI(); $gui->VersionCheck("Templates"); $U = new mUserdata(); $U = $U->getUDValue("selectedDomain"); if ($U == null) { $t = new HTMLTable(1); $t->addRow("Sie haben keine Domain ausgewählt.<br /><br />Bitte wählen Sie eine Domain im Domain-Plugin, indem Sie auf das graue Kästchen in der Liste auf der rechten Seite klicken."); return $t->getHTML(); } $this->addAssocV3("TemplateDomainID", "=", $U); $this->addAssocV3("TemplateDomainID", "=", "0", "OR"); $this->addOrderV3("templateType", "ASC"); #if($this->A == null) $this->lCV3($id); $gui->showFilteredCategoriesWarning($this->filterCategories(), $this->getClearClass()); $gesamt = $this->loadMultiPageMode($id, $page, 0); $gui->setMultiPageMode($gesamt, $page, 0, "contentRight", str_replace("GUI", "", get_class($this))); $gui->setName("Template"); if ($this->collector != null) { $gui->setAttributes($this->collector); } $gui->setShowAttributes(array("aktiv", "name")); $gui->setParser("aktiv", "TemplatesGUI::aktivParser", array("\$aid")); $gui->setColWidth("aktiv", "20px"); $gui->setDisplayGroup("templateType", $this->getAvailableCategories()); $gui->setCollectionOf($this->collectionOf); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { } }
function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("mNavigation"); $U = new mUserdata(); $U = $U->getUDValue("selectedDomain"); if ($U == null) { $t = new HTMLTable(1); $t->addRow("Sie haben keine Domain ausgewählt.<br /><br />Bitte wählen Sie eine Domain im Domain-Plugin, indem Sie auf das graue Kästchen in der Liste auf der rechten Seite klicken."); return $t->getHTML(); } $this->addOrderV3("DomainID", "ASC"); $this->addOrderV3("sort", "ASC"); if ($U != null) { $this->addAssocV3("DomainID", "=", "{$U}"); } if ($this->A == null) { $this->lCV3($id); } $gui->setName(get_parent_class($this)); if ($this->collector != null) { $gui->setAttributes($this->collector); } $gui->setDisplayGroup("DomainID"); $gui->setDisplayGroupParser("mNavigationGUI::DGParser"); $gui->setShowAttributes(array("name", "sort")); $gui->setCollectionOf($this->collectionOf); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { } }
public function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("mFhem"); $this->lCV3($id); $gui->setName("Server"); $gui->setObject($this); $gui->setShowAttributes(array("FhemServerName")); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { } }
public function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("mStarsystem"); $this->lCV3($id); $gui->setName("Starsystem"); $gui->setObject($this); $gui->hideAttribute("StarsystemID"); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { } }
public function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck($this->getClearClass()); $t = new HTMLTable(2, $this->tableLabel); $t->addColStyle(1, "width:20px;"); $FB = new FileBrowser(); $FB->addDir($this->directory); $w = $FB->getAsLabeledArray("iFileBrowser", ".class.php"); foreach ($w as $k => $v) { $B = new Button("", "./images/i2/edit.png"); $B->type("icon"); $B->onclick("contentManager.loadFrame('contentLeft','{$v}');"); $t->addRow(array($B, "{$k}")); } return $t->getHTML(); }
public function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("mTool"); $FB = new FileBrowser(); $FB->addDir("../PM/GoD"); $files = $FB->getAsLabeledArray("iPMTool", ".class.php", true); $tab = new HTMLTable(2, "Tools"); $tab->setColWidth(1, "20px"); foreach ($files as $key => $value) { $B = new Button("", "./images/i2/edit.png"); $B->type("icon"); $B->onclick("loadFrameV2('contentLeft','{$value}');"); $tab->addRow(array($B, $key)); } return $tab; }
function getHTML($id) { if ($this->A == null) { $this->lCV3($id); } $gui = new HTMLGUI(); $gui->VersionCheck("Domains"); $gui->setObject($this); $gui->setName("Domains"); #if($this->collector != null) $gui->setAttributes($this->collector); $gui->setShowAttributes(array("url")); $gui->setCollectionOf($this->collectionOf); $gui->setParser("url", "DomainsGUI::urlParser", array("\$aid")); $gui->customize($this->customizer); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { } }
function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("mWebsite"); $Dom = new anyC(); $Dom->setCollectionOf("Domain"); $U = new mUserdata(); $U = $U->getUDValue("selectedDomain"); if ($U == null) { $html = "\n\t\t\t<ul>"; while ($d = $Dom->getNextEntry()) { $html .= "\n\t\t\t\t<li>" . $d->A("title") . "</li>"; } $html .= "\n\t\t\t</ul>"; return $html; } $D = new Domain($U); $html = "\n\t\t<script type=\"text/javascript\">Website.init();</script>"; $html .= "\n\t\t\t<div style=\"border-left-width:1px;border-left-style:solid;padding-left:10px;\" class=\"borderColor1\">\n\t\t\t<p>\n\t\t\t\t<b>" . $D->A("title") . "</b>\n\t\t\t</p>\n\t\t\t<ul style=\"list-style-image:none;list-style-type:none;\" >\n\t\t\t\t<li><img style=\"float:left;margin-right:10px;\" src=\"./images/i2/new.gif\" onclick=\"contentManager.newClassButton('Navigation','');\" class=\"mouseoverFade\"/> Neues Menüelement erstellen</li>\n\t\t\t</ul>" . $this->getNav(0, $U) . "</div>"; $html .= "\n\t\t<script type=\"text/javascript\">Website.start();</script>"; return $html; }
function getHTML($id) { $gui = new HTMLGUI(); $gui->VersionCheck("Seiten"); $U = new mUserdata(); $U = $U->getUDValue("selectedDomain"); if ($U == null) { $t = new HTMLTable(1); $t->addRow("Sie haben keine Domain ausgewählt.<br /><br />Bitte wählen Sie eine Domain im Domain-Plugin, indem Sie auf das graue Kästchen in der Liste auf der rechten Seite klicken."); return $t->getHTML(); } $this->addOrderV3("TemplateID"); $this->addOrderV3("SeiteID"); if ($U != null) { $this->addAssocV3("DomainID", "=", $U); } $this->addAssocV3("DomainID", "=", "0", "OR"); if ($this->A == null) { $this->lCV3($id); } $gui->setName("Seite"); $gui->setObject($this); $gui->setShowAttributes(array("SeiteID", "name")); $gui->setJSEvent("onNew", "function() { contentManager.reloadFrameRight(); }"); $gui->addColStyle("SeiteID", "width:40px;text-align:right;"); $gui->setParser("name", "SeitenGUI::nameParser", array("\$aid", "\$header")); $gui->setDisplayGroup("TemplateID"); $gui->setDisplayGroupParser("SeitenGUI::DGParser"); $gui->setCollectionOf($this->collectionOf); $gui->customize($this->customizer); try { return $gui->getBrowserHTML($id); } catch (Exception $e) { print_r($e); } }