通过Dle插件系统安装模块
打开主题模板文件夹修改main.tpl文件,查找
</head>
在上面添加
<!-- 谁下载 -->
<link rel="stylesheet" href="{THEME}/css/magnific-popup.css" />
<script src="{THEME}/js/jquery.magnific-popup.js"></script>
<!-- 谁下载 -->
在attachment.tpl文件中放置一个链接/按钮/对象。调用who_download_list({id}, {area})函数的位置,例如
<span onclick="who_download_list({id}, {area})">都有谁?</span>
Dabenshi‘blog-who-download-0_2_2.zip [19.04 Kb] (下载: 6 次)