version 1.155, 2006/12/05 02:55:53
|
version 1.156, 2007/01/05 17:55:41
|
Line 1202 Pushes a breadcrumb on the stack of crum
|
Line 1202 Pushes a breadcrumb on the stack of crum
|
|
|
input: $breadcrumb, a hash reference. The keys 'href','title', and 'text' |
input: $breadcrumb, a hash reference. The keys 'href','title', and 'text' |
are required. If present the keys 'faq' and 'bug' will be used to provide |
are required. If present the keys 'faq' and 'bug' will be used to provide |
links to the FAQ and bug sites. |
links to the FAQ and bug sites. If the key 'no_mt' is present the 'title' |
|
and 'text' values won't be sent through &mt() |
|
|
returns: nothing |
returns: nothing |
|
|
Line 1252 returns: nothing
|
Line 1253 returns: nothing
|
if (defined($_->{'target'}) && $_->{'target'} ne '') { |
if (defined($_->{'target'}) && $_->{'target'} ne '') { |
$result .= 'target="'.$_->{'target'}.'" '; |
$result .= 'target="'.$_->{'target'}.'" '; |
} |
} |
$result .='title="'.&mt($_->{'title'}).'">'. |
if ($_->{'no_mt'}) { |
&mt($_->{'text'}).'</a>'; |
$result .='title="'.$_->{'title'}.'">'. |
|
$_->{'text'}.'</a>'; |
|
} else { |
|
$result .='title="'.&mt($_->{'title'}).'">'. |
|
&mt($_->{'text'}).'</a>'; |
|
} |
$result; |
$result; |
} @Crumbs |
} @Crumbs |
); |
); |
$links .= '->' if ($links ne ''); |
$links .= '->' if ($links ne ''); |
$links .= '<b>'.&mt($last->{'text'}).'</b>'; |
if ($last->{'no_mt'}) { |
|
$links .= '<b>'.$last->{'text'}.'</b>'; |
|
} else { |
|
$links .= '<b>'.&mt($last->{'text'}).'</b>'; |
|
} |
# |
# |
my $icons = ''; |
my $icons = ''; |
$faq = $last->{'faq'} if (exists($last->{'faq'})); |
$faq = $last->{'faq'} if (exists($last->{'faq'})); |