- Timestamp:
- Jul 13, 2006 11:24:01 PM (18 years ago)
- Location:
- trunk/bin/module_maker
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/module.cli.php
r185 r202 285 285 \$frm =& editRecordForm(getFormData('%PRIMARY_KEY%')); 286 286 \$frm = array_merge(\$frm, getFormData()); 287 \$nav->add Page(_("Edit %ITEM_TITLE%"));287 \$nav->add(_("Edit %ITEM_TITLE%")); 288 288 \$main_template = '%ADMIN_FORM_TEMPLATE%'; 289 289 break; -
trunk/bin/module_maker/skel/admin.php
r159 r202 28 28 29 29 // Titles and navigation header. 30 $nav->add Page(_("%TITLE%"), $_SERVER['PHP_SELF']);30 $nav->add(_("%TITLE%"), null); 31 31 32 32 // The object to validate form input. … … 74 74 // Initialize variables for the form template. 75 75 $frm =& addRecordForm(); 76 $nav->add Page(_("Add %ITEM_TITLE%"));76 $nav->add(_("Add %ITEM_TITLE%")); 77 77 $main_template = '%ADMIN_FORM_TEMPLATE%'; 78 78 break; … … 82 82 // Initialize variables for the form template. 83 83 $frm =& editRecordForm(getFormData('%PRIMARY_KEY%')); 84 $nav->add Page(_("Edit %ITEM_TITLE%"));84 $nav->add(_("Edit %ITEM_TITLE%")); 85 85 $main_template = '%ADMIN_FORM_TEMPLATE%'; 86 86 break; … … 111 111 $frm =& addRecordForm(); 112 112 $frm = array_merge($frm, getFormData()); 113 $nav->add Page(_("Add %ITEM_TITLE%"));113 $nav->add(_("Add %ITEM_TITLE%")); 114 114 $main_template = '%ADMIN_FORM_TEMPLATE%'; 115 115 } else { … … 148 148 $frm =& editRecordForm(getFormData('%PRIMARY_KEY%')); 149 149 $frm = array_merge($frm, getFormData()); 150 $nav->add Page(_("Edit %ITEM_TITLE%"));150 $nav->add(_("Edit %ITEM_TITLE%")); 151 151 $main_template = '%ADMIN_FORM_TEMPLATE%'; 152 152 } else {%ADMIN_UPLOAD_UPDATE% -
trunk/bin/module_maker/skel/public.php
r154 r202 17 17 18 18 // 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 )); 21 23 22 24 // Instantiate page numbers. Total items are set and calculation is done in the getRecordList function. … … 54 56 55 57 // Set title and main template. 56 $nav->add Page($item['__///__']);58 $nav->add($item['__///__']); 57 59 $main_template = '%PUBLIC_DETAIL_TEMPLATE%'; 58 60
Note: See TracChangeset
for help on using the changeset viewer.