mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
fixing some bugs
more mcp links for easier moderating different aspects (all, forum, topic) i may have introduced new bugs with this commit due to me having fixed some things weeks ago and some code changed in between - please report if you see something not working as expected. git-svn-id: file:///svn/phpbb/trunk@7007 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -147,7 +147,7 @@ class acp_language
|
||||
$db->sql_query('UPDATE ' . LANG_TABLE . '
|
||||
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
|
||||
WHERE lang_id = ' . $lang_id);
|
||||
|
||||
|
||||
add_log('admin', 'LOG_LANGUAGE_PACK_UPDATED', $sql_ary['lang_english_name']);
|
||||
|
||||
trigger_error($user->lang['LANGUAGE_DETAILS_UPDATED'] . adm_back_link($this->u_action));
|
||||
@@ -276,7 +276,9 @@ class acp_language
|
||||
echo $buffer;
|
||||
}
|
||||
fclose($fp);
|
||||
|
||||
|
||||
add_log('admin', 'LOG_LANGUAGE_FILE_SUBMITTED', $this->language_file);
|
||||
|
||||
exit;
|
||||
}
|
||||
else if ($action == 'upload_data')
|
||||
@@ -340,7 +342,8 @@ class acp_language
|
||||
|
||||
trigger_error($user->lang['UPLOAD_COMPLETED'] . adm_back_link($this->u_action . '&action=details&id=' . $lang_id . '&language_file=' . urlencode($selected_lang_file)));
|
||||
}
|
||||
|
||||
|
||||
add_log('admin', 'LOG_LANGUAGE_FILE_SUBMITTED', $this->language_file);
|
||||
$action = 'details';
|
||||
|
||||
// no break;
|
||||
@@ -1010,7 +1013,7 @@ class acp_language
|
||||
* {FILENAME} [{LANG_NAME}]
|
||||
*
|
||||
* @package language
|
||||
* @version $Id: $
|
||||
* @version $' . 'Id: ' . '$
|
||||
* @copyright (c) ' . date('Y') . ' phpBB Group
|
||||
* @author {CHANGED} - {AUTHOR}
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
|
Reference in New Issue
Block a user