mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
dumdidum... sorry. ;)
git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
50a8caee5d
commit
e6c79242e6
32 changed files with 322 additions and 208 deletions
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Permission/Auth class
|
* Permission/Auth class
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BBCode class
|
* BBCode class
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @ignore
|
||||||
*/
|
*/
|
||||||
if (!defined('IN_PHPBB'))
|
if (!defined('IN_PHPBB'))
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* valid external constants:
|
* valid external constants:
|
||||||
* PHPBB_MSG_HANDLER
|
* PHPBB_MSG_HANDLER
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recalculate Binary Tree
|
* Recalculate Binary Tree
|
||||||
function recalc_btree($sql_id, $sql_table, $module_class = '')
|
function recalc_btree($sql_id, $sql_table, $module_class = '')
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class for handling archives (compression/decompression)
|
* Class for handling archives (compression/decompression)
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display Forums
|
* Display Forums
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if we are able to load a specified PHP module and do so if possible
|
* Determine if we are able to load a specified PHP module and do so if possible
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Jabber class from Flyspray project
|
* Jabber class from Flyspray project
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Messenger
|
* Messenger
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class handling all types of 'plugins' (a future term)
|
* Class handling all types of 'plugins' (a future term)
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fill smiley templates (or just the variables) with smilies, either in a window or inline
|
* Fill smiley templates (or just the variables) with smilies, either in a window or inline
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @ignore
|
||||||
*/
|
*/
|
||||||
if (!defined('IN_PHPBB'))
|
if (!defined('IN_PHPBB'))
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Transfer class, wrapper for ftp/sftp/ssh
|
* Transfer class, wrapper for ftp/sftp/ssh
|
||||||
* @package phpBB3
|
* @package phpBB3
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Responsible for holding all file relevant information, as well as doing file-specific operations.
|
* Responsible for holding all file relevant information, as well as doing file-specific operations.
|
||||||
* The {@link fileupload fileupload class} can be used to upload several files, each of them being this object to operate further on.
|
* The {@link fileupload fileupload class} can be used to upload several files, each of them being this object to operate further on.
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtain user_ids from usernames or vice versa. Returns false on
|
* Obtain user_ids from usernames or vice versa. Returns false on
|
||||||
* success else the error string
|
* success else the error string
|
||||||
|
@ -2416,7 +2424,6 @@ function group_create(&$group_id, $type, $name, $desc, $group_attributes, $allow
|
||||||
if (sizeof($sql_ary) && sizeof($user_ary))
|
if (sizeof($sql_ary) && sizeof($user_ary))
|
||||||
{
|
{
|
||||||
group_set_user_default($group_id, $user_ary, $sql_ary);
|
group_set_user_default($group_id, $user_ary, $sql_ary);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$name = ($type == GROUP_SPECIAL) ? $user->lang['G_' . $name] : $name;
|
$name = ($type == GROUP_SPECIAL) ? $user->lang['G_' . $name] : $name;
|
||||||
|
@ -2790,14 +2797,14 @@ function remove_default_avatar($group_id, $user_ids)
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
$sql = 'UPDATE ' . USERS_TABLE . "
|
||||||
SET user_avatar = \'\',
|
SET user_avatar = '',
|
||||||
user_avatar_type = 0,
|
user_avatar_type = 0,
|
||||||
user_avatar_width = 0,
|
user_avatar_width = 0,
|
||||||
user_avatar_height = 0
|
user_avatar_height = 0
|
||||||
WHERE group_id = ' . (int)$group_id . '
|
WHERE group_id = " . (int) $group_id . "
|
||||||
AND user_avatar = \'' . $db->sql_escape($row['group_avatar']) . '\'
|
AND user_avatar = '" . $db->sql_escape($row['group_avatar']) . "'
|
||||||
AND ' . $db->sql_in_set('user_id', $user_ids);
|
AND " . $db->sql_in_set('user_id', $user_ids);
|
||||||
|
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
@ -3047,8 +3054,6 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach ($attribute_ary as $attribute => $type)
|
foreach ($attribute_ary as $attribute => $type)
|
||||||
{
|
{
|
||||||
if (isset($group_attributes[$attribute]))
|
if (isset($group_attributes[$attribute]))
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue