/[drupal]/contributions/modules/menu_block/menu_block.pages.inc
ViewVC logotype

Diff of /contributions/modules/menu_block/menu_block.pages.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9, Mon Dec 1 02:13:10 2008 UTC revision 1.10, Mon Dec 1 02:17:53 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: menu_block.pages.inc,v 1.8 2008/11/30 06:11:52 johnalbin Exp $  // $Id: menu_block.pages.inc,v 1.9 2008/12/01 02:13:10 johnalbin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 57  function _menu_block_help($path, $arg) { Line 57  function _menu_block_help($path, $arg) {
57        . '<p>' . t('In addition, the wrapper %div for the block is generated using the %template_default template. And Menu block provides template suggestions of the form %template_suggestion. For example, a file in your theme called %template_example can be used to override the %div for just the primary-links menu blocks.', array('%div' => '<div>', '%template_default' => 'menu-block-wrapper.tpl.php', '%template_suggestion' => 'menu-block-wrapper-MENUNAME.tpl.php', '%template_example' => 'menu-block-wrapper-primary-links.tpl.php')) . '</p>'        . '<p>' . t('In addition, the wrapper %div for the block is generated using the %template_default template. And Menu block provides template suggestions of the form %template_suggestion. For example, a file in your theme called %template_example can be used to override the %div for just the primary-links menu blocks.', array('%div' => '<div>', '%template_default' => 'menu-block-wrapper.tpl.php', '%template_suggestion' => 'menu-block-wrapper-MENUNAME.tpl.php', '%template_example' => 'menu-block-wrapper-primary-links.tpl.php')) . '</p>'
58        . '<h3>' . t('Menu block API') . '</h3>'        . '<h3>' . t('Menu block API') . '</h3>'
59        . '<p>' . t('Developers can use the API of this module to create their own menu trees outside the confines of blocks. All of the publicly available API functions are documented in the menu_block.module file.') . '</p>';        . '<p>' . t('Developers can use the API of this module to create their own menu trees outside the confines of blocks. All of the publicly available API functions are documented in the menu_block.module file.') . '</p>';
60          . '<p>' . t('In addition, Menu block implements HOOK_get_menus() to retrieve menu names and titles of menus created by a module. See book_get_menus() in menu_block.book.inc for an example of this hook.') . '</p>';
61        break;        break;
62    }    }
63    return $output;    return $output;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.2