summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-25 06:38:16 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-25 06:38:16 +0000
commit104147327611502979659372bbc3293f7e90d533 (patch)
tree2e1ab91d84c903c6dc72c096ebf3676d2716d710 /modules/color
parent22926098422af7bfc9e90250125e8ba30e2a2fbc (diff)
downloadbrdo-104147327611502979659372bbc3293f7e90d533.tar.gz
brdo-104147327611502979659372bbc3293f7e90d533.tar.bz2
- Patch #633654 by arianek, Shai: better help text for color module.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module13
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 7f6f47b31..8c22918c7 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -7,11 +7,14 @@
function color_help($path, $arg) {
switch ($path) {
case 'admin/help#color':
- $output = '<p>' . t('The color module allows a site administrator to quickly and easily change the color scheme of certain themes. Although not all themes support color module, both Garland (the default theme) and Minnelli were designed to take advantage of its features. By using color module with a compatible theme, you can easily change the color of links, backgrounds, text, and other theme elements.', array('@url' => url('admin/config/media/file-system'))) . '</p>';
- $output .= '<p>' . t("It is important to remember that color module saves a modified copy of the theme's specified stylesheets in the files directory. This means that if you make any manual changes to your theme's stylesheet, you must save your color settings again, even if they haven't changed. This causes the color module generated version of the stylesheets in the files directory to be recreated using the new version of the original file.") . '</p>';
- $output .= '<p>' . t('To change the color settings for a compatible theme, select the "configure" link for the theme on the <a href="@themes">themes administration page</a>.', array('@themes' => url('admin/appearance'))) . '</p>';
- $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@color">Color module</a>.', array('@color' => 'http://drupal.org/handbook/modules/color/')) . '</p>';
-
+ $output = '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('The Color module allows users with the <em>Administer site configuration</em> permission to quickly and easily change the color scheme of themes that have been built to be compatible with it. For more information, see the online handbook entry for <a href="@color">Color module</a>.', array('@color' => 'http://drupal.org/handbook/modules/color')) . '</p>';
+ $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Changing colors') . '</dt>';
+ $output .= '<dd>' . t("Using the Color module allows you to easily change the color of links, backgrounds, text, and other theme elements. To change the color settings for a compatible theme, select the <em>configure</em> link for your theme on the <a href='@configure'>Themes administration page</a>. If you don't see a color picker on that page, then your theme is not compatible with the color module. If you are sure that the theme does indeed support the color module, but the color picker does not appear, then <a href='@troubleshoot'>follow these troubleshooting procedures</a>.", array('@configure' => url('admin/appearance'), '@troubleshoot' => 'http://drupal.org/node/109457')) . '</dd>';
+ $output .= '<dd>' . t("The Color module saves a modified copy of the theme's specified stylesheets in the files directory. This means that if you make any manual changes to your theme's stylesheet, <em>you must save your color settings again, even if they haven't changed</em>. This step is required because the module stylesheets (in the files directory) need to be recreated to include your changes.") . '</dd>';
+ $output .= '</dl>';
return $output;
}
}