You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.5 KiB
78 lines
2.5 KiB
<div class="title"><h5>{#POLL_COMMENTS_TITLE#}</h5></div> |
|
|
|
<div class="widget" style="margin-top: 0px;"> |
|
<div class="body"> |
|
{#POLL_COMMENTS_INFO#} |
|
</div> |
|
</div> |
|
|
|
<div class="breadCrumbHolder module"> |
|
<div class="breadCrumb module"> |
|
<ul> |
|
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li> |
|
<li><a href="index.php?do=modules&cp={$sess}">{#MODULES_SUB_TITLE#}</a></li> |
|
<li><a href="index.php?do=modules&action=modedit&mod=poll&moduleaction=1&cp={$sess}">{#POLL_MODULE_NAME#}</a></li> |
|
<li><strong class="code">{#POLL_COMMENTS_TITLE#}</strong></li> |
|
</ul> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="widget first"> |
|
<div class="head"> |
|
<h5 class="iFrames">{#POLL_COMMENTS_TITLE#}</h5> |
|
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=poll&moduleaction=new&cp={$sess}">{#POLL_NEW_LINK#}</a></div> |
|
</div> |
|
|
|
<form method="post" action="index.php?do=modules&action=modedit&mod=poll&moduleaction=comments&id={$smarty.request.id|escape}&cp={$sess}&pop=1&sub=save&page={$smarty.request.page|escape}"> |
|
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm"> |
|
<col width="10" /> |
|
<col width="150" /> |
|
<thead> |
|
<tr> |
|
<td align="center"><div align="center"><span class="icon_sprite ico_delete"></span></div></td> |
|
<td>{#POLL_COMMENT_INFO#}</td> |
|
<td>{#POLL_COMMENT_TITLE#}</td> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
{foreach from=$items item=item} |
|
<tr> |
|
<td> |
|
<input title="{#POLL_MARK_DELETE#}" name="del[{$item->id}]" type="checkbox" id="del[{$item->id}]" class="topDir" value="1"> |
|
</td> |
|
<td nowrap="nowrap" valign="top"> |
|
{#POLL_COMMENT_AUTHOR#}<br /> |
|
<strong>{$item->poll_comment_author|escape}</strong> |
|
<br /> |
|
<br /> |
|
{#POLL_COMMENT_DATE#}<br /> |
|
<strong>{$item->poll_comment_time|date_format:$DATE_FORMAT|pretty_date}</strong> |
|
</td> |
|
<td> |
|
<div class="pr12"> |
|
<span class="dgrey">Тема</span> |
|
<input name="comment_title[{$item->id}]" type="text" id="comment_title[{$item->id}]" value="{$item->poll_comment_title|escape}"><br /> |
|
<span class="dgrey">Комментарий</span> |
|
<textarea name="comment_text[{$item->id}]" cols="50" rows="5" id="comment_text[{$item->id}]">{$item->poll_comment_text|escape}</textarea> |
|
</div> |
|
</td> |
|
</tr> |
|
{/foreach} |
|
<tr> |
|
<td class="third" colspan="3"> |
|
<input class="basicBtn" type="submit" value="{#POLL_BUTTON_SAVE#}" /> |
|
</td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
</form> |
|
</div> |
|
|
|
{if $page_nav} |
|
<div class="pagination"> |
|
<ul class="pages"> |
|
{$page_nav} |
|
</ul> |
|
</div> |
|
{/if} |