/[drupal]/contributions/modules/booktree/booktree.module
ViewVC logotype

Diff of /contributions/modules/booktree/booktree.module

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

revision 1.11.2.2, Wed Jun 10 17:42:05 2009 UTC revision 1.11.2.3, Sat Jul 4 16:18:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: booktree.module,v 1.11.2.1 2008/10/12 21:26:16 uccio Exp $  // $Id: booktree.module,v 1.11.2.2 2009/06/10 17:42:05 heine Exp $
3    
4    
5    
# Line 30  function booktree_menu() { Line 30  function booktree_menu() {
30        );        );
31    
32    $items['admin/settings/booktree'] = array(    $items['admin/settings/booktree'] = array(
33        'title' => t('Settings of BookTree'),        'title' => t('BookTree'),
34        'description' => t('Manage the tree-view of book.'),        'description' => t('Manage the tree-view of book.'),
35        'page callback' => 'drupal_get_form',        'page callback' => 'drupal_get_form',
36        'page arguments' => array('booktree_configure'),        'page arguments' => array('booktree_configure'),
# Line 112  function booktree_mostra_figli( $mlid,$n Line 112  function booktree_mostra_figli( $mlid,$n
112             FROM {book} as b             FROM {book} as b
113             inner join {menu_links} as m ON b.mlid = m.mlid             inner join {menu_links} as m ON b.mlid = m.mlid
114             inner join {node} as n ON n.nid = b.nid             inner join {node} as n ON n.nid = b.nid
115             WHERE m.plid = '%d'             WHERE m.plid = '%d'  AND n.status = 1
116             ORDER by m.weight, n.title             ORDER by m.weight, n.title
117             ";             ";
118      $children = db_query(db_rewrite_sql($sql), $mlid);      $children = db_query(db_rewrite_sql($sql), $mlid);

Legend:
Removed from v.1.11.2.2  
changed lines
  Added in v.1.11.2.3

  ViewVC Help
Powered by ViewVC 1.1.2