title = '分享信息'; $this->params['breadcrumbs'][] = $this->title; ?>
= ($isDirectory ? '文件夹' : '文件') . ': ' . $model->getShareFileName() ?>
大小: = FileSizeHelper::getFormatFSize($model->getAbsoluteFilePath())?>
分享者: = Html::encode($sharerUsername) ?>
分享创建日期: = Html::encode($model->creation_date) ?>
$model->share_id]), ['class' => 'btn btn-primary']); } else { // 如果是文件,显示 "下载文件" 按钮 echo Html::a('下载文件', Url::to(['share/download', 'share_id' => $model->share_id]), ['class' => 'btn btn-primary']); } ?>