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.
97 lines
3.6 KiB
97 lines
3.6 KiB
9 years ago
|
{if $smarty.session.use_editor == 0}
|
||
|
<script type="text/javascript" src="{$ABS_PATH}lib/redactor/ckeditor/ckeditor.js"></script>
|
||
|
<script type="text/javascript" src="{$ABS_PATH}lib/redactor/ckeditor/vendor/jquery.spellchecker.js"></script>
|
||
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/ckeditor/vendor/jquery.spellchecker.css" type="text/css" media="all" />
|
||
|
{/if}
|
||
|
|
||
|
{if $smarty.session.use_editor == 1}
|
||
|
<!-- elrte -->
|
||
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/redactor/elrte/css/elrte.full.css" type="text/css" media="screen" />
|
||
|
<script src="{$ABS_PATH}lib/redactor/redactor/elrte/js/elrte.full.js" type="text/javascript"></script>
|
||
|
<script src="{$ABS_PATH}lib/redactor/redactor/elrte/js/i18n/elrte.ru.js" type="text/javascript"></script>
|
||
|
|
||
|
<!-- elfinder -->
|
||
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/redactor/elfinder/css/elfinder.full.css" type="text/css" media="screen" />
|
||
|
<link rel="stylesheet" href="{$ABS_PATH}lib/redactor/redactor/elfinder/css/theme.css" type="text/css" media="screen" />
|
||
|
|
||
|
<script src="{$ABS_PATH}lib/redactor/redactor/elfinder/js/elfinder.full.js" type="text/javascript"></script>
|
||
|
<script src="{$ABS_PATH}lib/redactor/redactor/elfinder/js/i18n/elfinder.ru.js" type="text/javascript"></script>
|
||
|
<script src="{$ABS_PATH}lib/redactor/redactor/elfinder/js/jquery.dialogelfinder.js" type="text/javascript"></script>
|
||
|
|
||
|
<script type="text/javascript" src="{$tpl_dir}/js/rle.js"></script>
|
||
|
{/if}
|
||
|
|
||
|
<div class="title">
|
||
|
<h5>{#FAQ_INSERT_H#}</h5>
|
||
|
</div>
|
||
|
|
||
|
<div class="widget" style="margin-top: 0px;">
|
||
|
<div class="body">
|
||
|
{#FAQ_INSERT#}
|
||
|
</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=faq&moduleaction=1&cp={$sess}">{#FAQ_LIST#}</a></li>
|
||
|
<li>{#FAQ_INSERT_H#}</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="widget first">
|
||
|
<div class="head">
|
||
|
<h5 class="iFrames">{if $smarty.request.id != ''}{#FAQ_EDIT_RUB#}{else}{#FAQ_EDIT_RUB#}{/if}</h5>
|
||
|
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=faq&moduleaction=questedit&fid={$smarty.get.fid}&cp={$sess}">{#FAQ_ADD_QUEST#}</a></div>
|
||
|
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=faq&moduleaction=1&cp={$sess}">{#FAQ_BACK#}</a></div>
|
||
|
</div>
|
||
|
|
||
|
<form action="index.php?do=modules&action=modedit&mod=faq&moduleaction=questsave&cp={$sess}" method="post">
|
||
|
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
|
||
|
<tr class="tableheader">
|
||
|
<td>{#FAQ_INNAME#}</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="second">
|
||
|
<div>
|
||
|
{if $smarty.session.use_editor == 0}
|
||
|
{$faq_quest}
|
||
|
{elseif $smarty.session.use_editor == 1}
|
||
|
<textarea class="mousetrap editor" id="faq_quest" name="faq_quest">{$faq_quest|escape}</textarea>
|
||
|
{/if}
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr class="tableheader">
|
||
|
<td>{#FAQ_INDESC#}</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="second">
|
||
|
<div>
|
||
|
{if $smarty.session.use_editor == 0}
|
||
|
{$faq_answer}
|
||
|
{elseif $smarty.session.use_editor == 1}
|
||
|
<textarea class="mousetrap editor" id="faq_answer" name="faq_answer">{$sfaq_answer|escape}</textarea>
|
||
|
{/if}
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td class="first">
|
||
|
<input type="hidden" name="id" value="{$id}">
|
||
|
<input type="hidden" name="fid" value="{$faq_id}">
|
||
|
<input name="submit" type="submit" class="basicBtn" value="{#FAQ_SAVE#}" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|