- Fixed bug Trac #60 (Modification of a Service Call does not work with IE). This was due to some forms being contained within another form (forbidden in HTML)

SVN:trunk[216]
This commit is contained in:
Denis Flaven
2009-12-29 16:41:16 +00:00
parent c9f8417f76
commit 699e6b4e6e
3 changed files with 23 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ class web_page
{
protected $s_title;
protected $s_content;
protected $s_deferred_content;
protected $a_scripts;
protected $a_styles;
protected $a_include_scripts;
@@ -25,6 +26,7 @@ class web_page
{
$this->s_title = $s_title;
$this->s_content = "";
$this->s_deferred_content = '';
$this->a_scripts = array();
$this->a_styles = array();
$this->a_linked_scripts = array();
@@ -59,6 +61,16 @@ class web_page
$this->s_content .= $s_html;
}
/**
* Add any text or HTML fragment at the end of the body of the page
* This is useful to add hidden content, DIVs or FORMs that should not
* be embedded into each other.
*/
public function add_at_the_end($s_html)
{
$this->s_deferred_content .= $s_html;
}
/**
* Add a paragraph to the body of the page
*/
@@ -281,6 +293,7 @@ class web_page
{
echo "<div class=\"raw_output\">$s_captured_output</div>\n";
}
echo $this->s_deferred_content;
echo "</body>\n";
echo "</html>\n";
}