1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

Download breadcrumb fix.

This commit is contained in:
Cameron
2017-03-27 09:43:21 -07:00
parent 0846180664
commit c581b89aa1
4 changed files with 164 additions and 62 deletions

View File

@@ -2995,9 +2995,14 @@ class e_form
$text = '<ul class="breadcrumb">
<li>';
foreach($array as $val)
{
if($val['url'] === e_REQUEST_URI) // automatic link removal for current page.
{
$val['url']= null;
}
$ret = "";
$ret .= vartrue($val['url']) ? "<a href='".$val['url']."'>" : "";
$ret .= vartrue($val['text'],'');