|
|
@ -3,10 +3,16 @@ |
|
|
|
require_once __DIR__ . '/../../../../plugins/Html.php'; |
|
|
|
require_once __DIR__ . '/../../../../plugins/Html.php'; |
|
|
|
$imgPreffix = '/' . FSC::$app['config']['content_directory'] . FSC::$app['config']['tajian']['data_dir']; |
|
|
|
$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)) { |
|
|
|
if (!empty($breadcrumbs)) { |
|
|
|
echo <<<eof |
|
|
|
echo <<<eof |
|
|
|
<div class="breadcrumbs"> |
|
|
|
<div class="breadcrumbs"> |
|
|
|
<a href="/">首页</a> >> |
|
|
|
<a href="{$linkPrefix}/">首页</a> >> |
|
|
|
eof; |
|
|
|
eof; |
|
|
|
|
|
|
|
|
|
|
|
foreach($breadcrumbs as $bread) { |
|
|
|
foreach($breadcrumbs as $bread) { |
|
|
|