You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(193) |
Nov
(393) |
Dec
(347) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(401) |
Feb
(232) |
Mar
(343) |
Apr
(129) |
May
(129) |
Jun
(116) |
Jul
(189) |
Aug
(129) |
Sep
(68) |
Oct
(172) |
Nov
(298) |
Dec
(148) |
| 2003 |
Jan
(264) |
Feb
(210) |
Mar
(322) |
Apr
(309) |
May
(234) |
Jun
(188) |
Jul
(215) |
Aug
(161) |
Sep
(234) |
Oct
(163) |
Nov
(110) |
Dec
(7) |
| 2004 |
Jan
(95) |
Feb
(107) |
Mar
(55) |
Apr
(3) |
May
(49) |
Jun
(35) |
Jul
(57) |
Aug
(43) |
Sep
(56) |
Oct
(40) |
Nov
(25) |
Dec
(21) |
| 2005 |
Jan
(93) |
Feb
(25) |
Mar
(22) |
Apr
(72) |
May
(45) |
Jun
(24) |
Jul
(29) |
Aug
(20) |
Sep
(50) |
Oct
(93) |
Nov
(69) |
Dec
(183) |
| 2006 |
Jan
(185) |
Feb
(143) |
Mar
(402) |
Apr
(260) |
May
(322) |
Jun
(367) |
Jul
(234) |
Aug
(299) |
Sep
(206) |
Oct
(288) |
Nov
(338) |
Dec
(307) |
| 2007 |
Jan
(296) |
Feb
(250) |
Mar
(261) |
Apr
(434) |
May
(539) |
Jun
(274) |
Jul
(440) |
Aug
(190) |
Sep
(128) |
Oct
(249) |
Nov
(86) |
Dec
(51) |
| 2008 |
Jan
(177) |
Feb
(67) |
Mar
(61) |
Apr
(48) |
May
(56) |
Jun
(97) |
Jul
(60) |
Aug
(64) |
Sep
(151) |
Oct
(79) |
Nov
(109) |
Dec
(123) |
| 2009 |
Jan
(70) |
Feb
(70) |
Mar
(73) |
Apr
(80) |
May
(22) |
Jun
(193) |
Jul
(191) |
Aug
(181) |
Sep
(120) |
Oct
(48) |
Nov
(24) |
Dec
|
|
From: Bart v. B. <ba...@us...> - 2001-11-27 18:26:06
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv20519
Modified Files:
groupcp.php privmsg.php posting.php profile.php
Log Message:
Fixed some parse errors
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** groupcp.php 2001/11/27 17:36:04 1.28
--- groupcp.php 2001/11/27 18:26:03 1.29
***************
*** 171,175 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 171,186 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! else
! {
! $path = '';
! }
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 364,368 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 375,390 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! else
! {
! $path = '';
! }
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 477,481 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 499,514 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! else
! {
! $path = '';
! }
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 1113,1115 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
--- 1146,1148 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
Index: privmsg.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/privmsg.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -r1.56 -r1.57
*** privmsg.php 2001/11/27 17:36:04 1.56
--- privmsg.php 2001/11/27 18:26:03 1.57
***************
*** 1051,1055 ****
if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1051,1066 ----
if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! else
! {
! $path = '';
! }
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -r1.114 -r1.115
*** posting.php 2001/11/27 17:59:27 1.114
--- posting.php 2001/11/27 18:26:03 1.115
***************
*** 1324,1350 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']))
{
! if( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/")
! {
! $path = "";
! }
! else
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
}
else
{
! if (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/")
! {
! $path = "";
! }
! else
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
}
-
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
--- 1324,1339 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
{
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
}
+ else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
+ {
+ $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
+ }
else
{
! $path = '';
}
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.147
retrieving revision 1.148
diff -C2 -r1.147 -r1.148
*** profile.php 2001/11/27 17:36:04 1.147
--- profile.php 2001/11/27 18:26:03 1.148
***************
*** 1003,1007 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1003,1018 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']) && dirname($HTTP_SERVER_VARS['PATH_INFO']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! else if( dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) != '/')
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! else
! {
! $path = '';
! }
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 2009,2011 ****
}
! ?>
\ No newline at end of file
--- 2020,2022 ----
}
! ?>
|
|
From: Bart v. B. <ba...@us...> - 2001-11-27 17:59:31
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv13535
Modified Files:
posting.php
Log Message:
Some mindboggeling ternary operators removed :D
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -r1.113 -r1.114
*** posting.php 2001/11/27 17:36:04 1.113
--- posting.php 2001/11/27 17:59:27 1.114
***************
*** 1324,1328 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1324,1351 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! if( isset($HTTP_SERVER_VARS['PATH_INFO']))
! {
! if( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/")
! {
! $path = "";
! }
! else
! {
! $path = dirname($HTTP_SERVER_VARS['PATH_INFO']);
! }
! }
! else
! {
! if (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/")
! {
! $path = "";
! }
! else
! {
! $path = dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
! }
! }
!
!
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
|
|
From: Paul S. O. <ps...@us...> - 2001-11-27 17:36:08
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv5798/language/lang_english Modified Files: lang_main.php Log Message: Various fixes and updates, fix (hopefully) for bug #485799 Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_main.php,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -r1.54 -r1.55 *** lang_main.php 2001/11/27 00:30:59 1.54 --- lang_main.php 2001/11/27 17:36:04 1.55 *************** *** 129,133 **** $lang['Hidden_user_total'] = "%d Hidden and "; $lang['Guest_users_total'] = "%d Guests"; ! $lang['Guest_user_total'] = "%d Guests"; $lang['You_last_visit'] = "You last visited on %s"; // %s replaced by date/time --- 129,133 ---- $lang['Hidden_user_total'] = "%d Hidden and "; $lang['Guest_users_total'] = "%d Guests"; ! $lang['Guest_user_total'] = "%d Guest"; $lang['You_last_visit'] = "You last visited on %s"; // %s replaced by date/time |
|
From: Paul S. O. <ps...@us...> - 2001-11-27 17:36:08
|
Update of /cvsroot/phpbb/phpBB2/includes In directory usw-pr-cvs1:/tmp/cvs-serv5798/includes Modified Files: page_header.php Log Message: Various fixes and updates, fix (hopefully) for bug #485799 Index: page_header.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -r1.73 -r1.74 *** page_header.php 2001/11/26 12:09:37 1.73 --- page_header.php 2001/11/27 17:36:04 1.74 *************** *** 150,154 **** $l_online_users .= ( $logged_visible_online == 1 ) ? sprintf($lang['Reg_user_total'], $logged_visible_online) : sprintf($lang['Reg_users_total'], $logged_visible_online); $l_online_users .= ( $logged_hidden_online == 1 ) ? sprintf($lang['Hidden_user_total'], $logged_hidden_online) : sprintf($lang['Hidden_user_total'], $logged_hidden_online); ! $l_online_users .= ( $guests_online == 1 ) ? sprintf($lang['Guest_user_total'], $guests_online) : sprintf($lang['Guest_user_total'], $guests_online); // --- 150,154 ---- $l_online_users .= ( $logged_visible_online == 1 ) ? sprintf($lang['Reg_user_total'], $logged_visible_online) : sprintf($lang['Reg_users_total'], $logged_visible_online); $l_online_users .= ( $logged_hidden_online == 1 ) ? sprintf($lang['Hidden_user_total'], $logged_hidden_online) : sprintf($lang['Hidden_user_total'], $logged_hidden_online); ! $l_online_users .= ( $guests_online == 1 ) ? sprintf($lang['Guest_user_total'], $guests_online) : sprintf($lang['Guest_users_total'], $guests_online); // |
|
From: Paul S. O. <ps...@us...> - 2001-11-27 17:36:07
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv5798
Modified Files:
profile.php privmsg.php groupcp.php posting.php
Log Message:
Various fixes and updates, fix (hopefully) for bug #485799
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.146
retrieving revision 1.147
diff -C2 -r1.146 -r1.147
*** profile.php 2001/11/27 00:24:57 1.146
--- profile.php 2001/11/27 17:36:04 1.147
***************
*** 1003,1007 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1003,1007 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 1110,1114 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1110,1114 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 1679,1683 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1679,1683 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
Index: privmsg.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/privmsg.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** privmsg.php 2001/11/25 23:31:03 1.55
--- privmsg.php 2001/11/27 17:36:04 1.56
***************
*** 1051,1055 ****
if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1051,1055 ----
if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** groupcp.php 2001/11/26 10:04:07 1.27
--- groupcp.php 2001/11/27 17:36:04 1.28
***************
*** 171,175 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 171,175 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 364,368 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 364,368 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
***************
*** 477,481 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 477,481 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -r1.112 -r1.113
*** posting.php 2001/11/26 14:02:52 1.112
--- posting.php 2001/11/27 17:36:04 1.113
***************
*** 1058,1062 ****
}
! $post_subject = trim(strip_tags(str_replace(" ", " ", $HTTP_POST_VARS['subject'])));
if( $mode == 'newtopic' && empty($post_subject) )
{
--- 1058,1062 ----
}
! $post_subject = trim(strip_tags($HTTP_POST_VARS['subject']));
if( $mode == 'newtopic' && empty($post_subject) )
{
***************
*** 1069,1073 ****
}
! $post_message = trim(str_replace(" ", " ", $HTTP_POST_VARS['message']));
if( !empty($post_message) )
{
--- 1069,1073 ----
}
! $post_message = trim($HTTP_POST_VARS['message']);
if( !empty($post_message) )
{
***************
*** 1324,1328 ****
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
--- 1324,1328 ----
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
! $path = ( isset($HTTP_SERVER_VARS['PATH_INFO']) ) ? ( dirname($HTTP_SERVER_VARS['PATH_INFO']) == "/") ? "" : dirname($HTTP_SERVER_VARS['PATH_INFO']) ) : ( (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) );
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
|
|
From: Paul S. O. <ps...@us...> - 2001-11-27 00:31:02
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv25354/language/lang_english Modified Files: lang_main.php Log Message: A 'not quite a Pauls up' + short date format Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_main.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** lang_main.php 2001/11/26 09:50:31 1.53 --- lang_main.php 2001/11/27 00:30:59 1.54 *************** *** 37,42 **** $lang['LEFT'] = "LEFT"; $lang['RIGHT'] = "RIGHT"; - // // Common, these terms are used --- 37,42 ---- $lang['LEFT'] = "LEFT"; $lang['RIGHT'] = "RIGHT"; + $lang['DATE_FORMAT'] = "d M Y"; // This should be changed to the default date format for your language, php date() format // // Common, these terms are used *************** *** 115,118 **** --- 115,120 ---- $lang['Admin_panel'] = "Go to Administration Panel"; + $lang['Board_disable'] = "Sorry but this board is currently unavailable, please try again later"; + // *************** *** 222,225 **** --- 224,229 ---- $lang['Rules_moderate'] = "You <b>can</b> %smoderate this forum%s"; // %s replaced by a href links, do not remove! + $lang['No_topics_post_one'] = "There are no posts in this forum<br />Click on the <b>Post New Topic</b> link on this page to post one"; + // *************** *** 450,454 **** $lang['Total_posts'] = "Total posts"; ! $lang['User_post_pct_stats'] = "%d%% of total"; // 15% of total $lang['User_post_day_stats'] = "%.2f posts per day"; // 1.5 posts per day $lang['Search_user_posts'] = "Find all posts by %s"; // Find all posts by username --- 454,458 ---- $lang['Total_posts'] = "Total posts"; ! $lang['User_post_pct_stats'] = "%.2f%% of total"; // 1.25% of total $lang['User_post_day_stats'] = "%.2f posts per day"; // 1.5 posts per day $lang['Search_user_posts'] = "Find all posts by %s"; // Find all posts by username *************** *** 697,701 **** --- 701,710 ---- $lang['Administrators'] = "<b>administrators</b>"; + $lang['Not_Moderator'] = "You are not a moderator of this forum"; + $lang['Not_Authorised'] = "Not Authorised"; + + $lang['You_been_banned'] = "You have been banned from this forum<br />Please contact the webmaster or board administrator for more information"; + // // Viewonline *************** *** 837,840 **** --- 846,890 ---- $lang['tz']['12'] = "(GMT +12:00 hours) Auckland, Wellington, Fiji, Marshall Island"; + $lang['days_long'][0] = "Sunday"; + $lang['days_long'][1] = "Monday"; + $lang['days_long'][2] = "Tuesday"; + $lang['days_long'][3] = "Wednesday"; + $lang['days_long'][4] = "Thursday"; + $lang['days_long'][5] = "Friday"; + $lang['days_long'][6] = "Saturday"; + + $lang['days_short'][0] = "Sun"; + $lang['days_short'][1] = "Mon"; + $lang['days_short'][2] = "Tue"; + $lang['days_short'][3] = "Web"; + $lang['days_short'][4] = "Thu"; + $lang['days_short'][5] = "Fri"; + $lang['days_short'][6] = "Sat"; + + $lang['months_long'][0] = "January"; + $lang['months_long'][1] = "February"; + $lang['months_long'][2] = "March"; + $lang['months_long'][3] = "April"; + $lang['months_long'][4] = "May"; + $lang['months_long'][5] = "June"; + $lang['months_long'][6] = "July"; + $lang['months_long'][7] = "August"; + $lang['months_long'][8] = "September"; + $lang['months_long'][9] = "October"; + $lang['months_long'][10] = "November"; + $lang['months_long'][11] = "December"; + + $lang['months_short'][0] = "Jan"; + $lang['months_short'][1] = "Feb"; + $lang['months_short'][2] = "Mar"; + $lang['months_short'][3] = "Apr"; + $lang['months_short'][4] = "May"; + $lang['months_short'][5] = "Jun"; + $lang['months_short'][6] = "Jul"; + $lang['months_short'][7] = "Aug"; + $lang['months_short'][8] = "Sep"; + $lang['months_short'][9] = "Oct"; + $lang['months_short'][10] = "Nov"; + $lang['months_short'][11] = "Dec"; // *************** *** 845,852 **** $lang['Critical_Information'] = "Critical Information"; - $lang['You_been_banned'] = "You have been banned from this forum<br />Please contact the webmaster or board administrator for more information"; - $lang['No_topics_post_one'] = "There are no posts in this forum<br />Click on the <b>Post New Topic</b> link on this page to post one"; - $lang['Board_disable'] = "Sorry but this board is currently unavailable, please try again later"; - $lang['General_Error'] = "General Error"; $lang['Critical_Error'] = "Critical Error"; --- 895,898 ---- *************** *** 855,861 **** $lang['Error_login'] = "You have specified an incorrect or inactive username or an invalid password"; - - $lang['Not_Moderator'] = "You are not a moderator of this forum"; - $lang['Not_Authorised'] = "Not Authorised"; // --- 901,904 ---- |
|
From: Paul S. O. <ps...@us...> - 2001-11-27 00:31:02
|
Update of /cvsroot/phpbb/phpBB2 In directory usw-pr-cvs1:/tmp/cvs-serv25354 Modified Files: viewtopic.php memberlist.php Log Message: A 'not quite a Pauls up' + short date format Index: viewtopic.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v retrieving revision 1.143 retrieving revision 1.144 diff -C2 -r1.143 -r1.144 *** viewtopic.php 2001/11/26 12:09:37 1.143 --- viewtopic.php 2001/11/27 00:30:59 1.144 *************** *** 720,724 **** $poster_from = ($postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Location'] . ": " . $postrow[$i]['user_from'] : ""; ! $poster_joined = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Joined'] . ": " . create_date($board_config['default_dateformat'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : ""; if( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS ) --- 720,724 ---- $poster_from = ($postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Location'] . ": " . $postrow[$i]['user_from'] : ""; ! $poster_joined = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Joined'] . ": " . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : ""; if( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS ) Index: memberlist.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/memberlist.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** memberlist.php 2001/11/16 17:27:36 1.25 --- memberlist.php 2001/11/27 00:30:59 1.26 *************** *** 173,177 **** $from = (!empty($members[$i]['user_from'])) ? stripslashes($members[$i]['user_from']) : " "; ! $joined = create_date($board_config['default_dateformat'], $members[$i]['user_regdate'], $board_config['board_timezone']); $posts = ($members[$i]['user_posts']) ? $members[$i]['user_posts'] : 0; --- 173,177 ---- $from = (!empty($members[$i]['user_from'])) ? stripslashes($members[$i]['user_from']) : " "; ! $joined = create_date($lang['DATE_FORMAT'], $members[$i]['user_regdate'], $board_config['board_timezone']); $posts = ($members[$i]['user_posts']) ? $members[$i]['user_posts'] : 0; |
|
From: Paul S. O. <ps...@us...> - 2001-11-27 00:25:00
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv24119
Modified Files:
profile.php
Log Message:
Another Pauls up
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -r1.145 -r1.146
*** profile.php 2001/11/26 14:12:25 1.145
--- profile.php 2001/11/27 00:24:57 1.146
***************
*** 249,256 ****
// Get the users percentage of total posts
! if( $profiledata['user_posts'] != 0 && $total_posts != 0 )
{
$total_posts = get_db_stat("postcount");
! $percentage = sprintf("%.2f", ($profiledata['user_posts'] / $total_posts) * 100);
}
else
--- 249,256 ----
// Get the users percentage of total posts
! if( $profiledata['user_posts'] != 0 )
{
$total_posts = get_db_stat("postcount");
! $percentage = ( $total_posts ) ? sprintf("%.2f", ($profiledata['user_posts'] / $total_posts) * 100) : 0;
}
else
***************
*** 359,363 ****
$template->assign_vars(array(
"USERNAME" => $profiledata['username'],
! "JOINED" => create_date($board_config['default_dateformat'], $profiledata['user_regdate'], $board_config['board_timezone']),
"POSTER_RANK" => $poster_rank,
"RANK_IMAGE" => $rank_image,
--- 359,363 ----
$template->assign_vars(array(
"USERNAME" => $profiledata['username'],
! "JOINED" => create_date($lang['DATE_FORMAT'], $profiledata['user_regdate'], $board_config['board_timezone']),
"POSTER_RANK" => $poster_rank,
"RANK_IMAGE" => $rank_image,
|
|
From: Bart v. B. <ba...@us...> - 2001-11-26 22:42:39
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv30179
Modified Files:
functions.php
Log Message:
Fixed problem with disappearing Mozilla nav bar when message_die() is called
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -r1.85 -r1.86
*** functions.php 2001/11/26 12:09:37 1.85
--- functions.php 2001/11/26 22:42:35 1.86
***************
*** 996,1000 ****
function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "", $err_file = "", $sql = "")
{
! global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path;
global $userdata, $user_ip, $session_length;
global $starttime;
--- 996,1000 ----
function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "", $err_file = "", $sql = "")
{
! global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links;
global $userdata, $user_ip, $session_length;
global $starttime;
|
|
From: Bart v. B. <ba...@us...> - 2001-11-26 21:40:28
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv9252
Modified Files:
bbcode.php
Log Message:
Removed uniqid() from make_bbcode_uid(). uniqid() was doing absolutely nothing for 20ms on each call ;(
Index: bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/bbcode.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** bbcode.php 2001/11/26 08:15:53 1.16
--- bbcode.php 2001/11/26 21:40:22 1.17
***************
*** 220,227 ****
} // bbencode_second_pass()
function make_bbcode_uid()
{
// Unique ID for this message..
! $uid = md5(uniqid(rand()));
$uid = substr($uid, 0, BBCODE_UID_LEN);
--- 220,230 ----
} // bbencode_second_pass()
+ // Need to initialize the random numbers only ONCE
+ mt_srand( (double) microtime() * 1000000);
+
function make_bbcode_uid()
{
// Unique ID for this message..
! $uid = md5(mt_rand());
$uid = substr($uid, 0, BBCODE_UID_LEN);
***************
*** 695,697 ****
}
! ?>
\ No newline at end of file
--- 698,700 ----
}
! ?>
|
|
From: Paul S. O. <ps...@us...> - 2001-11-26 20:46:58
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv20530/admin
Modified Files:
admin_forums.php
Log Message:
Ooops, no default auth levels were set for new forums
Index: admin_forums.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_forums.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** admin_forums.php 2001/11/26 00:01:38 1.27
--- admin_forums.php 2001/11/26 20:46:54 1.28
***************
*** 34,37 ****
--- 34,53 ----
require('pagestart.inc');
+ $forum_auth_ary = array(
+ "auth_view" => AUTH_ALL,
+ "auth_read" => AUTH_ALL,
+ "auth_post" => AUTH_ALL,
+ "auth_reply" => AUTH_ALL,
+ "auth_edit" => AUTH_REG,
+ "auth_delete" => AUTH_REG,
+ "auth_sticky" => AUTH_REG,
+ "auth_announce" => AUTH_MOD,
+ "auth_vote" => AUTH_REG,
+ "auth_pollcreate" => AUTH_REG
+ );
+
+ //
+ // Mode setting
+ //
if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) )
{
***************
*** 353,359 ****
$next_id = $max_id + 1;
// There is no problem having duplicate forum names so we won't check for it.
! $sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable)
! VALUES ('" . $next_id . "', '" . $HTTP_POST_VARS['forumname'] . "', " . intval($HTTP_POST_VARS['cat_id']) . ", '" . $HTTP_POST_VARS['forumdesc'] . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . ")";
if( !$result = $db->sql_query($sql) )
{
--- 369,387 ----
$next_id = $max_id + 1;
+ //
+ // Default permissions of public ::
+ //
+ $field_sql = "";
+ $value_sql = "";
+ while( list($field, $value) = each($forum_auth_ary) )
+ {
+ $field_sql .= ", $field";
+ $value_sql .= ", $value";
+
+ }
+
// There is no problem having duplicate forum names so we won't check for it.
! $sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
! VALUES ('" . $next_id . "', '" . $HTTP_POST_VARS['forumname'] . "', " . intval($HTTP_POST_VARS['cat_id']) . ", '" . $HTTP_POST_VARS['forumdesc'] . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
if( !$result = $db->sql_query($sql) )
{
|
|
From: Bart v. B. <ba...@us...> - 2001-11-26 14:19:42
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver In directory usw-pr-cvs1:/tmp/cvs-serv25939/subSilver Modified Files: overall_header.tpl Log Message: Oops, accidentaly changed the DOCTYPE.. Index: overall_header.tpl =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/overall_header.tpl,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** overall_header.tpl 2001/11/26 12:09:37 1.10 --- overall_header.tpl 2001/11/26 14:19:39 1.11 *************** *** 1,3 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> --- 1,6 ---- ! <!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" --> ! <!-- <html xmlns="http://www.w3.org/1999/xhtml"> --> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> |
|
From: Paul S. O. <ps...@us...> - 2001-11-26 14:12:28
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv23628
Modified Files:
profile.php
Log Message:
Fixed various issues, blank space usernames, incorrect email abuse headers, incorrect email language for bulk email, slashes in emails
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.144
retrieving revision 1.145
diff -C2 -r1.144 -r1.145
*** profile.php 2001/11/26 09:50:30 1.144
--- profile.php 2001/11/26 14:12:25 1.145
***************
*** 1846,1850 ****
}
! $sql = "SELECT username, user_email, user_viewemail, user_emailtime, user_sig, user_sig_bbcode_uid
FROM " . USERS_TABLE . "
WHERE user_id = $user_id";
--- 1846,1850 ----
}
! $sql = "SELECT username, user_email, user_viewemail, user_lang
FROM " . USERS_TABLE . "
WHERE user_id = $user_id";
***************
*** 1855,1864 ****
$username = $row['username'];
$user_email = $row['user_email'];
! $user_sig = $row['user_sig'];
! $user_sig_bbcode_uid = $row['user_sig_bbcode_uid'];
if( $row['user_viewemail'] )
{
! if( time() - $row['user_emailtime'] < $board_config['flood_interval'] )
{
message_die(GENERAL_MESSAGE, $lang['Flood_email_limit']);
--- 1855,1863 ----
$username = $row['username'];
$user_email = $row['user_email'];
! $user_lang = $row['user_lang'];
if( $row['user_viewemail'] )
{
! if( time() - $userdata['user_emailtime'] < $board_config['flood_interval'] )
{
message_die(GENERAL_MESSAGE, $lang['Flood_email_limit']);
***************
*** 1908,1916 ****
$email_headers .= "Return-Path: " . $userdata['user_email'] . "\n";
$email_headers .= "X-AntiAbuse: Board servername - " . $server_name . "\n";
! $email_headers .= "X-AntiAbuse: User_id - " . $user_id . "\n";
! $email_headers .= "X-AntiAbuse: Username - " . $username . "\n";
$email_headers .= "X-AntiAbuse: User IP - " . decode_ip($user_ip) . "\r\n";
! $emailer->use_template("profile_send_email");
$emailer->email_address($user_email);
$emailer->set_subject($subject);
--- 1907,1915 ----
$email_headers .= "Return-Path: " . $userdata['user_email'] . "\n";
$email_headers .= "X-AntiAbuse: Board servername - " . $server_name . "\n";
! $email_headers .= "X-AntiAbuse: User_id - " . $userdata['user_id'] . "\n";
! $email_headers .= "X-AntiAbuse: Username - " . $userdata['username'] . "\n";
$email_headers .= "X-AntiAbuse: User IP - " . decode_ip($user_ip) . "\r\n";
! $emailer->use_template("profile_send_email", $user_lang);
$emailer->email_address($user_email);
$emailer->set_subject($subject);
|
|
From: Paul S. O. <ps...@us...> - 2001-11-26 14:07:35
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv21878/includes
Modified Files:
post.php
Log Message:
Fixes various issues inc. bugs #485538, #485323 and an incorrect conversion of some accented chars (thanks Ashe for noting it)
Index: post.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/post.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** post.php 2001/09/25 18:18:47 1.9
--- post.php 2001/11/26 14:07:33 1.10
***************
*** 38,44 ****
if( $html_on )
{
! $html_entities_match = array("#<#", "#>#", "#& #");
! $html_entities_replace = array("<", ">", "& ");
$start_html = 1;
--- 38,46 ----
if( $html_on )
{
! $html_entities_match = array("#&#", "#<#", "#>#");
! $html_entities_replace = array("&", "<", ">");
+ $message = preg_replace("#&([a-z0-9]+?);#i", "&\\1;", $message);
+
$start_html = 1;
***************
*** 82,87 ****
else
{
! $html_entities_match = array("#<#", "#>#", "#& #");
! $html_entities_replace = array("<", ">", "& ");
$message = preg_replace($html_entities_match, $html_entities_replace, $message);
}
--- 84,89 ----
else
{
! $html_entities_match = array("#&#", "#<#", "#>#");
! $html_entities_replace = array("&", "<", ">");
$message = preg_replace($html_entities_match, $html_entities_replace, $message);
}
|
|
From: Paul S. O. <ps...@us...> - 2001-11-26 14:02:56
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv20548
Modified Files:
posting.php
Log Message:
Fixes various issues inc. bugs #485538, #485323 and an incorrect conversion of some accented chars (thanks Ashe for noting it)
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -r1.111 -r1.112
*** posting.php 2001/11/26 01:37:25 1.111
--- posting.php 2001/11/26 14:02:52 1.112
***************
*** 39,46 ****
static $sgml_match = array(" ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! static $sgml_replace = array(" ", "s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "i", "i", "i", "i", "i", "i", "u", "u", "u", "u", "y", "t", "y");
static $accent_match = array("ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! static $accent_replace = array("s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "i", "i", "i", "i", "i", "i", "u", "u", "u", "u", "y", "t", "y");
$entry = " " . stripslashes(strip_tags(strtolower($entry))) . " ";
--- 39,46 ----
static $sgml_match = array(" ", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! static $sgml_replace = array(" ", "s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
static $accent_match = array("ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "þ", "ÿ");
! static $accent_replace = array("s", "a", "a", "a", "a", "a", "a", "a", "c", "e", "e", "e", "e", "i", "i", "i", "i", "o", "n", "o", "o", "o", "o", "o", "o", "u", "u", "u", "u", "y", "t", "y");
$entry = " " . stripslashes(strip_tags(strtolower($entry))) . " ";
***************
*** 580,585 ****
// etc.
//
! $html_entities_match = array("#<#", "#>#", "#& #", "#\"#");
! $html_entities_replace = array("<", ">", "& ", """);
$submit = ( isset($HTTP_POST_VARS['submit']) ) ? TRUE : 0;
--- 580,585 ----
// etc.
//
! $html_entities_match = array("#&#", "#<#", "#>#", "#\"#");
! $html_entities_replace = array("&", "<", ">", """);
$submit = ( isset($HTTP_POST_VARS['submit']) ) ? TRUE : 0;
***************
*** 2161,2165 ****
$post_username = ( isset($HTTP_POST_VARS['username']) ) ? trim(strip_tags(stripslashes($HTTP_POST_VARS['username']))) : "";
$post_subject = ( isset($HTTP_POST_VARS['subject']) ) ? trim(strip_tags(stripslashes($HTTP_POST_VARS['subject']))) : "";
! $post_message = ( isset($HTTP_POST_VARS['message']) ) ? trim(stripslashes($HTTP_POST_VARS['message'])) : "";
$post_message = preg_replace('#<textarea>#si', '<textarea>', $post_message);
--- 2161,2165 ----
$post_username = ( isset($HTTP_POST_VARS['username']) ) ? trim(strip_tags(stripslashes($HTTP_POST_VARS['username']))) : "";
$post_subject = ( isset($HTTP_POST_VARS['subject']) ) ? trim(strip_tags(stripslashes($HTTP_POST_VARS['subject']))) : "";
! $post_message = ( isset($HTTP_POST_VARS['message']) ) ? trim($HTTP_POST_VARS['message']) : "";
$post_message = preg_replace('#<textarea>#si', '<textarea>', $post_message);
***************
*** 2355,2359 ****
$post_message = preg_replace("/\:(([a-z0-9]:)?)$post_bbcode_uid/si", "", $post_message);
$post_message = str_replace("<br />", "\n", $post_message);
! $post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message);
$post_message = preg_replace('#</textarea>#si', '</textarea>', $post_message);
--- 2355,2359 ----
$post_message = preg_replace("/\:(([a-z0-9]:)?)$post_bbcode_uid/si", "", $post_message);
$post_message = str_replace("<br />", "\n", $post_message);
! // $post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message);
$post_message = preg_replace('#</textarea>#si', '</textarea>', $post_message);
***************
*** 2481,2484 ****
--- 2481,2485 ----
$result = obtain_word_list($orig_word, $replacement_word);
+
if( $bbcode_on )
{
***************
*** 2487,2491 ****
$preview_subject = $post_subject;
! $preview_message = prepare_message($post_message, $html_on, $bbcode_on, $smilies_on, $bbcode_uid);
//
--- 2488,2493 ----
$preview_subject = $post_subject;
! $preview_message = stripslashes(prepare_message($post_message, $html_on, $bbcode_on, $smilies_on, $bbcode_uid));
! $post_message = stripslashes(preg_replace($html_entities_match, $html_entities_replace, $post_message));
//
|
|
From: Bart v. B. <ba...@us...> - 2001-11-26 12:09:42
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv22343
Modified Files:
common.php viewforum.php viewtopic.php
Log Message:
Implemented Navigation bar in Mozilla
Index: common.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/common.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -r1.64 -r1.65
*** common.php 2001/10/16 11:12:27 1.64
--- common.php 2001/11/26 12:09:37 1.65
***************
*** 119,122 ****
--- 119,144 ----
//
+ // Mozilla navigation bar
+ // Default items that should be valid on all pages.
+ // Defined here and not in page_header.php so they can be redefined in the code
+ //
+ $nav_links['top'] = array (
+ 'url' => append_sid($phpbb_root_dir."index.".$phpEx),
+ 'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
+ );
+ $nav_links['search'] = array (
+ 'url' => append_sid($phpbb_root_dir."search.".$phpEx),
+ 'title' => $lang['Search']
+ );
+ $nav_links['help'] = array (
+ 'url' => append_sid($phpbb_root_dir."faq.".$phpEx),
+ 'title' => $lang['FAQ']
+ );
+ $nav_links['author'] = array (
+ 'url' => append_sid($phpbb_root_dir."memberlist.".$phpEx),
+ 'title' => $lang['Memberlist']
+ );
+
+ //
// Obtain and encode users IP
//
***************
*** 163,165 ****
}
! ?>
\ No newline at end of file
--- 185,187 ----
}
! ?>
Index: viewforum.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewforum.php,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -r1.105 -r1.106
*** viewforum.php 2001/11/24 15:57:31 1.105
--- viewforum.php 2001/11/26 12:09:37 1.106
***************
*** 612,615 ****
--- 612,623 ----
//
+ // Mozilla navigation bar
+ //
+ $nav_links['up'] = array(
+ 'url' => append_sid("index.".$phpEx),
+ 'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
+ );
+
+ //
// Dump out the page header and load viewforum template
//
***************
*** 627,629 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
--- 635,637 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v
retrieving revision 1.142
retrieving revision 1.143
diff -C2 -r1.142 -r1.143
*** viewtopic.php 2001/11/24 17:17:06 1.142
--- viewtopic.php 2001/11/26 12:09:37 1.143
***************
*** 420,423 ****
--- 420,456 ----
//
+ // Post, reply and other URL generation for
+ // templating vars
+ //
+ $new_topic_url = append_sid("posting.$phpEx?mode=newtopic&" . POST_FORUM_URL . "=$forum_id");
+ $reply_topic_url = append_sid("posting.$phpEx?mode=reply&" . POST_TOPIC_URL . "=$topic_id");
+
+ $view_forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id");
+
+ $view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
+ $view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
+
+ //
+ // Mozilla navigation bar
+ //
+ $nav_links['prev'] = array(
+ 'url' => $view_prev_topic_url,
+ 'title' => $lang['View_previous_topic']
+ );
+ $nav_links['next'] = array(
+ 'url' => $view_next_topic_url,
+ 'title' => $lang['View_next_topic']
+ );
+ $nav_links['up'] = array(
+ 'url' => $view_forum_url,
+ 'title' => $forum_name
+ );
+
+ $reply_img = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['reply_new'];
+ $reply_alt = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
+ $post_img = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'];
+ $post_alt = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];
+
+ //
// Dump out the page header and load viewtopic body template
//
***************
*** 426,431 ****
setcookie('phpbb2_' . $forum_id . '_' . $topic_id, time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
- $page_title = $lang['View_topic'] ." - $topic_title";
- include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
--- 459,462 ----
***************
*** 460,483 ****
);
! //
! // End header
! //
//
! // Post, reply and other URL generation for
! // templating vars
//
- $new_topic_url = append_sid("posting.$phpEx?mode=newtopic&" . POST_FORUM_URL . "=$forum_id");
- $reply_topic_url = append_sid("posting.$phpEx?mode=reply&" . POST_TOPIC_URL . "=$topic_id");
-
- $view_forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id");
-
- $view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
- $view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
-
- $reply_img = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['reply_new'];
- $reply_alt = ( $forum_row['forum_status'] == FORUM_LOCKED || $forum_row['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
- $post_img = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'];
- $post_alt = ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];
//
--- 491,501 ----
);
!
! $page_title = $lang['View_topic'] ." - $topic_title";
! include($phpbb_root_path . 'includes/page_header.'.$phpEx);
//
! // End header
//
//
|
|
From: Bart v. B. <ba...@us...> - 2001-11-26 12:09:42
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver In directory usw-pr-cvs1:/tmp/cvs-serv22343/templates/subSilver Modified Files: overall_header.tpl Log Message: Implemented Navigation bar in Mozilla Index: overall_header.tpl =================================================================== RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/overall_header.tpl,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** overall_header.tpl 2001/11/21 16:00:04 1.9 --- overall_header.tpl 2001/11/26 12:09:37 1.10 *************** *** 1,6 **** ! <!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" --> ! <!-- <html xmlns="http://www.w3.org/1999/xhtml"> --> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> --- 1,3 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> *************** *** 8,11 **** --- 5,9 ---- <meta http-equiv="Content-Style-Type" content="text/css" /> {META} + {NAV_LINKS} <title>{SITENAME} :: {PAGE_TITLE}</title> <style type="text/css"> |
|
From: Bart v. B. <ba...@us...> - 2001-11-26 12:09:42
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv22343/includes
Modified Files:
functions.php page_header.php
Log Message:
Implemented Navigation bar in Mozilla
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -r1.84 -r1.85
*** functions.php 2001/11/25 23:31:04 1.84
--- functions.php 2001/11/26 12:09:37 1.85
***************
*** 120,123 ****
--- 120,124 ----
{
global $lang, $db, $SID;
+ global $nav_links, $phpEx;
$sql = "SELECT c.cat_id, c.cat_title, c.cat_order
***************
*** 161,164 ****
--- 162,175 ----
$selected = ( $forum_rows[$j]['forum_id'] == $match_forum_id ) ? "selected=\"selected\"" : "";
$boxstring .= '<option value="' . $forum_rows[$j]['forum_id'] . '"' . $selected . '>' . $forum_rows[$j]['forum_name'] . '</option>';
+
+ //
+ // Add an array to $nav_links for the Mozilla navigation bar.
+ // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
+ //
+ $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
+ 'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=". $forum_rows[$j]['forum_id']),
+ 'title' => $forum_rows[$j]['forum_name']
+ );
+
}
}
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -r1.72 -r1.73
*** page_header.php 2001/11/22 15:55:07 1.72
--- page_header.php 2001/11/26 12:09:37 1.73
***************
*** 208,211 ****
--- 208,232 ----
//
+ // Generate HTML required for Mozilla Navigation bar
+ //
+ $nav_links_html = '';
+ $nav_link_proto = '<link rel="%s" href="%s" title="%s" />'."\n";
+ while(list($nav_item, $nav_array) = @each($nav_links) )
+ {
+ if( !empty($nav_array['url']) )
+ {
+ $nav_links_html .= sprintf($nav_link_proto, $nav_item, $nav_array['url'], $nav_array['title']);
+ }
+ else
+ {
+ // We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
+ while(list(,$nested_array) = each($nav_array) )
+ {
+ $nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
+ }
+ }
+ }
+
+ //
// The following assigns all _common_ variables that may be used at any point
// in a template. Note that all URL's should be wrapped in append_sid, as
***************
*** 337,344 ****
"T_SPAN_CLASS1" => $theme['span_class1'],
"T_SPAN_CLASS2" => $theme['span_class2'],
! "T_SPAN_CLASS3" => $theme['span_class3'])
);
-
//
// Login box?
--- 358,366 ----
"T_SPAN_CLASS1" => $theme['span_class1'],
"T_SPAN_CLASS2" => $theme['span_class2'],
! "T_SPAN_CLASS3" => $theme['span_class3'],
!
! "NAV_LINKS" => $nav_links_html)
);
//
// Login box?
***************
*** 368,370 ****
$template->pparse("overall_header");
! ?>
\ No newline at end of file
--- 390,392 ----
$template->pparse("overall_header");
! ?>
|
|
From: James A. <th...@us...> - 2001-11-26 10:18:05
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver/admin
In directory usw-pr-cvs1:/tmp/cvs-serv28841
Modified Files:
user_select_body.tpl
Log Message:
Had to change the name of the submit button because it was interfearing with checking in the user_admin code.
Index: user_select_body.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/admin/user_select_body.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** user_select_body.tpl 2001/10/15 23:18:21 1.5
--- user_select_body.tpl 2001/11/26 10:18:03 1.6
***************
*** 9,13 ****
</tr>
<tr>
! <td class="row1" align="center"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" /><input type="submit" name="submit" value="{L_LOOK_UP}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
</tr>
</table></form>
--- 9,13 ----
</tr>
<tr>
! <td class="row1" align="center"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" /><input type="submit" name="submituser" value="{L_LOOK_UP}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
</tr>
</table></form>
|
|
From: James A. <th...@us...> - 2001-11-26 10:04:10
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv25494
Modified Files:
groupcp.php
Log Message:
Doh, note to self make sure you check the right field when doing stuff like this
Fixed bug #485452
Index: groupcp.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/groupcp.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** groupcp.php 2001/11/19 23:56:00 1.26
--- groupcp.php 2001/11/26 10:04:07 1.27
***************
*** 60,63 ****
--- 60,64 ----
FROM " . GROUPS_TABLE . "
WHERE group_id = $group_id";
+
if( !$result = $db->sql_query($sql) )
{
***************
*** 67,71 ****
$row = $db->sql_fetchrow($result);
! if( $row['user_id'] != $userdata['user_id'] && $userdata['user_level'] != ADMIN )
{
$template->assign_vars(array(
--- 68,72 ----
$row = $db->sql_fetchrow($result);
! if( $row['group_moderator'] != $userdata['user_id'] && $userdata['user_level'] != ADMIN )
{
$template->assign_vars(array(
|
|
From: James A. <th...@us...> - 2001-11-26 09:50:35
|
Update of /cvsroot/phpbb/phpBB2/language/lang_english In directory usw-pr-cvs1:/tmp/cvs-serv22679/language/lang_english Modified Files: lang_main.php Log Message: Fix for bug #484526 Index: lang_main.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/language/lang_english/lang_main.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** lang_main.php 2001/11/25 23:31:04 1.52 --- lang_main.php 2001/11/26 09:50:31 1.53 *************** *** 462,465 **** --- 462,466 ---- $lang['Incomplete_URL'] = "The URL you entered is incomplete"; $lang['Wrong_remote_avatar_format'] = "The URL of the remote avatar is not valid"; + $lang['No_send_account_inactive'] = "Sorry but you're password cannot be retrived because you account is currently inactive. Please contact the forum administrator for more information"; $lang['Always_smile'] = "Always enable Smilies"; |
|
From: James A. <th...@us...> - 2001-11-26 09:50:34
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv22679
Modified Files:
profile.php
Log Message:
Fix for bug #484526
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.143
retrieving revision 1.144
diff -C2 -r1.143 -r1.144
*** profile.php 2001/11/26 01:50:02 1.143
--- profile.php 2001/11/26 09:50:30 1.144
***************
*** 1643,1647 ****
$email = (!empty($HTTP_POST_VARS['email'])) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['email']))) : "";
! $sql = "SELECT user_id, username, user_email
FROM " . USERS_TABLE . "
WHERE user_email = '$email'
--- 1643,1647 ----
$email = (!empty($HTTP_POST_VARS['email'])) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['email']))) : "";
! $sql = "SELECT user_id, username, user_email, user_active
FROM " . USERS_TABLE . "
WHERE user_email = '$email'
***************
*** 1657,1660 ****
--- 1657,1666 ----
$username = $row['username'];
+
+ if($row['user_active'] == 0)
+ {
+ message_die(GENERAL_MESSAGE, $lang['No_send_account_inactive']);
+ }
+
$user_actkey = generate_activation_key();
$user_password = generate_password();
|
|
From: Nathan C. <na...@us...> - 2001-11-26 08:15:57
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv2226/includes
Modified Files:
bbcode.php
Log Message:
tabs-to-spaces and other indentation mojo for [code] bbcode.
Index: bbcode.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/bbcode.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** bbcode.php 2001/11/25 23:31:04 1.15
--- bbcode.php 2001/11/26 08:15:53 1.16
***************
*** 534,537 ****
--- 534,546 ----
$after_replace = preg_replace($html_entities_match, $html_entities_replace, $after_replace);
+
+ // Replace all spaces with non-breaking spaces.
+ $after_replace = str_replace(" ", " ", $after_replace);
+
+ // Replace 3 nbsp's with " " so non-tabbed code indents without making huge long lines.
+ $after_replace = str_replace(" ", " ", $after_replace);
+
+ // Replace tabs with " " so tabbed code indents sorta right without making huge long lines.
+ $after_replace = str_replace("\t", " ", $after_replace);
$str_to_match = "[code:1:$uid]" . $before_replace . "[/code:1:$uid]";
|
|
From: James A. <th...@us...> - 2001-11-26 03:02:44
|
Update of /cvsroot/phpbb/phpBB2/db/schemas
In directory usw-pr-cvs1:/tmp/cvs-serv9488
Modified Files:
postgres_schema.sql
Log Message:
Fixed little sequance name problem
Index: postgres_schema.sql
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/schemas/postgres_schema.sql,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** postgres_schema.sql 2001/11/24 17:17:32 1.3
--- postgres_schema.sql 2001/11/26 03:02:41 1.4
***************
*** 99,103 ****
-------------------------------------------------------- */
CREATE TABLE phpbb_disallow (
! disallow_id int4 DEFAULT nextval('phpbb_disallow_id_s'::text) NOT NULL,
disallow_username varchar(25),
CONSTRAINT phpbb_disallow_pkey PRIMARY KEY (disallow_id)
--- 99,103 ----
-------------------------------------------------------- */
CREATE TABLE phpbb_disallow (
! disallow_id int4 DEFAULT nextval('phpbb_disallow_id_seq'::text) NOT NULL,
disallow_username varchar(25),
CONSTRAINT phpbb_disallow_pkey PRIMARY KEY (disallow_id)
|
|
From: Paul S. O. <ps...@us...> - 2001-11-26 01:50:05
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv26971
Modified Files:
profile.php
Log Message:
More lang updates missed on last commit ... sleeeeeeeep, must have sleeeeeeep
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.142
retrieving revision 1.143
diff -C2 -r1.142 -r1.143
*** profile.php 2001/11/26 01:27:00 1.142
--- profile.php 2001/11/26 01:50:02 1.143
***************
*** 885,894 ****
else
{
! //
! // Image too large
! //
! @unlink($tmp_filename);
$error = true;
! $error_msg = ( !empty($error_msg) ) ? $error_msg . "<br />" . $lang['Avatar_imagesize'] : $lang['Avatar_imagesize'];
}
}
--- 885,892 ----
else
{
! $l_avatar_size = sprintf($lang['Avatar_imagesize'], $board_config['avatar_max_width'], $board_config['avatar_max_height']);
!
$error = true;
! $error_msg = ( !empty($error_msg) ) ? $error_msg . "<br />" . $l_avatar_size : $l_avatar_size;
}
}
***************
*** 929,935 ****
else if( !empty($user_avatar_name) )
{
$error = true;
! $error_filesize = $lang['Avatar_filesize'] . " " . round($board_config['avatar_filesize'] / 1024) . " " . $lang['kB'];
! $error_msg = ( !empty($error_msg) ) ? $error_msg . "<br />" . $error_filesize : $error_filesize;
}
}
--- 927,934 ----
else if( !empty($user_avatar_name) )
{
+ $l_avatar_size = sprintf($lang['Avatar_filesize'], round($board_config['avatar_filesize'] / 1024));
+
$error = true;
! $error_msg = ( !empty($error_msg) ) ? $error_msg . "<br />" . $l_avatar_size : $l_avatar_size;
}
}
|