добавление позвать скачавших , зачистка git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@162 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-07-26 23:22:34 +00:00
commit e981c17281
38 changed files with 103 additions and 297 deletions

View file

@ -2,8 +2,6 @@
if (!defined('IN_AJAX')) die(basename(__FILE__));
global $bb_cfg;
global $userdata, $bb_cfg, $lang;
if (!isset($this->request['attach_id']))

View file

@ -2,8 +2,6 @@
if (!defined('IN_AJAX')) die(basename(__FILE__));
global $bb_cfg;
global $userdata, $bb_cfg, $lang;
$mode = (string) $this->request['mode'];

View file

@ -1,15 +1,5 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: displaying.php,v 1.4 2005/11/06 16:28:14 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
@ -256,14 +246,6 @@ function display_attachments($post_id)
if (!$denied || IS_ADMIN)
{
// Some basic Template Vars
$template->assign_vars(array(
'L_DESCRIPTION' => $lang['DESCRIPTION'],
'L_DOWNLOAD' => $lang['DOWNLOAD'],
'L_FILENAME' => $lang['FILE_NAME'],
'L_FILESIZE' => $lang['FILESIZE'])
);
// define category
$image = FALSE;
$stream = FALSE;

View file

@ -1,9 +1,8 @@
<?php
if (!defined('IN_PHPBB')) die(basename(__FILE__));
if (!defined('IN_PHPBB')) die(basename(__FILE__));
global $bb_cfg, $t_data, $poster_id, $is_auth;
global $dl_link_css, $dl_status_css;
global $bb_cfg, $t_data, $poster_id, $is_auth, $dl_link_css, $dl_status_css;
$change_peers_bgr_over = true;
$bgr_class_1 = 'prow1';
@ -134,11 +133,7 @@ if ($tor_auth)
$template->assign_vars(array(
'TOR_CONTROLS' => true,
'TOR_ACTION' => "torrent.php",
//torrent status mod
'TOR_STATUS' => "torstatus.php",
//end torrent status mod
'TOR_ATTACH_ID' => $attach_id,
));
@ -233,13 +228,10 @@ if ($tor_reged && $tor_info)
'DL_LINK_CLASS' => (isset($bt_userdata['user_status'])) ? $dl_link_css[$bt_userdata['user_status']] : 'genmed',
'DL_TITLE_CLASS' => (isset($bt_userdata['user_status'])) ? $dl_status_css[$bt_userdata['user_status']] : 'gen',
'FILESIZE' => $tor_file_size,
'MAGNET' => $tor_magnet,
'DOWNLOAD_COUNT' => sprintf($lang['DOWNLOAD_NUMBER'], $download_count),
'REGED_TIME' => bb_date($tor_info['reg_time']),
'REGED_DELTA' => delta_time($tor_info['reg_time']),
'TORRENT_SIZE' => humn_size($tor_size),
'COMPLETED' => sprintf($lang['DOWNLOAD_NUMBER'], $tor_info['complete_count']),
));

View file

@ -1,12 +1,4 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_admin.php,v 1.4 2006/04/22 16:21:09 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* All Attachment Functions only needed in Admin

View file

@ -1,12 +1,4 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_attach.php,v 1.4 2005/11/17 17:41:36 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* All Attachment Functions needed everywhere

View file

@ -1,12 +1,4 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_delete.php,v 1.1 2005/11/05 12:23:33 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* All Attachment Functions processing the Deletion Process

View file

@ -1,12 +1,4 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_filetypes.php,v 1.1 2005/11/05 12:30:57 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* All Attachment Functions needed to determine Special Files/Dimensions

View file

@ -1,20 +1,6 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_includes.php,v 1.3 2005/11/06 16:32:19 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* These are functions called directly from phpBB2 Files
*/
/**
* Include the FAQ-File (faq.php)
*/
function attach_faq_include($lang_file)
{
global $bb_cfg, $faq, $attach_config;
@ -31,25 +17,6 @@ function attach_faq_include($lang_file)
}
}
/**
* Setup Basic Authentication
*/
// moved to auth
/**
* Setup Forum Authentication (admin/admin_forumauth.php)
*/
//admin/admin_forumauth.php
/**
* Setup Usergroup Authentication
*/
//admin/admin_ug_auth.php
/**
* Setup s_auth_can in viewforum and viewtopic (viewtopic.php/viewforum.php)
*/
function attach_build_auth_levels($is_auth, &$s_auth_can)
{
global $lang, $attach_config, $forum_id;
@ -453,7 +420,6 @@ function display_upload_attach_box_limits($user_id, $group_id = 0)
$template->assign_block_vars('switch_upload_limits', array());
$template->assign_vars(array(
'L_UACP' => $lang['UACP'],
'U_UACP' => BB_ROOT ."profile.php?mode=attachcp&amp;u=$user_id&amp;sid={$userdata['session_id']}",
'UPLOADED' => sprintf($lang['USER_UPLOADED_PROFILE'], $user_uploaded),
'QUOTA' => sprintf($lang['USER_QUOTA_PROFILE'], $user_quota),

View file

@ -1,12 +1,4 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_selects.php,v 1.2 2005/12/14 13:08:23 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* Functions to build select boxes ;)

View file

@ -1,19 +1,5 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: functions_thumbs.php,v 1.3 2005/11/15 21:26:47 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* All Attachment Functions needed to create Thumbnails
*/
/**
*/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');

View file

@ -1,12 +1,10 @@
<?php
/**
*
* @package attachment_mod
* @version $Id: posting_attachments.php,v 1.7 2005/11/15 20:20:43 acydburn Exp $
* @copyright (c) 2002 Meik Sievertsen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
exit;
}
define('FILENAME_PREFIX', false);
define('FILENAME_PREFIX_LENGTH', 6);
@ -15,18 +13,6 @@ define('FILENAME_CRYPTIC', false);
define('FILENAME_CRYPTIC_LENGTH', 64);
define('FILENAME_TRANSLITERATE', true);
/**
*/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
exit;
}
/**
* @package attachment_mod
* Base Class for Attaching
*/
class attach_parent
{
var $post_attach = false;
@ -75,17 +61,6 @@ class attach_parent
{
global $attach_config;
//
// Define Filesize Limits (Prepare Quota Settings)
// Priority: User, Group, Management
//
// This method is somewhat query intensive, but i think because this one is only executed while attaching a file,
// it does not make much sense to come up with an new db-entry.
// Maybe i will change this in a future version, where you are able to disable the User Quota Feature at all (using
// Default Limits for all Users/Groups)
//
// Change this to 'group;user' if you want to have first priority on group quota settings.
// $priority = 'group;user';
$priority = 'user;group';
@ -327,15 +302,6 @@ class attach_parent
array_unshift($this->attachment_thumbnail_list, $this->thumbnail);
$this->file_comment = '';
// This Variable is set to FALSE here, because the Attachment Mod enter Attachments into the
// Database in two modes, one if the id_list is 0 and the second one if post_attach is true
// Since post_attach is automatically switched to true if an Attachment got added to the filesystem,
// but we are assigning an id of 0 here, we have to reset the post_attach variable to FALSE.
//
// This is very relevant, because it could happen that the post got not submitted, but we do not
// know this circumstance here. We could be at the posting page or we could be redirected to the entered
// post. :)
$this->post_attach = FALSE;
}
}
@ -592,7 +558,6 @@ class attach_parent
$this->attachment_id_list[$actual_element] = $actual_id_list[$actual_element];
$this->attachment_thumbnail_list[$actual_element] = $this->thumbnail;
$this->file_comment = '';
}
}
@ -793,12 +758,7 @@ class attach_parent
$u_rules_id = $forum_id;
$template->assign_vars(array(
'L_ADD_ATTACHMENT_TITLE' => $lang['ADD_ATTACHMENT_TITLE'],
'L_POSTED_ATTACHMENTS' => $lang['POSTED_ATTACHMENTS'],
'L_FILE_NAME' => $lang['FILE_NAME'],
'L_FILE_COMMENT' => $lang['FILE_COMMENT'],
'RULES' => '<a href="'."misc.php?do=attach_rules&f=$u_rules_id".'" target="_blank">'. $lang['ALLOWED_EXTENSIONS_AND_SIZES'] .'</a>',
'ADD_ATTACH_HIDDEN_FIELDS' => $s_hidden,
));
@ -829,11 +789,6 @@ class attach_parent
if ($this->add_attachment_body)
{
$template->assign_vars(array(
'TPL_ADD_ATTACHMENT' => true,
'L_ADD_ATTACH_TITLE' => $lang['ADD_ATTACHMENT_TITLE'],
'L_ADD_ATTACH_EXPLAIN' => $lang['ADD_ATTACHMENT_EXPLAIN'],
'L_ADD_ATTACHMENT' => $lang['ADD_ATTACHMENT'],
'FILE_COMMENT' => htmlspecialchars($this->file_comment),
'FILESIZE' => $attach_config['max_filesize'],
'FILENAME' => htmlspecialchars($this->filename),
@ -846,11 +801,6 @@ class attach_parent
{
$template->assign_vars(array(
'TPL_POSTED_ATTACHMENTS' => true,
'L_POSTED_ATTACHMENTS' => $lang['POSTED_ATTACHMENTS'],
'L_UPDATE_COMMENT' => $lang['UPDATE_COMMENT'],
'L_UPLOAD_NEW_VERSION' => $lang['UPLOAD_NEW_VERSION'],
'L_DELETE_ATTACHMENT' => $lang['DELETE_ATTACHMENT'],
'L_DELETE_THUMBNAIL' => $lang['DELETE_THUMBNAIL'],
));
for ($i = 0; $i < sizeof($this->attachment_list); $i++)

View file

@ -3,10 +3,7 @@
if (!defined('IN_TRACKER')) die(basename(__FILE__));
// Exit if tracker is disabled
if ($tr_cfg['off'])
{
tr_die($tr_cfg['off_reason']);
}
if ($tr_cfg['off']) tr_die($tr_cfg['off_reason']);
//
// Functions

View file

@ -4,10 +4,7 @@ define('IN_TRACKER', true);
define('BB_ROOT', './../');
require(BB_ROOT .'common.php');
if (!$tr_cfg['scrape'])
{
msg_die('Please disable SCRAPE!');
}
if (!$tr_cfg['scrape']) msg_die('Please disable SCRAPE!');
if($bb_cfg['announce_type'] == 'xbt')
{

View file

@ -57,8 +57,8 @@ $bb_cfg['css_ver'] = 1;
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.0.2';
$bb_cfg['tp_release_state'] = 'TP II r161';
$bb_cfg['tp_release_date'] = '26-07-2011';
$bb_cfg['tp_release_state'] = 'TP II r162';
$bb_cfg['tp_release_date'] = '27-07-2011';
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
$bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент сервер перегружен\nПопробуйте повторить запрос через несколько минут";

View file

@ -8,6 +8,7 @@
- Gallery
- Magnet links
- No avatar
- CallSeed
*/
if (!defined('BB_ROOT')) die(basename(__FILE__));
@ -34,3 +35,6 @@ $bb_cfg['no_avatar'] = 'images/avatars/gallery/noavatar.png';
$bb_cfg['birthday']['enabled'] = true;
$bb_cfg['birthday']['max_user_age'] = 100;
$bb_cfg['birthday']['min_user_age'] = 10;
// CallSeed
$bb_cfg['callseed'] = false;

View file

@ -172,7 +172,6 @@ function generate_smilies($mode)
$template->assign_block_vars('switch_smilies_extra', array());
$template->assign_vars(array(
'L_MORE_SMILIES' => $lang['MORE_EMOTICONS'],
'U_MORE_SMILIES' => append_sid("posting.php?mode=smilies"))
);
}

View file

@ -2733,7 +2733,7 @@ function get_path_from_id ($id, $ext_id, $base_path, $first_div, $sec_div)
return ($base_path ? "$base_path/" : '') . ($id % $sec_div) .'/'. $id . ($ext ? ".$ext" : '');
}
function send_pm($user_id, $subject, $message)
/*function send_pm($user_id, $subject, $message)
{ global $userdata;
$subject = DB()->escape($subject);
@ -2751,4 +2751,4 @@ function send_pm($user_id, $subject, $message)
user_last_privmsg = ". TIMENOW .",
user_newest_pm_id = $pm_id
WHERE user_id = $user_id");
}
}*/

View file

@ -12,7 +12,6 @@ if (!empty($template))
'TRANSLATION_INFO' => isset($lang['TRANSLATION_INFO']) ? $lang['TRANSLATION_INFO'] : '',
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
'ADMIN_LINK_HREF' => "admin/index.php",
'L_GOTO_ADMINCP' => $lang['ADMIN_PANEL'],
));

View file

@ -1,10 +1,6 @@
<?php
if (!defined('BB_ROOT'))
{
die(basename(__FILE__));
}
if (!defined('BB_ROOT')) die(basename(__FILE__));
if (!$post_info) die('$post_info missing');
require(DEFAULT_LANG_DIR .'lang_topic_templates.php');
@ -84,7 +80,7 @@ if ($topic_tpl = DB()->fetch_row($sql))
require(INC_DIR .'topic_templates/tpl_selects.php');
$template->assign_vars(array(
'PAGE_TITLE' => $lang['BT_NEW_RELEASE'],
'PAGE_TITLE' => $lang['NEW_RELEASE'],
'FORUM_NAME' => htmlCHR($post_info['forum_name']),
'S_ACTION' => append_sid("posting.php?mode=newtopic&tpl=1&". POST_FORUM_URL .'='. $post_info['forum_id']),
'S_CANCEL_ACTION' => append_sid(FORUM_URL . $post_info['forum_id']),
@ -94,12 +90,7 @@ if ($topic_tpl = DB()->fetch_row($sql))
'REGULAR_TOPIC_BUTTON' => true, # (IS_MOD || IS_ADMIN),
'REGULAR_TOPIC_HREF' => append_sid("posting.php?mode=newtopic&". POST_FORUM_URL .'='. $post_info['forum_id']),
'L_POST_REGULAR_TOPIC' => $lang['POST_REGULAR_TOPIC'],
'L_BACK' => $lang['BT_BACK'],
'L_ERROR' => $lang['BT_BAD_FIELDS'],
'L_NEXT' => $lang['BT_NEXT'],
'L_RELEASE_WELCOME' => $lang['BT_FILL_FORM'],
'L_TITLE' => $lang['TPL']['RELEASE_NAME'],
'L_TITLE_DESC' => $lang['TPL']['RELEASE_NAME_DESC'],
'L_ORIGINAL_TITLE' => $lang['TPL']['ORIGINAL_NAME'],

View file

@ -22,7 +22,7 @@ $selects = array(
'SEL_VIDEO_CODECS' => array(
'DivX',
'XviD',
"{$lang['BT_OTHER']} MPEG4",
"{$lang['OTHER']} MPEG4",
'VPx',
'MPEG1',
'MPEG2',

View file

@ -131,7 +131,6 @@ if ($show_dl_buttons)
';
$template->assign_vars(array(
'L_NONE' => $lang['NONE'],
'DL_HIDDEN_FIELDS' => $dl_hidden_fields,
'S_DL_ACTION' => append_sid("dl_list.php?". POST_TOPIC_URL ."=$topic_id"),
));

View file

@ -22,7 +22,6 @@ if ($profile_user_id == $userdata['user_id'])
{
$template->assign_vars(array(
'EDIT_PROF' => true,
'L_EDIT_PROF' => $lang['EDIT_PROFILE'],
'EDIT_PROF_HREF' => append_sid("profile.php?mode=editprofile"),
));
}
@ -39,7 +38,7 @@ if (IS_ADMIN)
$template->assign_vars(array(
'SHOW_PASSKEY' => true,
'S_GEN_PASSKEY' => '<a href="#" onclick="ajax.exec({ action: \'gen_passkey\', user_id: '. $profile_user_id .' }); return false;">'. $lang['BT_GEN_PASSKEY_URL'] .'</a>',
'CAN_EDIT_RATIO' => IS_SUPER_ADMIN,
'CAN_EDIT_RATIO' => IS_ADMIN,
));
}
else
@ -172,18 +171,6 @@ if (!IS_USER || $profile_user_id == $userdata['user_id'])
$page_cfg['dl_links_user_id'] = $profile_user_id;
}
$template->assign_vars(array(
'U_TORRENT_PROFILE' => append_sid("profile.php?mode=viewprofile&amp;u=". $profiledata['user_id']) . '#torrent',
'L_TORRENT_PROFILE' => $lang['VIEW_TORRENT_PROFILE'],
'L_UP_TOTAL' => $lang['PROFILE_UP_TOTAL'],
'L_DOWN_TOTAL' => $lang['PROFILE_DOWN_TOTAL'],
'L_BONUS' => $lang['PROFILE_BONUS'],
'L_TOTAL_RELEASED' => $lang['PROFILE_RELEASED'],
'L_USER_RATIO' => $lang['PROFILE_RATIO'],
'L_MAX_SPEED' => $lang['PROFILE_MAX_SPEED'],
'L_IT_WILL_BE_DOWN' => $lang['PROFILE_IT_WILL_BE_DOWNLOADED'],
));
$sql = 'SELECT SUM(speed_up) as speed_up, SUM(speed_down) as speed_down
FROM '. BB_BT_TRACKER .'
WHERE user_id = ' . $profile_user_id . '';

View file

@ -1,25 +1,4 @@
<?php
/***************************************************************************
* usercp_avatar.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: usercp_avatar.php,v 1.8.2.24 2006/05/23 21:09:27 grahamje Exp $
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
@ -64,7 +43,7 @@ function user_avatar_delete($avatar_type, $avatar_file)
$avatar_file = basename($avatar_file);
if ( $avatar_type == USER_AVATAR_UPLOAD && $avatar_file != '' )
{
if ( @file_exists(@phpbb_realpath('./' . $bb_cfg['avatar_path'] . '/' . $avatar_file)) )
if ( @file_exists(BB_ROOT ('./' . $bb_cfg['avatar_path'] . '/' . $avatar_file)) )
{
@unlink('./' . $bb_cfg['avatar_path'] . '/' . $avatar_file);
}
@ -89,7 +68,7 @@ function user_avatar_gallery($mode, &$errors, $avatar_filename, $avatar_category
return '';
}
if ( file_exists(@phpbb_realpath($bb_cfg['avatar_gallery_path'] . '/' . $avatar_category . '/' . $avatar_filename)) && ($mode == 'editprofile') )
if ( file_exists(BB_ROOT ($bb_cfg['avatar_gallery_path'] . '/' . $avatar_category . '/' . $avatar_filename)) && ($mode == 'editprofile') )
{
return array('user_avatar' => DB()->escape($avatar_category . '/' . $avatar_filename), 'user_avatar_type' => USER_AVATAR_GALLERY);
}

View file

@ -121,11 +121,8 @@ if ( $row = DB()->fetch_row($sql) )
$template->assign_vars(array(
'USERNAME' => $username,
'S_HIDDEN_FIELDS' => '',
'S_POST_ACTION' => append_sid("profile.php?mode=email&amp;" . POST_USERS_URL . "=$user_id"),
'L_MESSAGE_BODY_DESC' => $lang['EMAIL_MESSAGE_DESC'],
));
print_page('usercp_email.tpl');

View file

@ -155,7 +155,6 @@ $template->assign_vars(array(
'U_SEARCH_USER' => "search.php?search_author=1&amp;uid={$profiledata['user_id']}",
'U_SEARCH_TOPICS' => "search.php?uid={$profiledata['user_id']}&amp;myt=1",
'U_SEARCH_RELEASES' => "tracker.php?rid={$profiledata['user_id']}#results",
'L_SEARCH_RELEASES' => $lang['SEARCH_USER_RELEASES'],
'S_PROFILE_ACTION' => "profile.php",
@ -170,8 +169,6 @@ include(INC_DIR .'ucp/torrent_userprofile.php');
$template->assign_vars(array(
'SHOW_ACCESS_PRIVILEGE' => IS_ADMIN,
'L_ACCESS' => $lang['ACCESS'],
'L_ACCESS_SRV_LOAD' => $lang['ACCESS_SRV_LOAD'],
'IGNORE_SRV_LOAD' => ($profiledata['user_level'] != USER || $profiledata['ignore_srv_load']) ? $lang['NO'] : $lang['YES'],
'IGNORE_SRV_LOAD_EDIT' => ($profiledata['user_level'] == USER),
));

View file

@ -1050,11 +1050,14 @@ $lang['VIEWED'] = 'Viewed';
$lang['DOWNLOAD_NUMBER'] = '%d times'; // replace %d with count
$lang['EXTENSION_DISABLED_AFTER_POSTING'] = 'The Extension \'%s\' was deactivated by an board admin, therefore this Attachment is not displayed.'; // used in Posts and PM's, replace %s with mime type
$lang['ATTACHMENT'] = 'Attachments';
$lang['ATTACHMENT_THUMBNAIL'] = 'Attachment Thumbnail';
// Posting/PM -> Posting Attachments
$lang['ADD_ATTACHMENT'] = 'Add Attachment';
$lang['ADD_ATTACHMENT_TITLE'] = 'Add an Attachment';
$lang['ADD_ATTACHMENT_EXPLAIN'] = 'If you do not want to add an Attachment to your Post, please leave the Fields blank';
$lang['FILE_NAME'] = 'Filename';
$lang['FILENAME'] = 'Filename';
$lang['FILE_COMMENT'] = 'File Comment';
// Posting/PM -> Posted Attachments
@ -1277,7 +1280,7 @@ $lang['SEARCH_DL_COMPLETE_DOWNLOADS'] = 'Completed Downloads';
$lang['SEARCH_DL_CANCEL'] = 'Canceled';
$lang['CUR_DOWNLOADS'] = 'Current Downloads';
$lang['CUR_UPLOADS'] = 'Current Uploads';
$lang['SEARCH_USER_RELEASES'] = 'Find all current releases';
$lang['SEARCH_RELEASES'] = 'Find all current releases';
$lang['TOR_SEARCH_TITLE'] = 'Torrent search options';
$lang['OPEN_TOPIC'] = 'Open topic';
@ -1290,15 +1293,14 @@ $lang['ONLY_1_TOR_PER_POST'] = 'You can register only one torrent in one post';
$lang['ONLY_1_TOR_PER_TOPIC'] = 'You can register only one torrent in one topic';
$lang['VIEWING_USER_BT_PROFILE'] = 'Viewing torrent-profile :: %s'; // %s is username
$lang['CUR_ACTIVE_DLS'] = 'Currently active torrents';
$lang['VIEW_TORRENT_PROFILE'] = 'Torrent-profile';
$lang['PROFILE_UP_TOTAL'] = 'Total uploaded';
$lang['PROFILE_DOWN_TOTAL'] = 'Total downloaded';
$lang['PROFILE_BONUS'] = 'Bonus';
$lang['PROFILE_RELEASED'] = 'Total released';
$lang['PROFILE_RATIO'] = 'Ratio';
$lang['PROFILE_MAX_SPEED'] = 'Speed';
$lang['PROFILE_IT_WILL_BE_DOWNLOADED'] = 'it will start to be considered after it will be downloaded';
$lang['UP_TOTAL'] = 'Total uploaded';
$lang['DOWN_TOTAL'] = 'Total downloaded';
$lang['BONUS'] = 'Bonus';
$lang['TOTAL_RELEASED'] = 'Total released';
$lang['USER_RATIO'] = 'Ratio';
$lang['MAX_SPEED'] = 'Speed';
$lang['IT_WILL_BE_DOWN'] = 'it will start to be considered after it will be downloaded';
$lang['CURR_PASSKEY'] = 'Current passkey:';
$lang['SPMODE_FULL'] = 'Show peers in full details';
@ -1542,3 +1544,10 @@ $lang['NOTICE'] = '!ATTENTION!';
$lang['POWERED'] = 'Powered by <a target="_blank" href="http://torrentpier.me">TorrentPier</a> &copy; Meithar';
$lang['DIVE'] = 'The forum is submitted on base <a target="_blank" href="http://www.phpbb.com">phpBB</a> &copy; phpBB Group';
$lang['COPY'] = 'The site does not give electronic versions of products, and is engaged only in a collecting and cataloguing of the references sent and published at a forum by our readers. If you are the legal owner of any submitted material and do not wish that the reference to him{it} was in our catalogue, contact us and we shall immediately remove her. Files for an exchange on tracker are given by users of a site, and the administration does not bear the responsibility for their maintenance. The request to not fill in the files protected by copyrights, and also files of the illegal maintenance!';
$lang['CALLSEED'] = 'Downloaded the call';
// FILELIST
$lang['FILELIST'] = 'Filelist';
$lang['COLLAPSE'] = 'Collapse directory';
$lang['EXPAND'] = 'Expand';
$lang['SWITCH'] = 'Switch';

View file

@ -4,12 +4,12 @@ $lang['RELEASE'] = 'Release Templates';
$lang['RELEASED'] = 'Released';
$lang['RELEASES'] = 'Releases';
$lang['BT_BACK'] = 'Back';
$lang['BT_BAD_FIELDS'] = 'Invalid fields';
$lang['BT_FILL_FORM'] = 'Pleae fill in the releae form';
$lang['BT_NEW_RELEASE'] = 'New release';
$lang['BT_NEXT'] = 'Continue';
$lang['BT_OTHER'] = 'Other';
$lang['BACK'] = 'Back';
$lang['ERROR'] = 'Invalid fields';
$lang['RELEASE_WELCOME'] = 'Pleae fill in the releae form';
$lang['NEW_RELEASE'] = 'New release';
$lang['NEXT'] = 'Continue';
$lang['OTHER'] = 'Other';
$lang['TPL']['AGE'] = 'Age';
$lang['TPL']['ANNOTATION'] = 'Annotation';

View file

@ -1059,11 +1059,14 @@ $lang['VIEWED'] = 'Просмотров';
$lang['DOWNLOAD_NUMBER'] = '%d раз'; // replace %d with count
$lang['EXTENSION_DISABLED_AFTER_POSTING'] = 'The Extension \'%s\' was deactivated by an board admin, therefore this Attachment is not displayed.'; // used in Posts and PM's, replace %s with mime type
$lang['ATTACHMENT'] = 'Вложения';
$lang['ATTACHMENT_THUMBNAIL'] = 'Вложение Миниатюра';
// Posting/PM -> Posting Attachments
$lang['ADD_ATTACHMENT'] = 'Прикрепить файл';
$lang['ADD_ATTACHMENT_TITLE'] = 'Прикрепить файл';
$lang['ADD_ATTACHMENT_EXPLAIN'] = 'Если вы не хотите прикреплять файл, оставьте это поле пустым';
$lang['FILE_NAME'] = 'Имя файла';
$lang['FILENAME'] = 'Имя файла';
$lang['FILE_COMMENT'] = 'Комментарий';
// Posting/PM -> Posted Attachments
@ -1286,7 +1289,7 @@ $lang['SEARCH_DL_COMPLETE_DOWNLOADS'] = 'Прошлые закачки';
$lang['SEARCH_DL_CANCEL'] = 'Отмененные';
$lang['CUR_DOWNLOADS'] = 'Текущие закачки';
$lang['CUR_UPLOADS'] = 'Текущие раздачи';
$lang['SEARCH_USER_RELEASES'] = 'Найти все текущие раздачи';
$lang['SEARCH_RELEASES'] = 'Найти все текущие раздачи';
$lang['TOR_SEARCH_TITLE'] = 'Опции показа торрентов';
$lang['OPEN_TOPIC'] = 'Открыть топик';
@ -1299,15 +1302,14 @@ $lang['ONLY_1_TOR_PER_POST'] = 'Вы не можете зарегистриро
$lang['ONLY_1_TOR_PER_TOPIC'] = 'Вы не можете зарегистрировать еще один торрент для этого топика';
$lang['VIEWING_USER_BT_PROFILE'] = 'Torrent-профиль пользователя %s'; // %s is username
$lang['CUR_ACTIVE_DLS'] = 'Текущие активные torrent\'ы';
$lang['VIEW_TORRENT_PROFILE'] = 'Torrent-профиль';
$lang['PROFILE_UP_TOTAL'] = 'Всего отдано';
$lang['PROFILE_DOWN_TOTAL'] = 'Всего скачано';
$lang['PROFILE_BONUS'] = 'Бонус';
$lang['PROFILE_RELEASED'] = 'Отдано на своих раздачах';
$lang['PROFILE_RATIO'] = 'Рейтинг';
$lang['PROFILE_MAX_SPEED'] = 'Скорость';
$lang['PROFILE_IT_WILL_BE_DOWNLOADED'] = 'начнет учитываться после того как будет скачано';
$lang['UP_TOTAL'] = 'Всего отдано';
$lang['DOWN_TOTAL'] = 'Всего скачано';
$lang['BONUS'] = 'Бонус';
$lang['TOTAL_RELEASED'] = 'Отдано на своих раздачах';
$lang['USER_RATIO'] = 'Рейтинг';
$lang['MAX_SPEED'] = 'Скорость';
$lang['IT_WILL_BE_DOWN'] = 'начнет учитываться после того как будет скачано';
$lang['SPMODE_FULL'] = 'Подробная статистика пиров';
$lang['CURR_PASSKEY'] = 'Текущий passkey:';
@ -1552,3 +1554,10 @@ $lang['NOTICE'] = '!ВНИМАНИЕ!';
$lang['POWERED'] = 'Powered by <a target="_blank" href="http://torrentpier.me">TorrentPier</a> &copy; Meithar';
$lang['DIVE'] = 'Форум представлен на базе <a target="_blank" href="http://www.phpbb.com">phpBB</a> &copy; phpBB Group';
$lang['COPY'] = 'Сайт не предоставляет электронные версии произведений, а занимается лишь коллекционированием и каталогизацией ссылок, присылаемых и публикуемых на форуме нашими читателями. Если вы являетесь правообладателем какого-либо представленного материала и не желаете чтобы ссылка на него находилась в нашем каталоге, свяжитесь с нами и мы незамедлительно удалим её. Файлы для обмена на трекере предоставлены пользователями сайта, и администрация не несёт ответственности за их содержание. Просьба не заливать файлы, защищенные авторскими правами, а также файлы нелегального содержания!';
$lang['CALLSEED'] = 'Позвать скачавших';
// FILELIST
$lang['FILELIST'] = 'Список файлов';
$lang['COLLAPSE'] = 'Свернуть директории';
$lang['EXPAND'] = 'Развернуть';
$lang['SWITCH'] = 'Переключить';

View file

@ -4,12 +4,12 @@ $lang['RELEASE'] = 'Шаблоны для релизов';
$lang['RELEASED'] = 'На своих раздачах';
$lang['RELEASES'] = 'Релизы';
$lang['BT_BACK'] = 'Назад';
$lang['BT_BAD_FIELDS'] = 'Неверно заполнены поля';
$lang['BT_FILL_FORM'] = 'Заполните форму для релиза';
$lang['BT_NEW_RELEASE'] = 'Новый релиз';
$lang['BT_NEXT'] = 'Продолжить';
$lang['BT_OTHER'] = 'Другой';
$lang['BACK'] = 'Назад';
$lang['ERROR'] = 'Неверно заполнены поля';
$lang['RELEASE_WELCOME'] = 'Заполните форму для релиза';
$lang['NEW_RELEASE'] = 'Новый релиз';
$lang['NEXT'] = 'Продолжить';
$lang['OTHER'] = 'Другой';
$lang['TPL']['AGE'] = 'Возраст';
$lang['TPL']['ANNOTATION'] = 'Аннотация';

View file

@ -40,7 +40,7 @@
<!-- ENDIF -->
<!-- IF SHOW_ADMIN_LINK -->
<div class="tiny tCenter"><a href="{ADMIN_LINK_HREF}">{L_GOTO_ADMINCP}</a></div>
<div class="tiny tCenter"><a href="{ADMIN_LINK_HREF}">{L_ADMIN_PANEL}</a></div>
<br />
<!-- ENDIF -->

View file

@ -105,7 +105,7 @@
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr>
<td colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=400,resizable=yes,scrollbars=yes,WIDTH=400'); return false;" target="_phpbbsmilies" class="med">{L_MORE_SMILIES}</a></td>
<td colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=400,resizable=yes,scrollbars=yes,WIDTH=400'); return false;" target="_phpbbsmilies" class="med">{L_MORE_EMOTICONS}</a></td>
</tr>
<!-- END switch_smilies_extra -->
</table><!--/smilies-->

View file

@ -2,7 +2,7 @@
<!--========================================================================-->
<tr>
<th colspan="2" class="thHead">{L_ADD_ATTACH_TITLE}</th>
<th colspan="2" class="thHead">{L_ADD_ATTACHMENT_TITLE}</th>
</tr>
<tr>
<td class="pad_4"><b>{L_FILE_NAME}</b></td>
@ -11,7 +11,7 @@
<tr>
<td class="pad_4">
<input type="file" name="fileupload" size="45" maxlength="{FILESIZE}" />
<p class="small nowrap">{L_ADD_ATTACH_EXPLAIN}</p>
<p class="small nowrap">{L_ADD_ATTACHMENT_EXPLAIN}</p>
</td>
<td class="med pad_4" style="padding-left: 12px;">{RULES}</td>
</tr>

View file

@ -31,7 +31,7 @@ function emoticon(text) {
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies" class="nav">{L_MORE_SMILIES}</a></td>
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies" class="nav">{L_MORE_EMOTICONS}</a></td>
</tr>
<!-- END switch_smilies_extra -->
</table></td>

View file

@ -21,7 +21,7 @@
<td><input type="text" name="subject" size="80" /></td>
</tr>
<tr>
<td valign="top"><b>{L_MESSAGE_BODY}</b><p class="small pad_6">{L_MESSAGE_BODY_DESC}</p></td>
<td valign="top"><b>{L_MESSAGE_BODY}</b><p class="small pad_6">{L_EMAIL_MESSAGE_DESC}</p></td>
<td><textarea name="message" rows="25" cols="80">{MESSAGE}</textarea></td>
</tr>
<tr>

View file

@ -486,7 +486,7 @@ $(document).ready(function(){
<!-- IF EDIT_PROF -->
<form method="post" action="{EDIT_PROF_HREF}">
<p class="tCenter mrg_10">
<input type="submit" value="{L_EDIT_PROF}" class="main gen" />
<input type="submit" value="{L_EDIT_PROFILE}" class="main gen" />
</p>
</form>
<!-- ELSE -->

View file

@ -4,7 +4,7 @@
<!-- BEGIN denyrow -->
<fieldset class="attach">
<legend>{ATTACHMENT_ICON} Attachment</legend>
<legend>{ATTACHMENT_ICON} {L_ATTACHMENT}</legend>
<p class="attach_link denied">{postrow.attach.denyrow.L_DENIED}</p>
</fieldset>
@ -98,7 +98,7 @@
<!-- BEGIN cat_images -->
<fieldset class="attach">
<legend>{ATTACHMENT_ICON} Attachment ({postrow.attach.cat_images.FILESIZE} {postrow.attach.cat_images.SIZE_VAR})</legend>
<legend>{ATTACHMENT_ICON} {L_ATTACHMENT} ({postrow.attach.cat_images.FILESIZE} {postrow.attach.cat_images.SIZE_VAR})</legend>
<p class="tCenter pad_6">
<img src="{postrow.attach.cat_images.IMG_SRC}" id="attachImg" class="postImg" alt="img" border="0" />
</p>
@ -114,7 +114,7 @@
<!-- BEGIN cat_thumb_images -->
<fieldset class="attach">
<legend>{ATTACHMENT_ICON} Attachment Thumbnail</legend>
<legend>{ATTACHMENT_ICON} {L_ATTACHMENT_THUMBNAIL}</legend>
<p class="attach_link">
<a href="{postrow.attach.cat_thumb_images.IMG_SRC}" target="_blank"><img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /></a>
</p>
@ -134,7 +134,7 @@
<!-- BEGIN attachrow -->
<fieldset class="attach">
<legend>{postrow.attach.attachrow.S_UPLOAD_IMAGE} Attachment</legend>
<legend>{postrow.attach.attachrow.S_UPLOAD_IMAGE} {L_ATTACHMENT}</legend>
<p class="attach_link">
<a href="{postrow.attach.attachrow.U_DOWNLOAD_LINK}" {postrow.attach.attachrow.TARGET_BLANK}><b>{postrow.attach.attachrow.DOWNLOAD_NAME}</b></a>
<span class="attach_stats med">({postrow.attach.attachrow.FILESIZE} {postrow.attach.attachrow.SIZE_VAR}, {L_DOWNLOADED}: {postrow.attach.attachrow.DOWNLOAD_COUNT})</span>
@ -257,7 +257,7 @@
<p>{postrow.attach.tor_reged.S_UPLOAD_IMAGE}</p><p><b>{L_DOWNLOAD}</b></p></a>
<!-- ENDIF -->
<p class="small">{postrow.attach.tor_reged.FILESIZE}</p>
<p style="padding-top: 6px;"><input id="tor-filelist-btn" type="button" class="lite" style="width: 120px;" value="Список файлов" /></p>
<p style="padding-top: 6px;"><input id="tor-filelist-btn" type="button" class="lite" value="{L_FILELIST}" /></p>
</td>
</tr>
<tr class="row1">
@ -416,8 +416,9 @@ $(function(){
}
#tor-filelist i { color: #7A7A7A; padding-left: 4px; }
#tor-filelist s { color: #0000FF; text-decoration: none; }
#tor-filelist .b { font-weight: bold; }
#tor-filelist .b > s { color: #800000; }
#tor-filelist .b { font-weight: bold; padding-left: 20px; background: transparent url('images/folder.gif') no-repeat 3px 50%;}
#tor-filelist ul li span { padding-left: 20px; background: transparent url('images/page.gif') no-repeat 3px 50%;}
#tor-filelist .tor-root-dir { font-size: 13px; font-weight: bold; line-height: 12px; padding-left: 4px; }
#tor-fl-treecontrol { padding: 2px 0 4px; }
#tor-fl-treecontrol a { padding: 0 8px; font-size: 11px; text-decoration: none; }
@ -428,10 +429,18 @@ $(function(){
<div id="fl-tbl-wrap">
<table class="w100 borderless" cellspacing="0" cellpadding="0">
<tr>
<td><div id="tor-fl-treecontrol"><a href="#">Свернуть директории</a>&middot;<a href="#">Развернуть</a>&middot;<a href="#">Переключить</a></div></td>
<!--<td></td>-->
<td>
<div id="tor-fl-treecontrol">
<a href="#">{L_COLLAPSE}</a>&middot;
<a href="#">{L_EXPAND}</a>&middot;
<a href="#">{L_SWITCH}</a>
</div>
</td>
</tr>
<tr>
<td class="vTop" style="width: 100%;"><div id="tor-filelist" class="med"><span class="loading-1">загружается...</span></div></td>
<!--<td class="vTop"><div id="tor-fl-bgn">YOUR ADS BLOCK</div></td>-->
<td class="vTop" style="width: 100%;"><div id="tor-filelist" class="med"><span class="loading-1">{L_LOADING}</span></div></td>
</tr>
</table>
</div>

View file

@ -258,6 +258,7 @@
<!-- IF DL_BUT_CANCEL --><input type="submit" name="dl_set_cancel" value="{L_DL_CANCEL}" class="liteoption" /><!-- ENDIF -->
</form>
<!-- ENDIF -->
<!-- IF $bb_cfg['callseed'] --><form action="callseed.php?t={TOPIC_ID}" method="post"><input type="submit" value="{L_CALLSEED}" class="liteoption" />&nbsp;</form><!-- ENDIF -->
&nbsp;
</td>
</tr>