Ignore:
Timestamp:
Jul 13, 2006 11:24:01 PM (18 years ago)
Author:
scdev
Message:

Q - updated usage of $nav.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/skel/public.php

    r154 r202  
    1717
    1818// Titles and navigation header.
    19 $nav->addPage(_("%TITLE%"), $_SERVER['PHP_SELF']);
    20 $nav->setFeature(array('title'=>true));
     19$nav->add(sprintf(_("%TITLE%"), null));
     20$nav->setParam(array(
     21    'title' => true,
     22));
    2123
    2224// Instantiate page numbers. Total items are set and calculation is done in the getRecordList function.
     
    5456
    5557    // Set title and main template.
    56     $nav->addPage($item['__///__']);
     58    $nav->add($item['__///__']);
    5759    $main_template = '%PUBLIC_DETAIL_TEMPLATE%';
    5860
Note: See TracChangeset for help on using the changeset viewer.