Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 【帖内美化】标题居中美化+標題加超連接=增強版-讓人不知覺複製你的來源

[复制链接]
NIckJAzz 发表于 2008-12-4 15:28:58 | 显示全部楼层 |阅读模式
插件发布
插件名称: 【帖内美化】标题居中美化+標題加超連接=增強版-讓人不知覺複製你的來源
插件来源:
适用版本: Discuz! 6.1
语言编码: GBK简体 UTF8简体 BIG5繁体 
最后更新时间:
插件作者: 原作者
插件简介: 在原作者的基础上,增加标题加上链接,让人复制文章时连带来源网站
viewthread.htm
寻找
  1.        <!--{if $post['subject']}-->
  2.            <h2>$post[subject]</h2>
复制代码
替换为

  1. <!--标题居中+美化+打印+收藏开始-->               
  2.                                                
  3.         <!--{if $post['subject']}-->
  4.                                                 <h2 align="center" class="title"><font style="font-size:22px;line-height:120%;background:#E8F3FD">                                                        <h2><a href="viewthread.php?tid=$tid" $thread['subjectstyles'] target="_blank">$post[subject]</a></h2></font></h2>
  5.                                 <div align="center">
  6.                                  作者: <font color="red">$post[author]</font>  $post[dateline]  閲讀: <font color="red"><span class="smalltxt">{echo $thread[views]+1}</span></font> 人
  7.                                 <a href="viewthread.php?action=printable&tid=$tid" target="_blank" <!--{if !$forum['ismoderator']}-->class="notabs"<!--{/if}-->>{lang thread_printable}</a>
  8.                                 <a href="javascript:bookmark()" title="電腦收藏夹">書簽</a>  
  9.                                         <script type="text/javascript">
  10.                                                 // <![CDATA[
  11.                                                 function bookmark(){
  12.                                                 var title=document.title
  13.                                                 var url=document.location.href
  14.                                                 if (window.sidebar) window.sidebar.addPanel(title, url,"");
  15.                                                 else if( window.opera && window.print ){
  16.                                                 var mbm = document.createElement('a');
  17.                                                 mbm.setAttribute('rel','sidebar');
  18.                                                 mbm.setAttribute('href',url);
  19.                                                 mbm.setAttribute('title',title);
  20.                                                 mbm.click();}
  21.                                                 else if( document.all ) window.external.AddFavorite( url, title);
  22.                                                 }
  23.                                                 // ]]>
  24.                                         </script>
  25.                                         <!--{if MSGBIGSIZE || MSGSMALLSIZE}-->
  26.                                                 <!--{if MSGBIGSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_bigfont'">{lang big}</em><!--{/if}-->
  27.                                                 <em onclick="$('postmessage_$post[pid]').className='t_msgfont'">{lang middle}</em>
  28.                                                 <!--{if MSGSMALLSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_smallfont'">{lang small}</em><!--{/if}-->
  29.                                         <!--{/if}-->
  30.                             </div>
  31.                                 <hr align="center" size="1" width="68%" color="#9DB3C5">
  32.                                 <!--{/if}-->
  33.                                                 <!--{if !$typetemplate && $optionlist && $post['first'] && !($post['status'] & 1) && !$threadpay}-->
  34.                                                         <div class="box typeoption">
  35.                                                                 <h4>{lang threadtype_option} - $forum[threadtypes][types][$thread[typeid]]</h4>
  36.                                                                 <table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0">
  37.                                                                 <!--{loop $optionlist $option}-->
  38.                                                                         <tr>
  39.                                                                                 <th>$option[title]</th>
  40.                                                                                 <td><!--{if $option['value']}-->$option[value]<!--{else}-->-<!--{/if}--></td>
  41.                                                                         </tr>
  42.                                                                 <!--{/loop}-->
  43.                                                                 </table>
  44.                                                         </div>
  45.                                                 <!--{/if}-->


  46.      <!--标题居中+美化+打印+收藏结束-->      
复制代码
演示网站
http://www.104grid.com/thread-126-1-1.html
http://www.104grid.com/thread-126-1-1.html
http://www.104grid.com/thread-126-1-1.html
http://www.104grid.com/thread-126-1-1.html
abcnic1 发表于 2008-12-4 15:44:46 | 显示全部楼层
:)谢谢分享 支持
回复

使用道具 举报

空间11a 发表于 2008-12-4 15:51:25 | 显示全部楼层
哇塞  楼主真厉害呢 ~!     顶起哈·1~
回复

使用道具 举报

kingroad 发表于 2008-12-4 16:22:34 | 显示全部楼层
看看。。。
回复

使用道具 举报

smss1111 发表于 2008-12-4 16:26:07 | 显示全部楼层
看看先。。。。。。
回复

使用道具 举报

zerqq 发表于 2008-12-4 16:27:08 | 显示全部楼层
不错  谢谢分享
回复

使用道具 举报

e_zailai 发表于 2008-12-4 23:53:03 | 显示全部楼层
不错不错,分享快乐!
回复

使用道具 举报

灰空间2 发表于 2008-12-5 01:11:15 | 显示全部楼层
记号中^^^^^^^^
回复

使用道具 举报

adanma 发表于 2008-12-5 01:28:23 | 显示全部楼层
:)谢谢分享 支持
回复

使用道具 举报

80150694 发表于 2008-12-5 01:29:59 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-18 18:28 , Processed in 0.128584 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表