@@ -39,7 +39,7 @@ function help_help($path, $arg) {
$output='<p>'.t('Please follow these steps to set up and start using your website:').'</p>';
$output.='<ol>';
$output.='<li>'.t('<strong>Configure your website</strong> Once logged in, visit the <a href="@admin">administration section</a>, where you can <a href="@config">customize and configure</a> all aspects of your website.',array('@admin'=>url('admin'),'@config'=>url('admin/settings'))).'</li>';
$output.='<li>'.t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.',array('@modules'=>url('admin/structure/modules'),'@download_modules'=>'http://drupal.org/project/modules')).'</li>';
$output.='<li>'.t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.',array('@modules'=>url('admin/config/modules'),'@download_modules'=>'http://drupal.org/project/modules')).'</li>';
$output.='<li>'.t('<strong>Customize your website design</strong> To change the "look and feel" of your website, visit the <a href="@themes">themes section</a>. You may choose from one of the included themes or download additional themes from the <a href="@download_themes">Drupal themes download section</a>.',array('@themes'=>url('admin/appearance'),'@download_themes'=>'http://drupal.org/project/themes')).'</li>';
$output.='<li>'.t('<strong>Start posting content</strong> Finally, you can <a href="@content">add new content</a> for your website.',array('@content'=>url('node/add'))).'</li>';
@@ -283,7 +283,7 @@ function system_requirements($phase) {
$requirements['update status']=array(
'value'=>$t('Not enabled'),
'severity'=>REQUIREMENT_WARNING,
'description'=>$t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.',array('@update'=>'http://drupal.org/handbook/modules/update','@module'=>url('admin/structure/modules'))),
'description'=>$t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.',array('@update'=>'http://drupal.org/handbook/modules/update','@module'=>url('admin/config/modules'))),
@@ -92,7 +92,7 @@ function system_help($path, $arg) {
case'admin/help#system':
$output='<p>'.t('The system module is at the foundation of your Drupal website, and provides basic but extensible functionality for use by other modules and themes. Some integral elements of Drupal are contained in and managed by the system module, including caching, enabling or disabling of modules and themes, preparing and displaying the administrative page, and configuring fundamental site settings. A number of key system maintenance operations are also part of the system module.').'</p>';
$output.='<p>'.t('The system module provides:').'</p>';
$output.='<ul><li>'.t('support for enabling and disabling <a href="@modules">modules</a>. Drupal comes packaged with a number of core modules; each module provides a discrete set of features and may be enabled depending on the needs of your site. A wide array of additional modules contributed by members of the Drupal community are available for download at the <a href="@drupal-modules">Drupal.org module page</a>.',array('@modules'=>url('admin/structure/modules'),'@drupal-modules'=>'http://drupal.org/project/modules')).'</li>';
$output.='<ul><li>'.t('support for enabling and disabling <a href="@modules">modules</a>. Drupal comes packaged with a number of core modules; each module provides a discrete set of features and may be enabled depending on the needs of your site. A wide array of additional modules contributed by members of the Drupal community are available for download at the <a href="@drupal-modules">Drupal.org module page</a>.',array('@modules'=>url('admin/config/modules'),'@drupal-modules'=>'http://drupal.org/project/modules')).'</li>';
$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>';
...
...
@@ -111,13 +111,13 @@ function system_help($path, $arg) {
return'<p>'.t('These options control the display settings for the <code>%template</code> theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the <a href="@global">global settings</a> for this theme.',array('%template'=>$theme,'@global'=>url('admin/appearance/settings'))).'</p>';
case'admin/appearance/settings':
return'<p>'.t('These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.').'</p>';
case'admin/structure/modules':
case'admin/config/modules':
$output='<p>'.t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of <a href="@modules">contributed modules</a> are available for download.',array('@permissions'=>url('admin/settings/permissions'),'@modules'=>'http://drupal.org/project/modules')).'</p>';
$output.='<p>'.t('Module-related tasks can be located on the <a href="@by-module">administration by module page</a>. New <a href="@permissions">module-related permissions</a> may also become available as new modules are enabled.',array('@by-module'=>url('admin/by-module'),'@permissions'=>url('admin/settings/permissions'))).'</p>';
$output.='<p>'.t('Each time a module is updated, it is important that <a href="@update-php">update.php</a> is run. To help manage the update process, the <em>Update status</em> module, if enabled, provides <a href="@updates">information on new versions of modules (and themes)</a> as they are released. Regular review of the <a href="@updates">available updates page</a> is essential to maintaining a secure and current site.',array('@update-php'=>$base_url.'/update.php','@updates'=>url('admin/reports/updates'))).'</p>';
return$output;
case'admin/structure/modules/uninstall':
return'<p>'.t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it on the main <a href="@modules">modules page</a>. Not all modules support this feature.',array('@modules'=>url('admin/structure/modules'))).'</p>';
case'admin/config/modules/uninstall':
return'<p>'.t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it on the main <a href="@modules">modules page</a>. Not all modules support this feature.',array('@modules'=>url('admin/config/modules'))).'</p>';
case'admin/structure/block/configure':
if($arg[4]=='system'&&$arg[5]=='powered-by'){
return'<p>'.t('The <em>Powered by Drupal</em> block is an optional link to the home page of the Drupal project. While there is absolutely no requirement that sites feature this link, it may be used to show support for Drupal.').'</p>';
@@ -73,7 +73,7 @@ function update_help($path, $arg) {
$output.='<p>'.t('Each time Drupal core or a contributed module or theme is updated, it is important that <a href="@update-php">update.php</a> is run.',array('@update-php'=>url($base_url.'/update.php',array('external'=>TRUE)))).'</p>';
return$output;
case'admin/appearance':
case'admin/structure/modules':
case'admin/config/modules':
include_onceDRUPAL_ROOT.'/includes/install.inc';
$status=update_requirements('runtime');
foreach(array('core','contrib')as$report_type){
...
...
@@ -96,7 +96,7 @@ function update_help($path, $arg) {
case'admin/help#update':
$output='<p>'.t("The Update status module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts you to available updates.").'</p>';
$output.='<p>'.t('The <a href="@update-report">report of available updates</a> will alert you when new releases are available for download. You may configure options for update checking frequency and notifications at the <a href="@update-settings">Update status module settings page</a>.',array('@update-report'=>url('admin/reports/updates'),'@update-settings'=>url('admin/settings/updates'))).'</p>';
$output.='<p>'.t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the <a href="@modules">module administration page</a>.',array('@modules'=>url('admin/structure/modules'))).'</p>';
$output.='<p>'.t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the <a href="@modules">module administration page</a>.',array('@modules'=>url('admin/config/modules'))).'</p>';
$output.='<p>'.t('For more information, see the online handbook entry for <a href="@update">Update status module</a>.',array('@update'=>'http://drupal.org/handbook/modules/update')).'</p>';
$this->assertTrue(user_access('administer news feeds',$this->admin_user,TRUE),t('The permission was automatically assigned to the administrator role'));