diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-03-14 02:32:56 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-03-14 02:32:56 +0000 |
commit | 6a5fb2dc6ba7356921e75c2899cf356abd844818 (patch) | |
tree | 9828b06d8ddd53604d4847f8b33f74555fe01d3c /www/phpbb | |
parent | 17c28b34ebac44e574031ba22101d22193223d8b (diff) | |
download | ports-6a5fb2dc6ba7356921e75c2899cf356abd844818.tar.gz ports-6a5fb2dc6ba7356921e75c2899cf356abd844818.zip |
Notes
Diffstat (limited to 'www/phpbb')
-rw-r--r-- | www/phpbb/Makefile | 1 | ||||
-rw-r--r-- | www/phpbb/files/patch-includes-usercp_register.php | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/www/phpbb/Makefile b/www/phpbb/Makefile index 440bb32bed4a..455f520a8de4 100644 --- a/www/phpbb/Makefile +++ b/www/phpbb/Makefile @@ -7,6 +7,7 @@ PORTNAME= phpbb PORTVERSION= 2.0.13 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/www/phpbb/files/patch-includes-usercp_register.php b/www/phpbb/files/patch-includes-usercp_register.php new file mode 100644 index 000000000000..cbd39c827557 --- /dev/null +++ b/www/phpbb/files/patch-includes-usercp_register.php @@ -0,0 +1,16 @@ +--- includes/usercp_register.php.orig Sun Mar 13 19:44:02 2005 ++++ includes/usercp_register.php Sun Mar 13 19:48:34 2005 +@@ -145,10 +145,9 @@ + if ( $mode == 'register' ) + { + $attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig']; +- +- $allowhtml = ( isset($HTTP_POST_VARS['allowhtml']) ) ? ( ($HTTP_POST_VARS['allowhtml']) ? TRUE : 0 ) : $board_config['allow_html']; +- $allowbbcode = ( isset($HTTP_POST_VARS['allowbbcode']) ) ? ( ($HTTP_POST_VARS['allowbbcode']) ? TRUE : 0 ) : $board_config['allow_bbcode']; +- $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies']; ++ $allowhtml = ( ($board_config['allowhtml']) ) ? TRUE : 0; ++ $allowbbcode = ( ($board_config['allowbbcode']) ) ? TRUE : 0; ++ $allowsmilies = ( ($board_config['allowsmilies']) ) ? TRUE : 0; + } + else + { |