diff --git a/app/admin/view/addon/addons/index.html b/app/admin/view/addon/addons/index.html index 3f4d15a..5ffc08f 100644 --- a/app/admin/view/addon/addons/index.html +++ b/app/admin/view/addon/addons/index.html @@ -24,7 +24,7 @@ @@ -499,6 +500,4 @@ layui.use(['fly', 'face','colorpicker', 'laypage'], function(){ {:hook('taoplyr')} -{include file="/public/qr-read" /} - {/block} \ No newline at end of file diff --git a/view/taoler/index/article/news/detail.html b/view/taoler/index/article/news/detail.html index a155116..09436dc 100644 --- a/view/taoler/index/article/news/detail.html +++ b/view/taoler/index/article/news/detail.html @@ -71,7 +71,7 @@
- +{include file="public/menu" /} {/block} {block name="script"} diff --git a/view/taoler/index/article/posts/detail.html b/view/taoler/index/article/posts/detail.html index 389215d..fdea7da 100644 --- a/view/taoler/index/article/posts/detail.html +++ b/view/taoler/index/article/posts/detail.html @@ -1,10 +1,10 @@ {extend name="public/base" /} - + {block name="title"}{$article.title} - {$sysInfo.webname}{/block} -{block name="keywords"}{$article.keywords ?: $article.title}{/block} -{block name="description"}{$article.title},{$article.description}{/block} -{block name="ogtitle"}{/block} -{block name="ogdescription"}{/block} +{block name="keywords"}{article:keywords /}{/block} +{block name="description"}{article:title /},{article:description /}{/block} +{block name="ogtitle"}{/block} +{block name="ogdescription"}{/block} {block name="meta"} @@ -14,33 +14,40 @@ {/block} {block name="link"} {/block} {block name="column"}
{include file="/public/column" /}
{/block} + {block name="content"}
- {//标题} -

{$article.title}

-
- {//图标} + {//标题} +

{article:title /}

+ {//图标}
- {:cookie('think_lang') == 'en-us' ? $article.cate.ename : $article.cate.catename} - {if ($article.is_top == 1)}{:lang('top')}{/if} + + {if (cookie('think_lang') == 'en-us')} {article:cate name="ename" /} + {else /} {article:cate name="name" /} + {/if} + + {if ($article.is_top == 1)}{:lang('top')}{/if} {if ($article.is_hot == 1)}{:lang('hot')}{/if} - + - {$article.comments_count}{$pv} + + {article:comment_num /} + + {article:pv /}
- {//作者} + {//作者}

- {// 内容} + {//内容} {:hook('taoplayerdiv')} -
{$article.content|raw}
- {//下载} - {if (($article.upzip !== '') || session('?user_name'))} -
- {notempty name="$article.upzip"} - - {/notempty} -
- {/if} +
{article:content}
+ {//下载} + {if (($article.upzip !== '') || session('?user_name'))} +
+ {notempty name="$article.upzip"} + + {/notempty} +
+ {/if} - {//解密文件} - {empty name="passJieMi"} - {if($article.read_type == 1)} -
- -
- {/if} - {/empty} + {//解密文件} + {empty name="passJieMi"} + {if($article.read_type == 1)} +
+ +
+ {/if} + {/empty} {notempty name="tags"}
标签 @@ -97,54 +104,50 @@
评论 {$article.comments_count}
    - {volist name="comments['data']" id="vo" empty= ""} -
  • - -
    - -  - -
    - - {$vo.user.nickname ?: $vo.user.name} - - {if condition="$article.user.id eq $vo.user.id"}({:lang('poster')}){/if} -
    -
    {:hook('ipShow',$vo.user.city)}
    - {if $vo.cai == 1}{/if} -
    + {article:comment} +
  • + +
    + +  + +
    + + {comment:uname /} + + {if condition="$article.user.id eq $comment.user.id"}({:lang('poster')}){/if} + {comment:usign /} +
    +
    {:hook('ipShow',$comment.user.city)} +
    +
    - {//加密未解密评论不可查看} - {if($article.read_type == 0 || (($article.read_type == 1) && $passJieMi))} -
    {$vo.content|raw}
    -
    - - {$vo.zan} - - {:lang('reply')} - {//评论编辑删除采纳权限} -
    - {if ((session('user_id') == $vo.user.id) && (getLimtTime($vo.create_time) < 2)) OR ($user.auth ?? '')} - {:lang('edit')} - {:lang('delete')} + {//加密未解密评论不可查看} + {if($article.read_type == 0 || (($article.read_type == 1) && $passJieMi))} +
    {comment:content /}
    +
    + + {comment:zan /} + + {:lang('reply')} + {//评论编辑删除采纳权限} +
    + {if ((session('user_id') == $comment.user.id) && (getLimtTime($comment.create_time) < 2)) OR ($user.auth ?? '')} + {:lang('edit')} + {:lang('delete')} + {/if} +
    +
    + {else /} +
    + + 评论解密后查看 +
    {/if} - {if ($vo.cai == 0) && ((session('user_id') == $article.user_id) OR ($user.auth ?? '')) /} - {:lang('accept')} - {/if} -
    -
    - {else /} -
    评论解密后查看
    - {/if} - -
    -
    -
    {$vo.user.sign|raw}
    -
    -
  • - {/volist} + + {/article:comment}
-
+
{//评论} {if session('?user_id') AND ( config('taoler.config.is_reply') == 1 ) AND ( $article.is_reply == 1 )}
@@ -212,11 +215,8 @@ {include file="/public/crud" /}
-
-
-
- +{include file="public/menu" /} {/block} {block name="script"} @@ -225,7 +225,7 @@ {:hook('taoplayer')} {/block}