⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mytemplates.tpl

📁 太烦了
💻 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?recipient={/literal}{$smarty.request.recipient}{literal}&action=delete&id=" + templateid;
	}
}
{/literal}
/* ]]> */
</script>
<table width="100%" cellspacing=0 cellpading=0 border=0>
	<tr>
		<td class="module_detail" width="100%" valing="top">
{assign var="page_hdr02_text" value="{lang mkey='my_templates'}"}
{include file="page_hdr02.tpl"}

<p style="margin-left: 6px;">{lang mkey='template_intro'}</p>

<form name="frmTemplate" action="" method="post" onsubmit="javascript: return checkMe(this);">

<input type="hidden" name="frm" value="frmTemplate" />

<table width="100%" class="table" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" border="0">

	{foreach item=item from=$templates}
		<tr><td width=6>&nbsp;</td>
			<td nowrap valign="top" width="40"><a href="mytemplatesadd.php?id={$item.id}&recipient={$smarty.request.recipient}"><img style="margin-right:3px;" src="images/button_edit.png" alt="Edit" border="0" /></a>&nbsp;
			<a href="#" onclick="javascript:confirmDelete({$item.id},'{lang mkey='delete_template_confirm_msg'}')"><img style="margin-right:3px;" src="images/button_drop.png" alt="Delete" border="0" /></a>
			</td>
			<td>
			{if $item.subject ne ''}
				{$item.subject|nl2br|stripslashes}
			{else}
				{$item.text|nl2br|stripslashes}
			{/if}
			</td>
		</tr>
	{foreachelse}
		<tr><td width=6>&nbsp;</td>
			<td>{lang mkey='no_msg_templates'}</td>
		</tr>
	{/foreach}

</table>

<p style="margin-left: 6px;"><input onClick="document.location='mytemplatesadd.php?recipient={$smarty.request.recipient}';" type="button" class="formbutton" name="btnsend" value="{lang mkey='add_template'}"/>&nbsp;&nbsp;
<input onClick="document.location.href='compose.php?recipient={$smarty.request.recipient}';" type="button" class="formbutton" name="btnsend" value="{lang mkey='return_message'}"/></p>

</form>

		</td>
	</tr>
</table>
{* {include file="popfooter.tpl"} *}
{/strip}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -