Ignore:
Timestamp:
08/15/10 18:45:12 (22 months ago)
Author:
vain
Message:
  • several changes to copyright, router, bootstrap, frontcontroller and various other files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/viewhelper/smarty/function.breadcrumbs.php

    r4493 r4578  
    22function smarty_function_breadcrumbs($params, $smarty) 
    33{ 
     4    # handle trail params set directly to the smarty function call in the template 
    45    if (isset($params['trail']) && is_array($params['trail'])) 
    56    { 
     
    1112    } 
    1213 
     14    Clansuite_Debug::firebug($trail); 
     15 
     16    # is the seperator element set via the smarty function call? 
    1317    if (isset($params['separator'])) 
    1418    { 
    1519        $separator = $params['separator']; 
    1620    } 
    17     else 
     21    else # no, take default seperator 
    1822    { 
    1923        $separator = ' > '; 
     
    3943        if (isset($trail[$i]['link']) && $i < $trailSize - 1) 
    4044        { 
    41             // if parameter heading is not set, give links 
     45            # if parameter heading is not set, give links 
    4246            if (!isset($params['title'])) 
    4347            { 
    4448                $links[] = '<a href="'. $trail[$i]['link'] .'" title="'. htmlspecialchars($trail[$i]['title']). '">'. $title .'</a>'; 
    4549            } 
    46             // if heading is set, just titles 
     50            # if heading is set, just titles 
    4751            else 
    4852            { 
     
    5660    } 
    5761 
    58     #$breadcrumb_string = join($separator . "\n", $links); 
    5962    $breadcrumb_string = join($separator . ' ', $links); 
    6063 
Note: See TracChangeset for help on using the changeset viewer.