summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc48
-rw-r--r--modules/system/system.module16
2 files changed, 32 insertions, 32 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 3ca45af48..aff0429b3 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1982,7 +1982,11 @@ function system_date_time_settings() {
}
/**
- * Theme function for date settings form.
+ * Returns HTML for the date settings form.
+ *
+ * @param $variables
+ * An associative array containing:
+ * - form: A render element representing the form.
*
* @ingroup themeable
*/
@@ -2270,12 +2274,12 @@ function system_batch_page() {
}
/**
- * This function formats an administrative block for display.
+ * Returns HTML for an administrative block for display.
*
* @param $variables
* An associative array containing:
- * - block: An array containing information about the block. It should
- * include a 'title', a 'description' and a formatted 'content'.
+ * - block: An array containing information about the block. It should include
+ * a 'title', a 'description' and a formatted 'content'.
*
* @ingroup themeable
*/
@@ -2315,7 +2319,7 @@ EOT;
}
/**
- * This function formats the content of an administrative block.
+ * Returns HTML for the content of an administrative block.
*
* @param $variables
* An associative array containing:
@@ -2350,14 +2354,14 @@ function theme_admin_block_content($variables) {
}
/**
- * This function formats an administrative page for viewing.
+ * Returns HTML for an administrative page.
*
* @param $variables
* An associative array containing:
* - blocks: An array of blocks to display. Each array should include a
- * 'title', a 'description', a formatted 'content' and a
- * 'position' which will control which container it will be
- * in. This is usually 'left' or 'right'.
+ * 'title', a 'description', a formatted 'content' and a 'position' which
+ * will control which container it will be in. This is usually 'left' or
+ * 'right'.
*
* @ingroup themeable
*/
@@ -2393,7 +2397,7 @@ function theme_admin_page($variables) {
}
/**
- * Theme output of the dashboard page.
+ * Returns HTML for the output of the dashboard page.
*
* @param $variables
* An associative array containing:
@@ -2445,7 +2449,7 @@ function theme_system_admin_by_module($variables) {
}
/**
- * Theme requirements status report.
+ * Returns HTML for the status report.
*
* @param $variables
* An associative array containing:
@@ -2486,11 +2490,11 @@ function theme_status_report($variables) {
}
/**
- * Theme callback for the modules form.
+ * Returns HTML for the modules form.
*
* @param $variables
* An associative array containing:
- * - form: An associative array containing the structure of the form.
+ * - form: A render element representing the form.
*
* @ingroup themeable
*/
@@ -2533,32 +2537,26 @@ function theme_system_modules_fieldset($variables) {
}
/**
- * Themes an incompatible message.
- *
- * @ingroup themeable
+ * Returns HTML for a message about incompatible modules.
*
* @param $variables
* An associative array containing:
* - message: The form array representing the currently disabled modules.
*
- * @return
- * An HTML string for the message.
+ * @ingroup themeable
*/
function theme_system_modules_incompatible($variables) {
return '<div class="incompatible">' . $variables['message'] . '</div>';
}
/**
- * Themes a table of currently disabled modules.
- *
- * @ingroup themeable
+ * Returns HTML for a table of currently disabled modules.
*
* @param $variables
* An associative array containing:
- * - form: The form array representing the currently disabled modules.
+ * - form: A render element representing the form.
*
- * @return
- * An HTML string representing the table.
+ * @ingroup themeable
*/
function theme_system_modules_uninstall($variables) {
$form = $variables['form'];
@@ -2591,7 +2589,7 @@ function theme_system_modules_uninstall($variables) {
}
/**
- * Theme function for the system themes form.
+ * Returns HTML for the Appearance page.
*
* @param $variables
* An associative array containing:
diff --git a/modules/system/system.module b/modules/system/system.module
index 822c559ec..d068c40fd 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -3138,16 +3138,16 @@ function system_timezone($abbreviation = '', $offset = -1, $is_daylight_saving_t
}
/**
- * Format the Powered by Drupal text.
+ * Returns HTML for the Powered by Drupal text.
*
* @ingroup themeable
*/
-function theme_system_powered_by($variables) {
+function theme_system_powered_by() {
return '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'http://drupal.org')) . '</span>';
}
/**
- * Display the link to show or hide inline help descriptions.
+ * Returns HTML for a link to show or hide inline help descriptions.
*
* @ingroup themeable
*/
@@ -3627,14 +3627,15 @@ function system_archiver_info() {
}
/**
- * Theme confirmation forms.
+ * Returns HTML for a confirmation 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.
+ * - form: A render element representing the form.
+ *
* @ingroup themeable
*/
function theme_confirm_form($variables) {
@@ -3642,14 +3643,15 @@ function theme_confirm_form($variables) {
}
/**
- * Theme function for the system settings form.
+ * Returns HTML for a 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.
+ * - form: A render element representing the form.
+ *
* @ingroup themeable
*/
function theme_system_settings_form($variables) {