|
|
|
@ -3,10 +3,16 @@
@@ -3,10 +3,16 @@
|
|
|
|
|
require_once __DIR__ . '/../../../../plugins/Html.php'; |
|
|
|
|
$imgPreffix = '/' . FSC::$app['config']['content_directory'] . FSC::$app['config']['tajian']['data_dir']; |
|
|
|
|
|
|
|
|
|
$linkPrefix = ''; |
|
|
|
|
//多用户路径支持 |
|
|
|
|
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['user_id'])) { |
|
|
|
|
$linkPrefix = '/' . FSC::$app['user_id']; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!empty($breadcrumbs)) { |
|
|
|
|
echo <<<eof |
|
|
|
|
<div class="breadcrumbs"> |
|
|
|
|
<a href="/">首页</a> >> |
|
|
|
|
<a href="{$linkPrefix}/">首页</a> >> |
|
|
|
|
eof; |
|
|
|
|
|
|
|
|
|
foreach($breadcrumbs as $bread) { |
|
|
|
|