core/skin/detsad20.ru/mod/editrobot.tpl

65 lines
2.8 KiB
Smarty
Raw Normal View History

2023-02-08 16:59:59 +05:00
<script src="/templates/js/{$mod_inc_short}.js"></script>
<p><a href=/?mod=admin>Назад в админку</a>
<script type="text/javascript" src="/mod/<?=$mod;?>/robot.js"></script>
<form action="/?mod=editrobot" name="form1" method="post">
<table width="100%" border=0 align="center" cellpadding="2" cellspacing="2">
<tr>
<td>User-agent:</td>
<td><select name="robots" style="width: 95%;" onChange="sb1()">
<option value=''></option>
<option value='*'>для всех роботов</option>
<option value='Yandex'>Yandex</option>
<option value='Googlebot'>Google</option>
</select>
</td>
</tr>
<tr>
<td>Disallow:</td>
<td><select name="disal" style="width: 95%;" onChange="sb2()">
<option value=""></option>
<option value="">индексировать всё</option>
<option value="/">запретить всё</option>
<option value="/">/</option>
<option value="/..">/..</option>
<option value="/cgi-bin">/cgi-bin</option>
<option value="/phpincludes">/phpincludes</option>
<option value="/css">/css</option>
<option value="/js">/js</option>
<option value="/images">/images</option>
<option value="/mail">/mail</option>
</select></td>
</tr>
<tr>
<td></td>
<td><input type="button" value="Комментарий" name="com" onClick="sb3()" style="width: 95%;">
<input type="button" value="Sitemap" name="sitemap1" onClick="sitemap()" style="width: 95%;">
<input type="button" value="Пробел" name="n" onClick="sb4()" style="width: 95%;"></td>
</tr>
</table>
<br>
<br>
<table width="100%" border=0 align="center" cellpadding="2" cellspacing="2">
<tr>
<td><b>Результат</b></td>
<td align=right valign=bottom>
<input name="clear" value="Очистить" type="button" onClick="clear_form()" style="width: 95%;">
<input name="button" type="button" onClick="document.form1.formula.focus();document.form1.formula.select()" value=выделить style="width: 95%;"></td>
</tr>
<tr>
<td colspan=2><div align="center">
<textarea cols=60 rows=14 name="formula" class=result style="width: 95%;">{$content}</textarea>
<br>
<input type="submit" name="ok" value="Сохранить" />
</div>
</td>
</tr>
</table>
</form>
{if $dostup=='a'}
{include file=$mini_admin}
{/if}