1 頁 (共 1 頁)

[外掛] 代碼中允許輸入顏色

發表於 : 2005-10-09 10:42
i-Ray

代碼: 選擇全部

############################################################## 
## MOD Title: BBcode Colours in Code 
## MOD Author: BrotherTank < brothertank@sympatico.ca > (Greg)
## MOD Description: Allows one to use the [color] and [/color] 
##   					  commands inside of a [code] section. This allows
##                  greater flexibility when posting code segments
##                  WITHOUT loosing the formatting!
##                  
## 
## MOD Version: 1.0.0
## 
## Installation Level: Easy 
## Installation Time: ~10 Minutes 
## Files To Edit: bbcode.php
##
## 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/ 
############################################################## 
## MOD History:
## 
## Mar 17, 2004 - Version 1.0.0
##  - Initial Release - only one needed!
##   
############################################################## 
## Author Notes: 
##  
##  Thanks to those that didn't want to help out.  I have no real php programming knowledge
##  and I achieved this mod with only 4 lines of code!  I hope everyone finds this
##  modification usefull as the members do in my forums!
##  
##  All 4 additions go inside the "function bbencode_first_pass_pda($text, $uid, $open_tag, $close_tag, $close_tag_new, $mark_lowest_level, $func, $open_regexp_replace = false)"
##  
##  
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
下載點: http://www.phpbb.com/phpBB/catdb.php?mo ... id=1011830
功能: po代碼時,加入想要的顏色