Skip to content
Permalink
Browse files

Another milestone almost achieved for new Icy Phoenix version: user/s…

…ession class integrated (with some Icy Phoenix dedicated code) from phpBB 3.

All PHP files which use sessions have been recoded to reflect the new sessions system.
Many bugs are still there, but I will fix them from time to time.
Due to the large amount of changes, I'm not sure also about install/update working properly... I will fix all issues, just be patient a bit, it's a huge work. :-)
Do not use this version on any live environment as it is highly unstable.

git-svn-id: http://svn.assembla.com/svn/icy_phoenix/ip/trunk@256 e0e46c49-be69-4f5a-ad62-21024a331aea
  • Loading branch information...
MightyGorgon committed Mar 31, 2011
1 parent fa5aa7d commit 09f38bc88da3f1848de13f9ce67265e73a7e0995
Showing 340 changed files with 6,242 additions and 4,567 deletions.
@@ -22,8 +22,9 @@
include(IP_ROOT_PATH . 'common.' . PHP_EXT);
// Start session management
$userdata = session_pagestart($user_ip);
init_userprefs($userdata);
$user->session_begin();
//$auth->acl($user->data);
$user->setup();
// End session management
$i = 0;
@@ -220,7 +220,7 @@
// overwrite user choice
$override = '';
if (!empty($input) && !empty($config_data['user']) && isset($userdata[$config_data['user']]))
if (!empty($input) && !empty($config_data['user']) && isset($user->data[$config_data['user']]))
{
$override = '';
@reset($class_settings->list_yes_no);
@@ -176,7 +176,7 @@ function period($date) // borrowed from birthday mod
break;
case 'active':
$activate_sql .= " SET user_active = '0' WHERE user_active = '1'";
$clear_notification = user_clear_notifications($userdata['user_id']);
$clear_notification = user_clear_notifications($user->data['user_id']);
break;
}
$activate_sql .= " AND user_id IN ($activate_id)";
@@ -107,14 +107,14 @@ function admin_db_prepare_sql($sql)
// Auth Check - BEGIN
$allowed = false;
$founder_id = (defined('FOUNDER_ID') ? FOUNDER_ID : get_founder_id());
if ($userdata['user_id'] == $founder_id)
if ($user->data['user_id'] == $founder_id)
{
$allowed = true;
}
if (!$allowed && defined('MAIN_ADMINS_ID'))
{
$allowed_admins = explode(',', MAIN_ADMINS_ID);
if (in_array($userdata['user_id'], $allowed_admins))
if (in_array($user->data['user_id'], $allowed_admins))
{
$allowed = true;
}
@@ -131,7 +131,7 @@ function admin_db_prepare_sql($sql)
echo ' <tr>';
echo ' <td align="left" valign="middle" class="row2" colspan="15">';
echo ' <span class="genmed">';
echo ' ' . $lang['db_sql_query_db'] . '<a href="' . $_SERVER['SCRIPT_NAME'] . '?mode=sql_change&amp;sid=' . $userdata['session_id'] . '"><img src="' . $images . 'b_sql.png" alt="" /></a>&nbsp;&nbsp;<a href="' . $_SERVER['SCRIPT_NAME'] . '?mode=explain_change&amp;sid=' . $userdata['session_id'] . '"><img src="' . $images . 'b_tipp.png" alt="' . $lang['db_explain'] . '" title="' . $lang['db_explain'] . '" /></a>';
echo ' ' . $lang['db_sql_query_db'] . '<a href="' . $_SERVER['SCRIPT_NAME'] . '?mode=sql_change&amp;sid=' . $user->data['session_id'] . '"><img src="' . $images . 'b_sql.png" alt="" /></a>&nbsp;&nbsp;<a href="' . $_SERVER['SCRIPT_NAME'] . '?mode=explain_change&amp;sid=' . $user->data['session_id'] . '"><img src="' . $images . 'b_tipp.png" alt="' . $lang['db_explain'] . '" title="' . $lang['db_explain'] . '" /></a>';
echo ' <div style="text-align:center;"><a href="' . append_sid($_SERVER['SCRIPT_NAME']) . '"><b>' . $dbname . '</b></a></div>';
echo ' </span>';
echo ' </td>';
@@ -203,7 +203,7 @@ function admin_db_prepare_sql($sql)
{
if (!$action)
{
echo '<form name="sql" action="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'" method="post">';
echo '<form name="sql" action="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'" method="post">';
echo '<table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">';
echo ' <tr>';
echo ' <td class="row1" width="100%">';
@@ -362,7 +362,7 @@ function admin_db_prepare_sql($sql)
if ($rows)
{
$total = $rows;
$pagination = generate_pagination($_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $order .'&amp;way='. $way .'&amp;sid='. $userdata['session_id'], $rows, 30, $start). '&nbsp;';
$pagination = generate_pagination($_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $order .'&amp;way='. $way .'&amp;sid='. $user->data['session_id'], $rows, 30, $start). '&nbsp;';
}
else
$pagination = '&nbsp;';
@@ -406,7 +406,7 @@ function admin_db_prepare_sql($sql)
$fields[] = $d['Field'];
echo ' <td class="row1">';
echo ' <span class="genmed">';
echo ' '. $d['Field'] .'&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $d['Field'] .'&amp;way=DESC&amp;start='. $start .'&amp;sid='. $userdata['session_id'] .'"><img src="'. $images .'s_desc.png" border="0"></a>&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $d['Field'] .'&amp;way=ASC&amp;start='. $start .'&amp;sid='. $userdata['session_id'] .'"><img src="'. $images .'s_asc.png" border="0"></a>';
echo ' '. $d['Field'] .'&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $d['Field'] .'&amp;way=DESC&amp;start='. $start .'&amp;sid='. $user->data['session_id'] .'"><img src="'. $images .'s_desc.png" border="0"></a>&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $table_id .'&amp;order='. $d['Field'] .'&amp;way=ASC&amp;start='. $start .'&amp;sid='. $user->data['session_id'] .'"><img src="'. $images .'s_asc.png" border="0"></a>';
echo ' </span>';
echo ' </td>';
}
@@ -439,7 +439,7 @@ function admin_db_prepare_sql($sql)
echo ' }';
echo ' }';
echo '</script>';
echo '<form name="mass" action="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'" method="post">';
echo '<form name="mass" action="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'" method="post">';
echo '<table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">';
echo ' <tr>';
echo ' <th>';
@@ -449,7 +449,7 @@ function admin_db_prepare_sql($sql)
echo ' </th>';
echo ' <th colspan="5">';
echo ' <span class="genmed">';
echo ' <b>'. $lang['db_action'] .'</b>&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=explain&amp;sid='. $userdata['session_id'] .'"><img src="'. $images .'b_tipp.png" alt="'. $lang['db_explain'] .'" title="'. $lang['db_explain'] .'" border="0"></a>';
echo ' <b>'. $lang['db_action'] .'</b>&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=explain&amp;sid='. $user->data['session_id'] .'"><img src="'. $images .'b_tipp.png" alt="'. $lang['db_explain'] .'" title="'. $lang['db_explain'] .'" border="0"></a>';
echo ' </span>';
echo ' </th>';
echo ' <th>';
@@ -514,27 +514,27 @@ function admin_db_prepare_sql($sql)
echo ' </span>';
echo ' </td>';
echo ' <td class="row2">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $x .'&amp;sid='. $userdata['session_id'] .'">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=browse&amp;table='. $x .'&amp;sid='. $user->data['session_id'] .'">';
echo ' <img src="'. $images .'b_select.png" alt="'. $lang['db_browse'] .'" title="'. $lang['db_browse'] .'">';
echo ' </a>';
echo ' </td>';
echo ' <td class="row2">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=structure&amp;table='. $x .'&amp;sid='. $userdata['session_id'] .'">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=structure&amp;table='. $x .'&amp;sid='. $user->data['session_id'] .'">';
echo ' <img src="'. $images .'b_props.png" alt="'. $lang['db_structure'] .'" title="'. $lang['db_structure'] .'">';
echo ' </a>';
echo ' </td>';
echo ' <td class="row2">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=optimize&amp;table='. $x .'&amp;sid='. $userdata['session_id'] .'">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=optimize&amp;table='. $x .'&amp;sid='. $user->data['session_id'] .'">';
echo ' <img src="'. $images .'b_browse.png" alt="'. $lang['db_optimize'] .'" title="'. $lang['db_optimize'] .'">';
echo ' </a>';
echo ' </td>';
echo ' <td class="row2">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=truncate&amp;table='. $x .'&amp;sid='. $userdata['session_id'] .'">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=truncate&amp;table='. $x .'&amp;sid='. $user->data['session_id'] .'">';
echo ' <img src="'. $images .'b_empty.png" alt="'. $lang['db_truncate'] .'" title="'. $lang['db_truncate'] .'">';
echo ' </a>';
echo ' </td>';
echo ' <td class="row2">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=drop&amp;table='. $x .'&amp;sid='. $userdata['session_id'] .'">';
echo ' <a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=drop&amp;table='. $x .'&amp;sid='. $user->data['session_id'] .'">';
echo ' <img src="'. $images .'b_drop.png" alt="'. $lang['db_drop'] .'" title="'. $lang['db_drop'] .'">';
echo ' </a>';
echo ' </td>';
@@ -657,17 +657,17 @@ function admin_db_prepare_sql($sql)
}
if (!$action)
message_die(GENERAL_MESSAGE, sprintf($lang['db_dro_warning'], $table_name) .'<br /><br /><a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=drop&amp;action=yes&amp;table='. $table_id .'&amp;table_name='. $table_name .'&amp;sid='. $userdata['session_id'] .'">'. $lang['db_warning_y'] .'</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?action=no&amp;sid='. $userdata['session_id'] .'">'. $lang['db_warning_n'] .'</a>');
message_die(GENERAL_MESSAGE, sprintf($lang['db_dro_warning'], $table_name) .'<br /><br /><a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=drop&amp;action=yes&amp;table='. $table_id .'&amp;table_name='. $table_name .'&amp;sid='. $user->data['session_id'] .'">'. $lang['db_warning_y'] .'</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?action=no&amp;sid='. $user->data['session_id'] .'">'. $lang['db_warning_n'] .'</a>');
if ($action == 'yes')
{
$q = 'DROP TABLE IF EXISTS '. $_GET['table_name'];
$db->sql_query($q);
message_die(GENERAL_MESSAGE, sprintf($lang['db_dro_success'], $_GET['table_name']) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, sprintf($lang['db_dro_success'], $_GET['table_name']) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
}
elseif ($action == 'no')
redirect($_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id']);
redirect($_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id']);
}
if ($mode == 'truncate')
@@ -687,17 +687,17 @@ function admin_db_prepare_sql($sql)
}
if (!$action)
message_die(GENERAL_MESSAGE, sprintf($lang['db_tru_warning'], $table_name) .'<br /><br /><a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=truncate&amp;action=yes&amp;table='. $table_id .'&amp;table_name='. $table_name .'&amp;sid='. $userdata['session_id'] .'">'. $lang['db_warning_y'] .'</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?action=no&amp;sid='. $userdata['session_id'] .'">'. $lang['db_warning_n'] .'</a>');
message_die(GENERAL_MESSAGE, sprintf($lang['db_tru_warning'], $table_name) .'<br /><br /><a href="'. $_SERVER['SCRIPT_NAME'] .'?mode=truncate&amp;action=yes&amp;table='. $table_id .'&amp;table_name='. $table_name .'&amp;sid='. $user->data['session_id'] .'">'. $lang['db_warning_y'] .'</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="'. $_SERVER['SCRIPT_NAME'] .'?action=no&amp;sid='. $user->data['session_id'] .'">'. $lang['db_warning_n'] .'</a>');
if ($action == 'yes')
{
$q = 'TRUNCATE '. $_GET['table_name'];
$db->sql_query($q);
message_die(GENERAL_MESSAGE, sprintf($lang['db_tru_success'], $_GET['table_name']) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, sprintf($lang['db_tru_success'], $_GET['table_name']) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
}
elseif ($action == 'no')
redirect($_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id']);
redirect($_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id']);
}
if ($mode == 'optimize')
@@ -718,7 +718,7 @@ function admin_db_prepare_sql($sql)
$q = 'OPTIMIZE TABLE'. $table_name;
$db->sql_query($q);
message_die(GENERAL_MESSAGE, sprintf($lang['db_opt_success'], $table_name) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, sprintf($lang['db_opt_success'], $table_name) .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
}
if ($mode == 'structure')
@@ -819,10 +819,10 @@ function admin_db_prepare_sql($sql)
}
if ($mode == 'explain')
message_die(GENERAL_MESSAGE, $lang['db_explained'] .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, $lang['db_explained'] .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
if ($mode == 'explain_change')
message_die(GENERAL_MESSAGE, $lang['db_change_exp'] .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, $lang['db_change_exp'] .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
if ($mass_change)
{
@@ -867,7 +867,7 @@ function admin_db_prepare_sql($sql)
$msg .= sprintf($l, $tables_to_change[$x]) .'<br />';
}
}
message_die(GENERAL_MESSAGE, $msg .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $userdata['session_id'] .'">', '</a>'));
message_die(GENERAL_MESSAGE, $msg .'<br /><br />'. sprintf($lang['db_back'], '<a href="'. $_SERVER['SCRIPT_NAME'] .'?sid='. $user->data['session_id'] .'">', '</a>'));
}
}
@@ -36,7 +36,7 @@
define('DISABLE_VERSION_CHECK', false);
define('MOD_VERSION', '1.20');
if (!$userdata['user_level'] == ADMIN)
if (!$user->data['user_level'] == ADMIN)
{
message_die(GENERAL_ERROR, 'Not Authorized');
}
@@ -423,8 +423,8 @@
if ($supported == 'true')
{
$tz = $config['board_timezone'];
$time_mode = $userdata['user_time_mode'];
$dst_time_lag = $userdata['user_dst_time_lag'];
$time_mode = $user->data['user_time_mode'];
$dst_time_lag = $user->data['user_dst_time_lag'];
switch ($time_mode)
{
case MANUAL_DST:
@@ -743,7 +743,7 @@
}
echo("<li>" . htmlspecialchars($row['group_name']) . " (" . $row['group_id'] . ")</li>\n");
$sql2 = "UPDATE " . GROUPS_TABLE . "
SET group_moderator = " . $userdata['user_id'] . "
SET group_moderator = " . $user->data['user_id'] . "
WHERE group_id = " . $row['group_id'];
$db->sql_return_on_error(true);
$result2 = $db->sql_query($sql2);
@@ -1097,7 +1097,7 @@
$db->sql_freeresult($result);
$sql = "SELECT themes_id
FROM " . THEMES_TABLE . "
WHERE themes_id = " . $userdata['user_style'];
WHERE themes_id = " . $user->data['user_style'];
echo($sql);
$db->sql_return_on_error(true);
$result = $db->sql_query($sql);
@@ -1183,10 +1183,10 @@
{
$default_lang = $boad_language;
}
elseif (file_exists(@phpbb_realpath(IP_ROOT_PATH . 'language/lang_' . $userdata['user_lang'] . '/lang_main.' . PHP_EXT)))
elseif (file_exists(@phpbb_realpath(IP_ROOT_PATH . 'language/lang_' . $user->data['user_lang'] . '/lang_main.' . PHP_EXT)))
{
echo('<p class="gen">' . $lang['Default_language_invalid'] . '</p>' . "\n");
$default_lang = $userdata['user_lang'];
$default_lang = $user->data['user_lang'];
}
elseif (file_exists(@phpbb_realpath(IP_ROOT_PATH . 'language/lang_english/lang_main.' . PHP_EXT)))
{
@@ -4045,23 +4045,23 @@
// Restore session data of current user to prevent getting thrown out of the admin panel
echo('<p class="gen"><b>' . $lang['Restoring_session'] . '</b></p>' . "\n");
// Set Variables
$session_id = $userdata['session_id'];
$user_id = $userdata['user_id'];
$session_id = $user->data['session_id'];
$user_id = $user->data['user_id'];
$current_time = time();
$user_ip = $userdata['session_ip'];
$page_id = $userdata['session_page'];
$login = $userdata['session_logged_in'];
$user_ip = $user->data['session_ip'];
$page_id = $user->data['session_page'];
$login = $user->data['session_logged_in'];
if ($phpbb_version[1] >= 15)
{
$sql = "INSERT INTO " . SESSIONS_TABLE . "
(session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin)
VALUES ('" . $session_id . "', '" . $user_id . "', '" . $current_time . "', '" . $current_time . "', '" . $user_ip . "', '" . $page_id . "', '" . $login . "', '1')";
VALUES ('" . $session_id . "', '" . $user_id . "', '" . $current_time . "', '" . $current_time . "', '" . $db->sql_escape($user_ip) . "', '" . $page_id . "', '" . $login . "', '1')";
}
else
{
$sql = "INSERT INTO " . SESSIONS_TABLE . "
(session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in)
VALUES ('" . $session_id . "', '" . $user_id . "', '" . $current_time . "', '" . $current_time . "', '" . $user_ip . "', '" . $page_id . "', '" . $login . "')";
VALUES ('" . $session_id . "', '" . $user_id . "', '" . $current_time . "', '" . $current_time . "', '" . $db->sql_escape($user_ip) . "', '" . $page_id . "', '" . $login . "')";
}
$db->sql_return_on_error(true);
$result = $db->sql_query($sql);
@@ -4294,7 +4294,7 @@
{
// Table is to big - so delete some records
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_id != '" . $userdata['session_id'] . "'";
WHERE session_id != '" . $user->data['session_id'] . "'";
if (SQL_LAYER == 'mysql4')
{
// When using MySQL 4: delete only the oldest records
@@ -85,7 +85,6 @@
}
else
{
$user = array();
for( $i = 0; $i < sizeof($disallowed); $i++ )
{
$disallow_select .= '<option value="' . $disallowed[$i]['disallow_id'] . '">' . $disallowed[$i]['disallow_username'] . '</option>';
@@ -115,24 +115,24 @@
GROUP BY user
ORDER BY time ASC
LIMIT $start, $show";
$r1 = $db->sql_query($q1);
$r1 = $db->sql_query($q1);
while($row1 = $db->sql_fetchrow($r1))
{
$user = $row1['user'];
$target_user = $row1['user'];
$time = $row1['time'];
$time = strftime("%b. %d, %Y @ %H:%M:%S", $time);
$q = "SELECT username, user_color, user_active
FROM ". USERS_TABLE ."
WHERE user_id = " . $user;
WHERE user_id = " . $target_user;
$r = $db->sql_query($q);
$row = $db->sql_fetchrow($r);
$name = $row['username'];
echo " <tr>";
echo " <td class=\"row2\" width=\"50%\" valign=\"middle\">";
echo " <span class=\"genmed\">";
echo " " . colorize_username($user, $name, $row['user_color'], $row['user_active']) . "&nbsp;[<a href=\"" . append_sid($_SERVER['SCRIPT_NAME'] . "?mode=delete_user&amp;user=" . $user) ."\">" . $lang['Delete'] . "</a>]";
echo " " . colorize_username($target_user, $name, $row['user_color'], $row['user_active']) . "&nbsp;[<a href=\"" . append_sid($_SERVER['SCRIPT_NAME'] . "?mode=delete_user&amp;user=" . $target_user) ."\">" . $lang['Delete'] . "</a>]";
echo " </span>";
echo " </td>";
echo " <td class=\"row2\" width=\"50%\" valign=\"middle\">";
@@ -296,7 +296,7 @@
reorder_tree();
// add topics count and various informations
get_user_tree($userdata);
get_user_tree($user->data);
$mode = '';
}
@@ -89,7 +89,7 @@
'L_CLEAR' => $lang['Detector_Clear'],
'L_DETECTOR_TITLE' => $lang['Detector'],
'L_DETECTOR_EXPLAIN' => $lang['Detector_Explain'] . sprintf($lang['All_times'], $lang['tzs'][str_replace('.0', '', sprintf('%.1f', number_format($config['board_timezone'], 1)))]),
'L_DETECTOR_EXPLAIN' => $lang['Detector_Explain'] . sprintf($lang['All_times'], $lang['tz'][str_replace('.0', '', sprintf('%.1f', number_format($config['board_timezone'], 1)))]),
'L_DETECTOR_ID' => $lang['Detector_ID'],
'L_DETECTOR_TIME' => $lang['Detector_Time'],
'L_DETECTOR_URL' => $lang['Detector_Url'],
Oops, something went wrong.

0 comments on commit 09f38bc

Please sign in to comment.
You can’t perform that action at this time.