mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 03:54:09 +02:00
Forum template work.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//<?php
|
||||
|
||||
global $$parm;
|
||||
$bc = $$parm;
|
||||
$flist = explode(",", $bc['fieldlist']);
|
||||
@@ -7,6 +9,9 @@ foreach($flist as $f)
|
||||
if($bc[$f]['value'])
|
||||
{
|
||||
$ret .= $bc[$f]['value'];
|
||||
$opt[] = $bc[$f]['value'];
|
||||
|
||||
|
||||
if($bc[$f]['sep'])
|
||||
{
|
||||
$ret .= $bc[$f]['sep'];
|
||||
@@ -14,4 +19,16 @@ foreach($flist as $f)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($bc['style']=='bootstrap')
|
||||
{
|
||||
return '<ul class="breadcrumb">
|
||||
|
||||
<li><a href="#">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="#">Library</a> <span class="divider">/</span></li>
|
||||
<li class="active">Data</li>
|
||||
</ul>';
|
||||
}
|
||||
|
||||
|
||||
return $ret;
|
Reference in New Issue
Block a user