Diff of /mambo/branches/4.6/index.php
Parent Directory
|
Revision Log
|
Patch
| revision 243, Fri Feb 10 12:42:40 2006 UTC | revision 244, Fri Feb 10 14:08:05 2006 UTC | |
|---|---|---|
| # | Line 2316 | Line 2316 |
| 2316 | return $result; | return $result; |
| 2317 | } | } |
| 2318 | /** | /** |
| 2319 | * @param string The name of the control, or the default text area if a setup file is not found | |
| 2320 | * @return string HTML | |
| 2321 | */ | |
| 2322 | function render( $name='params' ) { | |
| 2323 | if (is_file($this->_path)) { | |
| 2324 | $parser = new mosXMLParams ($this->_path, $this, $name); | |
| 2325 | if (count($parser->html)) return implode("\n", $parser->html); | |
| 2326 | } | |
| 2327 | $raw = $this->_raw; | |
| 2328 | return "<textarea name='$name' cols='40' rows='10' class='text_area'$raw</textarea>"; | |
| 2329 | } | |
| 2330 | ||
| 2331 | /** | |
| 2332 | * special handling for textarea param | * special handling for textarea param |
| 2333 | */ | */ |
| 2334 | function textareaHandling( &$txt ) { | function textareaHandling( &$txt ) { |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

