summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_html_page.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-26 10:54:18 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-26 10:54:18 +0000
commitb5fbd432d67a2184f75899f08197dceacc1aef26 (patch)
treeef35025bc954043c24b6d6bc4db9abace4ab9eaa /roundcubemail/program/include/rcube_html_page.php
parenta3f4e43f6c042261551b7de9f916b8d4b034ad43 (diff)
- Move console object initialization code into one place
git-svn-id: https://svn.roundcube.net/trunk@4966 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_html_page.php')
-rw-r--r--roundcubemail/program/include/rcube_html_page.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/roundcubemail/program/include/rcube_html_page.php b/roundcubemail/program/include/rcube_html_page.php
index 0cceb8964..200233c5d 100644
--- a/roundcubemail/program/include/rcube_html_page.php
+++ b/roundcubemail/program/include/rcube_html_page.php
@@ -219,12 +219,12 @@ class rcube_html_page
}
}
- if (!empty($this->scripts['foot'])) {
- $page_footer .= sprintf($this->script_tag, $this->scripts['foot']);
+ if (!empty($this->footer)) {
+ $page_footer .= $this->footer . "\n";
}
- if (!empty($this->footer)) {
- $page_footer .= $this->footer;
+ if (!empty($this->scripts['foot'])) {
+ $page_footer .= sprintf($this->script_tag, $this->scripts['foot']);
}
// find page header