📄 sendtoafriend.tpl
字号:
{capture name=path}{$stf}{/capture}
{include file=$tpl_dir./breadcrumb.tpl}
<h2>{$stf}</h2>
<p class="bold">{$stfinof}</p>
{include file=$tpl_dir./errors.tpl}
{if $confirm}
<p class="success">{$confirm}</p>
{else}
<form method="post" action="{$request_uri}" class="std">
<fieldset>
<h3>{$sam}</h3>
<p class="align_center">
<a href="{$productLink}"><img src="{$img_prod_dir}{$cover.id_image}-small.jpg" alt="" title="{$cover.legend}" /></a><br/>
<a href="{$productLink}">{$product->name}</a>
</p>
<p>
<label for="friend-name">{$fn}</label>
<input type="text" id="friend-name" name="name" value="{if isset($smarty.post.name)}{$smarty.post.name|escape:'htmlall'|stripslashes}{/if}" />
</p>
<p>
<label for="friend-address">{$fem}</label>
<input type="text" id="friend-address" name="email" value="{if isset($smarty.post.name)}{$smarty.post.name|escape:'htmlall'|stripslashes}{/if}" />
</p>
<p class="submit">
<input type="submit" name="submitAddtoafriend" value="{$snd}" class="button" />
</p>
</fieldset>
</form>
{/if}
<ul class="footer_links">
<li><a href="{$productLink}" class="button_large">{$bto}</a></li>
</ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -