diff --git a/app/webroot/theme/admin-third/Elements/admin/blog_posts/index_row.php b/app/webroot/theme/admin-third/Elements/admin/blog_posts/index_row.php index f007026a6f..e6f7d65523 100755 --- a/app/webroot/theme/admin-third/Elements/admin/blog_posts/index_row.php +++ b/app/webroot/theme/admin-third/Elements/admin/blog_posts/index_row.php @@ -13,8 +13,6 @@ /** * [ADMIN] ブログ記事 一覧 行 */ -$url = $this->request->params['Content']['url'] . 'archives/' . $this->BcForm->value('BlogPost.no'); -$fullUrl = $this->BcBaser->getContentsUrl($url, true, $this->request->params['Site']['use_subdomain']); ?> @@ -74,7 +72,7 @@ class="eye_catch">BcUpload->uploadImage('BlogPost.eye_catch', BcBaser->link('', ['action' => 'ajax_unpublish', $data['BlogContent']['id'], $data['BlogPost']['id']], ['title' => __d('baser', '非公開'), 'class' => 'btn-unpublish bca-btn-icon', 'data-bca-btn-type' => 'unpublish', 'data-bca-btn-size' => 'lg']) ?> BcBaser->link('', ['action' => 'ajax_publish', $data['BlogContent']['id'], $data['BlogPost']['id']], ['title' => __d('baser', '公開'), 'class' => 'btn-publish bca-btn-icon', 'data-bca-btn-type' => 'publish', 'data-bca-btn-size' => 'lg']) ?> Blog->allowPublish($data)): //公開状態であれば 公開ページヘのリンク ?> - BcBaser->link('', $fullUrl . $data['BlogPost']['no'], ['title' => __d('baser', '確認'), 'target' => '_blank', 'class' => 'bca-btn-icon', 'data-bca-btn-type' => 'preview', 'data-bca-btn-size' => 'lg']); ?> + BcBaser->link('', $this->request->params['Content']['url'] . '/archives/' . $data['BlogPost']['no'], ['title' => __d('baser', '確認'), 'target' => '_blank', 'class' => 'bca-btn-icon', 'data-bca-btn-type' => 'preview', 'data-bca-btn-size' => 'lg']); ?>