Geert van der Ploeg
|
| Posted: 06/05/2002, 11:47 AM |
|
Hi,
A bug in v1.0:
- PHP4.0, templates
- Create a blank page.
- Insert a simple link (the blue A from the "Forms"-tab in the toolbox)
- Set the default value to "this is more than one word"
- Generate page
This will generate the following PHP code (line 33-37):
// Controls
$Link1 = new clsControl( <<<snip>>>>));
$Link1->Parameters = CCGetQueryString(<<<snip>>>));
$Link1->Page = "";
$Link1->SetValue(this is more than one word);
The last line is not correct.
I suppose CCS should quote the text, because the Content-property is set to
"text".
An option is, of course, to add another Content-property (beside HTML and
Text), called "raw code".
This option would then leave the whole "Default" property intact, not
quoting or special-char'ring it...
|
|
|
 |
|