From 694a38c1793b096c2dfdf07be4a0446c11eb7995 Mon Sep 17 00:00:00 2001
From: Dries Buytaert
Site pages, unlike many other forms of Drupal content, may be made of PHP code in addition to HTML and text. All Drupal objects and functions are available to a site administrator.
"; +function page_help($section = "admin/page/help") { + $output = ""; - return $output; + switch ($section) { + case 'admin/help': + case 'admin/page/help': + $output .= "The page module is used to create a static page. Unlike a story, a static page is a persistent web page on your site which usually shortcuts the typical lifecycle of user generated content (i.e. submit -> moderate -> post -> comment). A static page is usually linked from the main navigation bar, using whatever text the author wishes. To create a static page without this navigation link, simply skip the link text field.
"; + $output .= "Site pages, unlike many other forms of Drupal content, may be made of PHP code in addition to HTML and text. All Drupal objects and functions are available to a site administrator.
"; + break; + case 'admin/system/modules': + $output = "Enables the creation of a static pages that can be added to the navigation system."; + break; + + } + + return t($output); } function page_system($field) { - $system["description"] = t("Enables the creation of a static pages that can be added to the navigation system."); - return $system[$field]; + $output = ""; + + if ($field == "description") {$output = page_help("admin/system/modules"); }; + + return $output; } function page_perm() { -- cgit v1.2.3