diff --git a/phpBB/cache/index.htm b/phpBB/cache/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/cache/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/develop/add_permissions.php b/phpBB/develop/add_permissions.php deleted file mode 100644 index 40ece4000d..0000000000 --- a/phpBB/develop/add_permissions.php +++ /dev/null @@ -1,396 +0,0 @@ - is_local, is_global -$f_permissions = array( - 'f_' => array(1, 0), - 'f_list' => array(1, 0), - 'f_read' => array(1, 0), - 'f_post' => array(1, 0), - 'f_reply' => array(1, 0), - 'f_edit' => array(1, 0), - 'f_user_lock' => array(1, 0), - 'f_delete' => array(1, 0), - 'f_bump' => array(1, 0), - 'f_poll' => array(1, 0), - 'f_vote' => array(1, 0), - 'f_votechg' => array(1, 0), - 'f_announce'=> array(1, 0), - 'f_sticky' => array(1, 0), - 'f_attach' => array(1, 0), - 'f_download'=> array(1, 0), - 'f_icons' => array(1, 0), - 'f_bbcode' => array(1, 0), - 'f_smilies' => array(1, 0), - 'f_img' => array(1, 0), - 'f_flash' => array(1, 0), - 'f_sigs' => array(1, 0), - 'f_search' => array(1, 0), - 'f_email' => array(1, 0), - 'f_print' => array(1, 0), - 'f_ignoreflood' => array(1, 0), - 'f_postcount' => array(1, 0), - 'f_noapprove'=> array(1, 0), - 'f_report' => array(1, 0), - 'f_subscribe' => array(1, 0), -); - -$m_permissions = array( - 'm_' => array(1, 1), - 'm_edit' => array(1, 1), - 'm_delete' => array(1, 1), - 'm_move' => array(1, 1), - 'm_lock' => array(1, 1), - 'm_split' => array(1, 1), - 'm_merge' => array(1, 1), - 'm_approve' => array(1, 1), - 'm_unrate' => array(1, 1), - 'm_auth' => array(1, 1), - 'm_ip' => array(1, 1), - 'm_info' => array(1, 1), -); - -$a_permissions = array( - 'a_' => array(0, 1), - 'a_server' => array(0, 1), - 'a_board' => array(0, 1), - 'a_clearlogs' => array(0, 1), - 'a_words' => array(0, 1), - 'a_icons' => array(0, 1), - 'a_bbcode' => array(0, 1), - 'a_attach' => array(0, 1), - 'a_email' => array(0, 1), - 'a_styles' => array(0, 1), - 'a_user' => array(0, 1), - 'a_useradd' => array(0, 1), - 'a_userdel' => array(0, 1), - 'a_ranks' => array(0, 1), - 'a_ban' => array(0, 1), - 'a_names' => array(0, 1), - 'a_group' => array(0, 1), - 'a_groupadd'=> array(0, 1), - 'a_groupdel'=> array(0, 1), - 'a_forum' => array(0, 1), - 'a_forumadd'=> array(0, 1), - 'a_forumdel'=> array(0, 1), - 'a_prune' => array(0, 1), - 'a_auth' => array(0, 1), - 'a_authmods'=> array(0, 1), - 'a_authadmins' => array(0, 1), - 'a_authusers' => array(0, 1), - 'a_authgroups' => array(0, 1), - 'a_authdeps'=> array(0, 1), - 'a_backup' => array(0, 1), - 'a_restore' => array(0, 1), - 'a_search' => array(0, 1), - 'a_events' => array(0, 1), - 'a_cron' => array(0, 1), -); - -$u_permissions = array( - 'u_' => array(0, 1), - 'u_sendemail' => array(0, 1), - 'u_readpm' => array(0, 1), - 'u_sendpm' => array(0, 1), - 'u_sendim' => array(0, 1), - 'u_hideonline' => array(0, 1), - 'u_viewonline' => array(0, 1), - 'u_viewprofile' => array(0, 1), - 'u_chgavatar' => array(0, 1), - 'u_chggrp' => array(0, 1), - 'u_chgemail' => array(0, 1), - 'u_chgname' => array(0, 1), - 'u_chgpasswd' => array(0, 1), - 'u_chgcensors' => array(0, 1), - 'u_search' => array(0, 1), - 'u_savedrafts' => array(0, 1), - 'u_download' => array(0, 1), - 'u_attach' => array(0, 1), - 'u_sig' => array(0, 1), - 'u_pm_attach' => array(0, 1), - 'u_pm_bbcode' => array(0, 1), - 'u_pm_smilies' => array(0, 1), - 'u_pm_download' => array(0, 1), - 'u_pm_edit' => array(0, 1), - 'u_pm_printpm' => array(0, 1), - 'u_pm_emailpm' => array(0, 1), - 'u_pm_forward' => array(0, 1), - 'u_pm_delete' => array(0, 1), - 'u_pm_img' => array(0, 1), - 'u_pm_flash' => array(0, 1), -); - -echo "

Determining existing permissions

\n"; - -$sql = 'SELECT auth_option_id, auth_option FROM ' . ACL_OPTIONS_TABLE; -$result = $db->sql_query($sql); - -$remove_auth_options = array(); -while ($row = $db->sql_fetchrow($result)) -{ - if (!in_array($row['auth_option'], array_keys(${substr($row['auth_option'], 0, 2) . 'permissions'}))) - { - $remove_auth_options[$row['auth_option']] = $row['auth_option_id']; - } - unset(${substr($row['auth_option'], 0, 2) . 'permissions'}[$row['auth_option']]); -} -$db->sql_freeresult($result); - -if (sizeof($remove_auth_options)) -{ - $db->sql_query('DELETE FROM ' . ACL_USERS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')'); - $db->sql_query('DELETE FROM ' . ACL_GROUPS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')'); - $db->sql_query('DELETE FROM ' . ACL_OPTIONS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')'); - - echo '

Removed the following auth options... [' . implode(', ', array_keys($remove_auth_options)) . "]

\n\n"; -} - -$prefixes = array('f_', 'a_', 'm_', 'u_'); - -foreach ($prefixes as $prefix) -{ - $var = $prefix . 'permissions'; - if (sizeof($$var)) - { - foreach ($$var as $auth_option => $l_ary) - { - $sql_ary = array( - 'auth_option' => $auth_option, - 'is_local' => $l_ary[0], - 'is_global' => $l_ary[1] - ); - - $db->sql_query('INSERT INTO ' . ACL_OPTIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary)); - - echo "

Adding $auth_option...

\n"; - - mass_auth('group', 0, 'guests', $auth_option, ACL_NEVER); - mass_auth('group', 0, 'inactive', $auth_option, ACL_NEVER); - mass_auth('group', 0, 'inactive_coppa', $auth_option, ACL_NEVER); - mass_auth('group', 0, 'registered_coppa', $auth_option, ACL_NEVER); - mass_auth('group', 0, 'registered', $auth_option, (($prefix != 'm_' && $prefix != 'a_') ? ACL_YES : ACL_NEVER)); - mass_auth('group', 0, 'global_moderators', $auth_option, (($prefix != 'a_') ? ACL_YES : ACL_NEVER)); - mass_auth('group', 0, 'administrators', $auth_option, ACL_YES); - mass_auth('group', 0, 'bots', $auth_option, (($prefix != 'm_' && $prefix != 'a_') ? ACL_YES : ACL_NEVER)); - } - } -} - -$sql = 'UPDATE ' . USERS_TABLE . " SET user_permissions = ''"; -$db->sql_query($sql); - -$cache->destroy('_acl_options'); - -echo "

Done

\n"; - -/* - $ug_type = user|group - $forum_id = forum ids (array|int|0) -> 0 == all forums - $ug_id = [int] user_id|group_id : [string] usergroup name - $acl_list = [string] acl entry : [array] acl entries - $setting = ACL_YES|ACL_NEVER|ACL_NO -*/ -function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting) -{ - global $db; - static $acl_option_ids, $group_ids; - - if ($ug_type == 'group' && is_string($ug_id)) - { - if (!isset($group_ids[$ug_id])) - { - $sql = 'SELECT group_id FROM ' . GROUPS_TABLE . " - WHERE group_name = '" . strtoupper($ug_id) . "'"; - $result = $db->sql_query_limit($sql, 1); - $id = (int) $db->sql_fetchfield('group_id', $result); - $db->sql_freeresult($result); - - if (!$id) - { - return; - } - - $group_ids[$ug_id] = $id; - } - - $ug_id = (int) $group_ids[$ug_id]; - } - - // Build correct parameters - $auth = array(); - - if (!is_array($acl_list)) - { - $auth = array($acl_list => $setting); - } - else - { - foreach ($acl_list as $auth_option) - { - $auth[$auth_option] = $setting; - } - } - unset($acl_list); - - if (!is_array($forum_id)) - { - $forum_id = array($forum_id); - } - - // Set any flags as required - foreach ($auth as $auth_option => $acl_setting) - { - $flag = substr($auth_option, 0, strpos($auth_option, '_') + 1); - if (empty($auth[$flag])) - { - $auth[$flag] = $acl_setting; - } - } - - if (!is_array($acl_option_ids) || empty($acl_option_ids)) - { - $sql = 'SELECT auth_option_id, auth_option - FROM ' . ACL_OPTIONS_TABLE; - $result = $db->sql_query($sql); - - while ($row = $db->sql_fetchrow($result)) - { - $acl_option_ids[$row['auth_option']] = $row['auth_option_id']; - } - $db->sql_freeresult($result); - } - - $sql_forum = 'AND a.forum_id IN (' . implode(', ', array_map('intval', $forum_id)) . ')'; - - $sql = ($ug_type == 'user') ? 'SELECT o.auth_option_id, o.auth_option, a.forum_id, a.auth_setting FROM ' . ACL_USERS_TABLE . ' a, ' . ACL_OPTIONS_TABLE . " o WHERE a.auth_option_id = o.auth_option_id $sql_forum AND a.user_id = $ug_id" : 'SELECT o.auth_option_id, o.auth_option, a.forum_id, a.auth_setting FROM ' . ACL_GROUPS_TABLE . ' a, ' . ACL_OPTIONS_TABLE . " o WHERE a.auth_option_id = o.auth_option_id $sql_forum AND a.group_id = $ug_id"; - $result = $db->sql_query($sql); - - $cur_auth = array(); - while ($row = $db->sql_fetchrow($result)) - { - $cur_auth[$row['forum_id']][$row['auth_option_id']] = $row['auth_setting']; - } - $db->sql_freeresult($result); - - $table = ($ug_type == 'user') ? ACL_USERS_TABLE : ACL_GROUPS_TABLE; - $id_field = $ug_type . '_id'; - - $sql_ary = array(); - foreach ($forum_id as $forum) - { - foreach ($auth as $auth_option => $setting) - { - $auth_option_id = $acl_option_ids[$auth_option]; - - if (!$auth_option_id) - { - continue; - } - - switch ($setting) - { - case ACL_NO: - if (isset($cur_auth[$forum][$auth_option_id])) - { - $sql_ary['delete'][] = "DELETE FROM $table - WHERE forum_id = $forum - AND auth_option_id = $auth_option_id - AND $id_field = $ug_id"; - } - break; - - default: - if (!isset($cur_auth[$forum][$auth_option_id])) - { - $sql_ary['insert'][] = "$ug_id, $forum, $auth_option_id, $setting"; - } - else if ($cur_auth[$forum][$auth_option_id] != $setting) - { - $sql_ary['update'][] = "UPDATE " . $table . " - SET auth_setting = $setting - WHERE $id_field = $ug_id - AND forum_id = $forum - AND auth_option_id = $auth_option_id"; - } - } - } - } - unset($cur_auth); - - $sql = ''; - foreach ($sql_ary as $sql_type => $sql_subary) - { - switch ($sql_type) - { - case 'insert': - switch ($db->sql_layer) - { - case 'mysql': - case 'mysql4': - $sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary)); - break; - - case 'mssql': - case 'sqlite': - $sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary)); - break; - - default: - foreach ($sql_subary as $sql) - { - $sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) VALUES ($sql)"; - $result = $db->sql_query($sql); - $sql = ''; - } - } - - if ($sql != '') - { - $sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) $sql"; - $result = $db->sql_query($sql); - } - break; - - case 'update': - case 'delete': - foreach ($sql_subary as $sql) - { - $result = $db->sql_query($sql); - $sql = ''; - } - break; - } - unset($sql_ary[$sql_type]); - } - unset($sql_ary); - -} - -garbage_collection(); -exit_handler(); - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_avatars.php b/phpBB/develop/adjust_avatars.php deleted file mode 100644 index 976f7dfb7e..0000000000 --- a/phpBB/develop/adjust_avatars.php +++ /dev/null @@ -1,147 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -if (!isset($config['avatar_salt'])) -{ - $cache->purge(); - if (!isset($config['avatar_salt'])) - { - die('database not up to date'); - } - die('database not up to date'); -} - -// let's start with the users using a group_avatar. -$sql = 'SELECT group_id, group_avatar - FROM ' . GROUPS_TABLE . ' - WHERE group_avatar_type = ' . AVATAR_UPLOAD; - -// We'll skip these, so remember them -$group_avatars = array(); - -echo '
Updating groups' . "\n"; - -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_avatar_name = adjust_avatar($row['group_avatar'], 'g' . $row['group_id']); - $group_avatars[] = $new_avatar_name; - - // failure is probably due to the avatar name already being adjusted - if ($new_avatar_name !== false) - { - $sql = 'UPDATE ' . USERS_TABLE . " - SET user_avatar = '" . $db->sql_escape($new_avatar_name) . "' - WHERE user_avatar = '" . $db->sql_escape($row['group_avatar']) . "' - AND user_avatar_type = " . AVATAR_UPLOAD; - $db->sql_query($sql); - - $sql = 'UPDATE ' . GROUPS_TABLE . " - SET group_avatar = '" . $db->sql_escape($new_avatar_name) . "' - WHERE group_id = {$row['group_id']}"; - $db->sql_query($sql); - } - else - { - echo '
Failed updating group ' . $row['group_id'] . "\n"; - } - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); -} -$db->sql_freeresult($result); - -$sql = 'SELECT user_id, username, user_avatar, user_avatar_type - FROM ' . USERS_TABLE . ' - WHERE user_avatar_type = ' . AVATAR_UPLOAD . ' - AND ' . $db->sql_in_set('user_avatar', $group_avatars, true, true); -$result = $db->sql_query($sql); - -echo '
Updating users' . "\n"; - -while ($row = $db->sql_fetchrow($result)) -{ - $new_avatar_name = adjust_avatar($row['user_avatar'], $row['user_id']); - - // failure is probably due to the avatar name already being adjusted - if ($new_avatar_name !== false) - { - $sql = 'UPDATE ' . USERS_TABLE . " - SET user_avatar = '" . $db->sql_escape($new_avatar_name) . "' - WHERE user_id = {$row['user_id']}"; - $db->sql_query($sql); - } - else - { - // nuke this avatar - $sql = 'UPDATE ' . USERS_TABLE . " - SET user_avatar = '', user_avatar_type = 0 - WHERE user_id = {$row['user_id']}"; - $db->sql_query($sql); - echo '
Failed updating user ' . $row['user_id'] . "\n"; - } - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); -} - -$db->sql_freeresult($result); - -echo 'FINISHED'; - -// Done -$db->sql_close(); - -function adjust_avatar($old_name, $midfix) -{ - global $config; - - $avatar_path = PHPBB_ROOT_PATH . $config['avatar_path']; - $extension = strtolower(substr(strrchr($old_name, '.'), 1)); - $new_name = $config['avatar_salt'] . '_' . $midfix . '.' . $extension; - - if (@file_exists($avatar_path . '/' . $old_name) && @is_writable($avatar_path . '/' . $old_name) && @is_writable($avatar_path . '/' . $new_name)) - { - @rename($avatar_path . '/' . $old_name, $avatar_path . '/' . $new_name); - return $midfix . '.' . $extension; - } - return false; -} - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_bbcodes.php b/phpBB/develop/adjust_bbcodes.php deleted file mode 100644 index 27af105f28..0000000000 --- a/phpBB/develop/adjust_bbcodes.php +++ /dev/null @@ -1,174 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -// Adjust user signatures -$message_parser = new parse_message(); -$message_parser->mode = 'sig'; -$message_parser->bbcode_init(); - -$sql = 'SELECT user_id, user_sig, user_sig_bbcode_uid, user_sig_bbcode_bitfield - FROM ' . USERS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - // Convert bbcodes back to their normal form - if ($row['user_sig_bbcode_uid'] && $row['user_sig']) - { - decode_message($row['user_sig'], $row['user_sig_bbcode_uid']); - - $message_parser->message = $row['user_sig']; - - $message_parser->prepare_bbcodes(); - $message_parser->parse_bbcode(); - - $bitfield = $message_parser->bbcode_bitfield; - - $sql = 'UPDATE ' . USERS_TABLE . " SET user_sig_bbcode_bitfield = '" . $db->sql_escape($bitfield) . "' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } - else - { - $sql = 'UPDATE ' . USERS_TABLE . " SET user_sig_bbcode_bitfield = '' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - } -} -$db->sql_freeresult($result); - - -// Now adjust posts - -$message_parser = new parse_message(); -$message_parser->mode = 'post'; -$message_parser->bbcode_init(); - -// Update posts -$sql = 'SELECT post_id, post_text, bbcode_uid, enable_bbcode, enable_smilies, enable_sig - FROM ' . POSTS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - // Convert bbcodes back to their normal form - if ($row['enable_bbcode']) - { - decode_message($row['post_text'], $row['bbcode_uid']); - - $message_parser->message = $row['post_text']; - - $message_parser->prepare_bbcodes(); - $message_parser->parse_bbcode(); - - $bitfield = $message_parser->bbcode_bitfield; - - $sql = 'UPDATE ' . POSTS_TABLE . " SET bbcode_bitfield = '" . $db->sql_escape($bitfield) . "' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } - else - { - $sql = 'UPDATE ' . POSTS_TABLE . " SET bbcode_bitfield = '' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - } -} -$db->sql_freeresult($result); - -// Now to the private messages -$message_parser = new parse_message(); -$message_parser->mode = 'post'; -$message_parser->bbcode_init(); - -// Update pms -$sql = 'SELECT msg_id, message_text, bbcode_uid, enable_bbcode - FROM ' . PRIVMSGS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - // Convert bbcodes back to their normal form - if ($row['enable_bbcode']) - { - decode_message($row['message_text'], $row['bbcode_uid']); - - $message_parser->message = $row['message_text']; - - $message_parser->prepare_bbcodes(); - $message_parser->parse_bbcode(); - - $bitfield = $message_parser->bbcode_bitfield; - - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET bbcode_bitfield = '" . $db->sql_escape($bitfield) . "' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } - else - { - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET bbcode_bitfield = '' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - } -} -$db->sql_freeresult($result); - -// Done -$db->sql_close(); - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_magic_urls.php b/phpBB/develop/adjust_magic_urls.php deleted file mode 100644 index 94a32283e0..0000000000 --- a/phpBB/develop/adjust_magic_urls.php +++ /dev/null @@ -1,126 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -$replace = array( - 'sql_freeresult($result); - - -// Now adjust posts -$sql = 'SELECT post_id, post_text - FROM ' . POSTS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_content = str_replace($replace, $with, $row['post_text']); - - if ($row['post_text'] != $new_content) - { - $sql = 'UPDATE ' . POSTS_TABLE . " SET post_text = '" . $db->sql_escape($new_content) . "' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Now to the private messages -$sql = 'SELECT msg_id, message_text - FROM ' . PRIVMSGS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_content = str_replace($replace, $with, $row['message_text']); - - if ($row['message_text'] != $new_content) - { - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET bbcode_bitfield = '" . $db->sql_escape($new_content) . "' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Done -$db->sql_close(); - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_sizes.php b/phpBB/develop/adjust_sizes.php deleted file mode 100644 index 5b4678c621..0000000000 --- a/phpBB/develop/adjust_sizes.php +++ /dev/null @@ -1,132 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -function replace_size($matches) -{ - return '[size=' . ceil(100.0 * (((double) $matches[1])/12.0)) . ':' . $matches[2] . ']'; -} - -// Adjust user signatures -$sql = 'SELECT user_id, user_sig, user_sig_bbcode_uid - FROM ' . USERS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['user_sig_bbcode_uid']; - - // Only if a bbcode uid is present, the signature present and a size tag used... - if ($bbcode_uid && $row['user_sig'] && strpos($row['user_sig'], '[size=') !== false) - { - $row['user_sig'] = preg_replace_callback('/\[size=(\d*):(' . $bbcode_uid . ')\]/', 'replace_size', $row['user_sig']); - - $sql = 'UPDATE ' . USERS_TABLE . " SET user_sig = '" . $db->sql_escape($row['user_sig']) . "' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - - -// Now adjust posts -$sql = 'SELECT post_id, post_text, bbcode_uid, enable_bbcode - FROM ' . POSTS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['bbcode_uid']; - - // Only if a bbcode uid is present, bbcode enabled and a size tag used... - if ($row['enable_bbcode'] && $bbcode_uid && strpos($row['post_text'], '[size=') !== false) - { - $row['post_text'] = preg_replace_callback('/\[size=(\d*):' . $bbcode_uid . '\]/', 'replace_size', $row['post_text']); - - $sql = 'UPDATE ' . POSTS_TABLE . " SET post_text = '" . $db->sql_escape($row['post_text']) . "' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Now to the private messages -$sql = 'SELECT msg_id, message_text, bbcode_uid, enable_bbcode - FROM ' . PRIVMSGS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['bbcode_uid']; - - // Only if a bbcode uid is present, bbcode enabled and a size tag used... - if ($row['enable_bbcode'] && $bbcode_uid && strpos($row['message_text'], '[size=') !== false) - { - $row['message_text'] = preg_replace_callback('/\[size=(\d*):' . $bbcode_uid . '\]/', 'replace_size', $row['message_text']); - - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET message_text = '" . $db->sql_escape($row['message_text']) . "' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Done -$db->sql_close(); - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_smilies.php b/phpBB/develop/adjust_smilies.php deleted file mode 100644 index bc8ac7be95..0000000000 --- a/phpBB/develop/adjust_smilies.php +++ /dev/null @@ -1,130 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -$replace = array( - 'sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_content = str_replace($replace, $with, $row['user_sig']); - - if ($new_content != $row['user_sig']) - { - $sql = 'UPDATE ' . USERS_TABLE . " SET user_sig = '" . $db->sql_escape($new_content) . "' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - - -// Now adjust posts -$sql = 'SELECT post_id, post_text - FROM ' . POSTS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_content = str_replace($replace, $with, $row['post_text']); - - if ($row['post_text'] != $new_content) - { - $sql = 'UPDATE ' . POSTS_TABLE . " SET post_text = '" . $db->sql_escape($new_content) . "' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Now to the private messages -$sql = 'SELECT msg_id, message_text - FROM ' . PRIVMSGS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $new_content = str_replace($replace, $with, $row['message_text']); - - if ($row['message_text'] != $new_content) - { - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET bbcode_bitfield = '" . $db->sql_escape($new_content) . "' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Done -$db->sql_close(); - -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_uids.php b/phpBB/develop/adjust_uids.php deleted file mode 100644 index 999d9a076a..0000000000 --- a/phpBB/develop/adjust_uids.php +++ /dev/null @@ -1,129 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - - -// Adjust user signatures -$sql = 'SELECT user_id, user_sig, user_sig_bbcode_uid - FROM ' . USERS_TABLE . ' - ORDER BY user_id ASC'; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['user_sig_bbcode_uid']; - - // Only if a bbcode uid is present, the signature present and a size tag used... - if (!empty($bbcode_uid) && strpos($row['user_sig'], $bbcode_uid) === false) - { - $row['user_sig'] = preg_replace('/\:[0-9a-z]{8}\]/', ":$bbcode_uid]", $row['user_sig']); - - $sql = 'UPDATE ' . USERS_TABLE . " SET user_sig = '" . $db->sql_escape($row['user_sig']) . "' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
User: ' . "{$row['user_id']}\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - - -// Now adjust posts -$sql = 'SELECT post_id, post_text, bbcode_uid, enable_bbcode - FROM ' . POSTS_TABLE . ' - ORDER BY post_id ASC'; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['bbcode_uid']; - - // Only if a bbcode uid is present, bbcode enabled and a size tag used... - if ($row['enable_bbcode'] && !empty($bbcode_uid) && strpos($row['post_text'], $bbcode_uid) === false) - { - $row['post_text'] = preg_replace('/\:[0-9a-z]{8}\]/', ":$bbcode_uid]", $row['post_text']); - - $sql = 'UPDATE ' . POSTS_TABLE . " SET post_text = '" . $db->sql_escape($row['post_text']) . "' - WHERE post_id = " . $row['post_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
Post: ' . "{$row['post_id']} \n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Now to the private messages -$sql = 'SELECT msg_id, message_text, bbcode_uid, enable_bbcode - FROM ' . PRIVMSGS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $bbcode_uid = $row['bbcode_uid']; - - // Only if a bbcode uid is present, bbcode enabled and a size tag used... - if ($row['enable_bbcode'] && !empty($bbcode_uid) && strpos($row['message_text'], $bbcode_uid) === false) - { - $row['message_text'] = preg_replace('/\:[0-9a-z]{8}\]/', ":$bbcode_uid]", $row['message_text']); - - $sql = 'UPDATE ' . PRIVMSGS_TABLE . " SET message_text = '" . $db->sql_escape($row['message_text']) . "' - WHERE msg_id = " . $row['msg_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); - } -} -$db->sql_freeresult($result); - -// Done -$db->sql_close(); -echo 'done'; -?> \ No newline at end of file diff --git a/phpBB/develop/adjust_usernames.php b/phpBB/develop/adjust_usernames.php deleted file mode 100644 index 4bae774634..0000000000 --- a/phpBB/develop/adjust_usernames.php +++ /dev/null @@ -1,52 +0,0 @@ -session_begin(); -$auth->acl($user->data); -$user->setup(); - -$echos = 0; - -$sql = 'SELECT user_id, username - FROM ' . USERS_TABLE; -$result = $db->sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $sql = 'UPDATE ' . USERS_TABLE . " - SET username_clean = '" . $db->sql_escape(utf8_clean_string($row['username'])) . "' - WHERE user_id = " . $row['user_id']; - $db->sql_query($sql); - - if ($echos > 200) - { - echo '
' . "\n"; - $echos = 0; - } - - echo '.'; - $echos++; - - flush(); -} -$db->sql_freeresult($result); - -echo 'FINISHED'; - -// Done -$db->sql_close(); - -?> \ No newline at end of file diff --git a/phpBB/develop/calc_email_hash.php b/phpBB/develop/calc_email_hash.php deleted file mode 100644 index cf2bb5c418..0000000000 --- a/phpBB/develop/calc_email_hash.php +++ /dev/null @@ -1,64 +0,0 @@ -sql_query($sql); - - if ($row = $db->sql_fetchrow($result)) - { - do - { - $sql = "UPDATE {$table_prefix}users - SET user_email_hash = " . (crc32(strtolower($row['user_email'])) . strlen($row['user_email'])) . ' - WHERE user_id = ' . $row['user_id']; - $db->sql_query($sql); - - $start++; - } - while ($row = $db->sql_fetchrow($result)); - - echo "
Batch -> $start\n"; - flush(); - } - else - { - $start = 0; - } - $db->sql_freeresult($result); -} -while ($start); - -echo "

Done

\n"; - -?> \ No newline at end of file diff --git a/phpBB/develop/change_smiley_ref.php b/phpBB/develop/change_smiley_ref.php deleted file mode 100644 index 4620b9c2c4..0000000000 --- a/phpBB/develop/change_smiley_ref.php +++ /dev/null @@ -1,48 +0,0 @@ -sql_query($sql); - -while ($row = $db->sql_fetchrow($result)) -{ - $db->sql_query("UPDATE {$table_prefix}posts SET post_text = '" . $db->sql_escape(str_replace('{SMILE_PATH}', '{SMILIES_PATH}', $row['post_text'])) . "' WHERE post_id = " . $row['post_id']); -} -$db->sql_freeresult($result); - -echo "

Done

\n"; - -?> \ No newline at end of file diff --git a/phpBB/develop/create_variable_overview.php b/phpBB/develop/create_variable_overview.php deleted file mode 100644 index 3782f53e4c..0000000000 --- a/phpBB/develop/create_variable_overview.php +++ /dev/null @@ -1,547 +0,0 @@ - - - - - -{FILENAME} - - - - - - - - -
phpBB LogoFile {FILENAME}      
- - - - - -

- -'; -$html_skeleton .= '
Back to Contents

'; -$html_skeleton .= '
Language Variables :: Includes :: Conditionals
Remaining Vars :: phpBB File Usage :: References'; -$html_skeleton .= '

Language Variables

{LANGUAGE_VARIABLES}'; -$html_skeleton .= '

Included Files

{INCLUDES}'; -$html_skeleton .= '

Used Conditionals

{CONDITIONALS}'; -$html_skeleton .= '

Remaining Vars used

{REMAINING_VARS}'; -$html_skeleton .= '

This Template File is used by the following phpBB Files

{USED_BY}'; -$html_skeleton .= '

References: {SEE_FILES}'; - -//$html_skeleton .= "\n\n"; - -$html_skeleton .= ' -

- - -
- - - -'; - -// Open Language File -include('../language/en/lang_main.php'); -include('../language/en/lang_admin.php'); - -$files_to_parse = $php_files = array(); - -$dhandler = opendir($directory); -if (!$dhandler) -{ - die("Unable to open $directory"); -} - -$num = 0; -while ($file = readdir($dhandler)) -{ - if (is_file($directory . $file) && preg_match('#\.' . $ext . '$#i', $file)) - { - $files_to_parse[$num]['filename'] = $directory . $file; - $files_to_parse[$num]['single_filename'] = $file; - $files_to_parse[$num]['destfile'] = str_replace(".{$ext}", '', $file) . '_' . $num . '.html'; - $file_to_destfile[$file] = $files_to_parse[$num]['destfile']; - $num++; - } -} -closedir($dhandler); - -$num = 0; -foreach ($phpfiles_directories as $directory) -{ - $dhandler = opendir($directory); - if (!$dhandler) - { - die("Unable to open $directory"); - } - - while ($file = readdir($dhandler)) - { - if (is_file($directory . $file) && preg_match('#\.php$#i', $file)) - { - $php_files[$num]['filename'] = $directory . $file; - $php_files[$num]['single_filename'] = $file; - $num++; - } - } - closedir($dhandler); -} - -$php_files_includes = $lang_references = array(); - -//$php_files_includes['viewtopic_attach_body.html'][0] = filename - -echo '
Parsing PHP Files'; - -// Parse PHP Files and get our filenames -foreach ($php_files as $file_num => $data) -{ - echo '.'; - flush(); - $contents = implode('', file($data['filename'], filesize($data['filename']))); - - $html_files = array(); - preg_match_all('#([a-zA-Z0-9\-_]*?)\.' . $ext . '#s', $contents, $html_files); - $html_files = array_unique($html_files[1]); - - foreach ($html_files as $html_file) - { - $html_file = trim($html_file); - if ($html_file != '') - { - $php_files_includes[$html_file . '.' . $ext][] = $data['filename']; - } - } -} - -echo '
Parsing HTML Files'; -foreach ($files_to_parse as $file_num => $data) -{ - echo '.'; - flush(); - $contents = implode('', file($data['filename'], filesize($data['filename']))); - - // Language Variables -> [0]:tpl [1]:lang - $lang_vars = array(); - preg_match_all('#{L_([a-z0-9\-_]*?)\}#is', $contents, $lang_vars); - $contents = preg_replace('#{L_([a-z0-9\-_]*?)\}#is', '', $contents); - $lang_vars[0] = array_unique($lang_vars[0]); - $lang_vars[1] = array_unique($lang_vars[1]); - - // Includes - $includes = array(); - preg_match_all('##s', $contents, $includes); - $contents = preg_replace('##', '', $contents); - $includes = $includes[1]; - $includes = array_unique($includes); - - // IF Conditions - $switches = array(); - preg_match_all('##', $contents, $switches); - $contents = preg_replace('##s', '', $contents); - $switches[0] = array_unique($switches[1]); // No resorting please - $switches[1] = $switches[2]; - unset($switches[2]); - - // Remaining Vars - $remaining_vars = array(); - preg_match_all('#{([a-z0-9\-_\.]*?)\}#is', $contents, $remaining_vars); - $contents = preg_replace('#{([a-z0-9\-_]*?)\}#is', '', $contents); - $remaining_vars = array_unique($remaining_vars[1]); - sort($remaining_vars, SORT_STRING); - - // Now build the filename specific site - $fp = fopen($store_dir . $data['destfile'], 'w'); - $html_data = $html_skeleton; - - $html_data = str_replace('{FILENAME}', $data['single_filename'], $html_data); - - // Write up the Language Variables - if (count($lang_vars[0])) - { - $lang_data = ''; - } - else - { - $lang_data = 'NONE
' . "\n"; - } - - $html_data = str_replace('{LANGUAGE_VARIABLES}', $lang_data, $html_data); - - // Write up the Includes - echo '.'; - flush(); - if (count($includes)) - { - $includes_data = '
'; - } - else - { - $includes_data = 'NONE
' . "\n"; - $see_files = 'NONE'; - } - - $html_data = str_replace('{INCLUDES}', $includes_data, $html_data); - $html_data = str_replace('{SEE_FILES}', $see_files, $html_data); - - // Write up Conditionals - echo '.'; - flush(); - if (count($switches[0])) - { - $conditionals = ''; - } - else - { - $conditionals = 'NONE
' . "\n"; - } - - $html_data = str_replace('{CONDITIONALS}', $conditionals, $html_data); - - // Write up Remaining Vars - echo '.'; - flush(); - if (count($remaining_vars)) - { - $remaining = ''; - } - else - { - $remaining = 'NONE
' . "\n"; - } - - $html_data = str_replace('{REMAINING_VARS}', $remaining, $html_data); - - if (isset($php_files_includes[$data['single_filename']]) && count($php_files_includes[$data['single_filename']])) - { - $usedby = ''; - } - else - { - $usedby = 'NONE
' . "\n"; - } - - $html_data = str_replace('{USED_BY}', $usedby, $html_data); - - fwrite($fp, $html_data); - fclose($fp); -} - -echo '
Store Files'; - -$fp = fopen($store_dir . 'index.html', 'w'); - -$html_data = ' - - - - - -Contents - - - - - - - - -
phpBB LogoAvailable Template Files      
- - - - - -

-
This Style Document is 100% auto-generated... no human interaction included. :D
-

phpBB 2.2 Template

-
-
    -'; - -sort($files_to_parse); -foreach ($files_to_parse as $file_num => $data) -{ - echo '.'; - flush(); - $var = $data['single_filename']; - $html_data .= '
  1. ' . $var . '

  2. ' . "\n"; -} - -$html_data .= '
  3. Appendix A: Language Variable Index

  4. '; - -$html_data .= ' -


- - -
- - - -'; - -fwrite($fp, $html_data); -fclose($fp); - -// Not only write down all language files, place them into a specific array, named by the template file -// All Language vars assigned to more than one template will be placed into a common file -$entry = array(); -$common_fp = fopen($store_dir . 'lang_common.php', 'w'); -fwrite($common_fp, " - - - - -Appendix A :: Language Variable Index - - - - - - - - -
phpBB LogoLanguage Variable Index      
- - - - - -

-
Back to Contents

-
-'; - -echo '
Write Language Files'; - -asort($lang_references); -ksort($lang_references); -$_index = ''; -$old_char = ''; -foreach ($lang_references as $lang_var => $filenames) -{ - $var = preg_replace('#^L_(.*?)#', '\1', $lang_var); - $char = $var{0}; - if ($old_char != $char) - { - $old_char = $char; - $_index .= ($_index != '') ? ' :: ' : ''; - $_index .= '' . $char . ''; - } -} - -$html_data .= $_index . '


'; -$old_char = ''; -foreach ($lang_references as $lang_var => $filenames) -{ - echo '.'; - flush(); - $var = preg_replace('#^L_(.*?)#', '\1', $lang_var); - $char = $var{0}; - if ($old_char != $char) - { - $old_char = $char; - $html_data .= '


Letter ' . $char . '



'; - } - - $html_data .= '' . $lang_var . '
    '; - - if (sizeof($filenames) != 1) - { - fwrite($common_fp, (($entry['common']) ? ",\n" : '') . "\t'$var' => '" . $lang[$var] . "'"); - $entry['common'] = true; - } - else if (sizeof($filenames) == 1) - { - // Merge logical - hardcoded - $fname = (preg_match('#^(' . implode('|', $merge) . ')#', $filenames[0], $match)) ? $match[0] . '.php' : str_replace($ext, 'php', $filenames[0]); - - if (!$lang_fp[$fname]) - { - $lang_fp[$fname] = fopen($store_dir . 'lang_' . $fname, 'w'); - fwrite($lang_fp[$fname], " '" . $lang[$var] . "'"); - $entry[$fname] = true; - } - - foreach ($filenames as $f_name) - { - $var = trim($f_name); - $html_data .= '
  • ' . $var . '

  • ' . "\n"; - } - $html_data .= '


'; -} - -fwrite($common_fp, ")\n);\n?>"); -fclose($common_fp); - -foreach ($lang_fp as $filepointer) -{ - fwrite($filepointer, ")\n);\n?>"); - fclose($filepointer); -} - -$html_data .= ' -

- - -
- - - -'; - -fwrite($fp, $html_data); -fclose($fp); - -echo '
Finished!'; -flush(); - -?> \ No newline at end of file diff --git a/phpBB/develop/fill.php b/phpBB/develop/fill.php deleted file mode 100644 index 39a9b128f5..0000000000 --- a/phpBB/develop/fill.php +++ /dev/null @@ -1,190 +0,0 @@ -sql_query($sql); - while ($row = $db->sql_fetchrow($result)) - { - $user_ids[] = $row['user_id']; - } - $db->sql_freeresult($result); - - $sql = 'SELECT forum_id FROM ' . FORUMS_TABLE . ' WHERE forum_type = ' . FORUM_POST; - $result = $db->sql_query($sql); - while ($row = $db->sql_fetchrow($result)) - { - $forum_ids[$row['forum_id']] = $row['forum_id']; - } - $db->sql_freeresult($result); - - if (!$start) - { - $db->sql_query('TRUNCATE TABLE ' . POSTS_TABLE); - $db->sql_query('TRUNCATE TABLE ' . TOPICS_TABLE); -// $db->sql_query('TRUNCATE TABLE ' . TOPICS_TABLE . '_prefetch'); - } - - $db->sql_query('LOCK TABLES ' . POSTS_TABLE . ' WRITE, ' . TOPICS_TABLE . ' WRITE'); - - for ($topic_id = $start + 1; $topic_id < min($start + $batch_size, $num_topics + 1); ++$topic_id) - { - $forum_id = array_rand($forum_ids); - - if (count($topic_rows) == 10) - { - $sql = 'INSERT IGNORE INTO ' . TOPICS_TABLE . " (topic_id, forum_id, topic_title, topic_reported) - VALUES " . implode(', ', $topic_rows); - $db->sql_query($sql); - - $topic_rows = array(); - } - - $topic_rows[] = "($topic_id, $forum_id, '$forum_id-$topic_id', " . (($topic_id % 34) ? '0' : '1') . ')'; - - $sql = 'INSERT IGNORE INTO ' . POSTS_TABLE . ' (topic_id, forum_id, poster_id, post_subject, post_text, post_username, post_approved, post_time, post_reported) - VALUES '; - - $rows = array(); - $post_time = mt_rand(0, time()); - - $num_posts = $posts_per_topic; //mt_rand(1, $posts_per_topic); - for ($i = 0; $i < $num_posts; ++$i) - { - $poster_id = $user_ids[array_rand($user_ids)]; - $poster_name = ($poster_id == ANONYMOUS) ? rndm_username() : ''; - $rows[] = "($topic_id, $forum_id, $poster_id, '$forum_id-$topic_id-$i', '$forum_id-$topic_id-$i', '$poster_name', " . (mt_rand(0, 12) ? '1' : '0') . ', ' . ($post_time + $i * 60) . ', ' . (mt_rand(0, 32) ? '0' : '1') . ')'; - } - - $db->sql_query($sql . implode(', ', $rows)); - } - - if (count($topic_rows)) - { - $sql = 'INSERT IGNORE INTO ' . TOPICS_TABLE . " (topic_id, forum_id, topic_title, topic_reported) - VALUES " . implode(', ', $topic_rows); - $db->sql_query($sql); - } - - $db->sql_query('UNLOCK TABLES'); - - if ($topic_id >= $num_topics) - { - echo 'And now for something completely different...'; - - $db->sql_query('ANALYZE TABLES ' . TOPICS_TABLE . ', ' . POSTS_TABLE); - flush(); - } - else - { - echo 'To the next page... (' . $topic_id . '/' . $num_topics . ')'; - flush(); - } - break; - - case 'sync': -/* error_reporting(E_ALL); - $sync_all = TRUE; - - if ($sync_all) - { - $s = explode(' ', microtime()); - sync('topic', '', '', TRUE, FALSE); -// sync('forum'); - $e = explode(' ', microtime()); - - echo '
' . ($e[0] + $e[1] - $s[0] - $s[1]) . '
'; - echo 'Here we go again'; - } - else - { - $batch_size = $batch_size * 10; - $end = $start + $batch_size; - - $s = explode(' ', microtime()); - sync('topic', 'range', "topic_id BETWEEN $start AND $end", TRUE, FALSE); - $e = explode(' ', microtime()); - - echo '
Time taken: ' . ($e[0] + $e[1] - $s[0] - $s[1]) . '
'; - - if ($end < $num_topics) - { - $start += $batch_size; - echo 'And now for something completely different... ($start/$num_topics)"; - } - else - { - echo 'Here we go again'; - } - } - - if (isset($_GET['explain'])) - { - trigger_error('Done'); - } - */ -} - -$db->sql_close(); - -function rndm_username() -{ - static $usernames; - - if (!isset($usernames)) - { - $usernames = get_defined_functions(); - $usernames = $usernames['internal']; - } - - return $usernames[array_rand($usernames)]; -} - -?> \ No newline at end of file diff --git a/phpBB/develop/lang_duplicates.php b/phpBB/develop/lang_duplicates.php deleted file mode 100644 index 09ac34e159..0000000000 --- a/phpBB/develop/lang_duplicates.php +++ /dev/null @@ -1,140 +0,0 @@ - - - Duplicate Language Keys - - -" . ((isset($output[$module])) ? ' ' : "$module" ) . "$dup$other_module$compare"; - break; - - default: - $output[$dup][] = "$dup$module$other_module$compare"; - break; - } - } - } -}//var_dump($output); - -echo "

By Key By Module

Equal: $equal, Differ in case only: $case, differ in content: $diff

"; -switch ($mode) -{ - case 'module': - echo ""; - foreach ($output as $module => $html) - { - echo implode('', $html); - } - break; - - default: - ksort($output); - echo "
KeyFirst FileSecond FileDifference
"; - foreach ($output as $dup) - { - echo implode('', $dup); - } - break; -} - -echo "
FileKeyConflicting FileDifference
"; - - -function find_modules($dirname) -{ - $list = glob("$dirname/*.php"); - - foreach(glob("$dirname/*", GLOB_ONLYDIR) as $name) - { - $list = array_merge($list, find_modules($name)); - } - return $list; -} - -?> - - \ No newline at end of file diff --git a/phpBB/download/index.htm b/phpBB/download/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/download/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/files/index.htm b/phpBB/files/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/files/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/avatars/gallery/index.htm b/phpBB/images/avatars/gallery/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/avatars/gallery/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/avatars/index.htm b/phpBB/images/avatars/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/avatars/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/avatars/upload/index.htm b/phpBB/images/avatars/upload/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/avatars/upload/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/icons/index.htm b/phpBB/images/icons/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/icons/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/icons/misc/index.htm b/phpBB/images/icons/misc/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/icons/misc/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/icons/smile/index.htm b/phpBB/images/icons/smile/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/icons/smile/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/index.htm b/phpBB/images/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/images/ranks/index.htm b/phpBB/images/ranks/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/images/ranks/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/includes/auth/index.htm b/phpBB/includes/auth/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/includes/auth/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/includes/db/index.htm b/phpBB/includes/db/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/includes/db/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/includes/index.htm b/phpBB/includes/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/includes/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/includes/search/index.htm b/phpBB/includes/search/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/includes/search/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/install/schemas/index.htm b/phpBB/install/schemas/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/install/schemas/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/language/en/acp/index.htm b/phpBB/language/en/acp/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/language/en/acp/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/language/en/email/index.htm b/phpBB/language/en/email/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/language/en/email/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/language/en/index.htm b/phpBB/language/en/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/language/en/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/language/en/mods/index.htm b/phpBB/language/en/mods/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/language/index.htm b/phpBB/language/index.htm deleted file mode 100644 index ee1f723a7d..0000000000 --- a/phpBB/language/index.htm +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/phpBB/styles/prosilver/imageset/en/index.htm b/phpBB/styles/prosilver/imageset/en/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/styles/prosilver/imageset/index.htm b/phpBB/styles/prosilver/imageset/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/styles/prosilver/template/index.htm b/phpBB/styles/prosilver/template/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/styles/prosilver/theme/images/index.htm b/phpBB/styles/prosilver/theme/images/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/styles/prosilver/theme/index.htm b/phpBB/styles/prosilver/theme/index.htm deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/phpBB/styles/subsilver2/imageset/announce_read.gif b/phpBB/styles/subsilver2/imageset/announce_read.gif deleted file mode 100644 index 0589feb14f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_read.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_read_locked.gif b/phpBB/styles/subsilver2/imageset/announce_read_locked.gif deleted file mode 100644 index a738616e06..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_read_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_read_locked_mine.gif b/phpBB/styles/subsilver2/imageset/announce_read_locked_mine.gif deleted file mode 100644 index f7ffe7f8dd..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_read_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_read_mine.gif b/phpBB/styles/subsilver2/imageset/announce_read_mine.gif deleted file mode 100644 index 636d353867..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_read_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_unread.gif b/phpBB/styles/subsilver2/imageset/announce_unread.gif deleted file mode 100644 index 56b2702b17..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_unread.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_unread_locked.gif b/phpBB/styles/subsilver2/imageset/announce_unread_locked.gif deleted file mode 100644 index 37033da653..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_unread_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_unread_locked_mine.gif b/phpBB/styles/subsilver2/imageset/announce_unread_locked_mine.gif deleted file mode 100644 index d91f2520ca..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_unread_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/announce_unread_mine.gif b/phpBB/styles/subsilver2/imageset/announce_unread_mine.gif deleted file mode 100644 index e1dd23a0bf..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/announce_unread_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/button_pm_new.gif b/phpBB/styles/subsilver2/imageset/en/button_pm_new.gif deleted file mode 100644 index 07df748d3a..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/button_pm_new.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/button_pm_reply.gif b/phpBB/styles/subsilver2/imageset/en/button_pm_reply.gif deleted file mode 100644 index c476f06a44..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/button_pm_reply.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/button_topic_locked.gif b/phpBB/styles/subsilver2/imageset/en/button_topic_locked.gif deleted file mode 100644 index 124a2d4a7d..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/button_topic_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/button_topic_new.gif b/phpBB/styles/subsilver2/imageset/en/button_topic_new.gif deleted file mode 100644 index 66e1007129..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/button_topic_new.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/button_topic_reply.gif b/phpBB/styles/subsilver2/imageset/en/button_topic_reply.gif deleted file mode 100644 index e8fe5115a0..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/button_topic_reply.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_aim.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_aim.gif deleted file mode 100644 index c6533e2817..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_aim.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_email.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_email.gif deleted file mode 100644 index f126a1960d..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_email.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_icq.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_icq.gif deleted file mode 100644 index ba3fa12436..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_icq.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_jabber.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_jabber.gif deleted file mode 100644 index be2e53f9c2..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_jabber.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_msnm.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_msnm.gif deleted file mode 100644 index e3a5901bfc..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_msnm.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_pm.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_pm.gif deleted file mode 100644 index 26ac558c2f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_pm.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_www.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_www.gif deleted file mode 100644 index 14a33b36a5..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_www.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_contact_yahoo.gif b/phpBB/styles/subsilver2/imageset/en/icon_contact_yahoo.gif deleted file mode 100644 index d11711789f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_contact_yahoo.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_post_delete.gif b/phpBB/styles/subsilver2/imageset/en/icon_post_delete.gif deleted file mode 100644 index e008e5ff9f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_post_delete.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_post_edit.gif b/phpBB/styles/subsilver2/imageset/en/icon_post_edit.gif deleted file mode 100644 index 1511ee34d3..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_post_edit.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_post_info.gif b/phpBB/styles/subsilver2/imageset/en/icon_post_info.gif deleted file mode 100644 index 166de2724f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_post_info.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_post_quote.gif b/phpBB/styles/subsilver2/imageset/en/icon_post_quote.gif deleted file mode 100644 index 4cf103280c..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_post_quote.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_post_report.gif b/phpBB/styles/subsilver2/imageset/en/icon_post_report.gif deleted file mode 100644 index 9a3f65b1e3..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_post_report.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_user_offline.gif b/phpBB/styles/subsilver2/imageset/en/icon_user_offline.gif deleted file mode 100644 index 3065f4d7fe..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_user_offline.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_user_online.gif b/phpBB/styles/subsilver2/imageset/en/icon_user_online.gif deleted file mode 100644 index b950612c57..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_user_online.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_user_profile.gif b/phpBB/styles/subsilver2/imageset/en/icon_user_profile.gif deleted file mode 100644 index d9cf7f4c4a..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_user_profile.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_user_search.gif b/phpBB/styles/subsilver2/imageset/en/icon_user_search.gif deleted file mode 100644 index 46475fbf4c..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_user_search.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/icon_user_warn.gif b/phpBB/styles/subsilver2/imageset/en/icon_user_warn.gif deleted file mode 100644 index 44cbcc953a..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/en/icon_user_warn.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/en/imageset.cfg b/phpBB/styles/subsilver2/imageset/en/imageset.cfg deleted file mode 100644 index c0cc699737..0000000000 --- a/phpBB/styles/subsilver2/imageset/en/imageset.cfg +++ /dev/null @@ -1,47 +0,0 @@ -# -# phpBB Imageset Configuration File -# -# @package phpBB3 -# @copyright (c) 2005 phpBB Group -# @license http://opensource.org/licenses/gpl-license.php GNU Public License -# -# -# At the left is the name, please do not change this -# At the right the value is entered -# For on/off options the valid values are on, off, 1, 0, true and false -# -# Values get trimmed, if you want to add a space in front or at the end of -# the value, then enclose the value with single or double quotes. -# Single and double quotes do not need to be escaped. -# -# - -# Images -img_icon_contact_aim = icon_contact_aim.gif -img_icon_contact_email = icon_contact_email.gif -img_icon_contact_icq = icon_contact_icq.gif -img_icon_contact_jabber = icon_contact_jabber.gif -img_icon_contact_msnm = icon_contact_msnm.gif -img_icon_contact_pm = icon_contact_pm.gif -img_icon_contact_yahoo = icon_contact_yahoo.gif -img_icon_contact_www = icon_contact_www.gif - -img_icon_post_delete = icon_post_delete.gif -img_icon_post_edit = icon_post_edit.gif -img_icon_post_info = icon_post_info.gif -img_icon_post_quote = icon_post_quote.gif -img_icon_post_report = icon_post_report.gif - -img_icon_user_online = icon_user_online.gif -img_icon_user_offline = icon_user_offline.gif -img_icon_user_profile = icon_user_profile.gif -img_icon_user_search = icon_user_search.gif -img_icon_user_warn = icon_user_warn.gif - -img_button_pm_forward = -img_button_pm_new = button_pm_new.gif -img_button_pm_reply = button_pm_reply.gif -img_button_topic_locked = button_topic_locked.gif -img_button_topic_new = button_topic_new.gif -img_button_topic_reply = button_topic_reply.gif - diff --git a/phpBB/styles/subsilver2/imageset/forum_link.gif b/phpBB/styles/subsilver2/imageset/forum_link.gif deleted file mode 100644 index d5e86d47d7..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_link.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_read.gif b/phpBB/styles/subsilver2/imageset/forum_read.gif deleted file mode 100644 index 9b2bc47c67..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_read.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_read_locked.gif b/phpBB/styles/subsilver2/imageset/forum_read_locked.gif deleted file mode 100644 index 436f3d21c8..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_read_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_read_subforum.gif b/phpBB/styles/subsilver2/imageset/forum_read_subforum.gif deleted file mode 100644 index 9179303e7f..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_read_subforum.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_unread.gif b/phpBB/styles/subsilver2/imageset/forum_unread.gif deleted file mode 100644 index 5eec565b38..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_unread.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_unread_locked.gif b/phpBB/styles/subsilver2/imageset/forum_unread_locked.gif deleted file mode 100644 index 58a79c376c..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_unread_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/forum_unread_subforum.gif b/phpBB/styles/subsilver2/imageset/forum_unread_subforum.gif deleted file mode 100644 index af3c93b1a1..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/forum_unread_subforum.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_post_target.gif b/phpBB/styles/subsilver2/imageset/icon_post_target.gif deleted file mode 100644 index d172abb060..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_post_target.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_post_target_unread.gif b/phpBB/styles/subsilver2/imageset/icon_post_target_unread.gif deleted file mode 100644 index 8ec44a1787..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_post_target_unread.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_topic_attach.gif b/phpBB/styles/subsilver2/imageset/icon_topic_attach.gif deleted file mode 100644 index 1c9c89bc70..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_topic_attach.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_topic_latest.gif b/phpBB/styles/subsilver2/imageset/icon_topic_latest.gif deleted file mode 100644 index b45e57aedb..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_topic_latest.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_topic_newest.gif b/phpBB/styles/subsilver2/imageset/icon_topic_newest.gif deleted file mode 100644 index eca2861836..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_topic_newest.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_topic_reported.gif b/phpBB/styles/subsilver2/imageset/icon_topic_reported.gif deleted file mode 100644 index 026092854a..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_topic_reported.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/icon_topic_unapproved.gif b/phpBB/styles/subsilver2/imageset/icon_topic_unapproved.gif deleted file mode 100644 index 2ccaf19c23..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/icon_topic_unapproved.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/imageset.cfg b/phpBB/styles/subsilver2/imageset/imageset.cfg deleted file mode 100644 index 16aced113d..0000000000 --- a/phpBB/styles/subsilver2/imageset/imageset.cfg +++ /dev/null @@ -1,100 +0,0 @@ -# -# phpBB Imageset Configuration File -# -# @package phpBB3 -# @copyright (c) 2005 phpBB Group -# @license http://opensource.org/licenses/gpl-license.php GNU Public License -# -# -# At the left is the name, please do not change this -# At the right the value is entered -# For on/off options the valid values are on, off, 1, 0, true and false -# -# Values get trimmed, if you want to add a space in front or at the end of -# the value, then enclose the value with single or double quotes. -# Single and double quotes do not need to be escaped. -# -# - -# General Information about this style -name = subsilver2 -copyright = © phpBB Group, 2003 -version = 3.0.3 - -# Images -img_site_logo = site_logo.gif*94*170 -img_upload_bar = upload_bar.gif*16*280 -img_poll_left = poll_left.gif*12*4 -img_poll_center = poll_center.gif*12* -img_poll_right = poll_right.gif*12*4 -img_icon_friend = -img_icon_foe = - -img_forum_link = forum_link.gif*25*46 -img_forum_read = forum_read.gif*25*46 -img_forum_read_locked = forum_read_locked.gif*25*46 -img_forum_read_subforum = forum_read_subforum.gif*25*46 -img_forum_unread = forum_unread.gif*25*46 -img_forum_unread_locked = forum_unread_locked.gif*25*46 -img_forum_unread_subforum = forum_unread_subforum.gif*25*46 - -img_topic_moved = topic_moved.gif*18*19 - -img_topic_read = topic_read.gif*18*19 -img_topic_read_mine = topic_read_mine.gif*18*19 -img_topic_read_hot = topic_read_hot.gif*18*19 -img_topic_read_hot_mine = topic_read_hot_mine.gif*18*19 -img_topic_read_locked = topic_read_locked.gif*18*19 -img_topic_read_locked_mine = topic_read_locked_mine.gif*18*19 - -img_topic_unread = topic_unread.gif*18*19 -img_topic_unread_mine = topic_unread_mine.gif*18*19 -img_topic_unread_hot = topic_unread_hot.gif*18*19 -img_topic_unread_hot_mine = topic_unread_hot_mine.gif*18*19 -img_topic_unread_locked = topic_unread_locked.gif*18*19 -img_topic_unread_locked_mine = topic_unread_locked_mine.gif*18*19 - -img_sticky_read = sticky_read.gif*18*19 -img_sticky_read_mine = sticky_read_mine.gif*18*19 -img_sticky_read_locked = sticky_read_locked.gif*18*19 -img_sticky_read_locked_mine = sticky_read_locked_mine.gif*18*19 -img_sticky_unread = sticky_unread.gif*18*19 -img_sticky_unread_mine = sticky_unread_mine.gif*18*19 -img_sticky_unread_locked = sticky_unread_locked.gif*18*19 -img_sticky_unread_locked_mine = sticky_unread_locked_mine.gif*18*19 - -img_announce_read = announce_read.gif*18*19 -img_announce_read_mine = announce_read_mine.gif*18*19 -img_announce_read_locked = announce_read_locked.gif*18*19 -img_announce_read_locked_mine = announce_read_locked_mine.gif*18*19 -img_announce_unread = announce_unread.gif*18*19 -img_announce_unread_mine = announce_unread_mine.gif*18*19 -img_announce_unread_locked = announce_unread_locked.gif*18*19 -img_announce_unread_locked_mine = announce_unread_locked_mine.gif*18*19 - -img_global_read = announce_read.gif*18*19 -img_global_read_mine = announce_read_mine.gif*18*19 -img_global_read_locked = announce_read_locked.gif*18*19 -img_global_read_locked_mine = announce_read_locked_mine.gif*18*19 -img_global_unread = announce_unread.gif*18*19 -img_global_unread_mine = announce_unread_mine.gif*18*19 -img_global_unread_locked = announce_unread_locked.gif*18*19 -img_global_unread_locked_mine = announce_unread_locked_mine.gif*18*19 - -img_subforum_read = -img_subforum_unread = - -img_pm_read = topic_read.gif*18*19 -img_pm_unread = topic_unread.gif*18*19 - -img_icon_back_top = - -img_icon_post_target = icon_post_target.gif*9*12 -img_icon_post_target_unread = icon_post_target_unread.gif*9*12 - -img_icon_topic_attach = icon_topic_attach.gif*18*14 -img_icon_topic_latest = icon_topic_latest.gif*9*18 -img_icon_topic_newest = icon_topic_newest.gif*9*18 -img_icon_topic_reported = icon_topic_reported.gif*18*19 -img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19 - diff --git a/phpBB/styles/subsilver2/imageset/poll_center.gif b/phpBB/styles/subsilver2/imageset/poll_center.gif deleted file mode 100644 index 99473151ec..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/poll_center.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/poll_left.gif b/phpBB/styles/subsilver2/imageset/poll_left.gif deleted file mode 100644 index 269088b81d..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/poll_left.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/poll_right.gif b/phpBB/styles/subsilver2/imageset/poll_right.gif deleted file mode 100644 index f9584e23a1..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/poll_right.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/site_logo.gif b/phpBB/styles/subsilver2/imageset/site_logo.gif deleted file mode 100644 index 48c3b553da..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/site_logo.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_read.gif b/phpBB/styles/subsilver2/imageset/sticky_read.gif deleted file mode 100644 index 09861a996c..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_read.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_read_locked.gif b/phpBB/styles/subsilver2/imageset/sticky_read_locked.gif deleted file mode 100644 index 24bca303d6..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_read_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_read_locked_mine.gif b/phpBB/styles/subsilver2/imageset/sticky_read_locked_mine.gif deleted file mode 100644 index 3fd04ec3a9..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_read_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_read_mine.gif b/phpBB/styles/subsilver2/imageset/sticky_read_mine.gif deleted file mode 100644 index 381634c364..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_read_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_unread.gif b/phpBB/styles/subsilver2/imageset/sticky_unread.gif deleted file mode 100644 index dd2e366543..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_unread.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_unread_locked.gif b/phpBB/styles/subsilver2/imageset/sticky_unread_locked.gif deleted file mode 100644 index 608f4822e3..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_unread_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_unread_locked_mine.gif b/phpBB/styles/subsilver2/imageset/sticky_unread_locked_mine.gif deleted file mode 100644 index fe5e115312..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_unread_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/sticky_unread_mine.gif b/phpBB/styles/subsilver2/imageset/sticky_unread_mine.gif deleted file mode 100644 index b5fc3b3627..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/sticky_unread_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_moved.gif b/phpBB/styles/subsilver2/imageset/topic_moved.gif deleted file mode 100644 index fe758f02ca..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_moved.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read.gif b/phpBB/styles/subsilver2/imageset/topic_read.gif deleted file mode 100644 index c16bfa75d5..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read_hot.gif b/phpBB/styles/subsilver2/imageset/topic_read_hot.gif deleted file mode 100644 index a7e8831e2c..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read_hot.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read_hot_mine.gif b/phpBB/styles/subsilver2/imageset/topic_read_hot_mine.gif deleted file mode 100644 index 335ae77645..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read_hot_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read_locked.gif b/phpBB/styles/subsilver2/imageset/topic_read_locked.gif deleted file mode 100644 index 10eb776972..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read_locked_mine.gif b/phpBB/styles/subsilver2/imageset/topic_read_locked_mine.gif deleted file mode 100644 index 3f24928b48..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_read_mine.gif b/phpBB/styles/subsilver2/imageset/topic_read_mine.gif deleted file mode 100644 index 560927aa06..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_read_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread.gif b/phpBB/styles/subsilver2/imageset/topic_unread.gif deleted file mode 100644 index 4e56157dce..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread_hot.gif b/phpBB/styles/subsilver2/imageset/topic_unread_hot.gif deleted file mode 100644 index 25ced64b83..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread_hot.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread_hot_mine.gif b/phpBB/styles/subsilver2/imageset/topic_unread_hot_mine.gif deleted file mode 100644 index 4d3937ae28..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread_hot_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread_locked.gif b/phpBB/styles/subsilver2/imageset/topic_unread_locked.gif deleted file mode 100644 index 720e210289..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread_locked.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread_locked_mine.gif b/phpBB/styles/subsilver2/imageset/topic_unread_locked_mine.gif deleted file mode 100644 index 90873431ef..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread_locked_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/topic_unread_mine.gif b/phpBB/styles/subsilver2/imageset/topic_unread_mine.gif deleted file mode 100644 index 34fd2ec179..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/topic_unread_mine.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/imageset/upload_bar.gif b/phpBB/styles/subsilver2/imageset/upload_bar.gif deleted file mode 100644 index 75cf61c59e..0000000000 Binary files a/phpBB/styles/subsilver2/imageset/upload_bar.gif and /dev/null differ diff --git a/phpBB/styles/subsilver2/style.cfg b/phpBB/styles/subsilver2/style.cfg deleted file mode 100644 index c9a93c15de..0000000000 --- a/phpBB/styles/subsilver2/style.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# -# phpBB Style Configuration File -# -# @package phpBB3 -# @copyright (c) 2005 phpBB Group -# @license http://opensource.org/licenses/gpl-license.php GNU Public License -# -# -# At the left is the name, please do not change this -# At the right the value is entered -# For on/off options the valid values are on, off, 1, 0, true and false -# -# Values get trimmed, if you want to add a space in front or at the end of -# the value, then enclose the value with single or double quotes. -# Single and double quotes do not need to be escaped. -# -# - -# General Information about this style -name = subsilver2 -copyright = © 2005 phpBB Group -version = 3.0.3 diff --git a/phpBB/styles/subsilver2/template/attachment.html b/phpBB/styles/subsilver2/template/attachment.html deleted file mode 100644 index d54994fe67..0000000000 --- a/phpBB/styles/subsilver2/template/attachment.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - [{_file.DENIED_MESSAGE}]
- - - - {L_FILE_COMMENT}: {_file.COMMENT}
- - - - {_file.DOWNLOAD_NAME}
- {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] - - - - {_file.DOWNLOAD_NAME}
- {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] - - - - - {_file.UPLOAD_ICON} - {_file.DOWNLOAD_NAME} [{_file.FILESIZE} {_file.SIZE_LANG}] -
- {_file.L_DOWNLOAD_COUNT} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- [ {L_PLAY_QUICKTIME_FILE} ] - {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] - - -
- - - diff --git a/phpBB/styles/subsilver2/template/bbcode.html b/phpBB/styles/subsilver2/template/bbcode.html deleted file mode 100644 index 50162740d0..0000000000 --- a/phpBB/styles/subsilver2/template/bbcode.html +++ /dev/null @@ -1,69 +0,0 @@ -