📄 mytemplatesadd.tpl
字号:
{strip}
{* {include file="popheader.tpl"} *}
<script type="text/javascript">
/* <![CDATA[ */
document.title='{lang mkey='my_templates'}';
/* ]]> */
</script>
<script type="text/javascript">
/* <![CDATA[ */
{literal}
function confirmDelete(templateid,conmsg,form)
{
if (confirm(conmsg)){
document.location = "mytemplates.php?request={/literal}{$smarty.request.recipient}{literal}&action=delete&id=" + templateid;
}
}
{/literal}
/* ]]> */
</script>
<table cellspacing=0 cellpadding=0 border=0 width="100%">
<tr>
<td class="module_detail" width="100%" valign="top">
{assign var="page_hdr02_text" value="{lang mkey='my_templates'}"}
{include file="page_hdr02.tpl"}
<p style="margin-left: 6px;"><b>
{if $smarty.get.id}
{lang mkey='edit_template'}
{else}
{lang mkey='add_template'}
{/if}
</b></p>
<form name="frmTemplate" action="mytemplatesadd.php" method="post">
<p style="margin-left: 6px;">{lang mkey='subject'}:<br /><input type="text" name="txtsubject" style="width:350px;" value="{$template.subject|stripslashes}" /></p>
<p style="margin-left: 6px;">{lang mkey='message'}: <br /><textarea name="txttemplate" style="width:350px; height:100px;">{$template.text|stripslashes}</textarea></p>
<p style="margin-left: 6px;">{lang mkey='template_instructions'}</p>
<p style="margin-left: 6px;"><input type="submit" class="formbutton" name="btnsave" value="{lang mkey='submit'}"/>
<input type="button" onClick="document.location.href='mytemplates.php?recipient={$smarty.request.recipient}';" class="formbutton" name="btncancel" value="{lang mkey='cancel'}"/></p>
<input type="hidden" name="recipient" value="{$smarty.request.recipient}" />
<input type="hidden" name="id" value="{$smarty.get.id}" />
</form>
</td>
</tr>
</table>
{* {include file="popfooter.tpl"} *}
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -