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.
81 lines
3.3 KiB
81 lines
3.3 KiB
9 years ago
|
<script type="text/javascript" language="JavaScript">
|
||
|
function check_name() {ldelim}
|
||
|
if (document.getElementById('Name').value == '') {ldelim}
|
||
|
alert("{#BANNER_ENTER_NAME#}");
|
||
|
document.getElementById('Name').focus();
|
||
|
return false;
|
||
|
{rdelim}
|
||
|
return true;
|
||
|
{rdelim}
|
||
|
</script>
|
||
|
<div class="title">
|
||
|
<h5>{#BANNER_MODULE_NAME#}</h5>
|
||
|
</div>
|
||
|
<div class="widget">
|
||
|
<div class="body">
|
||
|
<strong>{#BANNER_MOD_ALLOWS#}</strong>
|
||
|
<ul style="list-style: square; margin-left:15px;">
|
||
|
<li>{#BANNER_MOD_ALLOWS_A#}</li>
|
||
|
<li>{#BANNER_MOD_ALLOWS_B#}</li>
|
||
|
<li>{#BANNER_MOD_ALLOWS_C#}</li>
|
||
|
</ul>
|
||
|
</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=media&moduleaction=1&cp={$sess}">{#BANNER_SHOW_ALL#}</a>
|
||
|
<li><strong class="code">{#BANNER_CATEG_LINK#}</strong></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="widget">
|
||
|
<div class="head">
|
||
|
<h5><a href="index.php?do=modules&action=modedit&mod=media&moduleaction=1&cp={$sess}"><span style="color:#177BBB;">{#BANNER_SHOW_ALL#}</span></a> |
|
||
|
<a href="index.php?do=modules&action=modedit&mod={$mod_path}&moduleaction=newbanner&cp={$sess}&pop=1&onlycontent=1" data-height="650" data-width="950" data-modal="true" class="openDialog">{#BANNER_NEW_LINK#}</a> |
|
||
|
<a href="index.php?do=modules&action=modedit&mod={$mod_path}&moduleaction=kategs&cp={$sess}"><span style="color:#FFF;">{#BANNER_CATEG_LINK#}</span></a></h5>
|
||
|
</div>
|
||
|
</div>
|
||
|
<form method="post" action="index.php?do=modules&action=modedit&mod={$mod_path}&moduleaction=kategs&cp={$sess}&sub=save" enctype="multipart/form-data">
|
||
|
<table width="100%" border="0" cellpadding="8" cellspacing="1" class="tableStatic mainForm">
|
||
|
<tr class="tableheader">
|
||
|
<td width="1%" align="center"><span class="icon_sprite ico_delete"> </span></td>
|
||
|
<td width="100">{#BANNER_CATEGORY_TAG#}</td>
|
||
|
<td>{#BANNER_CATEGORY_NAME#}</td>
|
||
|
</tr>
|
||
|
{foreach from=$items item=item}
|
||
|
<tr id="table_rows">
|
||
|
<td width="1%">
|
||
|
<input title="{#BANNER_MARK_DELETE#}" name="del[{$item->Id}]" type="checkbox" id="del[{$item->Id}]" value="1" />
|
||
|
</td>
|
||
|
<td width="100">
|
||
|
<input name="textfield" type="text" value="[mod_banner:{$item->Id}]" readonly/>
|
||
|
</td>
|
||
|
<td>
|
||
|
<input name="KatName[{$item->Id}]" type="text" id="KatName[{$item->Id}]" value="{$item->KatName|escape:html|stripslashes}" size="60">
|
||
|
</td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
</table><br />
|
||
|
<input type="submit" style="margin-left:10px;" class="button basicBtn" value="{#BANNER_BUTTON_SAVE#}" />
|
||
|
</form>
|
||
|
<div class="widget">
|
||
|
<div class="head">
|
||
|
<h5>{#BANNER_CATEGORY_NEW#}</h5>
|
||
|
</div>
|
||
|
</div>
|
||
|
<form action="index.php?do=modules&action=modedit&mod={$mod_path}&moduleaction=kategs&cp={$sess}&sub=new" method="post" onSubmit="return check_name();">
|
||
|
<table width="100%" border="0" cellpadding="8" cellspacing="1" class="tableStatic mainForm">
|
||
|
<tr>
|
||
|
<td class="tableheader">{#BANNER_CATEGORY#}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="second">
|
||
|
<input name="KatName" type="text" id="Name" size="60">
|
||
|
<input name="submit" type="submit" style="margin-left:-5px; margin-top:10px;" class="button basicBtn" value="{#BANNER_BUTTON_ADD#}" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|