Dotclear


Ignore:
Timestamp:
08/14/13 11:58:26 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

dcPage::open() now cope with breadcrumb elements array if given

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r1355 r1356  
    4949 
    5050     # Top of admin page 
    51      public static function open($title='', $head='', $breadcrumb='') 
     51     public static function open($title='', $head='', $breadcrumb=null) 
    5252     { 
    5353          global $core; 
     
    160160 
    161161          // Display breadcrumb (if given) before any error message 
    162           echo $breadcrumb; 
     162          if (is_array($breadcrumb)) { 
     163               self::breadcrumb($breadcrumb); 
     164          } 
    163165 
    164166          if ($core->error->flag()) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map