mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
r194
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@194 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
8d45bb5923
commit
baec692132
11 changed files with 118 additions and 68 deletions
|
@ -37,6 +37,7 @@
|
|||
** Необходимые значения в php.ini **
|
||||
************************************
|
||||
|
||||
mbstring.internal_encoding = UTF-8
|
||||
magic_quotes_gpc = Off
|
||||
extension=php_mbstring.dll
|
||||
extension=php_pdo.dll
|
||||
|
|
|
@ -525,7 +525,7 @@ CREATE TABLE `bb_categories` (
|
|||
-- Дамп данных таблицы `bb_categories`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_categories` VALUES (1, 'Test category 1', 10);
|
||||
INSERT INTO `bb_categories` VALUES (1, 'Ваша первая категория', 10);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
@ -551,7 +551,7 @@ INSERT INTO `bb_config` VALUES ('allow_bbcode', '1');
|
|||
INSERT INTO `bb_config` VALUES ('allow_namechange', '0');
|
||||
INSERT INTO `bb_config` VALUES ('allow_sig', '1');
|
||||
INSERT INTO `bb_config` VALUES ('allow_smilies', '1');
|
||||
INSERT INTO `bb_config` VALUES ('avatar_filesize', '10000');
|
||||
INSERT INTO `bb_config` VALUES ('avatar_filesize', '100000');
|
||||
INSERT INTO `bb_config` VALUES ('avatar_gallery_path', 'images/avatars/gallery');
|
||||
INSERT INTO `bb_config` VALUES ('avatar_max_height', '100');
|
||||
INSERT INTO `bb_config` VALUES ('avatar_max_width', '100');
|
||||
|
@ -709,10 +709,10 @@ CREATE TABLE `bb_datastore` (
|
|||
-- Дамп данных таблицы `bb_datastore`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_datastore` VALUES ('cat_forums', 'a:6:{s:15:"not_auth_forums";a:4:{s:10:"guest_view";s:0:"";s:10:"guest_read";s:0:"";s:9:"user_view";s:0:"";s:9:"user_read";s:0:"";}s:14:"tracker_forums";s:0:"";s:14:"cat_title_html";a:1:{i:1;s:15:"Test category 1";}s:15:"forum_name_html";a:1:{i:1;s:12:"Test Forum 1";}s:1:"c";a:1:{i:1;a:4:{s:6:"cat_id";s:1:"1";s:9:"cat_title";s:15:"Test category 1";s:9:"cat_order";s:2:"10";s:6:"forums";a:1:{i:0;s:1:"1";}}}s:1:"f";a:1:{i:1;a:20:{s:8:"forum_id";s:1:"1";s:6:"cat_id";s:1:"1";s:10:"forum_name";s:12:"Test Forum 1";s:10:"forum_desc";s:26:"This is just a test forum.";s:12:"forum_status";s:1:"0";s:11:"forum_posts";s:1:"1";s:12:"forum_topics";s:1:"1";s:9:"auth_view";s:1:"0";s:9:"auth_read";s:1:"0";s:9:"auth_post";s:1:"1";s:10:"auth_reply";s:1:"1";s:9:"auth_edit";s:1:"1";s:11:"auth_delete";s:1:"1";s:11:"auth_sticky";s:1:"3";s:13:"auth_announce";s:1:"3";s:9:"auth_vote";s:1:"1";s:15:"auth_pollcreate";s:1:"1";s:16:"auth_attachments";s:1:"1";s:13:"auth_download";s:1:"1";s:12:"forum_parent";s:1:"0";}}}');
|
||||
INSERT INTO `bb_datastore` VALUES ('jumpbox', 'a:2:{s:5:"guest";s:241:"\n<select id="jumpbox" onchange="window.location.href=''viewforum.php?f=''+this.value;" name="f" id="f">\n <optgroup label=" Test category 1">\n <option class="root_forum" value="1"> Test Forum 1 </option>\n </optgroup>\n</select>\n";s:4:"user";s:241:"\n<select id="jumpbox" onchange="window.location.href=''viewforum.php?f=''+this.value;" name="f" id="f">\n <optgroup label=" Test category 1">\n <option class="root_forum" value="1"> Test Forum 1 </option>\n </optgroup>\n</select>\n";}');
|
||||
INSERT INTO `bb_datastore` VALUES ('viewtopic_forum_select', 'a:1:{s:22:"viewtopic_forum_select";s:187:"\n<select name="new_forum_id" id="new_forum_id">\n <optgroup label=" Test category 1">\n <option class="root_forum" value="1"> Test Forum 1 </option>\n </optgroup>\n</select>\n";}');
|
||||
INSERT INTO `bb_datastore` VALUES ('latest_news', 'a:1:{i:0;a:3:{s:8:"topic_id";s:1:"1";s:10:"topic_time";s:9:"972086460";s:11:"topic_title";s:18:"Welcome to TorrentPier";}}');
|
||||
INSERT INTO `bb_datastore` VALUES ('cat_forums', 'a:6:{s:15:"not_auth_forums";a:4:{s:10:"guest_view";s:0:"";s:10:"guest_read";s:0:"";s:9:"user_view";s:0:"";s:9:"user_read";s:0:"";}s:14:"tracker_forums";s:0:"";s:14:"cat_title_html";a:1:{i:1;s:15:"Ваша первая категория";}s:15:"forum_name_html";a:1:{i:1;s:12:"Ваш первый форум 1";}s:1:"c";a:1:{i:1;a:4:{s:6:"cat_id";s:1:"1";s:9:"cat_title";s:15:"Ваша первая категория 1";s:9:"cat_order";s:2:"10";s:6:"forums";a:1:{i:0;s:1:"1";}}}s:1:"f";a:1:{i:1;a:20:{s:8:"forum_id";s:1:"1";s:6:"cat_id";s:1:"1";s:10:"forum_name";s:12:"Ваш первый форум";s:10:"forum_desc";s:26:"Ваш первый форум";s:12:"forum_status";s:1:"0";s:11:"forum_posts";s:1:"1";s:12:"forum_topics";s:1:"1";s:9:"auth_view";s:1:"0";s:9:"auth_read";s:1:"0";s:9:"auth_post";s:1:"1";s:10:"auth_reply";s:1:"1";s:9:"auth_edit";s:1:"1";s:11:"auth_delete";s:1:"1";s:11:"auth_sticky";s:1:"3";s:13:"auth_announce";s:1:"3";s:9:"auth_vote";s:1:"1";s:15:"auth_pollcreate";s:1:"1";s:16:"auth_attachments";s:1:"1";s:13:"auth_download";s:1:"1";s:12:"forum_parent";s:1:"0";}}}');
|
||||
INSERT INTO `bb_datastore` VALUES ('jumpbox', 'a:2:{s:5:"guest";s:241:"\n<select id="jumpbox" onchange="window.location.href=''viewforum.php?f=''+this.value;" name="f" id="f">\n <optgroup label=" Ваша первая категория">\n <option class="root_forum" value="1"> Ваш первый форум </option>\n </optgroup>\n</select>\n";s:4:"user";s:241:"\n<select id="jumpbox" onchange="window.location.href=''viewforum.php?f=''+this.value;" name="f" id="f">\n <optgroup label=" Ваша первая категория">\n <option class="root_forum" value="1"> Ваш первый форум </option>\n </optgroup>\n</select>\n";}');
|
||||
INSERT INTO `bb_datastore` VALUES ('viewtopic_forum_select', 'a:1:{s:22:"viewtopic_forum_select";s:187:"\n<select name="new_forum_id" id="new_forum_id">\n <optgroup label=" Ваша первая категория">\n <option class="root_forum" value="1"> Ваш первый форум </option>\n </optgroup>\n</select>\n";}');
|
||||
INSERT INTO `bb_datastore` VALUES ('latest_news', 'a:1:{i:0;a:3:{s:8:"topic_id";s:1:"1";s:10:"topic_time";s:9:"972086460";s:11:"topic_title";s:18:"Добро пожаловать в TorrentPier II";}}');
|
||||
INSERT INTO `bb_datastore` VALUES ('ads', 'a:0:{}');
|
||||
INSERT INTO `bb_datastore` VALUES ('stats', 'a:4:{s:9:"usercount";s:1:"3";s:10:"newestuser";a:2:{s:7:"user_id";s:1:"2";s:8:"username";s:5:"admin";}s:9:"postcount";s:1:"1";s:10:"topiccount";s:1:"1";}');
|
||||
INSERT INTO `bb_datastore` VALUES ('moderators', 'a:6:{s:10:"name_users";a:0:{}s:11:"name_groups";a:0:{}s:9:"mod_users";a:0:{}s:10:"mod_groups";a:0:{}s:10:"moderators";a:0:{}s:6:"admins";a:1:{i:2;s:5:"admin";}}');
|
||||
|
@ -856,7 +856,7 @@ CREATE TABLE `bb_forums` (
|
|||
-- Дамп данных таблицы `bb_forums`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_forums` VALUES (1, 1, 'Test Forum 1', 'This is just a test forum.', 0, 10, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0);
|
||||
INSERT INTO `bb_forums` VALUES (1, 1, 'Ваш первый форум', 'Описание вашего первого форума.', 0, 10, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
@ -1045,7 +1045,7 @@ CREATE TABLE `bb_ranks` (
|
|||
-- Дамп данных таблицы `bb_ranks`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_ranks` VALUES (1, 'Site Admin', -1, 1, '');
|
||||
INSERT INTO `bb_ranks` VALUES (1, 'Администратор', -1, 1, 'images/ranks/admin.png');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
--
|
||||
|
@ -1297,7 +1297,7 @@ CREATE TABLE `bb_topics` (
|
|||
-- Дамп данных таблицы `bb_topics`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_topics` VALUES (1, 1, 'Добро пожаловать в TorrentPier II!', 2, 1309421220, 2, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 972086460);
|
||||
INSERT INTO `bb_topics` VALUES (1, 1, 'Добро пожаловать в TorrentPier II', 2, 1309421220, 2, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 972086460);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
@ -1402,9 +1402,9 @@ CREATE TABLE IF NOT EXISTS `bb_users` (
|
|||
-- Дамп данных таблицы `bb_users`
|
||||
--
|
||||
|
||||
INSERT INTO `bb_users` VALUES (-1, 0, 'Anonymous', 'd41d8cd98f00b204e9800998ecf8427e', 0, 0, '0', 1309421220, '0', 0, 5, '0.00', '', 0, 0, 0, 220, 0, '', 0, 0, 1, 1, '', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
INSERT INTO `bb_users` VALUES (2, 1, 'admin', 'c3284d0f94606de1fd2af172aba15bf3', 0, 0, '0', 1309421220, '0', 1, 1, '+4.00', '', 0, 0, 0, 304, 1, '', 1, 1, 1, 1, 'admin@admin.com', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
INSERT INTO `bb_users` VALUES (-746, 0, 'bot', 'd41d8cd98f00b204e9800998ecf8427e', 0, 0, '0', 1309421220, '0', 0, 0, '0.00', '', 0, 0, 0, 148, 0, 'bot.gif', 1, 0, 1, 1, 'bot@bot.bot', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
INSERT INTO `bb_users` VALUES (-1, 0, 'Anonymous', 'd41d8cd98f00b204e9800998ecf8427e', 0, 0, '0', 1309421220, '0', 0, 5, '0.00', '', 0, 0, 0, 220, 0, '', 0, 0, 0, 0, '', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
INSERT INTO `bb_users` VALUES (2, 1, 'admin', 'c3284d0f94606de1fd2af172aba15bf3', 0, 0, '0', 1309421220, '0', 1, 1, '+4.00', '', 0, 0, 0, 304, 1, '', 1, 0, 0, 0, 'admin@admin.com', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
INSERT INTO `bb_users` VALUES (-746, 0, 'bot', 'd41d8cd98f00b204e9800998ecf8427e', 0, 0, '0', 1309421220, '0', 0, 0, '0.00', '', 0, 0, 0, 148, 0, 'bot.gif', 1, 0, 0, 0, 'bot@bot.bot', '', '', '', '', '', '', '', '', '', 0, '', 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
|
|
@ -178,18 +178,19 @@ switch($this->request['type'])
|
|||
<form action="posting.php" method="post" name="post">
|
||||
'. $hidden_form .'
|
||||
<div class="buttons mrg_4">
|
||||
<input type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px;" />
|
||||
<input type="button" value=" i " name="codeI" title="Italic (Ctrl+I)" style="width: 30px; font-style: italic;" />
|
||||
<input type="button" value=" u " name="codeU" title="Underline (Ctrl+U)" style="width: 30px; text-decoration: underline;" />
|
||||
<input type="button" value=" s " name="codeS" title="Strikeout (Ctrl+S)" style="width: 30px; text-decoration: line-through;" />
|
||||
<input type="button" value="Quote" name="codeQuote" title="Quote (Ctrl+Q)" style="width: 50px;" />
|
||||
<input type="button" value="Img" name="codeImg" title="Image (Ctrl+R)" style="width: 40px;" />
|
||||
<input type="button" value="URL" name="codeUrl" title="URL (Ctrl+W)" style="width: 40px; text-decoration: underline;" /><input type="hidden" name="codeUrl2" />
|
||||
<input type="button" value="Code" name="codeCode" title="Code (Ctrl+K)" style="width: 46px;" />
|
||||
<input type="button" value="List" name="codeList" title="List (Ctrl+L)" style="width: 46px;" />
|
||||
<input type="button" value="1." name="codeOpt" title="List item (Ctrl+0)" style="width: 30px;" />
|
||||
<input type="button" value="Quote selected" name="quoteselected" title="{L_QUOTE_SELECTED}" style="width: 100px;" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickQuoteSel();" />
|
||||
<input type="button" value="Translit" name="Translit" title="Перевести выделение из транслита на русский" style="width: 60px;" onclick="transliterate(document.post.message, this);" />
|
||||
<input type="button" value="B" name="codeB" title="'.$lang['BOLD'].'" style="font-weight: bold; width: 30px;" />
|
||||
<input type="button" value="i" name="codeI" title="'.$lang['ITALIC'].'" style="width: 30px; font-style: italic;" />
|
||||
<input type="button" value="u" name="codeU" title="'.$lang['UNDERLINE'].'" style="width: 30px; text-decoration: underline;" />
|
||||
<input type="button" value="s" name="codeS" title="'.$lang['STRIKEOUT'].'" style="width: 30px; text-decoration: line-through;" />
|
||||
<input type="button" value="'.$lang['QUOTE'].'" name="codeQuote" title="'.$lang['QUOTE_TITLE'].'" style="width: 50px;" />
|
||||
<input type="button" value="Img" name="codeImg" title="'.$lang['IMG_TITLE'].'" style="width: 40px;" />
|
||||
<input type="button" value="'.$lang['URL'].'" name="codeUrl" title="'.$lang['URL_TITLE'].'" style="width: 55px; text-decoration: underline;" /><input type="hidden" name="codeUrl2" />
|
||||
<input type="button" value="'.$lang['CODE'].'" name="codeCode" title="'.$lang['CODE_TITLE'].'" style="width: 46px;" />
|
||||
<input type="button" value="'.$lang['LIST'].'" name="codeList" title="'.$lang['LIST_TITLE'].'" style="width: 55px;" />
|
||||
<input type="button" value="1." name="codeOpt" title="'.$lang['LIST_ITEM'].'" style="width: 30px;" />
|
||||
<input type="button" value="'.$lang['QUOTE_SEL'].'" name="quoteselected" title="'.$lang['QUOTE_SELECTED'].'" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickQuoteSel();" />
|
||||
|
||||
<input type="button" value="'.$lang['TRANSLIT'].'" name="Translit" title="'.$lang['TRANSLIT_TITLE'].'" style="width: 60px;" onclick="transliterate(document.post.message, this);" />
|
||||
</div>
|
||||
<textarea id="message-'. $post_id .'" class="editor mrg_4" name="message" rows="18" cols="92">'. $post['post_text'] .'</textarea>
|
||||
<div class="mrg_4 tCenter">
|
||||
|
|
|
@ -187,7 +187,7 @@ if ($tor_reged && $tor_info)
|
|||
$dl_allowed = ($user_ratio > $min_ratio_dl);
|
||||
}
|
||||
|
||||
if (isset($user_ratio) && isset($min_ratio_warn) && $user_ratio < $min_ratio_warn && TR_RATING_LIMITS)
|
||||
if ((isset($user_ratio) && isset($min_ratio_warn) && $user_ratio < $min_ratio_warn && TR_RATING_LIMITS) || ($bt_userdata['u_down_total'] < MIN_DL_FOR_RATIO))
|
||||
{
|
||||
$template->assign_vars(array(
|
||||
'SHOW_RATIO_WARN' => true,
|
||||
|
|
|
@ -57,8 +57,8 @@ $bb_cfg['css_ver'] = 1;
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.0';
|
||||
$bb_cfg['tp_release_state'] = 'R192';
|
||||
$bb_cfg['tp_release_date'] = '4-08-2011';
|
||||
$bb_cfg['tp_release_state'] = 'R194';
|
||||
$bb_cfg['tp_release_date'] = '5-08-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Попробуйте повторить запрос через несколько минут";
|
||||
|
@ -136,8 +136,6 @@ $bb_cfg['how_to_download_url_help'] = 'viewtopic.php?t=1'; // URL help link for
|
|||
$bb_cfg['what_is_torrent_url_help'] = 'viewtopic.php?t=2'; // URL help link for "What is Bittorrent?"
|
||||
$bb_cfg['ratio_url_help'] = 'viewtopic.php?t=3'; // URL help link for Ratio.
|
||||
|
||||
//$bb_cfg['bt_ratio_warning_msg'] = '$bb_cfg[\'bt_ratio_warning_msg\']'; /* Перемещено в "attach_mod\displaying_torrent.php" */
|
||||
|
||||
$bb_cfg['bt_min_ratio_allow_dl_tor'] = 0; // 0 - disable
|
||||
$bb_cfg['bt_min_ratio_warning'] = 0; // 0 - disable
|
||||
$bb_cfg['bt_ratio_warning_url_help'] = $bb_cfg['ratio_url_help']; // URL help link, for limit end.
|
||||
|
|
|
@ -50,6 +50,7 @@ $lang['DO_SUBMIT'] = 'Submit';
|
|||
$lang['RESET'] = 'Reset';
|
||||
$lang['CANCEL'] = 'Cancel';
|
||||
$lang['PREVIEW'] = 'Preview';
|
||||
$lang['AJAX_PREVIEW'] = 'Quick View';
|
||||
$lang['CONFIRM'] = 'Confirm';
|
||||
$lang['YES'] = 'Yes';
|
||||
$lang['NO'] = 'No';
|
||||
|
@ -1607,7 +1608,31 @@ $lang['WHAT_IS_A_TORRENT'] = 'What is a torrent?';
|
|||
$lang['RATINGS_AND_LIMITATIONS'] = 'Ratings and Limitations';
|
||||
|
||||
$lang['SCREENSHOTS_RULES'] = 'Read the rules laid out screenshots!';
|
||||
$lang['SCREENSHOTS_RULES_TOPIC'] = 'Read the rules laid out the screenshots in this section!';
|
||||
$lang['AJAX_EDIT_OPEN'] = 'Have you already opened one quick editing!';
|
||||
$lang['GO_TO_PAGE'] = 'Go to page ...';
|
||||
$lang['EDIT'] = 'Edit';
|
||||
$lang['SAVE'] = 'Save';
|
||||
$lang['NEW_WINDOW'] = 'in a new window';
|
||||
$lang['NEW_WINDOW'] = 'in a new window';
|
||||
|
||||
// BB Code
|
||||
$lang['ALIGN'] = 'Âûðîâíÿòü:';
|
||||
$lang['LEFT'] = 'Âëåâî';
|
||||
$lang['RIGHT'] = 'Âïðàâî';
|
||||
$lang['CENTER'] = 'Ïî öåíòðó';
|
||||
$lang['JUSTIFY'] = 'Ïî øèðèíå';
|
||||
$lang['HOR_LINE'] = 'Horizontal line (Ctrl+8)';
|
||||
$lang['NEW_LINE'] = 'New line';
|
||||
$lang['BOLD'] = 'Bold (Ctrl+B)';
|
||||
$lang['ITALIC'] = 'Italic (Ctrl+I)';
|
||||
$lang['UNDERLINE'] = 'Underline (Ctrl+U)';
|
||||
$lang['STRIKEOUT'] = 'Strikeout (Ctrl+S)';
|
||||
$lang['QUOTE_TITLE'] = 'Quote (Ctrl+Q)';
|
||||
$lang['IMG_TITLE'] = 'Image (Ctrl+R)';
|
||||
$lang['URL'] = 'Url';
|
||||
$lang['URL_TITLE'] = 'URL (Ctrl+W)';
|
||||
$lang['CODE_TITLE'] = 'Code (Ctrl+K)';
|
||||
$lang['LIST'] = 'List';
|
||||
$lang['LIST_TITLE'] = 'List (Ctrl+L)';
|
||||
$lang['LIST_ITEM'] = 'List item (Ctrl+0)';
|
||||
$lang['QUOTE_SEL'] = 'Quote selected';
|
||||
|
|
|
@ -54,6 +54,7 @@ $lang['DO_SUBMIT'] = 'Отправить';
|
|||
$lang['RESET'] = 'Вернуть';
|
||||
$lang['CANCEL'] = 'Отмена';
|
||||
$lang['PREVIEW'] = 'Предв. просмотр';
|
||||
$lang['AJAX_PREVIEW'] = 'Быстрый просмотр';
|
||||
$lang['CONFIRM'] = 'Подтвердите';
|
||||
$lang['YES'] = 'Да';
|
||||
$lang['NO'] = 'Нет';
|
||||
|
@ -319,10 +320,10 @@ $lang['EDIT_POST_AJAX'] = 'редактировать сообщение со с
|
|||
$lang['AFTER_THE_LAPSE'] = 'по прошествии ';
|
||||
|
||||
$lang['DONT_MESSAGE_TITLE'] = 'Вы не указали заголовок сообщения';
|
||||
$lang['INVALID_TOPIC_ID'] = 'Топик отсутсвует!';
|
||||
$lang['INVALID_TOPIC_ID_DB'] = 'Топик отсутсвует в базе данных!';
|
||||
$lang['INVALID_TOPIC_ID'] = 'Топик отсутствует!';
|
||||
$lang['INVALID_TOPIC_ID_DB'] = 'Топик отсутствует в базе данных!';
|
||||
|
||||
$lang['NOT_POST'] = 'Сообщение отсутсвует';
|
||||
$lang['NOT_POST'] = 'Сообщение отсутствует';
|
||||
$lang['NOT_EDIT_TOR_STATUS'] = 'Вы не можете редактировать раздачу со статусом';
|
||||
$lang['TOR_STATUS_DAYS'] = 'дней';
|
||||
|
||||
|
@ -1621,7 +1622,33 @@ $lang['WHAT_IS_A_TORRENT'] = 'Что такое торрент?';
|
|||
$lang['RATINGS_AND_LIMITATIONS'] = 'Рейтинг и ограничения';
|
||||
|
||||
$lang['SCREENSHOTS_RULES'] = 'Прочтите правила выкладывания скриншотов!';
|
||||
$lang['SCREENSHOTS_RULES_TOPIC'] = 'Прочтите правила выкладывания скриншотов в этом разделе!';
|
||||
$lang['AJAX_EDIT_OPEN'] = 'У вас уже открыто одно быстрое редактирование!';
|
||||
$lang['GO_TO_PAGE'] = 'К странице...';
|
||||
$lang['EDIT'] = 'Изменить';
|
||||
$lang['SAVE'] = 'Сохранить';
|
||||
$lang['NEW_WINDOW'] = 'в новом окне';
|
||||
$lang['NEW_WINDOW'] = 'в новом окне';
|
||||
|
||||
// BB Code
|
||||
$lang['ALIGN'] = 'Выровнять:';
|
||||
$lang['LEFT'] = 'Влево';
|
||||
$lang['RIGHT'] = 'Вправо';
|
||||
$lang['CENTER'] = 'По центру';
|
||||
$lang['JUSTIFY'] = 'По ширине';
|
||||
$lang['HOR_LINE'] = 'Горизонтальная линия (Ctrl+8)';
|
||||
$lang['NEW_LINE'] = 'Перенос на новую строку';
|
||||
$lang['BOLD'] = 'Жирный (Ctrl+B)';
|
||||
$lang['ITALIC'] = 'Наклонный (Ctrl+I)';
|
||||
$lang['UNDERLINE'] = 'Подчеркнутый (Ctrl+U)';
|
||||
$lang['STRIKEOUT'] = 'Зачеркнутый (Ctrl+S)';
|
||||
$lang['QUOTE_TITLE'] = 'Цитата (Ctrl+Q)';
|
||||
$lang['IMG_TITLE'] = 'Изображение (Ctrl+R)';
|
||||
$lang['URL'] = 'Ссылка';
|
||||
$lang['URL_TITLE'] = 'Ссылка (Ctrl+W)';
|
||||
$lang['CODE_TITLE'] = 'Код (Ctrl+K)';
|
||||
$lang['LIST'] = 'Список';
|
||||
$lang['LIST_TITLE'] = 'Список (Ctrl+L)';
|
||||
$lang['LIST_ITEM'] = 'Элемент списка (Ctrl+0)';
|
||||
$lang['QUOTE_SEL'] = 'Цит.выдел';
|
||||
$lang['TRANSLIT'] = 'Транслит';
|
||||
$lang['TRANSLIT_TITLE'] = 'Перевести выделение из транслита на русский';
|
||||
|
|
|
@ -56,7 +56,7 @@ BBCode.prototype = {
|
|||
this.insertAtCursor('[quote]' + sel + '[/quote]\n');
|
||||
}
|
||||
else {
|
||||
alert('Please select text.');
|
||||
alert('Вы не выбрали текст');
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
|
|
@ -59,35 +59,36 @@ ajax.callback.posts = function(data){
|
|||
</select>
|
||||
|
||||
<select name="codeAlign" class="text_size">
|
||||
<option value="left" selected="selected">Align:</option>
|
||||
<option value="left"> Left</option>
|
||||
<option value="right"> Right</option>
|
||||
<option value="center"> Center</option>
|
||||
<option value="justify"> Justify</option>
|
||||
<option value="left" selected="selected">{L_ALIGN}</option>
|
||||
<option value="left"> {L_LEFT}</option>
|
||||
<option value="right"> {L_RIGHT}</option>
|
||||
<option value="center"> {L_CENTER}</option>
|
||||
<option value="justify"> {L_JUSTIFY}</option>
|
||||
</select>
|
||||
|
||||
<span class="buttons">
|
||||
<input type="button" value="—" name="codeHR" title="Horizontal line (Ctrl+8)" style="font-weight: bold; width: 26px;" />
|
||||
<input type="button" value="¶" name="codeBR" title="New line" style="width: 26px;" />
|
||||
<input type="button" value="Spoiler" name="codeSpoiler" title="Spoiler" style="width: 60px;" />
|
||||
<input type="button" value="—" name="codeHR" title="{L_HOR_LINE}" style="font-weight: bold; width: 26px;" />
|
||||
<input type="button" value="¶" name="codeBR" title="{L_NEW_LINE}" style="width: 26px;" />
|
||||
<input type="button" value="{L_SPOILER}" name="codeSpoiler" title="{L_SPOILER}" style="width: 60px;" />
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<!-- ENDIF / !QUICK_REPLY -->
|
||||
|
||||
<div class="buttons mrg_4">
|
||||
<input type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px;" />
|
||||
<input type="button" value=" i " name="codeI" title="Italic (Ctrl+I)" style="width: 30px; font-style: italic;" />
|
||||
<input type="button" value=" u " name="codeU" title="Underline (Ctrl+U)" style="width: 30px; text-decoration: underline;" />
|
||||
<input type="button" value=" s " name="codeS" title="Strikeout (Ctrl+S)" style="width: 30px; text-decoration: line-through;" />
|
||||
<input type="button" value="Quote" name="codeQuote" title="Quote (Ctrl+Q)" style="width: 50px;" />
|
||||
<input type="button" value="Img" name="codeImg" title="Image (Ctrl+R)" style="width: 40px;" />
|
||||
<input type="button" value="URL" name="codeUrl" title="URL (Ctrl+W)" style="width: 40px; text-decoration: underline;" /><input type="hidden" name="codeUrl2" />
|
||||
<input type="button" value="Code" name="codeCode" title="Code (Ctrl+K)" style="width: 46px;" />
|
||||
<input type="button" value="List" name="codeList" title="List (Ctrl+L)" style="width: 46px;" />
|
||||
<input type="button" value="1." name="codeOpt" title="List item (Ctrl+0)" style="width: 30px;" />
|
||||
<input type="button" value="Quote selected" name="quoteselected" title="{L_QUOTE_SELECTED}" style="width: 100px;" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickQuoteSel();" />
|
||||
<input type="button" value="Translit" name="Translit" title="Перевести выделение из транслита на русский" style="width: 60px;" onclick="transliterate(document.post.message, this);" /> <a href="#" onclick="toggle_block('translit_opt'); return false"><span style="color: darkred"><b>?</b></span></a>
|
||||
<input type="button" value="B" name="codeB" title="{L_BOLD}" style="font-weight: bold; width: 25px;" />
|
||||
<input type="button" value="i" name="codeI" title="{L_ITALIC}" style="width: 25px; font-style: italic;" />
|
||||
<input type="button" value="u" name="codeU" title="{L_UNDERLINE}" style="width: 25px; text-decoration: underline;" />
|
||||
<input type="button" value="s" name="codeS" title="{L_STRIKEOUT}" style="width: 25px; text-decoration: line-through;" />
|
||||
<input type="button" value="{L_QUOTE}" name="codeQuote" title="{L_QUOTE_TITLE}" style="width: 50px;" />
|
||||
<input type="button" value="Img" name="codeImg" title="{L_IMG_TITLE}" style="width: 40px;" />
|
||||
<input type="button" value="{L_URL}" name="codeUrl" title="{L_URL_TITLE}" text-decoration: underline;" style="width: 55px;"/><input type="hidden" name="codeUrl2" />
|
||||
<input type="button" value="{L_CODE}" name="codeCode" title="{L_CODE_TITLE}" style="width: 40px;" />
|
||||
<input type="button" value="{L_LIST}" name="codeList" title="{L_LIST_TITLE}" style="width: 55px;"/>
|
||||
<input type="button" value="1." name="codeOpt" title="{L_LIST_ITEM}" style="width: 30px;" />
|
||||
<input type="button" value="{L_QUOTE_SEL}" name="quoteselected" title="{L_QUOTE_SELECTED}" onmouseout="bbcode.refreshSelection(false);" onmouseover="bbcode.refreshSelection(true);" onclick="bbcode.onclickQuoteSel();" />
|
||||
|
||||
<input type="button" value="{L_TRANSLIT}" name="Translit" title="{L_TRANSLIT_TITLE}" style="width: 65px;" onclick="transliterate(document.post.message, this);" /> <a href="#" onclick="toggle_block('translit_opt'); return false"><span style="color: darkred"><b>?</b></span></a>
|
||||
</div>
|
||||
|
||||
<textarea
|
||||
|
@ -144,7 +145,7 @@ ajax.callback.posts = function(data){
|
|||
<div class="pad_4">{CAPTCHA_HTML}</div>
|
||||
<input title="Alt+Enter" type="submit" name="preview" value="{L_PREVIEW}" />
|
||||
<input onclick="submitted = true;" title="Ctrl+Enter" type="submit" name="post" class="bold" value="{L_SUBMIT}" />
|
||||
<input type="button" value="Быстрый предпросмотр" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#message').val()});">
|
||||
<input type="button" value="{L_AJAX_PREVIEW}" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#message').val()});">
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
ajax.open_edit = false;
|
||||
function edit_post(post_id, type, text) {
|
||||
if(ajax.open_edit && ajax.open_edit != post_id) {
|
||||
alert('У вас уже открыто одно быстрое редактирование!');
|
||||
alert('{L_AJAX_EDIT_OPEN}');
|
||||
} else{
|
||||
if(ajax.open_edit && !text){
|
||||
$('#pp_'+ post_id).show();
|
||||
|
@ -412,12 +412,12 @@ function set_hid_chbox (id)
|
|||
$(document).ready(function(){
|
||||
$("div.post_body")
|
||||
.find("img.postImg[@src*='imageshack']")
|
||||
.attr({ src: "images/smiles/tr_oops.gif", alt: "Прочтите правила выкладывания скриншотов в этом разделе!" })
|
||||
.attr({ src: "images/smiles/tr_oops.gif", alt: "{L_SCREENSHOTS_RULES_TOPIC}" })
|
||||
.wrap('<a href="viewtopic.php?t={$bb_cfg['porno_forums_screenshots_topic_id']}"></a>')
|
||||
.end()
|
||||
.find("a.postLink[@href*='imageshack']")
|
||||
.attr({ href: "viewtopic.php?t={$bb_cfg['porno_forums_screenshots_topic_id']}" })
|
||||
.text("Прочтите правила выкладывания скриншотов в этом разделе! ");
|
||||
.text("{L_SCREENSHOTS_RULES_TOPIC}");
|
||||
});
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -255,7 +255,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" value="{L_FILELIST}" /></p>
|
||||
<p style="padding-top: 6px;"><input id="tor-filelist-btn" type="button" class="lite" value="{L_FILELIST}" style="width:105px;" /></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1">
|
||||
|
@ -278,9 +278,8 @@
|
|||
};
|
||||
</script>
|
||||
|
||||
<span id="tor-{postrow.attach.tor_reged.ATTACH_ID}">{postrow.attach.tor_reged.TOR_STATUS_SELECT}</span>
|
||||
|
||||
<a href="#" onclick="ajax.change_tor_status($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_EDIT}" class="liteoption" /></a>
|
||||
<span id="tor-{postrow.attach.tor_reged.ATTACH_ID}">{postrow.attach.tor_reged.TOR_STATUS_SELECT}</span>
|
||||
<a href="#" onclick="ajax.change_tor_status($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_EDIT}" class="liteoption" style="width:70px;" /></a>
|
||||
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
|
@ -322,11 +321,10 @@
|
|||
<option value="del_torrent">{L_DELETE_TORRENT}</option>
|
||||
<option value="del_torrent_move_topic">{L_DEL_MOVE_TORRENT}</option>
|
||||
<!-- IF AUTH_MOD -->
|
||||
<!-- IF $bb_cfg['gold_silver_enabled'] -->
|
||||
<!-- IF postrow.attach.tor_reged.TOR_SILVER_GOLD == 1 -->
|
||||
<!-- IF postrow.attach.tor_reged.TOR_SILVER_GOLD == 1 && $bb_cfg['gold_silver_enabled'] -->
|
||||
<option value="unset_silver_gold">{L_UNSET_GOLD_TORRENT} / {L_UNSET_SILVER_TORRENT}</option>
|
||||
<option value="set_silver">{L_SET_SILVER_TORRENT}</option>
|
||||
<!-- ELSEIF postrow.attach.tor_reged.TOR_SILVER_GOLD == 2 -->
|
||||
<!-- ELSEIF postrow.attach.tor_reged.TOR_SILVER_GOLD == 2 && $bb_cfg['gold_silver_enabled'] -->
|
||||
<option value="unset_silver_gold">{L_UNSET_GOLD_TORRENT} / {L_UNSET_SILVER_TORRENT}</option>
|
||||
<option value="set_gold">{L_SET_GOLD_TORRENT}</option>
|
||||
<!-- ELSE -->
|
||||
|
@ -334,10 +332,9 @@
|
|||
<option value="set_silver">{L_SET_SILVER_TORRENT}</option>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</select>
|
||||
|
||||
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_EDIT}" class="liteoption" /></a>
|
||||
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_EDIT}" class="liteoption" style="width:70px;" /></a>
|
||||
|
||||
<!-- ELSEIF TOR_HELP_LINKS -->
|
||||
{TOR_HELP_LINKS}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue