Esempio n. 1
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("Steuerung");
     $gui->type("poolSteuerungTyp", "select", self::$types);
     return $gui->getEditHTML();
 }
Esempio n. 2
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("phim");
     $gui->optionsEdit(false, false);
     return $gui->getEditHTML();
 }
Esempio n. 3
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("Ausgeblendeter Benutzer");
     $AC = Users::getUsersArray("Bitte auswählen...");
     $gui->label("phimUserHiddenUserID", "Benutzer");
     $gui->type("phimUserHiddenUserID", "select", $AC);
     return $gui->getEditHTML();
 }
Esempio n. 4
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mpoolSteuerung");
     $gui->name("Steuerung");
     $gui->attributes(array("poolSteuerungTyp", "poolSteuerungIP"));
     return $gui->getBrowserHTML($id);
 }
Esempio n. 5
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mRC");
     $gui->name("RC");
     $gui->attributes(array());
     return $gui->getBrowserHTML($id);
 }
Esempio n. 6
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("Tinkerforge");
     #$B = $gui->addSideButton("Master", "new");
     #$B->popup("", "Master", "Tinkerforge", $this->getID(), "readMaster", "", "", "{width:820}");
     $B = $gui->addSideButton("Bricklets", "new");
     $B->popup("", "Bricklets", "Tinkerforge", $this->getID(), "bricklets");
     return $gui->getEditHTML();
 }
Esempio n. 7
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     #$gui->version("mDevice");
     $gui->screenHeight();
     $gui->name("Device");
     $gui->attributes(array("DeviceName"));
     return $gui->getBrowserHTML($id);
 }
Esempio n. 8
0
 public function getHTML($id, $page)
 {
     $this->addOrderV3("GerichtName");
     $this->loadMultiPageMode($id, $page, 20);
     $gui = new HTMLGUIX($this);
     $gui->name("Gericht");
     $gui->screenHeight();
     $gui->attributes(array("GerichtName"));
     try {
         return $gui->getBrowserHTML($id);
     } catch (Exception $e) {
     }
 }
Esempio n. 9
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("Benutzer");
     $AC = Users::getUsersArray("Bitte auswählen...");
     $gui->label("phimUserSystemName", "Windows-Login");
     $gui->label("phimUserUserID", "Benutzer");
     $gui->label("phimUserActive", "Aktiv?");
     $gui->type("phimUserUserID", "select", $AC);
     $gui->type("phimUserActive", "checkbox");
     $gui->type("phimUserToken", "readonly");
     return $gui->getEditHTML();
 }
Esempio n. 10
0
 function getHTML($id)
 {
     if ($this->getID() == -1) {
         $this->loadMeOrEmpty();
         $this->changeA("EinkaufszettelBought", 1);
     }
     $gui = new HTMLGUIX($this);
     $gui->name("Einkaufszettel");
     $gui->attributes(array("EinkaufszettelName", "EinkaufszettelEinkaufszettelKategorieID", "EinkaufszettelImmer", "EinkaufszettelBought"));
     $gui->label("EinkaufszettelImmer", "Immer anzeigen?");
     $gui->label("EinkaufszettelEinkaufszettelKategorieID", "Kategorie");
     $gui->type("EinkaufszettelBought", "hidden");
     $gui->type("EinkaufszettelEinkaufszettelKategorieID", "select", anyC::get("EinkaufszettelKategorie"), "EinkaufszettelKategorieName", "Bitte auswählen...");
     $gui->type("EinkaufszettelImmer", "checkbox");
     return $gui->getEditHTML();
 }
Esempio n. 11
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->colWidth("phimUserActive", 20);
     $gui->name("Benutzer");
     $B = $gui->addSideButton("Zurück", "back");
     $B->loadPlugin("contentRight", "mphim");
     $gui->attributes(array("phimUserActive", "phimUserUserID"));
     $gui->parser("phimUserActive", "parserActive");
     $gui->parser("phimUserUserID", "parserUser");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 12
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     T::load(dirname(__FILE__), "UPnP");
     $gui = new HTMLGUIX($this);
     $gui->version("mUPnP");
     $gui->screenHeight();
     $gui->name("UPnP");
     $gui->attributes(array("UPnPName"));
     $B = $gui->addSideButton("Geräte\nerkennen", "lieferschein");
     $B->popup("", "UPnP-Geräte", "mUPnP", "-1", "discoverNow", array("''", "1"));
     $B = $gui->addSideButton("Remote\nanzeigen", "./fheME/UPnP/remote.png");
     $B->onclick("UPnP.show();");
     $B = $gui->addSideButton("Radio-\nStationen", "./fheME/UPnP/radio.png");
     $B->loadFrame("contentRight", "mUPnPRadioStation");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 13
0
 public function getHTML($id, $page)
 {
     $this->addOrderV3("EinkaufszettelImmer", "DESC");
     $this->addOrderV3("EinkaufszettelTime", "DESC");
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mEinkaufszettel");
     $gui->colWidth("EinkaufszettelImmer", 20);
     $gui->name("Einkaufszettel");
     $gui->parser("EinkaufszettelImmer", "Util::catchParser");
     $gui->attributes(array("EinkaufszettelImmer", "EinkaufszettelName"));
     $B = $gui->addSideButton("EAN\nprüfen", "lieferschein");
     $B->popup("", "EAN prüfen", "mEinkaufszettel", "-1", "checkEANPopup");
     $B = $gui->addSideButton("Kategorien", "manager");
     $B->loadPlugin("contentRight", "mEinkaufszettelKategorie");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 14
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("MailCheck");
     $gui->type("MailCheckPassword", "password");
     $gui->type("MailCheckProtocol", "select", array("imap" => "imap", "pop3" => "pop3"));
     $gui->descriptionField("MailCheckPort", "POP3: 110, IMAP: 143");
     $B = $gui->addSideButton("Mails\nprüfen", "./fheME/MailCheck/check.png");
     $B->popup("", "Mails prüfen", "MailCheck", $this->getID(), "check");
     return $gui->getEditHTML();
 }
Esempio n. 15
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mSystem");
     $gui->name("System");
     $gui->attributes(array());
     $gui->options(true, true, false);
     $B = $gui->addSideButton("Neue\nEinstellung", "new");
     $B->popup("", "Neue Einstellung", "mSystem", "-1", "addSettingPopup");
     $B = $gui->addSideButton("System\nneu starten", "./ubiquitous/System/cog.png");
     $B->doBefore("if(confirm('Das System neu starten?')) %AFTER");
     $B->rmePCR("mSystem", "-1", "reboot");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 16
0
 public static function edit(HTMLGUIX $gui)
 {
     $BC = new Button("Abbrechen", "stop");
     $BC->style("margin:10px;float:right;");
     $BC->onclick("\$j('#popupListEntries .lastSelected').removeClass('lastSelected'); \$j('#popupEditEntry').fadeOut(400, function(){ \$j('#editDetailsm" . $gui->object()->getClearClass() . "').animate({'width':'400px'}, 200, 'swing'); });");
     $gui->addToEvent("onSave", "\$j('#popupListEntries .lastSelected').removeClass('lastSelected'); \$j('#popupEditEntry').fadeOut(400, function(){ \$j('#editDetailsm" . $gui->object()->getClearClass() . "').animate({'width':'400px'}, 200, 'swing', function(){ " . OnEvent::reloadPopup("m" . $gui->object()->getClearClass()) . " }); }); ");
     #$gui->displayMode("popup");
     return $BC . "<div style=\"clear:both;\"></div>" . $gui->getEditHTML();
 }
Esempio n. 17
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("Gruppe");
     $gui->hideLine("phimGruppeMasterUserID");
     $gui->label("phimGruppeMembers", "Mitglieder");
     $gui->parser("phimGruppeMembers", "parserMembers");
     return $gui->getEditHTML();
 }
Esempio n. 18
0
 public function getHTML($id, $page)
 {
     #$this->setParser("JDownloadDate", "");
     $this->addOrderV3("JDownloadDate", "DESC");
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mJD");
     $gui->screenHeight();
     $gui->name("JDownload");
     $gui->attributes(array("JDownloadDate", "JDownloadRenameto"));
     $gui->parser("JDownloadDate", "parserDate");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 19
0
 public function getHTML($id, $page)
 {
     $bps = $this->getMyBPSData();
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mIncoming");
     #$gui->options(true, true, true, true);
     $gui->name("Incoming");
     $gui->attributes(array("IncomingDir"));
     try {
         if ($bps != -1 and isset($bps["edit"])) {
             return $gui->getBrowserHTML($id);
         }
     } catch (Exception $e) {
     }
     $T = new HTMLTable(3, "new episodes");
     $found = $this->findNewEpisodes();
     foreach ($found as $S) {
         foreach ($S as $E) {
             $T->addRow(array($E["name"], $E["season"], $E["episode"]));
         }
     }
     $Tab = new HTMLSideTable("left");
     $B = new Button("Change\ndirectories", "./trinityDB/Incoming/SetFolder.png");
     $B->onclick("contentManager.loadFrame('contentRight', 'mIncoming', -1, 0, 'mIncomingGUI;edit:true');");
     $Tab->addRow($B);
     $B = $Tab->addButton("Rename\ndownloaded", "redo");
     $B->popup("", "Rename downloaded", "mIncoming", "-1", "renameDownloaded", array("'1'"));
     $B = $Tab->addButton("Create move-\nscript", "redo");
     $B->windowRme("mIncoming", "-1", "createMoveScript", array("'0'"));
     $B = $Tab->addButton("Run move-\nscript", "redo");
     $B->windowRme("mIncoming", "-1", "createMoveScript", array("'1'"));
     $B = $Tab->addButton("Prettifyer", "./trinityDB/Incoming/prettify.png");
     $B->loadFrame("contentLeft", "mIncomingPrettify");
     return ($id == -1 ? $Tab : "") . $T;
 }
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mEinkaufszettel");
     $gui->name("Kategorie");
     $gui->attributes(array());
     $B = $gui->addSideButton("Zurück", "back");
     $B->loadPlugin("contentRight", "mEinkaufszettel");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 21
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mOpenWeatherMap");
     $gui->name("Wetter");
     $gui->attributes(array("OpenWeatherMapName"));
     $B = $gui->addSideButton("Einstellungen", "system");
     $B->popup("", "Allgemeine Werte", "mOpenWeatherMap", "-1", "getPopupEinstellungen");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 22
0
 public function getHTML($id, $page)
 {
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mJD");
     $gui->name("DL");
     $gui->attributes(array("JDName"));
     #$B = $gui->addSideButton("Downloads\nRSS feed", "./trinityDB/JD/rss.png");
     #$B->onclick("window.open('./trinityDB/JD/exportRSS.php');");
     $B = $gui->addSideButton("Neuer Download", "new");
     $B->popup("", "Download", "mJD", -1, "downloadPopup");
     $B = $gui->addSideButton("Downloads\nanzeigen", "empty");
     $B->loadFrame("contentRight", "mJDownload");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 23
0
 public function getHTML($id, $page)
 {
     $this->addAssocV3("phimGruppeMasterUserID", "=", Session::currentUser()->getID());
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mphim");
     $gui->name("Gruppe");
     $B = $gui->addSideButton("Zurück", "back");
     $B->loadPlugin("contentRight", "mphim");
     $gui->attributes(array("phimGruppeName"));
     return $gui->getBrowserHTML($id);
 }
 function getHTML($id)
 {
     $BC = new Button("Abbrechen", "stop");
     $BC->style("margin:10px;float:right;");
     $BC->onclick("\$j('#listAP .lastSelected').removeClass('lastSelected'); \$j('#editAP').fadeOut(400, function(){ \$j('#editDetailsTinkerforge').animate({'width':'400px'}, 200, 'swing'); });");
     $gui = new HTMLGUIX($this);
     $gui->name("Bricklet");
     $gui->type("TinkerforgeBrickletTinkerforgeID", "hidden");
     $gui->type("TinkerforgeBrickletType", "select", self::$types);
     $gui->addToEvent("onSave", "\$j('#listAP .lastSelected').removeClass('lastSelected'); \$j('#editAP').fadeOut(400, function(){ \$j('#editDetailsTinkerforge').animate({'width':'400px'}, 200, 'swing', function(){ " . OnEvent::reloadPopup("Tinkerforge") . " }); }); ");
     return $BC . "<div style=\"clear:both;\"></div>" . $gui->getEditHTML();
 }
Esempio n. 25
0
 function getHTML($id)
 {
     $this->makeNewIfNew();
     $gui = new HTMLGUIX($this);
     $gui->name("Device");
     $gui->type("DeviceType", "select", array("Unbekannt", "Smartphone", "Tablet 7 Zoll", "Tablet 10 Zoll", "Desktop"));
     $gui->addFieldEvent("DeviceType", "onchange", "if(this.value == 4) \$j('#editOverview').hide(); else \$j('#editOverview').show();");
     $B = $gui->addSideButton("Browser\nregistrieren", "./plugins/Devices/registerDevice.png");
     $B->onclick("\$j.jStorage.set('phynxDeviceID','" . $this->getID() . "');" . OnEvent::reload("Left"));
     $B = $gui->addSideButton("Übersicht\neinrichten", "./fheME/Overview/fheOverview.png");
     $B->popup("", "Übersicht einrichten", "mfheOverview", "-1", "manage", $this->getID(), "", "{width:800, top:40}");
     $B->id("editOverview");
     if ($this->A("DeviceType") == "4") {
         $B->style("display:none;");
     }
     return $gui->getEditHTML();
 }
Esempio n. 26
0
 function getHTML($id, $page, $frame = null)
 {
     $this->loadMultiPageMode($id, $page);
     $gui = new HTMLGUIX($this);
     $tab = "";
     if (Session::isPluginLoaded("mAdressBuch") and $id == -1) {
         $tab = mAdressBuchGUI::getSelectionMenu($this, $frame, false, true);
     }
     $gui->displayGroup("KategorieID", "AdressenGUI::DGParser");
     $gui->options(true, true, true, true);
     $gui->parser("firma", "mAdresseGUI::parserFirma");
     if ($frame != null) {
         $gui->targetFrame($frame);
     }
     $gui->attributes(array("firma"));
     return $tab . $gui->getBrowserHTML($id);
 }
Esempio n. 27
0
 public function getHTML($id, $page)
 {
     T::load(dirname(__FILE__), "Wecker");
     $this->setParser("WeckerTime", "Util::CLTimeParser");
     $this->addJoinV3("Device", "WeckerDeviceID", "=", "DeviceID");
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mWecker");
     $gui->screenHeight();
     $gui->name("Wecker");
     $gui->attributes(array("DeviceName", "WeckerTime"));
     $gui->colStyle("WeckerTime", "text-align:right;");
     #$B = $gui->addSideButton("Alex,\nsing!", "new");
     #$B->onclick("alex.sing('http://gffstream.ic.llnwd.net/stream/gffstream_w14a', 0, 100)");
     #$B = $gui->addSideButton("Alex,\nstop!", "new");
     #$B->onclick("alex.beQuiet()");
     return $gui->getBrowserHTML($id);
 }
Esempio n. 28
0
 public function getHTML($id, $page)
 {
     $this->addOrderV3("name");
     $this->filterCategories();
     $this->loadMultiPageMode($id, $page, 0);
     $gui = new HTMLGUIX($this);
     $gui->version("mSerie");
     $gui->options(true, true, true, true);
     $gui->name("Serie");
     $gui->attributes(array("name", "sprache"));
     $gui->parser("name", "mSerieGUI::nameParser");
     $Tab = new HTMLSideTable("left");
     $B = new Button("check for\nupdates", "./trinityDB/Serien/Updates.png");
     $B->rmePCR("mSerie", "", "checkUpdates", "", "Popup.display('Updates', transport);");
     $Tab->addRow($B);
     try {
         return ($id == -1 ? $Tab : "") . $gui->getBrowserHTML($id);
     } catch (Exception $e) {
     }
 }
Esempio n. 29
0
 function getHTML($id)
 {
     $gui = new HTMLGUIX($this);
     $gui->name("System");
     $d = $this->types[$this->A("SystemType")];
     $gui->attributes($d->attributes);
     foreach ($d->labels as $k => $b) {
         $gui->label($k, $b);
     }
     $message = "";
     if ($this->A("SystemType") == "ip") {
         if ($this->A("SystemSetting1") == "") {
             $ips = explode(" ", exec("hostname --all-ip-addresses"));
             $this->changeA("SystemSetting1", $ips[0]);
         }
         if ($this->A("SystemSetting3") == "") {
             $gw = shell_exec("ip route | grep default | awk {'print \$3'}");
             $this->changeA("SystemSetting3", $gw);
         }
         if ($this->A("SystemSetting4") == "") {
             $dns = file("/etc/resolv.conf");
             $fdns = "";
             foreach ($dns as $line) {
                 if (strpos($line, "nameserver") === 0) {
                     $fdns = trim(str_replace("nameserver ", "", $line));
                     break;
                 }
             }
             $this->changeA("SystemSetting4", $fdns);
         }
         $B = $gui->addSideButton("Aktuelle\nWerte", "computer");
         $B->popup("", "Aktuelle Werte", "System", $this->getID(), "ipCurrentPopup", "", "", "{width:600}");
         $B = $gui->addSideButton("Aktuelle\nEinstellungen", "computer");
         $B->popup("", "Aktuelle Werte", "System", $this->getID(), "ipSettingsPopup", "", "", "{width:600}");
         $message = "<p class=\"highlight\">Die Änderungen wirken sich erst nach einem Neustart des Systems aus!</p>";
     }
     return $message . $gui->getEditHTML();
 }
Esempio n. 30
0
 public function tip()
 {
     $targetClass = $this->object->getClearClass();
     $this->tip = HTMLGUIX::tipJS($targetClass);
 }