Skip to content

Commit

Permalink
v 0.4.5 r3
Browse files Browse the repository at this point in the history
게시판 관련 버그 픽스
  • Loading branch information
Prev committed Sep 28, 2013
1 parent 8cd28fc commit 59978dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions modules/board/BoardCGIController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ private function confirmArticleDatas($title, $isNotice, $category, $isNotice, $i
return false;
}

if (strlen($title) > 254) {
goBack('제목이 너무 깁니다', true);
return false;
}

if ($isSecret && $isNotice) {
goBack('제목이 너무 깁니다', true);
goBack('비밀글을 공지사항으로 등록 할 수 없습니다', true);
return false;
}

if (mb_strlen($title) > 254) {
$title = mb_substr($title, 255);
}

return true;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/board/template/css/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
.article-comment-wrap ul#comment-list li .comment-header .comment-delete-btn{ margin-left: 4px; padding-left: 4px; border-left: 1px solid #CCC }
.article-comment-wrap ul#comment-list li .comment-writer{ font-weight: bold; font-size: 13px; }
.article-comment-wrap ul#comment-list li .comment-write-time{ color: #999; font-size: 10px; margin: 4px 0 0 5px }
.article-comment-wrap ul#comment-list li .comment-content{ color: #666; padding-left: 1px }
.article-comment-wrap ul#comment-list li .comment-content{ color: #666; padding-left: 1px; word-wrap: break-word; }
.article-comment-wrap ul#comment-list li .comment-content .parent-writer{ font-weight: bold; color: rgb(120, 92, 37); padding-right: 3px }
.article-comment-wrap ul#comment-list li a:link,
.article-comment-wrap ul#comment-list li a:active,
Expand Down

0 comments on commit 59978dc

Please sign in to comment.