begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+117
View File
@@ -0,0 +1,117 @@
{php include pubTemplate("header")}
<div class="container" style="max-width:100%;">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
<li class="breadcrumb-item"><a href="{tsUrl('group')}">LMVE论坛</a></li>
<li class="breadcrumb-item"><a href="{tsUrl('group','show',array('id'=>$strGroup['groupid']))}">{$strGroup[groupname]}</a></li>
<li class="breadcrumb-item"><a href="{tsUrl('group','topic',array('id'=>$strTopic['topicid']))}">{$strTopic['title']}</a></li>
<li class="breadcrumb-item active" aria-current="page">编辑帖子</li>
</ol>
</nav>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8" style="max-width:100%;flex:100%;">
<form method="POST" action="{SITE_URL}index.php?app=group&ac=topicedit&ts=do" enctype="multipart/form-data">
<div class="form-group">
<label>标题</label>
<input name="title" type="text" class="form-control" value="{$strTopic['title']}">
</div>
{if $arrGroupType}
<div class="form-group">
<label>类型</label>
<select name="typeid" class="form-control">
<option {if $strTopic[typeid]=='0'}selected="select"{/if} value="0">请选择</option>
{loop $arrGroupType $key $item}
<option {if $item[typeid]==$strTopic[typeid]}selected="select"{/if} value="{$item[typeid]}">{$item[typename]}</option>
{/loop}
</select>
</div>
{/if}
<div class="form-group">
<label>内容</label>
<div id="tseditor">{$strTopic['content']}</div>
<div style="display: none;">
<textarea name="content">{$strTopic['content']}</textarea>
</div>
</div>
<div class="form-group">
<label>标签</label>
<input name="tag" type="text" class="form-control" value="{$strTopic['tag']}">
</div>
<div class="form-group">
<label>评论</label>
<input type="radio" name="iscomment" value="0" {if $strTopic[iscomment]=='0'}checked="select"{/if} />允许
<input type="radio" name="iscomment" value="1" {if $strTopic[iscomment]=='1'}checked="select"{/if} />不允许
</div>
<div class="form-group">
<label>回复可读</label>
<input type="radio" name="iscommentshow" value="0" {if $strTopic[iscommentshow]=='0'}checked="select"{/if} />不需要
<input type="radio" name="iscommentshow" value="1" {if $strTopic[iscommentshow]=='1'}checked="select"{/if} />需要
</div>
{if $TS_SITE['isauthcode']}
<div class="form-group">
<label>验证码</label>
<input name="authcode" />
<img align="absmiddle" src="{SITE_URL}index.php?app=pubs&ac=code" onclick="newgdcode(this,this.src);" title="点击刷新验证码" alt="点击刷新验证码" style="cursor:pointer;"/>
</div>
{/if}
<input type="hidden" name="topicid" value="{$strTopic[topicid]}" />
<input type="hidden" name="token" value="{$_SESSION['token']}" />
<button class="btn btn-sm btn-info" type="submit">修改帖子</button>
<a class="btn btn-sm btn-outline-secondary" href="{tsUrl('group','topic',array('id'=>$strTopic[topicid]))}">返回</a>
<p></p>
</form>
</div>
<div class="col-md-2"></div>
</div>
</div>
</div>
</div>
{php doAction('tseditor')}
{php include pubTemplate("footer")}