From 34f06f3f945d875547016a196f14b99a7fe05994 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Sun, 25 Feb 2024 10:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB=E7=AE=A1=E7=90=86=E7=BB=86?= =?UTF-8?q?=E5=BE=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/share/view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/share/view.php b/views/share/view.php index 85d5432..2081c1c 100644 --- a/views/share/view.php +++ b/views/share/view.php @@ -10,7 +10,7 @@ use yii\widgets\DetailView; /** @var app\models\Share $model */ $this->title = '分享ID '.$model->share_id; -$this->params['breadcrumbs'][] = ['label' => 'Shares', 'url' => ['index']]; +$this->params['breadcrumbs'][] = ['label' => '分享', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; YiiAsset::register($this); JqueryAsset::register($this); @@ -21,12 +21,12 @@ JqueryAsset::register($this);

'btn btn-primary', 'id' => 'copy-link-button']) ?> - $model->share_id], ['class' => 'btn btn-primary', 'target' => '_blank']) ?> + $model->share_id,'access_code'=>$model->access_code], ['class' => 'btn btn-primary', 'target' => '_blank']) ?> $model->share_id], ['class' => 'btn btn-primary']) ?> $model->share_id], [ 'class' => 'btn btn-danger', 'data' => [ - 'confirm' => 'Are you sure you want to delete this item?', + 'confirm' => '你确定要取消这个分享?其他人将无法通过该链接访问文件', 'method' => 'post', ], ]) ?>