|
From: Paul S. O. <ps...@us...> - 2001-12-05 17:51:44
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv3663/admin
Modified Files:
admin_users.php
Log Message:
Fix bugs #487774 and #487773
Index: admin_users.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_users.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** admin_users.php 2001/11/29 11:25:04 1.33
--- admin_users.php 2001/12/05 17:51:41 1.34
***************
*** 83,92 ****
if($website != "")
{
! if( !ereg("^http\:\/\/", $website) )
{
$website = "http://" . $website;
}
! if (!preg_match("#^http\\:\\/\\/[a-z0-9]+\.[a-z0-9]+#i", $website))
{
$website = "";
[...1030 lines suppressed...]
! if( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] )
! {
! $template->assign_block_vars("avatarblock", array() );
!
! if($board_config['allow_avatar_upload'])
! {
! $template->assign_block_vars("avatarblock.avatarupload", array() );
! }
! if($board_config['allow_avatar_remote'])
! {
! $template->assign_block_vars("avatarblock.avatarremote", array() );
! }
! if($board_config['allow_avatar_local'])
! {
! $template->assign_block_vars("avatarblock.avatargallery", array() );
! }
! }
! }
$template->pparse("body");
|