本文整理匯總了PHP中HTMLTable::getHTML方法的典型用法代碼示例。如果您正苦於以下問題:PHP HTMLTable::getHTML方法的具體用法?PHP HTMLTable::getHTML怎麽用?PHP HTMLTable::getHTML使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類HTMLTable
的用法示例。
在下文中一共展示了HTMLTable::getHTML方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getHTML
public function getHTML($id, $page)
{
$this->addAssocV3("DateiClassID", "=", $this->classID);
$this->addAssocV3("DateiClass", "=", $this->className);
$this->lCV3($id);
$gui = new HTMLGUI();
$gui->setName("Dateien");
$gui->setAttributes($this->collector);
$gui->setCollectionOf($this->collectionOf);
$gui->setShowAttributes(array("DateiName"));
$gui->setParser("DateiName", "mDateiGUI::nameParser", array("\$DateiPath", "\$DateiIsDir", "\$DateiSize"));
$gui->setIsDisplayMode(true);
if (!$this->viewOnly) {
$gui->setDeleteInDisplayMode(true);
}
$t = new HTMLTable(1);
if ($this->classID != null and !$this->viewOnly) {
$B = new Button("Datei\nhinzufügen", "computer");
$B->select(true, "mFile", $this->onAddClass != null ? $this->onAddClass : "'+lastLoadedLeftPlugin+'", $this->classID, "addFile");
$B->customSelect("contentRight", $this->classID, "mFile", "{$this->onAddClass}.addFile");
$t->addRow($B);
#$t->addRow(array("<input onclick=\"loadFrameV2('contentRight','mFile','mFileGUI;selectionMode:multiSelection,".($this->onAddClass != null ? $this->onAddClass : "'+lastLoadedLeftPlugin+'").",$this->classID,addFile,'+lastLoadedRightPlugin+',".($this->onReloadFrame != null ? $this->onReloadFrame : "contentLeft").",".($this->onReloadClass != null ? $this->onReloadClass : "'+lastLoadedLeftPlugin+'").",".($this->onReloadID != null ? $this->onReloadID : $this->classID)."');\" type=\"button\" class=\"backgroundColor3 bigButton\" style=\"background-image:url(./images/navi/computer.png);\" value=\"Datei\nhinzufügen\" />"));
}
$gui->setJSEvent("onDelete", $this->onDeleteFunction == null ? "function() { contentManager.reloadFrame('contentLeft'); }" : $this->onDeleteFunction);
try {
if ($this->viewOnly and $this->numLoaded() == 0) {
return "";
}
return $t->getHTML() . $gui->getBrowserHTML($id);
} catch (Exception $e) {
}
}
示例2: getHTML
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) {
}
}
示例3: getHTML
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) {
}
}
示例4: getHTML
function getHTML($id)
{
$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();
}
$Domain = new Domain($U);
$Domain->loadMe();
$variables = array("domainTemplate", "contentTemplate", "naviTemplate", "pageTemplate");
$variables["domainTemplate"] = array("TITLE", "DESCRIPTION", "NAVIGATION", "HEADER", "PAGE");
$variables["contentTemplate"] = array("TEXT", "IMAGE", "DOWNLOADS", "CONTENTID", "HANDLER");
$variables["naviTemplate"] = array("LINK", "URL", "TEXT");
$variables["pageTemplate"] = array("HEADER", "CONTENT", "DOMAIN");
$variables["dlTemplate"] = array("TEXT", "DOWNLOADS");
#$this->setParser("html","Util::base64Parser");
if ($this->A == null and $id != -1) {
$this->loadMe();
}
if ($id == -1) {
$this->A = $this->newAttributes();
}
$gui = new HTMLGUI();
$gui->setObject($this);
$gui->setName("Template");
$TG = new TemplatesGUI();
$options = $TG->getAvailableCategories();
$gui->setType("templateType", "select");
$gui->setOptions("templateType", array_keys($options), array_values($options));
$gui->setInputJSEvent("templateType", "onchange", "CMSTemplate.updateVariables(this);");
$gui->setInputJSEvent("templateType", "onkeyup", "CMSTemplate.updateVariables(this);");
$gui->setLabel("templateType", "Typ");
$gui->setType("html", "TextEditor64");
$gui->setType("TemplateDomainID", "radio");
$gui->setLabel("TemplateDomainID", "Domain");
$gui->setOptions("TemplateDomainID", array("0", $U), array("alle", "nur " . $Domain->getA()->title));
$gui->hideAttribute("TemplateID");
$gui->setType("aktiv", "hidden");
$gui->setStandardSaveButton($this, "Templates");
$vars = "";
foreach ($variables as $k => $v) {
if (is_array($variables[$k])) {
$vars .= "<p id=\"{$k}Variables\" style=\"" . ($this->A->templateType == $k ? "" : "display:none;") . "\">%%%" . implode("%%%<br />%%%", $variables[$k]) . "%%%</p>";
}
}
$html = "\n\t\t\t<script type=\"text/javascript\">\n\t\t\t\tnew Draggable('TBVarsContainer',{handle:'TBVarsHandler', zindex: 2000});\n\t\t\t\toldVarSelected = '" . ($this->A->templateType != null ? $this->A->templateType : "null") . "';\n\t\t\t</script>\n\t\t\t<div \n\t\t\t\tstyle=\"position:absolute;z-index:2000;left:450px;width:200px;border-width:1px;border-style:solid;" . (isset($variables[$this->A->templateType]) ? "" : "display:none;") . "\"\n\t\t\t\tclass=\"backgroundColor0 borderColor1\"\n\t\t\t\tid=\"TBVarsContainer\"\n\t\t\t>\n\t\t\t<div class=\"cMHeader backgroundColor1\" id=\"TBVarsHandler\">Variablen:</div>\n\t\t\t<div>\n\t\t\t\t<p><small>Sie können folgende Variablen in Ihrem HTML verwenden (bitte beachen Sie Groß- und Kleinschreibung):</small></p>\n\t\t\t\t{$vars}\n\t\t\t</div>\n\t\t\t</div>";
return $html . $gui->getEditHTML();
}
示例5: getHTML
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();
}
示例6: getWindowHTML
public function getWindowHTML()
{
$bps = $this->getMyBPSData();
#print_r($bps);
$v = false;
$b = false;
$von = "Bitte ziehen Sie ein <img src=\"./images/i2/add.png\" style=\"margin-bottom:-5px;\" />-Symbol auf dieses Feld.";
$bis = "Bitte ziehen Sie ein <img src=\"./images/i2/add.png\" style=\"margin-bottom:-5px;\" />-Symbol auf dieses Feld.";
if ($bps != -1 and isset($bps["VonClass"])) {
$VonClass = $bps["VonClass"];
$VonClass = new $VonClass($bps["VonID"]);
$von = $VonClass->getCategorizerLabel();
$v = true;
}
if ($bps != -1 and isset($bps["BisClass"])) {
$BisClass = $bps["BisClass"];
$BisClass = new $BisClass($bps["BisID"]);
$bis = $BisClass->getCategorizerLabel();
$b = true;
}
$t = new HTMLTable(2);
$t->addColStyle(1, "width:120px;");
$t->addRow(array("<label>Von:</label>", $von));
$t->addCellID(2, "droppableVon");
$t->addCellStyle(2, "height:30px;");
$t->addRow(array("<label>Bis:</label>", $bis));
$t->addCellID(2, "droppableBis");
$t->addCellStyle(2, "height:30px;");
if ($v and $b) {
$K = $BisClass->getCategorizerOptions();
$o = HTMLGUI::getOptions(array_keys($K), array_values($K));
$t->addRow(array("<label>Kategorie:</label>", "<select id=\"categorizeWithCategory\">{$o}</select>"));
$t->addRow(array("<input\n\t\t\ttype=\"button\"\n\t\t\tclass=\"bigButton backgroundColor3\"\n\t\t\tvalue=\"Kategorisieren\"\n\t\t\tstyle=\"background-image:url(./images/navi/okCatch.png);float:right;\"\n\t\t\tonclick=\"rme('Categorizer','','categorize',Array(\$('categorizeWithCategory').value),'if(checkResponse(transport)) { Popup.close(\\'Categorizer\\', 0); contentManager.reloadFrameRight(); }');\" />"));
$t->addRowColspan(1, 2);
}
$html = "\n\t\t<script type=\"text/javascript\">\n\t\t\tDroppables.add('droppableVon', {hoverclass: 'backgroundColor1', accept: 'draggable', onDrop: function(element){ rme('Categorizer','','saveVon',Array(element.id),'Popup.update(transport, \\'Categorizer\\', 0);'); }});\n\t\t\tDroppables.add('droppableBis', {hoverclass: 'backgroundColor1', accept: 'draggable', onDrop: function(element){ rme('Categorizer','','saveBis',Array(element.id),'Popup.update(transport, \\'Categorizer\\', 0);'); }});\n\t\t</script>";
echo $t->getHTML() . $html;
}
示例7: getHTML
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);
}
}
示例8: getHTML
function getHTML($id)
{
#$showHelp = true;
if ($this->collector == null) {
$this->lCV3($id);
}
$singularLanguageClass = $this->loadLanguageClass("Installation");
$text = $singularLanguageClass != null ? $singularLanguageClass->getText() : "";
if ($id == -1) {
echo OnEvent::script(OnEvent::rme($this, "getActions", "", "function(transport){ contentManager.contentBelow(transport.responseText); }"));
}
$hasDBConnection = false;
try {
mUserdata::getGlobalSettingValue("DBVersion", false);
$hasDBConnection = true;
} catch (Exception $e) {
}
$g = "";
$DBFilePath = Util::getRootPath() . "system/DBData/Installation.pfdb.php";
$writable = new HTMLTable(1);
$File = new File($DBFilePath);
$File->loadMe();
if (!$File->A("FileIsWritable") and !$hasDBConnection) {
return;
}
if (!$File->A("FileIsWritable")) {
$writable->addRow("<img src=\"./images/navi/restrictions.png\" style=\"float:left;margin-right:10px;\"/>Die Datei " . $DBFilePath . " ist nicht beschreibbar, Änderungen können nicht gespeichert werden.<br /><br />Machen Sie die Datei mit einem FTP-Programm beschreibbar. Klicken Sie dazu mit der rechten Maustaste auf die Datei auf dem Server, wählen Sie \"Eigenschaften\", und geben Sie den Modus 666 an, damit sie durch den Besitzer, die Gruppe und alle Anderen les- und schreibbar ist.");
$g .= $writable->getHTML();
}
$gui = new HTMLGUI();
$gui->setName("Datenbank-Zugangsdaten");
if ($this->collector != null) {
$gui->setAttributes($this->collector);
}
$gui->setCollectionOf($this->collectionOf, "Datenbank-Zugangsdaten");
$gui->hideAttribute("password");
$gui->hideAttribute("httpHost");
$gui->hideAttribute("InstallationID");
if (strstr($_SERVER["SCRIPT_FILENAME"], "demo")) {
$UA = $_SESSION["S"]->getCurrentUser()->getA();
if ($UA->name != "Installations-Benutzer") {
$g = "In der Demo können keine Datenbank-Zugangsdaten geändert werden!";
$gui->setIsDisplayMode(true);
}
}
if (!Session::isPluginLoaded("multiInstall")) {
$gui->setIsDisplayMode(true);
$gui->setEditInDisplayMode(true, "contentLeft");
}
#try {
$g .= $gui->getBrowserHTML($id);
#} catch (Exception $e){
# $t->addRow(array("Etwas stimmt nicht, eine ".get_class($e)." wurde abgefangen!"));
# $t->addRow(array("<span style=\"font-size:8px;\">".nl2br(str_replace("#","\n#", $e->getTraceAsString()))."</span>"));
#}
/* $help = "
<script type=\"text/javascript\">
contentManager.rmePCR('mInstallation','','getHelp','true','if(checkResponse(transport)) { Popup.create(\'123\', \'Installation\', \'Hilfe\'); Popup.update(transport, \'123\', \'Installation\'); }');
</script>";*/
$ST = new HTMLSideTable("left");
try {
#$MailServer = LoginData::get("MailServerUserPass");
#$MailServerID = $MailServer == null ? -1 : $MailServer->getID();
$BMail = $ST->addButton("Mail-Server", "./plugins/Installation/serverMail.png");
#$BMail->popup("edit", "Mail-Server", "LoginData", $MailServerID, "getPopup", "", "LoginDataGUI;preset:mailServer");
$BMail->popup("edit", "Mail-Server", "mInstallation", -1, "manageMailservers");
$BTestMail = $ST->addButton("Mailversand\ntesten", "mail");
$BTestMail->popup("mailTest", "Mailversand testen", "mInstallation", "-1", "testMailGUI");
if (Session::isPluginLoaded("mJabber")) {
$JabberServer = LoginData::get("JabberServerUserPass");
$JabberServerID = $JabberServer == null ? -1 : $JabberServer->getID();
$BJabber = $ST->addButton("Jabber-Server", "./plugins/Installation/serverMail.png");
$BJabber->popup("edit", "Jabber-Server", "LoginData", $JabberServerID, "getPopup", "", "LoginDataGUI;preset:jabberServer");
}
$BackupButton = $ST->addButton("Daten-\nsicherungen", "disk");
$BackupButton->onclick("contentManager.loadFrame('contentLeft','BackupManager');");
} catch (Exception $e) {
}
return $ST . $g;
#.$t->getHTML();
$t = new HTMLTable(1);
try {
$user = new User(1);
$user->loadMe();
} catch (DatabaseNotSelectedException $e) {
if (BPS::getProperty("mInstallationGUI", "showErrorText", false)) {
$t->addRow(isset($text["noDatabase"]) ? $text["noDatabase"] : "Es wurde kein korrekter Datenbankname angegeben.<br /><br />Bitte geben Sie eine existierende Datenbank an, sie wird nicht automatisch erzeugt.");
$t->addRowClass("backgroundColor0");
$t->addRowStyle("color:red;");
}
return $g . $t->getHTML();
#.$help;
} catch (NoDBUserDataException $e) {
if (BPS::getProperty("mInstallationGUI", "showErrorText", false)) {
$t->addRow(isset($text["wrongData"]) ? $text["wrongData"] : "Mit den angegebenen Datenbank-Zugangsdaten kann keine Verbindung aufgebaut werden.<br /><br />Wenn sie korrekt sind, werden hier weitere Möglichkeiten angezeigt angezeigt.");
$t->addRowClass("backgroundColor0");
$t->addRowStyle("color:red;");
}
if (PHYNX_MAIN_STORAGE == "MySQL") {
try {
//.........這裏部分代碼省略.........
示例9: VersionCheck
/**
* You may use this default version check to see if the version of the plugin matches the application's version
*
* @param string $plugin
*/
public function VersionCheck($plugin)
{
$l = $this->languageClass->getBrowserTexts();
if (Util::versionCheck($_SESSION["applications"]->getRunningVersion(), $_SESSION["CurrentAppPlugins"]->getVersionOfPlugin($plugin), "!=")) {
$t = new HTMLTable(1);
$t->addRow(str_replace(array("%1", "%2"), array($_SESSION["CurrentAppPlugins"]->getVersionOfPlugin($plugin), $_SESSION["applications"]->getRunningVersion()), $l["versionError"]));
$t->addRow(Installation::getReloadButton());
die($t->getHTML());
}
}
示例10: __toString
public function __toString()
{
try {
if ($this->ownerClassID == -1) {
$t = new HTMLTable(1);
$t->addRow("Sie müssen den Datensatz erst speichern, bevor Sie " . ($this->tableLabel != null ? $this->tableLabel : $this->collectionOf) . " eintragen können.");
return "<div style=\"margin-top:30px;\">" . $t->getHTML() . "</div>";
} else {
return "<div style=\"margin-top:30px;\" id=\"propertym{$this->collectionOf}\">" . $this->getHTML(-1, 0) . "</div>";
}
} catch (Exception $e) {
print_r($e);
die;
}
}
示例11: loadDetails
public function loadDetails()
{
echo $this->getHTML($this->ID, "window");
return;
$this->setParser("TodoFromDay", "Util::nothingParser");
$this->setParser("TodoFromTime", "Util::nothingParser");
$this->setParser("TodoTillDay", "Util::nothingParser");
$this->setParser("TodoTillTime", "Util::nothingParser");
$this->loadMe();
$head = "<div id=\"TodoDetailsHandler{$this->ID}\" class=\"backgroundColor1 cMHeader\">Detailansicht ToDo \"" . $this->A->TodoName . "\"</div>";
try {
$T = new mTeilnehmerGUI();
$T->classID = $this->ID;
$T->className = "Todo";
$T->addAssocV3("TeilnehmerTodoID", "=", $this->ID);
$T->addJoinV3("User", "TeilnehmerUserID", "=", "UserID");
$T->addOrderV3("TeilnehmerTeamID");
$table = "\n\t\t\t<table style=\"width:100%;border:0px;\">\n\t\t\t\t<colgroup>\n\t\t\t\t\t<col />\n\t\t\t\t</colgroup>";
$teilnehmerID = 0;
$teilnehmerStatus = -1;
$cu = $_SESSION["S"]->getCurrentUser()->getID();
while ($s = $T->getNextEntry()) {
if ($s->getA()->TeilnehmerUserID == $cu) {
$teilnehmerID = $s->getID();
$teilnehmerStatus = $s->getA()->TeilnehmerStatus;
}
$table .= "\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"padding-left:0px;padding-top:0px;\">" . $s->getA()->name . "</td>\n\t\t\t\t</tr>";
}
$table .= "\n\t\t\t</table>";
} catch (ClassNotFoundException $e) {
$table = "";
}
$t = new HTMLTable(2, "Detailansicht ToDo \"" . $this->A->TodoName . "\"");
$t->addColStyle(1, "text-align:right;");
$t->addColStyle(1, "width:110px;");
#<input class=\"multiEditInput2\" onfocus=\"oldValue = this.value;\" onblur=\"if(oldValue != this.value) saveMultiEditInput('Posten','".$t->getID()."','preis');\" value=\"$ta->preis\" id=\"preisID".$t->getID()."\" type=\"text\" onkeyup=\"updateEKs('".$t->getID()."');\" onkeydown=\"if(event.keyCode == 13) saveMultiEditInput('Posten','".$t->getID()."','preis');\" />
if ($teilnehmerID != 0) {
$st = $this->getStatus();
$o = "";
foreach ($st as $k => $v) {
$o .= "<option " . ($k == $this->A->TodoStatus ? "selected=\"selected\"" : "") . " value=\"{$k}\">{$v}</option>";
}
$status = "<select id=\"TodoStatusID{$this->ID}\" onchange=\"saveMultiEditInput('Todo','" . $this->getID() . "','TodoStatus');\">{$o}</select>";
} else {
$status = $this->getStatus($this->A->TodoStatus);
}
$t->addRow(array("Priorität:", $this->getPriorities($this->A->TodoPriority)));
$t->addRow(array("Status:", $status));
if ($teilnehmerID != 0) {
$percent = "\n\t\t\t<select id=\"TodoPercentID{$this->ID}\" onchange=\"ToDo.onChange();\">";
for ($i = 0; $i <= 100; $i += 5) {
$percent .= "\n\t\t\t\t<option " . ($this->A->TodoPercent == $i ? "selected=\"selected\"" : "") . " value=\"{$i}\">{$i} %</option>";
}
$percent .= "\n\t\t\t</select>\n\t\t\t<input type=\"hidden\" id=\"TodoID\" value=\"{$this->ID}\" />";
/*<input type=\"text\" readonly=\"readonly\" id=\"TodoPercentID$this->ID\" value=\"{$this->A->TodoPercent}\" style=\"width:30px;float:right;text-align:right;margin-right:13px;\" />
<div id=\"prozentSlider$this->ID\" style=\"height:19px;width:4px;background-color:black;cursor:move;margin-bottom:-17px;\"></div>
<div id=\"prozentTrack$this->ID\" style=\"width:80%;height:15px;\" class=\"backgroundColor1\" />";
*/
} else {
$percent = $this->A->TodoPercent;
}
$t->addRow(array("Prozent:", $percent));
if ($this->A->TodoDescription != "") {
$t->addRow("");
$t->addRowClass("backgroundColor0");
$t->addRow(array("Beschreibung:", nl2br($this->A->TodoDescription)));
}
$t->addRow("");
$t->addRowClass("backgroundColor0");
$t->addRow(array("Beginn am:", Util::CLDateParserL($this->A->TodoFromDay)));
$t->addRow(array("Fällig bis:", Util::CLDateParserL($this->A->TodoTillDay)));
$t->addRow("");
$t->addRowClass("backgroundColor0");
echo $t->getHTML();
}