diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-28 11:59:58 +0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-28 12:04:23 +0800 |
commit | 2f969c80eb2e228f2c5729c6f4660c99555f9c9f (patch) | |
tree | 1604a30f3e2d2b171f0f3819813aea5be3a6b0fc /modules/gallery/views/form.html.php | |
parent | 975a5ded7b6cc11ce55f2a9bbaa43d4897687b37 (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.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
Diffstat (limited to 'modules/gallery/views/form.html.php')
-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"; |