function help_main in Drupal 4
Same name and namespace in other branches
- 5 modules/help/help.module \help_main()
- 6 modules/help/help.admin.inc \help_main()
- 7 modules/help/help.admin.inc \help_main()
Menu callback; prints a page listing a glossary of Drupal terminology.
1 string reference to 'help_main'
- help_menu in modules/
help.module - Implementation of hook_menu().
File
- modules/
help.module, line 37 - Manages displaying online help.
Code
function help_main() {
$output = t("\n <h2>Help topics</h2>\n <p>Help is available on the following items:</p>\n %help_pages\n <h2>Glossary of Drupal terminology</h2>\n <dl>\n <dt>Block</dt><dd>A small box containing information or content placed in the left-hand or right-hand sidebar of a web page.</dd>\n <dt>Comment</dt><dd>A note attached to a node. Usually intended to clarify, explain, criticize, or express an opinion on the original material.</dd>\n <dt>Moderation</dt>\n <dd>The activity of making sure a post to a Drupal site fits in with what is expected for that Drupal site.\n <dl>\n <dt>Approved</dt><dd>A moderated post which has been accepted by the moderators for publication. (See published).</dd>\n <dt>Waiting</dt><dd>A moderated post which is still being voted on to be accepted for publication. (See published.)</dd>\n </dl>\n </dd>\n <dt>Node</dt><dd>The basic data unit in Drupal. Everything is a node or an extension of a node.</dd>\n <dt>Public</dt><dd>See published.</dd>\n <dt>Published</dt><dd>A node that is viewable by everyone. (See unpublished.)</dd>\n <dt>Role</dt><dd>A classification users are placed into for the purpose of setting users' permissions.</dd>\n <dt>Taxonomy</dt><dd>A division of a collection of things into ordered, classified groups. (See <a href=\"%taxonomy\">taxonomy help</a>.)</dd>\n <dt>Unpublished</dt><dd>A node that is only viewable by administrators and moderators.</dd>\n <dt>User</dt><dd>A person who has an account at your Drupal site, and is logged in with that account.</dd>\n <dt>Visitor</dt><dd>A person who does not have an account at your Drupal site or a person who has an account at your Drupal site but is <strong>not</strong> logged in with that account. Also termed \"anonymous user\".</dd>\n </dl>", array(
'%help_pages' => help_links_as_list(),
'%taxonomy' => url('admin/help/taxonomy'),
));
return $output;
}