'#description'=>$module=='block'?t('The title of the block as shown to the user.'):t('Override the default title for the block. Use <em><none></em> to display no title, or leave blank to use the default block title.'),
'#default_value'=>$edit['title'],
'#description'=>$block->module=='block'?t('The title of the block as shown to the user.'):t('Override the default title for the block. Use <em><none></em> to display no title, or leave blank to use the default block title.'),
returnconfirm_form($form,t('Are you sure you want to delete the block %name?',array('%name'=>$custom_block['info'])),'admin/structure/block','',t('Delete'),t('Cancel'));
@@ -81,7 +81,7 @@ function locale_help($path, $arg) {
return'<p>'.t('This page exports the translated strings used by your site. An export file may be in Gettext Portable Object (<em>.po</em>) form, which includes both the original string and the translation (used to share translations with others), or in Gettext Portable Object Template (<em>.pot</em>) form, which includes the original strings only (used to create new translations with a Gettext translation editor).').'</p>';
case'admin/config/regional/translate/translate':
return'<p>'.t('This page allows a translator to search for specific translated and untranslated strings, and is used when creating or editing translations. (Note: For translation tasks involving many strings, it may be more convenient to <a href="@export">export</a> strings for offline editing in a desktop Gettext translation editor.) Searches may be limited to strings found within a specific text group or in a specific language.',array('@export'=>url('admin/config/regional/translate/export'))).'</p>';
case'admin/structure/block/configure':
case'admin/structure/block/manage':
if($arg[4]=='locale'&&$arg[5]==0){
return'<p>'.t('This block is only shown if <a href="@languages">at least two languages are enabled</a> and <a href="@configuration">language negotiation</a> is set to something other than <em>None</em>.',array('@languages'=>url('admin/config/regional/language'),'@configuration'=>url('admin/config/regional/language/configure'))).'</p>';
@@ -2223,7 +2223,7 @@ function system_update_7021() {
'cache'=>-1,
));
}
drupal_set_message('The contact form information setting was migrated to <a href="'.url('admin/structure/block/configure/block/'.$bid).'">a custom block</a> and set up to only show on the site-wide contact page. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right.');
drupal_set_message('The contact form information setting was migrated to <a href="'.url('admin/structure/block/manage/block/'.$bid.'/configure').'">a custom block</a> and set up to only show on the site-wide contact page. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right.');
}
$insert->execute();
...
...
@@ -2246,7 +2246,7 @@ function system_update_7021() {
'cache'=>-1,
));
}
drupal_set_message('The user registration guidelines were migrated to <a href="'.url('admin/structure/block/configure/block/'.$bid).'">a custom block</a> and set up to only show on the user registration page. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right.');
drupal_set_message('The user registration guidelines were migrated to <a href="'.url('admin/structure/block/manage/block/'.$bid.'/configure').'">a custom block</a> and set up to only show on the user registration page. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right.');
$insert->execute();
}
...
...
@@ -2269,7 +2269,7 @@ function system_update_7021() {
'cache'=>-1,
));
}
drupal_set_message('The site mission was migrated to <a href="'.url('admin/structure/block/configure/block/'.$bid).'">a custom block</a> and set up to only show on the front page in the highlighted content region. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right. If your theme does not have a highlighted content region, you might need to <a href="'.url('admin/structure/block').'">relocate the block</a>.');
drupal_set_message('The site mission was migrated to <a href="'.url('admin/structure/block/manage/block/'.$bid.'/configure').'">a custom block</a> and set up to only show on the front page in the highlighted content region. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right. If your theme does not have a highlighted content region, you might need to <a href="'.url('admin/structure/block').'">relocate the block</a>.');
$insert->execute();
// Migrate mission to RSS site description.
variable_set('feed_description',$mission);
...
...
@@ -2295,7 +2295,7 @@ function system_update_7021() {
'cache'=>-1,
));
}
drupal_set_message('The footer message was migrated to <a href="'.url('admin/structure/block/configure/block/'.$bid).'">a custom block</a> and set up to appear in the footer. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right. If your theme does not have a footer region, you might need to <a href="'.url('admin/structure/block').'">relocate the block</a>.');
drupal_set_message('The footer message was migrated to <a href="'.url('admin/structure/block/manage/block/'.$bid.'/configure').'">a custom block</a> and set up to appear in the footer. The block was set to use the default text format, which might differ from the HTML based format used before. Please check the block and ensure that the output is right. If your theme does not have a footer region, you might need to <a href="'.url('admin/structure/block').'">relocate the block</a>.');
@@ -123,7 +123,7 @@ function system_help($path, $arg) {
return$output;
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':
case'admin/structure/block/manage':
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>';