From 2883c63bb0a95861904a07eb68032a27736a8fc5 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Mon, 29 Aug 2016 13:47:12 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E8=A6=A7=E3=81=B8=E3=83=9C=E3=82=BF?= =?UTF-8?q?=E3=83=B3=E3=81=AE=E4=BF=AE=E6=AD=A3=20https://github.com/NetCo?= =?UTF-8?q?mmons3/NetCommons3/issues/486?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- View/Elements/BbsArticles/view_bbs_article.ctp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/View/Elements/BbsArticles/view_bbs_article.ctp b/View/Elements/BbsArticles/view_bbs_article.ctp index 59c950a..9cacbd1 100644 --- a/View/Elements/BbsArticles/view_bbs_article.ctp +++ b/View/Elements/BbsArticles/view_bbs_article.ctp @@ -26,6 +26,8 @@ $linkFormatId = BbsArticlesController::LINK_ID_FORMAT; //根記事タイトル echo sprintf(__d('bbses', '%s. '), $bbsArticle['BbsArticleTree']['article_no']); + echo $this->NetCommonsHtml->titleIcon($bbsArticle['BbsArticle']['title_icon']) . ' '; + if ($bbsArticle['BbsArticleTree']['root_id'] > 0) { echo $this->Workflow->label($bbsArticle['BbsArticle']['status'], array( WorkflowComponent::STATUS_IN_DRAFT => array( @@ -41,8 +43,7 @@ $linkFormatId = BbsArticlesController::LINK_ID_FORMAT; echo $this->Workflow->label($bbsArticle['BbsArticle']['status']); } - echo $this->NetCommonsHtml->titleIcon($bbsArticle['BbsArticle']['title_icon']) . ' ' . - h($bbsArticle['BbsArticle']['title']); + echo h($bbsArticle['BbsArticle']['title']); ?>