summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-21 14:03:57 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-21 14:03:57 +0000
commit716e833a6e103585d1d1478b6a4ee47a1e8bbbef (patch)
tree75793779576550fae514102e6fae97c38c52abc7
parentb505b5ab65276e36053ef76c81eddc8bfaf61585 (diff)
downloadbrdo-716e833a6e103585d1d1478b6a4ee47a1e8bbbef.tar.gz
brdo-716e833a6e103585d1d1478b6a4ee47a1e8bbbef.tar.bz2
- Update Xtemplate theme to support the onload attribute (was not included in
Gordon's patch). - Updated CHANGELOG.
-rw-r--r--CHANGELOG7
-rw-r--r--themes/xtemplate/xtemplate.theme1
-rw-r--r--themes/xtemplate/xtemplate.xtmpl2
3 files changed, 6 insertions, 4 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 70b9f12d6..72a38922f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,12 +2,13 @@ Drupal x.x.x, xxxx-xx-xx (to be released)
------------------------
- added support for clean URLs.
+- added textarea hook and support for onload attributes: enables integration of WYSIWYG editors.
- rewrote the RSS/RDF parser:
* it will now use PHP's built-in XML parser to parse news feeds.
- rewrote the administration pages:
- * improved the navigational elements and added breadcrumb navigation
- * improved the look and feel
- * added context-sensitive help
+ * improved the navigational elements and added breadcrumb navigation.
+ * improved the look and feel.
+ * added context-sensitive help.
- database backend:
* fixed numereous SQL queries to make Drupal ANSI compliant.
* added MSSQL database scheme.
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index 4ff4f06d3..fbc5df663 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -76,6 +76,7 @@ class Theme_xtemplate extends BaseTheme {
"title" => ($title ? $title." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")),
"head" => theme_head(),
"base" => "$base_url/",
+ "onload_attributes" => theme_onload_attribute(),
"primary_links" => variable_get("xtemplate_primary_links", l("edit primary links", "admin/system/themes/settings")),
"secondary_links" => variable_get("xtemplate_secondary_links", l("edit secondary links", "admin/system/themes/settings"))
));
diff --git a/themes/xtemplate/xtemplate.xtmpl b/themes/xtemplate/xtemplate.xtmpl
index 4e5d272be..d04e6e3e9 100644
--- a/themes/xtemplate/xtemplate.xtmpl
+++ b/themes/xtemplate/xtemplate.xtmpl
@@ -12,7 +12,7 @@
{head}
</head>
-<body>
+<body{onload_attributes}>
<table border="0" cellpadding="0" cellspacing="0" class="header">