Browse Source

site name update

master
filesite 7 months ago
parent
commit
393e3a1f8c
  1. 2
      themes/tajian/controller/MyController.php
  2. 8
      themes/tajian/controller/SiteController.php
  3. 2
      themes/tajian/views/my/share.php
  4. 2
      themes/tajian/views/site/register.php

2
themes/tajian/controller/MyController.php

@ -95,7 +95,7 @@ Class MyController extends SiteController { @@ -95,7 +95,7 @@ Class MyController extends SiteController {
//分享收藏夹
public function actionShare() {
$defaultTitle = "分享收藏夹";
$defaultTitle = "分享聚宝盆";
$viewName = 'share';
return $this->actionIndex($viewName, $defaultTitle);
}

8
themes/tajian/controller/SiteController.php

@ -18,7 +18,7 @@ Class SiteController extends Controller { @@ -18,7 +18,7 @@ Class SiteController extends Controller {
if (empty(FSC::$app['config']['multipleUserUriParse']) || !empty(FSC::$app['user_id'])) {
if (!empty(FSC::$app['user_id']) && Common::existCurrentUser() == false) {
$user_id = FSC::$app['user_id'];
throw new Exception("你要访问的用户 {$user_id} 收藏夹不存在!", 404);
throw new Exception("你要访问的用户 {$user_id} 聚宝盆不存在!", 404);
}
return $this->renderFavVideos();
@ -81,7 +81,7 @@ Class SiteController extends Controller { @@ -81,7 +81,7 @@ Class SiteController extends Controller {
//昵称支持
$nickname = $this->getNickname($readmeFile);
$pageTitle = $defaultTitle = "{$nickname}的视频收藏夹 | " . FSC::$app['config']['site_name'];
$pageTitle = $defaultTitle = "{$nickname}的聚宝盆 | " . FSC::$app['config']['site_name'];
$viewName = 'myindex';
$params = compact(
@ -391,7 +391,7 @@ Class SiteController extends Controller { @@ -391,7 +391,7 @@ Class SiteController extends Controller {
return $this->redirect($shareUrl);
}
$pageTitle = "注册Ta荐:一个好用的视频收藏夹,帮你整理不同平台的好视频,还能分享给朋友!";
$pageTitle = "注册Ta荐 | TaJian.tv";
$this->layout = 'index';
$viewName = 'register';
@ -416,7 +416,7 @@ Class SiteController extends Controller { @@ -416,7 +416,7 @@ Class SiteController extends Controller {
return $this->redirect($shareUrl);
}
$pageTitle = "登录Ta荐:一个好用的视频收藏夹,帮你整理不同平台的好视频,还能分享给朋友!";
$pageTitle = "登录Ta荐 | TaJian.tv";
$this->layout = 'index';
$viewName = 'login';

2
themes/tajian/views/my/share.php

@ -10,7 +10,7 @@ $shareUrl = "{$linkPrefix}/"; @@ -10,7 +10,7 @@ $shareUrl = "{$linkPrefix}/";
<form class="g_form_style mt65" id="share_form" action="" method="POST">
<div class="mb-3 pt20">
<label for="text_share_content" class="form-label">分享链接</label>
<textarea id="text_share_content" name="share_content" rows="5" data-share-url="<?=$shareUrl?>"><?=$shareUrl?>,“<?=$viewData['nickname']?>”的Ta荐视频收藏夹,都是我喜欢的视频,来看看吧~</textarea>
<textarea id="text_share_content" name="share_content" rows="5" data-share-url="<?=$shareUrl?>"><?=$shareUrl?>,“<?=$viewData['nickname']?>”的聚宝盆,都是我喜欢的视频,来看看吧~</textarea>
<p class="mt10">复制上面分享内容,在微信、QQ等App里粘贴发给朋友。</p>
</div>
<div class="avform_bt vercenter">

2
themes/tajian/views/site/register.php

@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['config']['defaultUserId'])) {
$defaultUserId = FSC::$app['config']['defaultUserId'];
echo <<<eof
<a href="/{$defaultUserId}/" target="_blank">点我体验,先看看收藏夹长什么样?</a>
<a href="/{$defaultUserId}/" target="_blank">点我体验,先看看聚宝盆长什么样?</a>
eof;
}
?>

Loading…
Cancel
Save