diff --git a/resources/lang/en/skinlib.yml b/resources/lang/en/skinlib.yml index 2555c4a2..d432d6fe 100644 --- a/resources/lang/en/skinlib.yml +++ b/resources/lang/en/skinlib.yml @@ -49,7 +49,6 @@ show: notice-admin: You are able to delete this texture or make it private. The operations will make it removed from the closet of everyone who had favorited it. comment: Comment - comment-not-available: Comment is not available. deleted: The requested texture was already deleted. contact-admin: Please contact the admins to remove this entry. diff --git a/resources/lang/zh_CN/skinlib.yml b/resources/lang/zh_CN/skinlib.yml index cac048f1..2985ac88 100644 --- a/resources/lang/zh_CN/skinlib.yml +++ b/resources/lang/zh_CN/skinlib.yml @@ -48,7 +48,6 @@ show: notice-admin: 你可以将此材质设为隐私或删除。这将会使此材质从每一个收藏者的衣柜中移除。 comment: 评论区 - comment-not-available: 本站未开启评论服务 deleted: 请求的材质文件已经被删除 contact-admin: 请联系管理员删除该条目 diff --git a/resources/views/skinlib/show.blade.php b/resources/views/skinlib/show.blade.php index f3bf4411..95381cef 100644 --- a/resources/views/skinlib/show.blade.php +++ b/resources/views/skinlib/show.blade.php @@ -17,28 +17,24 @@
+ @if (option('comment_script'))

@lang('skinlib.show.comment')

-
+
- @if (option('comment_script') != "") - {!! get_string_replaced(option('comment_script'), [ '{tid}' => $texture->tid, '{name}' => $texture->name, '{url}' => get_base_url().$_SERVER['REQUEST_URI'] ]) !!} - - @else -

@lang('skinlib.show.comment-not-available')

- @endif -
-
+
+ + @endif