Changeset 1657
- Timestamp:
- 03/02/10 10:24:39 (5 months ago)
- Location:
- trunk/plugins/ullCorePlugin/lib/form/widget
- Files:
-
- 2 modified
-
ullWidget.php (modified) (2 diffs)
-
ullWidgetForeignKey.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/ullCorePlugin/lib/form/widget/ullWidget.php
r1656 r1657 7 7 $this->addOption('suffix'); 8 8 $this->addOption('nowrap'); 9 9 10 parent::__construct($options, $attributes); 10 11 } … … 18 19 19 20 $value = $this->handleOptions($value); 20 21 21 22 return (string) $value; 22 23 } -
trunk/plugins/ullCorePlugin/lib/form/widget/ullWidgetForeignKey.php
r1656 r1657 69 69 try 70 70 { 71 $return .= $object->$method();71 $return .= esc_entities($object->$method()); 72 72 } 73 73 catch (Exception $e) … … 75 75 // This is necessary for translated columns. Why? 76 76 $object = Doctrine::getTable($this->getOption('model'))->find($value); 77 $return .= $object->$method();77 $return .= esc_entities($object->$method()); 78 78 } 79 79 … … 84 84 85 85 } 86 87 $return = esc_entities($return);88 86 89 87 // POPUP
