線上修改:http://www.phpbb.com/files/mods/Display ... %20104.mod
代碼: 選擇全部
##############################################################
## MOD Title: Display Total Attachments MOD
## MOD Author: morpheus2matrix < morpheus@2037.biz > (Morpheus) http://morpheus.2037.biz
## MOD Description: This MOD will allow you to display the total number of attachments which are in a topic and
## in the forums
##
## MOD Version: 1.0.4
## Compatibility: 2.0.6
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: 5
## viewforum.php
## index.php
## language/lang_english/lang_main_attach.php
## templates/subSilver/viewforum_body.tpl
## templates/subSilver/index_body.tpl
##
## Included Files: N/A
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This is an add-on for the Attachment MOD of Acyd Burn
## Don't use it if you have not the Attachment MOD installed first
##
##############################################################
## MOD History:
##
## 2004-05-23 - Version 1.0.4
## - Fixed error when 0 attachments in forums
##
## 2003-12-30 - Version 1.0.3
## - Fixed errors in How-To (i hope the last ones)
##
## 2003-12-25 - Version 1.0.2
## - Correction of an error in the how to
##
## 2003-12-24 - Version 1.0.1
## - Correction added to the MOD
## - Total Attachments are now shown on index page
##
## 2003-12-22 - Version 1.0.0
## - first beta release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#中文修改:
代碼: 選擇全部
#-----[ OPEN ]-------------------------------------------------
#
language/your lang/lang_main_attach.php
#
#-----[ FIND ]-------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Display Total Attachments MOD Start
$lang['Number_Attachments'] = '附?#91;檔案';
// Display Total Attachments MOD End
#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------