diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-27 20:59:58 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-27 20:59:58 -0700 |
| commit | 4550969101f04dda6573afc59c57897710a3f149 (patch) | |
| tree | 1afec0dcd997623577a3a2c6a207813e0f7da061 /modules/gallery/views | |
| parent | 4b6775e614040e91fce8a142f840d44258713a85 (diff) | |
Create A Forge Script element. Form_Script allows the specification
of either a url to a script file or in line text which will be included
in a script block.
Diffstat (limited to 'modules/gallery/views')
| -rw-r--r-- | modules/gallery/views/form.html.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/views/form.html.php b/modules/gallery/views/form.html.php index ec2a56a9..730d77cb 100644 --- a/modules/gallery/views/form.html.php +++ b/modules/gallery/views/form.html.php @@ -40,6 +40,8 @@ if (!function_exists("DrawForm")) { print "$prefix {$hidden->render()}\n"; } print "$prefix</fieldset>\n"; + } else if ($input->type == 'script') { + print $input->render(); } else { if ($input->error_messages()) { print "$prefix<li class=\"gError\">\n"; |
