提交 1e48a1e5 编写于 作者: huangxuan258's avatar huangxuan258

更新话题详情页面

上级 5f648c92
......@@ -5,8 +5,12 @@
<div class="layui-container" style="margin-top:0px;">
<h1 style="padding-top: 40px;">{$category['name']} </h1>
<p> 收录了{$trownum}篇文章 ·{$category['questions']}个问题 · {$category['followers']}人关注</p>
<p title="{eval echo strip_tags($category['miaosu']);}"> {if $category['miaosu']}{eval echo clearhtml($category['miaosu'],210);}{else}该话题暂未添加描述信息{/if}{if $user['groupid']==1} <a target="_blank" style="color:red;margin-left:10px;font-size:12px;" href="{url admin_category/edit/$category['id']}" title="修改描述">修改</a>{/if}</p>
{if is_mobile()}
{eval $lenzi=60;}
{else}
{eval $lenzi=110;}
{/if}
<p title="{eval echo strip_tags($category['miaosu']);}"> {if $category['miaosu']}{eval echo clearhtml($category['miaosu'],$lenzi);}{else}该话题暂未添加描述信息{/if}{if $user['groupid']==1} <a target="_blank" style="color:red;margin-left:10px;font-size:12px;" href="{url admin_category/edit/$category['id']}" title="修改描述">修改</a>{/if}</p>
<p>
{if $is_followed}
......
......@@ -5,8 +5,12 @@
<div class="layui-container" style="margin-top:0px;">
<h1 style="padding-top: 40px;">{$catmodel['name']}</h1>
<p>收录了{$rownum}篇文章 ·{$catmodel['questions']}个问题 · {$catmodel['followers']}人关注</p>
<p title="{eval echo strip_tags($catmodel['miaosu']);}"> {if $catmodel['miaosu']}{eval echo clearhtml($catmodel['miaosu'],110);}{else}该话题暂未添加描述信息{/if}</p>
{if is_mobile()}
{eval $lenzi=60;}
{else}
{eval $lenzi=110;}
{/if}
<p title="{eval echo strip_tags($catmodel['miaosu']);}"> {if $catmodel['miaosu']}{eval echo clearhtml($catmodel['miaosu'],$lenzi);}{else}该话题暂未添加描述信息{/if}</p>
<p>
{if $is_followed}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册