Created
February 17, 2011 08:59
-
-
Save lizheming/831336 to your computer and use it in GitHub Desktop.
last_entry评论框样式修改
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<!--{if ($options['allow_comment'] == 'false')}--> | |
<i>评论功能已关闭.</i> | |
<!--{else}--> | |
<!--{if (!$is_guest)}--> | |
登录身份:<a href="?act=profile"><echo>get_username_by_id($User['id'])</echo></a>. <a href="?act=logout">退出»</a> | |
<!--{else}--> | |
<input type="text" class="content" name="nickname" value="昵称" onblur="if(this.value==''){this.value='昵称';}" onfocus="if(this.value=='昵称'){this.value=''};" onkeydown="if(event.keyCode==13){return false;}" maxlength="10" style="width: 60px; margin: 0 10px 0 0; border-top: 0; border-left: 0; border-right: 0;background: transparent url(../images/name.png) no-repeat scroll left center;" id="reply_nickname_{$last_entry['id']}" /> | |
<input type="text" class="content" name="email" value="邮箱"onblur="if(this.value==''){this.value='邮箱';}" onfocus="if(this.value=='邮箱'){this.value=''};" onkeydown="if(event.keyCode==13){return false;}" maxlength="50" style="width: 60px; margin: 0 10px 0 0; border-top: 0; border-left: 0; border-right: 0;background: transparent url(../images/mail.png) no-repeat scroll left center;;" id="reply_email_{$last_entry['id']}" /> | |
<input type="text" class="content" name="url" value="网址" onblur="if(this.value==''){this.value='网址';}" onfocus="if(this.value=='网址'){this.value=''};" onkeydown="if(event.keyCode==13){return false;}" maxlength="50" style="width: 60px; margin: 0 10px 0 0; border-top: 0; border-left: 0; border-right: 0;background: transparent url(../images/home.png) no-repeat scroll left center;" id="reply_url_{$last_entry['id']}" /><br /> | |
<!--{/if}--> | |
<input type="text" class="content" name="message" maxlength="75" id="reply_message_{$last_entry['id']}" /> | |
<a href="#" class="submit" onclick="sendReply({$last_entry['id']}); return false;" id="reply_message_{$last_entry['id']}_submit"><img src="images/btn_send.png" border="0" alt="送出评论" /></a> <span id="reply_loading_{$last_entry['id']}"></span> | |
<div style="clear:both"></div> | |
<!--{/if}--> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment