$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/settings/file-system'))).'</p>';
$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>';
@@ -258,7 +258,7 @@ function image_style_delete_form($form_state, $style) {
returnconfirm_form(
$form,
t('Optionally select a style before deleting %style',array('%style'=>$style['name'])),
'admin/settings/image-styles',
'admin/config/media/image-styles',
t('If this style is in use on the site, you may select another style to replace it. All images that have been generated for this style will be permanently deleted.'),
t('Delete'),t('Cancel')
);
...
...
@@ -272,7 +272,7 @@ function image_style_delete_form_submit($form, &$form_state) {
@@ -16,7 +16,7 @@ function image_help($path, $arg) {
$naming_approaches[]=t('Based on where it will be used: !name',array('!name'=>'<code>profile-picture</code>'));
$naming_approaches[]=t('Describing its appearance: !name',array('!name'=>'<code>square-85x85</code>'));
$output='';
$output.='<p>'.t('The Image module provides functionality for displaying images on your site though <a href="!url">image styles</a>.',array('!url'=>url('admin/settings/image-styles'))).'</p>';
$output.='<p>'.t('The Image module provides functionality for displaying images on your site though <a href="!url">image styles</a>.',array('!url'=>url('admin/config/media/image-styles'))).'</p>';
$output.='<h3>'.t('Image styles').'</h3>';
$output.='<p>'.t('Image <em>styles</em> allow your site to output an image in several different ways without affecting the original image. Any created images will automatically be refreshed if any changes are made to the image style.').'</p>';
$output.='<p>'.t('Every image style must have a name, which will be used in the URL of generated images. There are two common approaches to naming image styles:').'</p>';
...
...
@@ -24,10 +24,10 @@ function image_help($path, $arg) {
$output.='<p>'.t('Both approaches are common and which you choose depends on how you use the image style.').'</p>';
$output.='<p>'.t('After creating an image style, <em>effects</em> may be added to the style. Image module comes with some basic effects such as <em>crop</em>, <em>scale</em>, <em>desaturate</em>, and <em>rotate</em>. In addition to the effects included with Image, other modules may provide additional effects. Multiple effects may be combined together, such as using the <em>crop and scale</em> effect and the <em>desaturate</em> effect, you could create square, grayscale thumbnails.');
return$output;
case'admin/settings/image-styles':
case'admin/config/media/image-styles':
return'<p>'.t('Image styles commonly provide thumbnail sizes by scaling and cropping images, but can also add various effects before an image is displayed. When an image is displayed with a style, a new file is created and the original image is left unchanged.').'</p>';
@@ -205,7 +205,7 @@ function system_requirements($phase) {
}
// The files directory requirement check is done only during install and runtime.
if($phase=='runtime'){
$description=$error.$t('You may need to set the correct directory at the <a href="@admin-file-system">file system settings page</a> or change the current directory\'s permissions so that it is writable.',array('@admin-file-system'=>url('admin/settings/file-system')));
$description=$error.$t('You may need to set the correct directory at the <a href="@admin-file-system">file system settings page</a> or change the current directory\'s permissions so that it is writable.',array('@admin-file-system'=>url('admin/config/media/file-system')));
}
elseif($phase=='install'){
// For the installer UI, we need different wording. 'value' will
@@ -96,7 +96,7 @@ function system_help($path, $arg) {
$output.='<li>'.t('support for enabling and disabling <a href="@themes">themes</a>, which determine the design and presentation of your site. Drupal comes packaged with several core themes and additional contributed themes are available at the <a href="@drupal-themes">Drupal.org theme page</a>.',array('@themes'=>url('admin/appearance'),'@drupal-themes'=>'http://drupal.org/project/themes')).'</li>';
$output.='<li>'.t('a robust <a href="@cache-settings">caching system</a> that allows the efficient re-use of previously-constructed web pages and web page components. Drupal stores the pages requested by anonymous users in a compressed format; depending on your site configuration and the amount of your web traffic tied to anonymous visitors, Drupal\'s caching system may significantly increase the speed of your site.',array('@cache-settings'=>url('admin/config/development/performance'))).'</li>';
$output.='<li>'.t('a set of routine administrative operations that rely on a correctly-configured <a href="@cron">cron maintenance task</a> to run automatically. A number of other modules, including the feed aggregator, and search also rely on <a href="@cron">cron maintenance tasks</a>. For more information, see the online handbook entry for <a href="@handbook">configuring cron jobs</a>.',array('@cron'=>url('admin/reports/status'),'@handbook'=>'http://drupal.org/cron')).'</li>';
$output.='<li>'.t('basic configuration options for your site, including <a href="@regional-settings">date and time settings</a>, <a href="@file-system">file system settings</a>, <a href="@clean-url">clean URL support</a>, <a href="@site-info">site name and other information</a>, and a <a href="@maintenance-mode">maintenance mode</a> for taking your site temporarily offline.',array('@regional-settings'=>url('admin/settings/regional-settings'),'@file-system'=>url('admin/settings/file-system'),'@clean-url'=>url('admin/settings/clean-urls'),'@site-info'=>url('admin/settings/site-information'),'@maintenance-mode'=>url('admin/config/development/maintenance'))).'</li></ul>';
$output.='<li>'.t('basic configuration options for your site, including <a href="@regional-settings">date and time settings</a>, <a href="@file-system">file system settings</a>, <a href="@clean-url">clean URL support</a>, <a href="@site-info">site name and other information</a>, and a <a href="@maintenance-mode">maintenance mode</a> for taking your site temporarily offline.',array('@regional-settings'=>url('admin/settings/regional-settings'),'@file-system'=>url('admin/config/media/file-system'),'@clean-url'=>url('admin/settings/clean-urls'),'@site-info'=>url('admin/settings/site-information'),'@maintenance-mode'=>url('admin/config/development/maintenance'))).'</li></ul>';
$output.='<p>'.t('For more information, see the online handbook entry for <a href="@system">System module</a>.',array('@system'=>'http://drupal.org/handbook/modules/system/')).'</p>';
'access arguments'=>array('administer site configuration'),
);
$items['admin/config/development/logging']=array(
'title'=>'Logging and errors',
'description'=>"Settings for logging and alerts modules. Various modules can route Drupal's system events to different destinations, such as syslog, database, email, etc.",
$items['admin/config/media/image-toolkit']=array(
'title'=>'Image toolkit',
'description'=>'Choose which image toolkit to use if you have installed optional toolkits.',
'access arguments'=>array('administer site configuration'),
);
$items['admin/settings/file-system']=array(
'title'=>'File system',
'description'=>'Tell Drupal where to store uploaded files and how they are accessed.',
$items['admin/config/development/logging']=array(
'title'=>'Logging and errors',
'description'=>"Settings for logging and alerts modules. Various modules can route Drupal's system events to different destinations, such as syslog, database, email, etc.",
'#description'=>t('The maximum allowed image size (e.g. 640x480). Set to 0 for no restriction. If an <a href="!image-toolkit-link">image toolkit</a> is installed, files exceeding this value will be scaled down to fit.',array('!image-toolkit-link'=>url('admin/settings/image-toolkit'))),
'#description'=>t('The maximum allowed image size (e.g. 640x480). Set to 0 for no restriction. If an <a href="!image-toolkit-link">image toolkit</a> is installed, files exceeding this value will be scaled down to fit.',array('!image-toolkit-link'=>url('admin/config/media/image-toolkit'))),
$form['attachments']['#description']=t('File attachments are disabled. The file directories have not been properly configured.');
if(user_access('administer site configuration')){
$form['attachments']['#description'].=' '.t('Please visit the <a href="@admin-file-system">file system configuration page</a>.',array('@admin-file-system'=>url('admin/settings/file-system')));
$form['attachments']['#description'].=' '.t('Please visit the <a href="@admin-file-system">file system configuration page</a>.',array('@admin-file-system'=>url('admin/config/media/file-system')));
}
else{
$form['attachments']['#description'].=' '.t('Please contact the site administrator.');
'#description'=>t('The style selected will be used on display, while the original image is retained. Styles may be configured in the <a href="!url">Image styles</a> administration area.',array('!url'=>url('admin/settings/image-styles'))),
'#description'=>t('The style selected will be used on display, while the original image is retained. Styles may be configured in the <a href="!url">Image styles</a> administration area.',array('!url'=>url('admin/config/media/image-styles'))),