summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-15 12:27:34 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-15 12:27:34 +0000
commit35e21e54e1122f98bede28f89d80f2fb13b3fd97 (patch)
treeb757a831278a4dbc99a3ae5042cc37f95f53aacb /modules/system/system.admin.inc
parent5acbec27001aa382699cf144d9a953c9b725bc01 (diff)
downloadbrdo-35e21e54e1122f98bede28f89d80f2fb13b3fd97.tar.gz
brdo-35e21e54e1122f98bede28f89d80f2fb13b3fd97.tar.bz2
- Patch #412730 by Crell, jbomb, JohnAlbin: theme system should report when a theme key is not found.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 825249f70..3694848bf 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2381,6 +2381,21 @@ function theme_system_modules_uninstall($variables) {
}
/**
+ * Theme function for the system settings form.
+ *
+ * By default this does not alter the appearance of a form at all,
+ * but is provided as a convenience for themers.
+ *
+ * @param $variables
+ * An associative array containing:
+ * - form: An associative array containing the structure of the form.
+ * @ingroup themeable
+ */
+function theme_system_settings_form($variables) {
+ return drupal_render_children($variables['form']);
+}
+
+/**
* Theme function for the system themes form.
*
* @param $variables