summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed8f9c5)
raw | patch | inline | side by side (parent: ed8f9c5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 May 2011 13:09:47 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 May 2011 13:09:47 +0000 (13:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20850 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_stringLong.inc | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_stringLong.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_stringLong.inc
--- /dev/null
+++ b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_stringLong.inc
@@ -0,0 +1,19 @@
+<?php
+
+class TemplateWidget_stringLong extends TemplateWidget
+{
+ function render()
+ {
+ $desc = set_post($this->description);
+ $value = set_post($this->value);
+
+ $name = " name=\"{$this->postName}\" ";
+ $value = " value=\"{$value}\" ";
+ $title = (empty($this->description))?"": " title=\"{$desc}\"";
+
+ $disabled = (!$this->enabled)? "disabled" : "";
+ return("<input type='text' style='width:100%;' {$title} {$name} {$value} {$disabled}>");
+ }
+}
+
+?>