Code

Updated handling of uploaded files, thanks to bcooksley
[gosa.git] / gosa-plugins / goto / admin / ConfigManagement / class_TemplateWidget_string.inc
1 <?php
3 class TemplateWidget_string extends TemplateWidget
4 {
5     function render()
6     {
7         $desc = set_post($this->description);
8         $value = set_post($this->value);
10         $name = " name=\"{$this->postName}\" ";
11         $value = " value=\"{$value}\" ";
12         $title = (empty($this->description))?"": " title=\"{$desc}\"";
14         return("<input type='text' {$title} {$name} {$value }>");
15     }
16 }
18 ?>