Repellent
9 years ago
1 changed files with 81 additions and 0 deletions
@ -0,0 +1,81 @@ |
|||||||
|
<div class="title"><h5>{#RATING_MODULE_NAME#}</h5></div> |
||||||
|
|
||||||
|
<div class="widget" style="margin-top: 0px;"> |
||||||
|
<div class="body"> |
||||||
|
{#RATING_MODULE_SETTINGS#} |
||||||
|
</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=rating&moduleaction=1&cp={$sess}">{#RATING_MODULE_NAME#}</a></li> |
||||||
|
<li><strong class="code">{#RATING_MODULE_SETTINGS#}</strong></li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="widget first"> |
||||||
|
<div class="head"> |
||||||
|
<h5 class="iFrames">{#RATING_MODULE_SETTINGS#}</h5> |
||||||
|
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=rating&moduleaction=1&cp={$sess}">{#RATING_STATISTIC#}</a></div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<form action="index.php?do=modules&action=modedit&mod=rating&moduleaction=settings&cp={$sess}&sub=save" method="post" class="mainForm"> |
||||||
|
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic"> |
||||||
|
<tr class="noborder"> |
||||||
|
<td width="240">{#RATING_ENABLE#}</td> |
||||||
|
<td><input name="rating_active" type="checkbox" value="1" {if $rating_active=='1'}checked{/if} /></td> |
||||||
|
</tr> |
||||||
|
|
||||||
|
<tr> |
||||||
|
<td width="240">{#RATING_SETTINGS_STARS#}</td> |
||||||
|
<td> |
||||||
|
<select {$dis} style="width:100px" name="rating_stars" id="rating_stars" class="mousetrap"> |
||||||
|
{section name=stars loop=10 step=1 start=0} |
||||||
|
<option value="{$smarty.section.stars.index+1}"{if $rating_stars==$smarty.section.stars.index+1} selected="selected"{/if}>{$smarty.section.stars.index+1}</option> |
||||||
|
{/section} |
||||||
|
</select> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
|
||||||
|
<tr> |
||||||
|
<td width="240">{#RATING_ROUND#}</td> |
||||||
|
<td> |
||||||
|
<select {$dis} style="width:200px" name="rating_round" id="rating_round" class="mousetrap"> |
||||||
|
<option value="0"{if $rating_round==0} selected="selected"{/if}>{#RATING_ROUND_1#}</option> |
||||||
|
<option value="1"{if $rating_round==1} selected="selected"{/if}>{#RATING_ROUND_2#}</option> |
||||||
|
<option value="2"{if $rating_round==2} selected="selected"{/if}>{#RATING_ROUND_3#}</option> |
||||||
|
<option value="3"{if $rating_round==3} selected="selected"{/if}>{#RATING_ROUND_4#}</option> |
||||||
|
</select> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
|
||||||
|
<tr> |
||||||
|
<td width="240">{#RATING_FOR_GROUPS#}</td> |
||||||
|
<td> |
||||||
|
<select name="rating_user_groups[]" multiple="multiple" size="5" style="width:300px"> |
||||||
|
{foreach from=$groups item=g} |
||||||
|
{assign var='sel' value=''} |
||||||
|
{if $g->user_group} |
||||||
|
{if (in_array($g->user_group,$rating_user_groups)) } |
||||||
|
{assign var='sel' value='selected'} |
||||||
|
{/if} |
||||||
|
{/if} |
||||||
|
<option value="{$g->user_group}" {$sel}>{$g->user_group_name|escape}</option> |
||||||
|
{/foreach} |
||||||
|
</select> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
|
||||||
|
<tr> |
||||||
|
<td colspan="2"><input type="submit" value="{#RATING_BUTTON_SAVE#}" class="basicBtn" /></td> |
||||||
|
</tr> |
||||||
|
</table> |
||||||
|
|
||||||
|
</form> |
||||||
|
</div> |
||||||
|
|
Loading…
Reference in new issue