Dotclear

Changeset 1334:bbbe0735f18b for inc


Ignore:
Timestamp:
08/12/13 09:27:40 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

New dcPage::breadcrumb function, better way to use it, to be continued by me…

File:
1 edited

Legend:

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

    r1329 r1334  
    273273     } 
    274274 
    275      public static function breadcrumb($elements=null,$no_home_link=false) 
     275     public static function breadcrumb($elements=null,$no_home_link=false,$echo=true) 
    276276     { 
    277277          // First item of array elements should be blog's name, System or Plugins 
     
    285285          } 
    286286          $res .= '</h2>'; 
     287          if ($echo) { 
     288               echo $res; 
     289          } 
    287290          return $res; 
    288291     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map