当前位置: 首页>>代码示例>>PHP>>正文


PHP Button::popup方法代码示例

本文整理汇总了PHP中Button::popup方法的典型用法代码示例。如果您正苦于以下问题:PHP Button::popup方法的具体用法?PHP Button::popup怎么用?PHP Button::popup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Button的用法示例。


在下文中一共展示了Button::popup方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getOverviewDesktop

 public function getOverviewDesktop($DeviceID)
 {
     $O = anyC::getFirst("fheOverview", "fheOverviewDeviceID", $DeviceID);
     if ($O == null) {
         $F = new Factory("fheOverview");
         $F->sA("fheOverviewDeviceID", $DeviceID);
         $F->sA("fheOverviewDesktop", "{}");
         $ID = $F->store();
         $O = new fheOverview($ID);
     }
     $d = json_decode($O->A("fheOverviewDesktop"));
     $BM = new Button("Desktop bearbeiten", "pen_alt2", "iconicL");
     $BM->style("position:absolute;right:0px;z-index:1000;");
     $BM->popup("", "Desktop bearbeiten", "mfheOverview", "-1", "popupDesktop", array($DeviceID), "", "{hasX: false}");
     echo "\n\t\t\t<div id=\"onfheOverviewPage\"></div>\n\t\t\t<div id=\"OverviewDesktop\" style=\"\">\n\t\t\t\t{$BM}\n\t\t\t";
     $Device = new Device($DeviceID);
     $data = json_decode($O->A("fheOverviewDesktop"));
     foreach ($data as $plugin => $options) {
         try {
             echo $this->pluginShow($Device, $plugin, false, $options);
         } catch (Exception $e) {
         }
     }
     echo "</div>";
     if (isset($d->background)) {
         echo OnEvent::script("\$j('#wrapper').css('background-image', 'url(./specifics/{$d->background})');");
     }
     echo OnEvent::script("\$j('html').css('overflow-y', 'auto');");
     $this->pluginUpdate();
 }
开发者ID:nemiah,项目名称:fheME,代码行数:30,代码来源:mfheOverviewGUI.class.php

示例2: getManagerButtonCustomDir

 public static function getManagerButtonCustomDir($targetClass, $targetID, $subDir, $usePool = false, $fieldDefaultFile = "", $targetFilename = null)
 {
     $args = array("{$subDir}", "'{$targetClass}'", "'{$targetID}'", $usePool ? "1" : "0", "'{$fieldDefaultFile}'");
     if ($targetFilename != null) {
         $args[] = "'{$targetFilename}'";
     }
     $BF = new Button("Dateien", "computer");
     $BF->popup("", "Datei-Manager", "mFile", "", "getPopupManager", $args);
     return $BF;
 }
开发者ID:nemiah,项目名称:trinityDB,代码行数:10,代码来源:mFileGUI.class.php

示例3: getOverviewContent

 public function getOverviewContent()
 {
     $html = "<div class=\"touchHeader\"><span class=\"lastUpdate\" id=\"lastUpdatemGerichtGUI\"></span><p>Essen</p></div>\n\t\t\t<div style=\"padding:10px;overflow:auto;\">";
     $B = new Button("Liste anzeigen", "compass", "touch");
     $B->popup("", "Essen", "mGericht", "-1", "showCurrentList", "", "", "{top:20, width:800, hPosition:'center', blackout:true}");
     $BF = new Button("Gefrierschrank", "hash", "touch");
     $BF->popup("", "Gefrierschrank", "mGericht", "-1", "showCurrentFrozenList", "", "", "{top:20, width:1000, hPosition:'center', blackout:true}");
     $html .= "{$B}{$BF}</div>";
     echo $html;
 }
开发者ID:nemiah,项目名称:fheME,代码行数:10,代码来源:mGerichtGUI.class.php

示例4: getButton

 public static function getButton($ibanField, $bicField, $ktoField = null, $blzField = null)
 {
     $attr = array("'{$ibanField}'", "'{$bicField}'");
     if ($ktoField != null and $blzField != null) {
         $attr[] = "\$j('[name={$ktoField}]').val()";
         $attr[] = "\$j('[name={$blzField}]').val()";
     }
     $B = new Button("IBAN-Rechner", "./images/i2/calc.png", "icon");
     $B->popup("", "IBAN-Rechner", "IBANCalc", "-1", "popup", $attr);
     return $B;
 }
开发者ID:nemiah,项目名称:poolPi,代码行数:11,代码来源:IBANCalcGUI.class.php

示例5: getHistorieData

 public static function getHistorieData($ownerClass, $ownerClassID, HistorieTable $Tab)
 {
     $AC = anyC::get("Todo", "TodoClass", $ownerClass);
     $AC->addAssocV3("TodoClassID", "=", $ownerClassID);
     $AC->addOrderV3("TodoFromDay", "DESC");
     $AC->setLimitV3("10");
     while ($D = $AC->getNextEntry()) {
         $B = new Button("Aktivität anzeigen", "./ubiquitous/Todo/Todo.png", "icon");
         $B->popup("", "Event", "mKalender", "-1", "getInfo", array("'mTodoGUI'", $D->getID(), $D->A("TodoFromDay")));
         $Tab->addHistorie("Aktivität", "./ubiquitous/Todo/Todo.png", $D->A("TodoFromDay"), $D->getOwnerObject()->getCalendarTitle(), $B, $D->A("TodoDescription"), $D->A("TodoCreatorUserID"));
     }
     return true;
 }
开发者ID:nemiah,项目名称:fheME,代码行数:13,代码来源:mTodo.class.php

示例6: getHTML

 function getHTML($id)
 {
     $this->loadMeOrEmpty();
     $gui = new HTMLGUI2();
     $gui->setObject($this);
     $gui->setName("Serie");
     $gui->setShowAttributes(array("name", "sprache", "dir", "lastupdate", "genre", "description", "status", "quality", "RSSFilterID", "altFeedName1", "altFileName1"));
     #$gui->setType("adapter", "hidden");
     #$gui->setType("lastupdate", "readonly");
     #$gui->setType("siteID", "hidden");
     #$gui->setType("url", "hidden");
     $gui->setType("description", "textarea");
     $gui->setLabel("sprache", "Language");
     $gui->setLabel("lastupdate", "Last update");
     $gui->setLabel("RSSFilterID", "RSS feed");
     $gui->setLabel("altFileName1", "alt. file name");
     $gui->setLabel("altFeedName1", "alt. feed name");
     $gui->setFieldDescription("altFileName1", "This is useful if the filenames do not match the full series name. trinityDB will then look for both names on the harddrive. For example 'switch' instead of 'Switch Reloaded'.");
     $gui->setFieldDescription("altFeedName1", "This is useful if the feed names do not match the full series name. trinityDB will then look for both names in the feeds. For example 'Human.Target.2010' instead of 'Human Target (2010)'.");
     $gui->setParser("lastupdate", "SerieGUI::lastUpdateParser");
     $gui->setType("quality", "select");
     $gui->setOptions("quality", array_keys(self::getQualities()), array_values(self::getQualities()));
     $gui->setType("sprache", "select");
     $gui->setOptions("sprache", array("en", "de"), array("english", "deutsch"));
     $gui->setStandardSaveButton($this);
     $gui->insertSpaceAbove("RSSFilterID");
     $gui->selectWithCollection("RSSFilterID", new mRSSFilterGUI(), "RSSFilterName", "none");
     $tab = new HTMLSideTable("right");
     $B = new Button("Download\nepisodes", "./trinityDB/Serien/Updates.png");
     #$B->rmePCR("Serie", $this->ID, "downloadEpisodes", array("'1'"), "Popup.display('Download-Status', transport);");
     $B->popup("", "Download-Status", "Serie", $this->ID, "downloadEpisodes", array("'1'"));
     $S = new Button("Settings", "./images/i2/settings.png");
     $S->type("icon");
     $S->style("float:right;margin-right:-20px;");
     $S->contextMenu("Serie", "download", "Settings");
     $tab->addRow($S . $B);
     $B = new Button("Show\nepisodes", "./trinityDB/Serien/Folge.png");
     $B->onclick("contentManager.loadFrame('contentLeft','mFolge',-1,0,'mFolgeGUI;SerieID:" . $this->getID() . "');");
     $tab->addRow($B);
     #$B = new Button("Find new\nepisodes","./trinityDB/RSSFilter/RSSFilter.png");
     #$B->rmePCR("Serie", $this->ID, "checkRSS", "", "Popup.display('Episoden-Status', transport);");
     #$tab->addRow($B);
     $B = new Button("Check\nepisodes", "okCatch");
     $B->rmePCR("Serie", $this->ID, "checkAllEpisodes", "", "Popup.display('Episoden-Status', transport);");
     $tab->addRow($B);
     $Image = new Button("", DBImageGUI::imageLink("Serie", $this->getID(), "cover", false, true), "icon");
     $Image->style("width:150px;");
     $tab->addRow(array($Image));
     return $tab . $gui->getEditHTML();
 }
开发者ID:nemiah,项目名称:trinityDB,代码行数:50,代码来源:SerieGUI.class.php

示例7: getButtonGlobal

 public static function getButtonGlobal($preset, $label, $icon)
 {
     $ID = -1;
     $LD = self::getU($preset, -1);
     if ($LD != null) {
         $ID = $LD->getID();
     }
     #if($name == "GoogleAccountUserPass")
     #	$preset = "googleData";
     #else
     #	$preset = $name;
     $B = new Button($label, $icon);
     $B->popup("edit", "Benutzerdaten", "LoginData", $ID, "getPopup", "", "LoginDataGUI;preset:{$preset}");
     return $B;
 }
开发者ID:nemiah,项目名称:poolPi,代码行数:15,代码来源:LoginData.class.php

示例8: getButtonU

 public static function getButtonU($name, $label, $icon)
 {
     $LD = self::getU($name);
     if ($LD == null) {
         $ID = -1;
     } else {
         $ID = $LD->getID();
     }
     $preset = "default";
     if ($name == "GoogleAccountUserPass") {
         $preset = "googleData";
     }
     $B = new Button($label, $icon);
     $B->popup("edit", "Benutzerdaten", "LoginData", $ID, "getPopup", "", "LoginDataGUI;preset:{$preset}");
     return $B;
 }
开发者ID:nemiah,项目名称:projectMankind,代码行数:16,代码来源:LoginData.class.php

示例9: getOverviewContent

 public function getOverviewContent($echo = true)
 {
     $html = "";
     $i = 0;
     $header = false;
     $AC = anyC::get("RSSParser", "RSSParserOnCall", "1");
     while ($RSS = $AC->getNextEntry()) {
         if (!$header) {
             $html .= "<div class=\"touchHeader\"><p>RSS</p></div><div style=\"padding:10px;\">";
             $header = true;
         }
         $B = new Button($RSS->A("RSSParserName"), "rss", "touch");
         $B->popup("", $RSS->A("RSSParserName"), "RSSParser", $RSS->getID(), "showFeed");
         $html .= $B;
     }
     if ($header) {
         $html .= "</div>";
     }
     $this->addAssocV3("RSSParserOnCall", "=", "0");
     while ($RSS = $this->getNextEntry()) {
         $html .= "<div class=\"touchHeader\">\n\t\t\t\t<span class=\"lastUpdate\" id=\"lastUpdatemRSSParserGUI\"></span>\n\t\t\t\t<p>" . $RSS->A("RSSParserName") . "</p></div>\n\t\t\t\t\t<div id=\"RSSParserItemText\" class=\"backgroundColor4\" style=\"padding:10px;display:none;font-size:10px;\" onclick=\"\$j(this).hide(); \$j('#RSSParserItemList').show();\">asd</div>\n\t\t\t\t\t<div id=\"RSSParserItemList\" style=\"padding:10px;\">";
         $list = new HTMLList();
         $list->addListStyle("list-style-type:none;");
         $E = $RSS->parseFeed();
         foreach ($E as $item) {
             if ($RSS->A("RSSParserCount") > 0 and $RSS->A("RSSParserCount") <= $i) {
                 break;
             }
             #$B = new Button("", "empty", "icon");
             #
             $B = "";
             if ($item->icon != null) {
                 $B = $item->icon;
                 $B->style($B->getStyle() . "float:left;margin-right:10px;margin-top:-5px;margin-bottom:10px;");
             }
             $list->addItem($B . "<div id=\"RSSParserItem{$i}\" style=\"display:none;\">" . $item->description . "</div>" . ($item->description != "" ? "<a href=\"#\" onclick=\"\$j('#RSSParserItemList').hide(); \$j('#RSSParserItemText').html(\$j('#RSSParserItem{$i}').html()).show();\" >" : "") . $item->title . ($item->description != "" ? "</a>" : ""));
             $list->addItemStyle("clear:both;display:block;margin-left:0px;");
             $i++;
         }
         $html .= $list . "</div>";
     }
     if ($echo) {
         echo $html;
     }
     return $html;
 }
开发者ID:nemiah,项目名称:fheME,代码行数:46,代码来源:mRSSParserGUI.class.php

示例10: getOverviewContent

 public function getOverviewContent($DeviceID)
 {
     $html = "<div class=\"touchHeader\"><span class=\"lastUpdate\" id=\"lastUpdatemNuntiusGUI\"></span><p>Nuntius</p></div>\n\t\t\t<div style=\"padding:10px;overflow:auto;\">";
     $Device = new Device($DeviceID);
     $BS = new Button("Nachricht senden", "comment_alt2_stroke", "touch");
     $BS->popup("", "Nachricht senden", "mNuntius", "-1", "sendMessagePopup", "", "", "{remember: true" . ($Device->A("DeviceType") != "4" ? ", top: 10" : "") . "}");
     $AC = anyC::get("Nuntius");
     $AC->addAssocV3("NuntiusDeviceID", "=", $DeviceID, "AND", "1");
     $AC->addAssocV3("NuntiusDeviceID", "=", "0", "OR", "1");
     $AC->addAssocV3("NuntiusRead", "=", "0", "AND", "2");
     $AC->setFieldsV3(array("COUNT(*) AS anzahl"));
     $N = $AC->getNextEntry();
     if ($N->A("anzahl") == 0) {
         $BM = new Button("Keine Nachrichten", "check", "touch");
         $BM->style("background-color:transparent;");
     } else {
         $BM = new Button($N->A("anzahl") . " Nachricht" . ($N->A("anzahl") == 1 ? "" : "en"), "info", "touch");
         $BM->className("highlight");
     }
     $BM->popup("", "Nachrichten", "mNuntius", "-1", "showMessages", array($DeviceID), "", "{remember: true" . ($Device->A("DeviceType") != "4" ? ", top: 10" : "") . "}");
     $html .= "{$BM}{$BS}</div>";
     echo $html;
 }
开发者ID:nemiah,项目名称:fheME,代码行数:23,代码来源:mNuntiusGUI.class.php

示例11: bricklets

 public function bricklets()
 {
     $BA = new Button("Bricklet\nhinzufügen", "new");
     $BA->doBefore("\$j('#editAP').fadeOut(400, function(){ \$j('#editDetailsTinkerforge').animate({'width':'400px'}, 200, 'swing', function(){ %AFTER }); });");
     $BA->rmePCR("Tinkerforge", $this->getID(), "createNew", "", OnEvent::reloadPopup("Tinkerforge"));
     $BA->style("margin:10px;");
     $TE = new HTMLTable(4, "Bricklets");
     $TE->setColWidth(1, 20);
     $TE->setColWidth(2, 35);
     $TE->setColWidth(4, 20);
     $TE->useForSelection(false);
     $TE->maxHeight(400);
     $TE->weight("light");
     $BE = new Button("Eintrag bearbeiten", "arrow_right", "iconic");
     $autoLoad = false;
     $AC = anyC::get("TinkerforgeBricklet", "TinkerforgeBrickletTinkerforgeID", $this->getID());
     while ($A = $AC->getNextEntry()) {
         $B = new Button("Master", "bars", "iconicL");
         $B->popup("", "Plot", "TinkerforgeBricklet", $A->getID(), "getControls", "", "", "{width:820}");
         $B->style("float:right;");
         $BD = new Button("Eintrag löschen", "trash_stroke", "iconic");
         $BD->doBefore("\$j('#editAP').fadeOut(400, function(){ \$j('#editDetailsTinkerforge').animate({'width':'400px'}, 200, 'swing', function(){ %AFTER }); });");
         $BD->onclick("deleteClass('TinkerforgeBricklet','" . $A->getID() . "', function() { Popup.refresh('Tinkerforge'); },'Eintrag wirklich löschen?');");
         if ($A->A("TinkerforgeBrickletUID") == "") {
             $autoLoad = $A->getID();
         }
         $div = "<span id=\"TinkerforgeBrickletUID" . $A->getID() . "\">" . ($A->A("TinkerforgeBrickletUID") != "" ? $A->A("TinkerforgeBrickletUID") : "Neues Bricklet") . "</span>&nbsp;<br />\n\t\t\t\t\t<small style=\"color:grey;\" id=\"TinkerforgeBrickletType" . $A->getID() . "\">" . ($A->A("TinkerforgeBrickletType") != "" ? TinkerforgeBricklet::$types[$A->A("TinkerforgeBrickletType")] : "") . "</small>";
         $TE->addRow(array($BD, $B, $div, $BE));
         $TE->addCellEvent(3, "click", "contentManager.selectRow(this); \$j('#editDetailsTinkerforge').animate({'width':'800px'}, 200, 'swing', function(){ " . OnEvent::frame("editAP", "TinkerforgeBricklet", $A->getID(), "0", "function(){ \$j('#editAP').fadeIn(); }") . " });");
     }
     if ($AC->numLoaded() == 0) {
         $TE->addRow("Keine Bricklets eingetragen");
         $TE->addRowColspan(1, 3);
     }
     echo "{$BA}\n\t\t\t<div style=\"float:right;width:400px;height:500px;display:none;\" id=\"editAP\"></div>\n\t\t\t<div id=\"listAP\" style=\"width:400px;height:440px;overflow:auto;\">{$TE}</div>\n\t\t\t<div style=\"clear:both;\"></div>\n\t\t\t" . ($autoLoad ? OnEvent::script("\$j('#TinkerforgeBrickletUID" . $autoLoad . "').parent().trigger(Touch.trigger);") : "");
 }
开发者ID:nemiah,项目名称:fheME,代码行数:36,代码来源:TinkerforgeGUI.class.php

示例12: toIcon

 private function toIcon($clickable, $data)
 {
     $icon = OpenWeatherMap::iconPng($data->weather[0]->icon);
     $B = new Button("", "./ubiquitous/OWM/icons48/" . $icon . ".png", "icon");
     if ($clickable) {
         $B->popup("", "Vorhersage", "mOpenWeatherMap", "-1", "all");
     }
     #".($i == 0 ? "Heute" : "Morgen")."
     return "<div style=\"display:inline-block;vertical-align:top;width:49%;margin-top:20px;\"><small style=\"color:grey;\">" . Datum::getGerWeekArray(date("w", $data->dt)) . ", " . date("d", $data->dt) . ".</small><br>\n\t\t\t<b style=\"font-size:15px;font-weight:bold;color:#555;\">" . round($data->temp->min) . " - " . round($data->temp->max) . " °C<br>" . $B . "\n\t\t\t</b>\n\t\t\t</div>";
 }
开发者ID:nemiah,项目名称:fheME,代码行数:10,代码来源:mOpenWeatherMapGUI.class.php

示例13: getButton

 public static function getButton()
 {
     $B = new Button("xCal Konfiguration", "share", "iconicL");
     $B->popup("", "xCal Konfiguration", "mxCal", "-1", "getConfigPopup");
     return $B;
 }
开发者ID:nemiah,项目名称:fheME,代码行数:6,代码来源:xCal.class.php

示例14: getInfo

 function getInfo($time)
 {
     $BE = "";
     $BD = "";
     $BDS = "";
     if ($this->editable != null) {
         if ($this->editable[0] != null) {
             $BE = new Button("Bearbeiten", "edit", "icon");
             $BE->style("margin:10px;float:right;");
             $BE->popup("", "Kalendereintrag bearbeiten", "mKalender", $this->classID, "editInPopup", array("'" . $this->className . "'", $this->classID, "'{$this->editable[0]}'"));
         }
         $BD = new Button("Dieses Event löschen", "trash", "icon");
         $BD->style("float:right;margin:10px;");
         $BD->doBefore("if(confirm('Löschen?')) %AFTER");
         $BD->rmePCR(str_replace("GUI", "", $this->className), $this->classID, $this->editable[1], $this->classID, "contentManager.reloadFrame('contentScreen'); Popup.close('mKalender', 'edit');");
         if ($this->repeat() !== false) {
             $BD->rmePCR(str_replace("GUI", "", $this->className), $this->classID, $this->editable[1], array($this->classID, $time + Kalender::parseTime($this->time) - 60), "contentManager.reloadFrame('contentLeft'); Popup.close('mKalender', 'edit');");
             $BDS = new Button("Alle Events Löschen", "./ubiquitous/Kalender/deleteSeries.png", "icon");
             $BDS->style("float:right;margin:10px;");
             $BDS->doBefore("if(confirm('Löschen?')) %AFTER");
             $BDS->rmePCR(str_replace("GUI", "", $this->className), $this->classID, $this->editable[1], $this->classID, "contentManager.reloadFrame('contentLeft'); Popup.close('mKalender', 'edit');");
         }
     }
     $T = new HTMLTable(2, "Eventdetails");
     $T->setColWidth(1, 120);
     $T->addColStyle(1, "vertical-align:top;");
     $T->addLV("Betreff", $this->title);
     $T->addLV("Tag", Util::CLDateParser($time));
     if (!$this->allDay) {
         $T->addLV("Uhrzeit", $this->formatTime($this->time));
     } else {
         $T->addLV("Uhrzeit", "Ganzer Tag");
     }
     $T->addLV("Details", "<div style=\"max-height:300px;overflow:auto;\">" . $this->summary . "</div>");
     if ($this->organizer) {
         $T->addLV("Organisator", $this->organizer);
     }
     if (count($this->values) > 0) {
         $T->insertSpaceAbove();
     }
     foreach ($this->values as $label => $value) {
         $T->addLV($label, $value);
     }
     $BN = "";
     if ($this->canNotify) {
         // TODO: Entfernen sobald Einladungen funktionieren
         $BN = new Button("Terminbestätigung", "mail" . ($this->notified ? "ed" : ""), "icon");
         $BN->style("margin-top:10px;margin-left:10px;");
         $BN->popup("", "Terminbestätigung", "Util", "-1", "EMailPopup", array("'mKalender'", "-1", "'notification::{$this->className}::{$this->classID}::{$time}'", "'function(){ Kalender.refreshInfoPopup(); }'"));
     }
     $BR = "";
     if ($this->isRepeatable and $this->getException() === false) {
         $BR = new Button("Wiederholungen", "refresh", "icon");
         $BR->style("margin:10px;float:right;");
         $BR->rmePCR("mKalender", "-1", "getRepeatable", array("'{$this->className}'", "'{$this->classID}'", "'{$this->isRepeatable}'"), "function(transport){ \$j('#eventSideContent').html(''); \$j('#editDetailsmKalender').animate({'width':'400px'}, 200, 'swing'); \$j('#eventAdditionalContent').html(transport.responseText).slideDown(); }");
     }
     $BI = new Button("Teilnehmer", "./ubiquitous/Kalender/einladungen.png", "icon");
     $BI->style("margin: 10px; float: right;");
     $BI->rmePCR("mKalender", "-1", "getInvitees", array("'{$this->className}'", "'{$this->classID}'"), "function(t){ \$j('#eventAdditionalContent').html(''); \$j('#editDetailsmKalender').animate({'width':'800px'}, 200, 'swing', function(){ \$j('#eventSideContent').html(t.responseText).fadeIn(); }); }");
     if (!$this->canInvite) {
         $BI = "";
     }
     $closed = "";
     if ($this->closeable) {
         $BC = new Button("Termin abschließen", "bestaetigung", "icon");
         $BC->style("margin: 10px; float: right;");
         $BC->rmePCR("mKalender", "-1", "getClose", array("'{$this->className}'", "'{$this->classID}'"), "function(t){ \$j('#editDetailsContentmKalender').html(t.responseText); }");
         if ($this->closed[0]) {
             $BC = "";
             $closed = "<p>Termin abgeschlossen am " . Util::CLDateParser($this->closed[0]) . ($this->closed[1] != "" ? ":<br>" . nl2br($this->closed[1]) : "") . "</p>";
         }
     }
     $topButtons = "";
     foreach ($this->topButtons as $B) {
         $B->type("icon");
         $B->style("margin-top:10px;margin-left:10px;");
         $topButtons .= $B;
     }
     return "<div style=\"width:400px;\">" . $BDS . $BD . $BE . $BN . $topButtons . $BR . $BI . $BC . $closed . "</div><div style=\"clear:both;\"></div><div style=\"display:none;\" id=\"eventAdditionalContent\"></div><div style=\"display:none;width:400px;float:right;\" id=\"eventSideContent\"></div><div style=\"width:400px;float:left;\" id=\"eventDefaultContent\"{$T}</div>";
 }
开发者ID:nemiah,项目名称:fheME,代码行数:80,代码来源:KalenderEvent.class.php

示例15: addRestrictionParser

 public static function addRestrictionParser($w, $l, $p)
 {
     $deText = array();
     $deText["Umbenennung"] = "Umbenennung";
     $deText["Einschränkung"] = "Einschränkung";
     $deText["Ausblenden"] = "Ausblenden";
     $deText["Plugin"] = "Plugin";
     $ac = new anyC();
     $singularLanguageClass = $ac->loadLanguageClass("Userdata");
     $text = $singularLanguageClass != null ? $singularLanguageClass->getText() : $deText;
     $BA = new Button("Anmeldung", "./plugins/Userdata/login.png");
     $BA->contextMenu("mUserdata", "login", "Anmeldung", "right", "up");
     $BA->style("float:right;");
     $BN = new Button("Einschränkung\nhinzufügen", "restrictions");
     $BN->contextMenu("mUserdata", "1", "Einschränkung", "right", "up");
     $BS = new Button("Plugin-\nspezifisch", "lieferschein");
     $BS->contextMenu("mUserdata", "4", "Plugin-spezifisch", "right", "up");
     $BS->style("float:right;");
     $BP = new Button("Plugin\nausblenden", "tab");
     $BP->contextMenu("mUserdata", "5", "Plugin ausblenden", "right", "up");
     $BR = new Button("Rollen", "./plugins/Userdata/role.png");
     $BR->popup("", "Rollen", "mUserdata", "-1", "rolesPopup", array("lastLoadedLeft"));
     return "<p class=\"highlight\">Achtung: Die möglichen Berechtigungen sind von der geladenen Anwendung und ihren Plugins abhängig. Melden Sie sich an einer anderen Anwendung an, um weitere Berechtigungen zu vergeben.</p>" . "\n\t\t<!--<input type=\"button\" class=\"bigButton backgroundColor3\" title=\"" . (isset($text["Feld\numbenennen"]) ? $text["Feld\numbenennen"] : "Feld\numbenennen") . "\" onclick=\"phynxContextMenu.start(this, 'mUserdata','2','" . $text["Umbenennung"] . ":');\" style=\"float:right;background-image:url(./images/navi/relabel.png);\" />\n\t\t<button class=\"bigButton backgroundColor3\" value=\"" . (isset($text["Einschränkung\nhinzufügen"]) ? $text["Einschränkung\nhinzufügen"] : "") . "\" onclick=\"phynxContextMenu.start(this, 'mUserdata','1','" . $text["Einschränkung"] . ":');\" style=\"margin-bottom:10px;background-image:url(./images/navi/restrictions.png);\" /><br />-->\n\t\t{$BN}{$BS}<br><br>\n\t\t<!--<input type=\"button\" class=\"bigButton backgroundColor3\" title=\"" . (isset($text["Feld\nausblenden"]) ? $text["Feld\nausblenden"] : "Feld\nausblenden") . "\" onclick=\"phynxContextMenu.start(this, 'mUserdata','3','" . $text["Ausblenden"] . ":');\" style=\"float:right;background-image:url(./images/navi/clear.png);\" />\n\t\t<button class=\"bigButton backgroundColor3\" title=\"" . (isset($text["Plugin-\nspezifisch"]) ? $text["Plugin-\nspezifisch"] : "Plugin-\nspezifisch") . "\" onclick=\"phynxContextMenu.start(this, 'mUserdata','4','" . $text["Plugin"] . ":');\" style=\"margin-bottom:10px;background-image:url(./images/navi/lieferschein.png);\" />-->\n\t\t{$BP}{$BA}<br><br>\n\t\t{$BR}\n\t\t<!--<button class=\"bigButton backgroundColor3\" title=\"" . (isset($text["Plugin\nausblenden"]) ? $text["Plugin\nausblenden"] : "Plugin\nausblenden") . "\" onclick=\"phynxContextMenu.start(this, 'mUserdata','5','" . $text["Plugin"] . ":');\" style=\"background-image:url(./images/navi/tab.png);\" />-->";
 }
开发者ID:nemiah,项目名称:fheME,代码行数:24,代码来源:mUserdataGUI.class.php


注:本文中的Button::popup方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。