@@ -13,7 +13,7 @@ function aggregator_help($section) {
switch($section){
case'admin/help#aggregator':
$output='<p>'.t('The news aggregator is a powerful on-site RSS syndicator/news reader that can gather fresh content from news sites and weblogs around the web.').'</p>';
$output.='<p>'.t('Users can view the latest news chronologically in the <a href="%aggregator">main news aggregator display</a> or by <a href="%aggregator-sources">source</a>. Administrators can add, edit and delete feeds and choose how often to check for newly updated news for each individual feed. Administrators can also tag individual feeds with categories, offering selective grouping of some feeds into separate displays. Listings of the latest news for individual sources or categorized sources can be enabled as blocks for display in the sidebar through the <a href="%admin-block">block administration page</a>. The news aggregator requires cron to check for the latest news from the sites to which you have subscribed. Drupal also provides a <a href="%aggregator-opml">machine-readable OPML file</a> of all of your subscribed feeds.',array('%aggregator'=>url('aggregator'),'%aggregator-sources'=>url('aggregator/sources'),'%admin-block'=>url('admin/block'),'%aggregator-opml'=>url('aggregator/opml'))).'</p>';
$output.='<p>'.t('Users can view the latest news chronologically in the <a href="%aggregator">main news aggregator display</a> or by <a href="%aggregator-sources">source</a>. Administrators can add, edit and delete feeds and choose how often to check for newly updated news for each individual feed. Administrators can also tag individual feeds with categories, offering selective grouping of some feeds into separate displays. Listings of the latest news for individual sources or categorized sources can be enabled as blocks for display in the sidebar through the <a href="%admin-block">block administration page</a>. The news aggregator requires cron to check for the latest news from the sites to which you have subscribed. Drupal also provides a <a href="%aggregator-opml">machine-readable OPML file</a> of all of your subscribed feeds.',array('%aggregator'=>url('aggregator'),'%aggregator-sources'=>url('aggregator/sources'),'%admin-block'=>url('admin/build/block'),'%aggregator-opml'=>url('aggregator/opml'))).'</p>';
$output.=t('<p>You can</p>
<ul>
<li>administer your list of news feeds <a href="%admin-aggregator">administer >> aggregator</a>.</li>
...
...
@@ -24,16 +24,16 @@ function aggregator_help($section) {
<li>set permissions to access new feeds for user roles such as anonymous users at <a href="%admin-access">administer >> access control</a>.</li>
<li>view the <a href="%aggregator">aggregator page</a>.</li>
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%aggregator">Aggregator page</a>.',array('%aggregator'=>'http://drupal.org/handbook/modules/aggregator/')).'</p>';
return$output;
case'admin/modules#description':
case'admin/settings/modules#description':
returnt('Aggregates syndicated content (RSS, RDF, and Atom feeds).');
case'admin/aggregator':
returnt('<p>Thousands of sites (particularly news sites and weblogs) publish their latest headlines and/or stories in a machine-readable format so that other sites can easily link to them. This content is usually in the form of an <a href="http://blogs.law.harvard.edu/tech/rss">RSS</a> feed (which is an XML-based syndication standard). To display the feed or category in a block you must decide how many items to show by editing the feed or block and turning on the <a href="%block">feed\'s block</a>.</p>',array('%block'=>url('admin/block')));
case'admin/aggregator/add/feed':
case'admin/content/aggregator':
returnt('<p>Thousands of sites (particularly news sites and weblogs) publish their latest headlines and/or stories in a machine-readable format so that other sites can easily link to them. This content is usually in the form of an <a href="http://blogs.law.harvard.edu/tech/rss">RSS</a> feed (which is an XML-based syndication standard). To display the feed or category in a block you must decide how many items to show by editing the feed or block and turning on the <a href="%block">feed\'s block</a>.</p>',array('%block'=>url('admin/build/block')));
case'admin/content/aggregator/add/feed':
returnt('<p>Add a site that has an RSS/RDF/Atom feed. The URL is the full path to the feed file. For the feed to update automatically you must run "cron.php" on a regular basis. If you already have a feed with the URL you are planning to use, the system will not accept another feed with the same URL.</p>');
case'admin/aggregator/add/category':
case'admin/content/aggregator/add/category':
returnt('<p>Categories provide a way to group items from different news feeds together. Each news category has its own feed page and block. For example, you could tag various sport-related feeds as belonging to a category called <em>Sports</em>. News items can be added to a category automatically by setting a feed to automatically place its item into that category, or by using the categorize items link in any listing of news items.</p>');
}
}
...
...
@@ -47,38 +47,40 @@ function aggregator_menu($may_cache) {
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%archive">Archive page</a>.',array('%archive'=>'http://drupal.org/handbook/modules/archive/')).'</p>';
return$output;
case'admin/modules#description':
case'admin/settings/modules#description':
returnt('Displays a calendar for navigating older content.');
$output.='<p>'.t('Some modules generate blocks that become available when the modules are enabled. These blocks can be administered via the <a href="%admin-block">blocks administration page</a>.</p>',array('%admin-block'=>url('admin/block'))).'</p>';
$output.='<p>'.t('Some modules generate blocks that become available when the modules are enabled. These blocks can be administered via the <a href="%admin-block">blocks administration page</a>.</p>',array('%admin-block'=>url('admin/build/block'))).'</p>';
$output.='<h3>'.t('Administrator defined blocks').'</h3>';
$output.='<p>'.t('Administrators can also define custom blocks. These blocks consist of a title, a description, and a body which can be as long as you wish. Block content can be in any of the input formats supported for other content.').'</p>';
$output.=t('<p>You can</p>
...
...
@@ -35,20 +35,20 @@ function block_help($section) {
<li>enable, throttle and configure blocks at <a href="%admin-block">administer >> blocks</a>.</li>
<li>add an administrator-defined block at <a href="%admin-block-add">administer >> blocks >> add block</a>.</li>
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%block">Block page</a>.',array('%block'=>'http://drupal.org/handbook/modules/block/')).'</p>';
return$output;
case'admin/modules#description':
case'admin/settings/modules#description':
returnt('Controls the boxes that are displayed around the main content.');
case'admin/block':
case'admin/build/block':
returnt("
<p>Blocks are boxes of content that may be rendered into certain regions of your web pages, for example, into sidebars. They are usually generated automatically by modules, but administrators can create blocks manually.</p>
<p>Only enabled blocks are shown. You can position blocks by specifying which area of the page they should appear in (e.g., a sidebar). Highlighted labels on this page show the regions into which blocks can be rendered. You can specify where within a region a block will appear by adjusting its weight.</p>
<p>If you want certain blocks to disable themselves temporarily during high server loads, check the 'Throttle' box. You can configure the auto-throttle on the <a href=\"%throttle\">throttle configuration page</a> after having enabled the throttle module.</p>
<p>You can configure the behaviour of each block (for example, specifying on which pages and for what users it will appear) by clicking the 'configure' link for each block.</p>
returnt('<p>Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using <a href="%overview">blocks</a>. The title is used when displaying the block. The description is used in the "block" column on the <a href="%overview">blocks</a> page.</p>',array('%overview'=>url('admin/block')));
case'admin/build/block/add':
returnt('<p>Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using <a href="%overview">blocks</a>. The title is used when displaying the block. The description is used in the "block" column on the <a href="%overview">blocks</a> page.</p>',array('%overview'=>url('admin/build/block')));
}
}
...
...
@@ -66,31 +66,34 @@ function block_menu($may_cache) {
returnconfirm_form('block_box_delete_confirm',$form,t('Are you sure you want to delete the block %name?',array('%name'=>theme('placeholder',$box['info']))),'admin/block','',t('Delete'),t('Cancel'));
returnconfirm_form('block_box_delete_confirm',$form,t('Are you sure you want to delete the block %name?',array('%name'=>theme('placeholder',$box['info']))),'admin/build/block','',t('Delete'),t('Cancel'));
}
/**
...
...
@@ -528,7 +531,7 @@ function block_box_delete_confirm_submit($form_id, $form_values) {
db_query('DELETE FROM {boxes} WHERE bid = %d',$form_values['bid']);
drupal_set_message(t('The block %name has been removed.',array('%name'=>theme('placeholder',$form_values['info']))));
cache_clear_all();
return'admin/block';
return'admin/build/block';
};
functionblock_box_form($edit=array()){
...
...
@@ -537,7 +540,7 @@ function block_box_form($edit = array()) {
'#title'=>t('Block description'),
'#default_value'=>$edit['info'],
'#maxlength'=>64,
'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/block'))),
'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/build/block'))),
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%blog">Blog page</a>.',array('%blog'=>'http://drupal.org/handbook/modules/blog/')).'</p>';
return$output;
case'admin/modules#description':
case'admin/settings/modules#description':
returnt('Enables keeping an easily and regularly updated web page or a blog.');
case'node/add#blog':
returnt("A blog is a regularly updated journal or diary made up of individual posts shown in reversed chronological order. Each member of the site may create and maintain a blog.");
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%blogapi">BlogApi page</a>.',array('%blogapi'=>'http://drupal.org/handbook/modules/blogapi/')).'</p>';
return$output;
case'admin/modules#description':
case'admin/settings/modules#description':
returnt('Allows users to post content using applications that support XML-RPC blog APIs.');
}
}
...
...
@@ -587,6 +587,7 @@ function blogapi_menu($may_cache) {
$items[]=array(
'path'=>'admin/settings/blogapi',
'title'=>t('blog APIs'),
'description'=>t('Configure which content types and engines external blog clients can use.'),
'callback'=>'blogapi_admin_settings',
'access'=>user_access('administer site configuration'),
@@ -980,7 +979,7 @@ function book_admin($nid = 0) {
functionbook_admin_overview(){
$result=db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE b.parent = 0 ORDER BY b.weight, n.title'));
@@ -994,7 +993,7 @@ function book_help($section) {
switch($section){
case'admin/help#book':
$output='<p>'.t('The <em>book</em> content type is suited for creating structured, multi-page hypertexts such as site resource guides, manuals, and Frequently Asked Questions (FAQs). It permits a document to have chapters, sections, subsections, etc. Authors with suitable permissions can add pages to a collaborative book, placing them into the existing document by adding them to a table of contents menu. ').'</p>';
$output.='<p>'.t('Books have additional <em>previous</em>, <em>up</em>, and <em>next</em> navigation elements at the bottom of each page for moving through the text. Additional navigation may be provided by enabling the <em>book navigation block</em> on the <a href="%admin-block">block administration page</a>.',array('%admin-block'=>url('admin/block'))).'</p>';
$output.='<p>'.t('Books have additional <em>previous</em>, <em>up</em>, and <em>next</em> navigation elements at the bottom of each page for moving through the text. Additional navigation may be provided by enabling the <em>book navigation block</em> on the <a href="%admin-block">block administration page</a>.',array('%admin-block'=>url('admin/build/block'))).'</p>';
$output.='<p>'.t('Users can select the <em>printer-friendly version</em> link visible at the bottom of a book page to generate a printer-friendly display of the page and all of its subsections. ').'</p>';
$output.='<p>'.t('Administrators can view a book outline, from which is it possible to change the titles of sections, and their <i>weight</i> (thus reordering sections). From this outline, it is also possible to edit and/or delete book pages. Many content types besides pages (for example, blog entries, stories, and polls) can be added to a collaborative book by choosing the <em>outline</em> tab when viewing the post.').'</p>';
$output.=t('<p>You can</p>
...
...
@@ -1005,14 +1004,14 @@ function book_help($section) {
<li>enable the book navigation block: <a href="%admin-block">administer >> blocks</a>.</li>
<li>control who can create, edit, and outline posts in books by setting access permissions: <a href="%admin-access">administer >> access control</a>.</li>