| Администратор |
 |
Стаж: 5 месяцев 20 дней Сообщения: 228 Откуда: здешние мы
Стиль сайта: subsilver2
Настоящее имя: Андрей
|
Модификация Quick Replyрасширение добавляет смайлики, блок цветов, bbcode и быструю цитату выделенного текста. плюс создаёт переход в форму быстрого ответа при клике по нику пользователя. выглядеть быстрый ответ будет примерно так (в зависимости от вашего стиля):  Если вам это интересно - ставим. скачать из архива сайтараспаковать и содержимое папки root скопировать в корень сайта (где файл config.php). Сначала необходимо выполнить SQL-запрос: Код: Выделить всё INSERT INTO `phpbb_config` ( `config_name` , `config_value` , `is_dynamic` ) VALUES ( 'allow_quick_reply_smilies', '1', '0' ); INSERT INTO `phpbb_config` ( `config_name` , `config_value` , `is_dynamic` ) VALUES ( 'allow_quick_reply_bbcode', '1', '0' );Если у вас есть сложности с выполнением SQL-запроса - можно скачать установщик: Вложение:
db_update.rar [1.29 КБ]
Скачиваний: 5
распаковать, файл db_update.php загрузить в корень сайта и запустить через браузер по адресу: после отработки удалить файл db_update.php с сервера. Теперь отредактируем файлы форума: Открыть viewtopic.phpНайти Код: Выделить всё include($phpbb_root_path . 'includes/bbcode.' . $phpEx);Вставить после найденного Код: Выделить всё include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);Найти Код: Выделить всё 'QUOTE_IMG' => $user->img('icon_post_quote', 'REPLY_WITH_QUOTE'),
Вставить после найденного Код: Выделить всё 'QUICKQUOTE_IMG' => $user->img('icon_post_quickquote', 'QUICKQUOTE_TEXT'),Найти Код: Выделить всё 'POSTER_AGE' => $user_cache[$poster_id]['age'],Вставить после найденного Код: Выделить всё // This value will be used as a parameter for JS insert_text() function, so we use addslashes to handle "special" usernames properly ;) 'POSTER_QUOTE' => addslashes(get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username'])),
Найти Код: Выделить всё ($topic_data['topic_status'] == ITEM_LOCKED) ? $qr_hidden_fields['lock_topic']Вставить после найденного Код: Выделить всё $bbcode_status = ($config['allow_quick_reply_bbcode'] && $config['allow_bbcode'] && $auth->acl_get('f_bbcode', $forum_id)) ? true : false; if($bbcode_status) { $user->add_lang('posting'); display_custom_bbcodes(); } $smilies_status = ($config['allow_quick_reply_smilies'] && $config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false; if ($smilies_status) { generate_smilies('inline', $forum_id); }
Найти Вставить после найденного Код: Выделить всё 'S_SMILIES_ALLOWED' => $smilies_status, 'S_BBCODE_ALLOWED' => $bbcode_status, 'S_BBCODE_IMG' => ($bbcode_status && $auth->acl_get('f_img', $forum_id)) ? true : false, 'S_LINKS_ALLOWED' => ($config['allow_post_links']) ? true : false, 'S_BBCODE_FLASH' => ($bbcode_status && $auth->acl_get('f_flash', $forum_id) && $config['allow_post_flash']) ? true : false, 'S_BBCODE_QUOTE' => true,
Открыть includes/acp/acp_board.phpНайти Код: Выделить всё 'allow_quick_reply' => array('lang' => 'ALLOW_QUICK_REPLY',Вставить после найденного Код: Выделить всё 'allow_quick_reply_smilies' => array('lang' => 'ALLOW_QUICK_REPLY_SMILIES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'allow_quick_reply_bbcode' => array('lang' => 'ALLOW_QUICK_REPLY_BBCODE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
Открыть includes/acp/acp_language.phpНайти Код: Выделить всё 'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber',Часть строки Вставить после данной части строки Открыть includes/acp/acp_styles.phpНайти Код: Выделить всё 'icon_back_top', 'icon_contact_aim', 'icon_contact_email',Часть строки Вставить после данной части строки

EN языковые правки
Открыть language/en/viewtopic.phpНайти Вставить после найденного Код: Выделить всё 'NO_SELECTION' => 'To insert a citation, highlight the desired text mouse.',Найти Вставить после найденного Найти Вставить после найденного Открыть language/en/acp/board.phpНайти Вставить после найденного Код: Выделить всё 'ALLOW_QUICK_REPLY_SMILIES' => 'Allow smilies in quick reply', 'ALLOW_QUICK_REPLY_SMILIES_EXPLAIN' => 'If this setting is enabled, smilies will be displayed in quick reply form.', 'ALLOW_QUICK_REPLY_BBCODE' => 'Allow BBCode in quick reply', 'ALLOW_QUICK_REPLY_BBCODE_EXPLAIN' => 'If this setting is enabled, BBCode button will be displayed in quick reply form.',
Открыть language/en/acp/styles.phpНайти Вставить после найденного Код: Выделить всё 'IMG_ICON_POST_QUICKQUOTE' => 'Quick Quote',

RU языковые правки
Открыть language/ru/viewtopic.phpНайти Вставить после найденного Код: Выделить всё 'NO_SELECTION' => 'Для вставки цитаты выделите нужный текст мышью.',Найти Вставить после найденного Код: Выделить всё 'QUICKQUOTE_TEXT' => 'Цитата выделенного текста',Найти Вставить после найденного Код: Выделить всё 'QUOTE_USERNAME' => 'Вставить имя пользователя',Открыть language/ru/acp/board.phpНайти Вставить после найденного Код: Выделить всё 'ALLOW_QUICK_REPLY_SMILIES' => 'Разрешить смайлики в быстром ответе', 'ALLOW_QUICK_REPLY_SMILIES_EXPLAIN' => 'При включении данной опции в форме быстрого ответа будет доступна панель со смайликами.', 'ALLOW_QUICK_REPLY_BBCODE' => 'Разрешить BBCode в быстром ответе', 'ALLOW_QUICK_REPLY_BBCODE_EXPLAIN' => 'При включении данной опции в форме быстрого ответа будут доступны кнопки BBCode.',Открыть language/ru/acp/styles.phpНайти Вставить после найденного Код: Выделить всё 'IMG_ICON_POST_QUICKQUOTE' => 'Быстрая цитата',

для стилей на основе prosilver
Открыть styles/prosilver/imageset/en/imageset.cfgНайти Вставить после найденного Код: Выделить всё img_icon_post_quickquote = icon_post_quickquote.gif*20*88Открыть styles/prosilver/imageset/ru/imageset.cfgНайти Вставить после найденного Код: Выделить всё img_icon_post_quickquote = icon_post_quickquote.gif*20*104Открыть styles/prosilver/template/quickreply_editor.htmlНайти Вставить перед найденным Найти Код: Выделить всё <form method="post" action="{U_QR_ACTION}">Заменить найденное на Код: Выделить всё <form id="postform" method="post" action="{U_QR_ACTION}">Найти Вставить перед найденным Код: Выделить всё <!-- INCLUDE posting_buttons.html --> <div id="smiley-box"> <!-- IF S_SMILIES_ALLOWED and .smiley --> <strong>{L_SMILIES}</strong><br /> <!-- BEGIN smiley --> <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a> <!-- END smiley --> <!-- ENDIF --> <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a> <!-- ENDIF --> </div>Открыть styles/prosilver/template/viewtopic_body.htmlНайти Код: Выделить всё <!-- IF postrow.U_EDIT --><li class="edit-icon">Вставить перед найденным Код: Выделить всё <!-- IF S_QUICK_REPLY --><li class="quickquote-icon"><a href="#postform" onclick="if((window.getSelection && window.getSelection().toString() == '') || (document.getSelection && document.getSelection() == '') || (document.selection && document.selection.createRange().text == '')){ alert('{L_NO_SELECTION}'); return false; }else{dE('qr_editor_div', 1);dE('qr_showeditor_div', -1);addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false; }" title="{L_QUICKQUOTE_TEXT}"><span>{L_QUICKQUOTE_TEXT}</span></a></li><!-- ENDIF -->Найти Код: Выделить всё <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » {postrow.POST_DATE} </p>Заменить найденное на Код: Выделить всё <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) --><!-- IF S_QUICK_REPLY --><a href="#postform" title="{L_QUOTE_USERNAME}" onclick="dE('qr_editor_div', 1);dE('qr_showeditor_div', -1); insert_text('[b]{postrow.POSTER_QUOTE}[/b]'); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->><strong>{postrow.POST_AUTHOR}</strong></a><!-- ELSE --><!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF --><!-- ENDIF --> » {postrow.POST_DATE} </p>Найти Код: Выделить всё <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->Заменить найденное на Код: Выделить всё <!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) --> <!-- IF S_QUICK_REPLY --><a href="#postform" title="{L_QUOTE_USERNAME}" onclick="dE('qr_editor_div', 1);dE('qr_showeditor_div', -1); insert_text('[b]{postrow.POSTER_QUOTE}[/b]'); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->>{postrow.POST_AUTHOR}</a><!-- ELSE --><!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF --><!-- ENDIF -->Открыть styles/prosilver/theme/buttons.cssНайти Код: Выделить всё .quote-icon, .quote-icon a { background: none top left no-repeat; }Вставить после найденного Код: Выделить всё .quickquote-icon, .quickquote-icon a { background: none top left no-repeat; }
Найти Код: Выделить всё ul.profile-icons li.quote-icon { width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; }Вставить после найденного Код: Выделить всё ul.profile-icons li.quickquote-icon { width: {IMG_ICON_POST_QUICKQUOTE_WIDTH}px; height: {IMG_ICON_POST_QUICKQUOTE_HEIGHT}px; }Найти Код: Выделить всё ul.profile-icons li.edit-icon { margin: 0 0 0 3px; }Заменить найденное на Код: Выделить всё ul.profile-icons li.edit-icon { margin: 0 0 0 10px; }Найти Код: Выделить всё ul.profile-icons li.quote-icon { margin: 0 0 0 10px; }Вставить после найденного Код: Выделить всё ul.profile-icons li.quickquote-icon { margin: 0 0 0 3px; }Открыть styles/prosilver/theme/colours.cssНайти Код: Выделить всё .quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }Вставить после найденного Код: Выделить всё .quickquote-icon, .quickquote-icon a { background-image: url("{IMG_ICON_POST_QUICKQUOTE_SRC}"); }

для стилей на основе subsilver2
Открыть styles/subsilver2/template/viewtopic_body.htmlНайти Код: Выделить всё <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
Заменить найденное на Код: Выделить всё <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->><!-- IF S_QUICK_REPLY --><a href="#postform" onclick="insert_text('[b]{postrow.POSTER_QUOTE}[/b]'); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->><!-- ENDIF -->{postrow.POST_AUTHOR}<!-- IF S_QUICK_REPLY --></a><!-- ENDIF --></b>Найти Код: Выделить всё <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>
Заменить найденное на Код: Выделить всё <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF S_QUICK_REPLY --><a href="#postform" onclick="if((window.getSelection && window.getSelection().toString() == '') || (document.getSelection && document.getSelection() == '') || (document.selection && document.selection.createRange().text == '')){ alert('{L_NO_SELECTION}'); return false; }else{addquote({postrow.POST_ID},'{postrow.POSTER_QUOTE}'); insert_text('\r\n'); return false; }" title="{L_QUICKQUOTE_TEXT}">{QUICKQUOTE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>Открыть subsilver2/template/quickreply_editor.htmlНайти Код: Выделить всё <form method="post" action="{U_QR_ACTION}">Заменить найденное на Код: Выделить всё <form id="postform" method="post" action="{U_QR_ACTION}">Найти Код: Выделить всё <td class="row1" width="22%"><b class="genmed">{L_MESSAGE}:</b></td> <td class="row2" valign="top" align="left" width="78%"><textarea name="message" rows="7" cols="76" tabindex="3" style="width: 98%;"></textarea> </td>
Заменить найденное на Код: Выделить всё <td class="row1" valign="top" width="22%"> <!-- IF S_SMILIES_ALLOWED --> <table width="100%" cellspacing="5" cellpadding="0" border="0" align="center"> <tr> <td class="gensmall" align="center"><b>{L_SMILIES}</b></td> </tr> <tr> <td align="center"> <!-- BEGIN smiley --> <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a> <!-- END smiley --> </td> </tr>
<!-- IF S_SHOW_SMILEY_LINK --> <tr> <td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td> </tr> <!-- ENDIF -->
</table> <!-- ENDIF --> </td> <td class="row2" valign="top" align="left" width="78%"> <script type="text/javascript"> // <!-- var form_name = 'postform'; var text_name = 'message'; // --> </script>
<table width="100%" cellspacing="0" cellpadding="0" border="0"> <!-- INCLUDE posting_buttons.html --> <tr> <td valign="top" style="width: 100%;"><textarea name="message" rows="12" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 98%;">{MESSAGE}</textarea></td> <!-- IF S_BBCODE_ALLOWED -->
<td width="80" align="center" valign="top"> <script type="text/javascript"> // <!-- colorPalette('v', 7, 6) // --> </script> </td> <!-- ENDIF --> </tr> </table> </td>Открыть styles/subsilver2/imageset/ru/imageset.cfgНайти Вставить после найденного Код: Выделить всё img_icon_post_quickquote = icon_post_quickquote.gif
Вроде бы всё. Настройки мода находятся - Админка - Общие - Функции форума. Почистите кэш и наслаждайтесь новым видом быстрого ответа.

как прописать тэги настройки и в быстром ответе
Некоторые пользователи хотели бы видеть тэги настройки и в быстром ответе. В результате изменений добавляются статус bbcode, поля Сообщать о получении ответа и Не преобразовывать адреса URL в ссылки, кнопка функции предпросмотра. Делается это так: Открыть viewtopic.phpНайти Код: Выделить всё $bbcode_status = ($config['allow_quick_reply_bbcode'] && $config['allow_bbcode'] && $auth->acl_get('f_bbcode', $forum_id)) ? true : false; if($bbcode_status) { $user->add_lang('posting'); display_custom_bbcodes(); } $smilies_status = ($config['allow_quick_reply_smilies'] && $config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false; if ($smilies_status) { generate_smilies('inline', $forum_id); }Вставить после найденного Код: Выделить всё // HTML, BBCode, Smilies, Images and Flash status $bbcode_status = ($config['allow_bbcode'] && $auth->acl_get('f_bbcode', $forum_id)) ? true : false; $smilies_status = ($config['allow_smilies'] && $auth->acl_get('f_smilies', $forum_id)) ? true : false; $img_status = ($bbcode_status && $auth->acl_get('f_img', $forum_id)) ? true : false; $url_status = ($config['allow_post_links']) ? true : false; $flash_status = ($bbcode_status && $auth->acl_get('f_flash', $forum_id) && $config['allow_post_flash']) ? true : false; $quote_status = true; !$post_data['notify_set']) ? $user->data['user_notify'] : $post_data['notify_set']; $notify_checked = (isset($notify)) ? $notify : (($mode == 'post') ? $user->data['user_notify'] : $notify_set);Найти Код: Выделить всё $template->assign_vars(array( 'S_QUICK_REPLY' => true, 'S_SMILIES_ALLOWED' => $smilies_status, 'S_BBCODE_ALLOWED' => $bbcode_status, 'S_BBCODE_IMG' => ($bbcode_status && $auth->acl_get('f_img', $forum_id)) ? true : false, 'S_LINKS_ALLOWED' => ($config['allow_post_links']) ? true : false, 'S_BBCODE_FLASH' => ($bbcode_status && $auth->acl_get('f_flash', $forum_id) && $config['allow_post_flash']) ? true : false, 'S_BBCODE_QUOTE' => true,Вставить после найденного Код: Выделить всё 'BBCODE_STATUS' => ($bbcode_status) ? sprintf($user->lang['BBCODE_IS_ON'], '<a href="' . append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode') . '">', '</a>') : sprintf($user->lang['BBCODE_IS_OFF'], '<a href="' . append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode') . '">', '</a>'), 'IMG_STATUS' => ($img_status) ? $user->lang['IMAGES_ARE_ON'] : $user->lang['IMAGES_ARE_OFF'], 'FLASH_STATUS' => ($flash_status) ? $user->lang['FLASH_IS_ON'] : $user->lang['FLASH_IS_OFF'], 'SMILIES_STATUS' => ($smilies_status) ? $user->lang['SMILIES_ARE_ON'] : $user->lang['SMILIES_ARE_OFF'], 'URL_STATUS' => ($bbcode_status && $url_status) ? $user->lang['URL_IS_ON'] : $user->lang['URL_IS_OFF'], 'S_NOTIFY_ALLOWED' => (!$user->data['is_registered'] || ($mode == 'edit' && $user->data['user_id'] != $post_data['poster_id']) || !$config['allow_topic_notify'] || !$config['email_enable']) ? false : true, 'S_NOTIFY_CHECKED' => ($notify_checked) ? ' checked="checked"' : '', Для стиля prosilver: Открыть /styles/prosilver/template/quickreply_editor.htmlНайти Код: Выделить всё <!-- INCLUDE posting_buttons.html --> <div id="message-box-ns"> <textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea> </div> </fieldset> <fieldset class="submit-buttons"> {S_FORM_TOKEN} {QR_HIDDEN_FIELDS}Вставить после найденного Код: Выделить всё <span style="float:left;"> <!-- IF S_LINKS_ALLOWED --> <label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label><br> <!-- ENDIF --> <!-- IF S_NOTIFY_ALLOWED --> <label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label> <!-- ENDIF --> </span> <input class="button2" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" />Найти Код: Выделить всё <!-- IF S_SMILIES_ALLOWED and .smiley --> <strong>{L_SMILIES}</strong><br /> <!-- BEGIN smiley --> <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a><!-- END smiley --> <!-- ENDIF --> <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a> <!-- ENDIF -->Вставить после найденного Код: Выделить всё <!-- IF BBCODE_STATUS --> <!-- IF .smiley --><hr /><!-- ENDIF --> {BBCODE_STATUS}<br /> <!-- IF S_BBCODE_ALLOWED --> {IMG_STATUS}<br /> {FLASH_STATUS}<br /> {URL_STATUS}<br /> <!-- ENDIF --> {SMILIES_STATUS} <!-- ENDIF -->Найти Код: Выделить всё <div id="message-box"> <textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea> </div> </fieldset> <fieldset class="submit-buttons"> {S_FORM_TOKEN} {QR_HIDDEN_FIELDS}Вставить после найденного Код: Выделить всё <span style="float:left;"> <!-- IF S_LINKS_ALLOWED --> <label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label><br> <!-- ENDIF --> <!-- IF S_NOTIFY_ALLOWED --> <label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label> <!-- ENDIF --> </span> <input class="button2" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" /> Для стиля subsilver2: Открыть /styles/subsilver2/template/quickreply_editor.htmlНайти Код: Выделить всё <!-- IF S_BBCODE_ALLOWED --> <td width="80" align="center" valign="top"> <script type="text/javascript"> // <!-- colorPalette('v', 7, 6) // --> </script> </td> <!-- ENDIF --> </tr> </table>Вставить после найденного Код: Выделить всё <tr> <td class="row1" valign="top"><b class="genmed">{L_OPTIONS}:</b><br /> <table cellspacing="2" cellpadding="0" border="0"> <tr> <td class="gensmall">{BBCODE_STATUS}</td> </tr> <!-- IF S_BBCODE_ALLOWED --> <tr> <td class="gensmall">{IMG_STATUS}</td> </tr> <tr> <td class="gensmall">{FLASH_STATUS}</td> </tr> <tr> <td class="gensmall">{URL_STATUS}</td> </tr> <!-- ENDIF --> <tr> <td class="gensmall">{SMILIES_STATUS}</td> </tr> </table> </td> <td class="row2"> <table cellpadding="1"> <!-- IF S_BBCODE_ALLOWED --> <tr> <td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td> <td class="gen">{L_DISABLE_BBCODE}</td> </tr> <!-- ENDIF --> <!-- IF S_SMILIES_ALLOWED --> <tr> <td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td> <td class="gen">{L_DISABLE_SMILIES}</td> </tr> <!-- ENDIF --> <!-- IF S_LINKS_ALLOWED --> <tr> <td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td> <td class="gen">{L_DISABLE_MAGIC_URL}</td> </tr> <!-- ENDIF --> <!-- IF S_NOTIFY_ALLOWED --> <tr> <td><input type="checkbox" class="radio" name="notify"{S_NOTIFY_CHECKED} /></td> <td class="gen_small">{L_NOTIFY_REPLY}</td> </tr> <!-- ENDIF --> </table> </td> </tr>
Найти Код: Выделить всё <input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" /> <input class="btnlite" type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" />Вставить перед найденным Код: Выделить всё <input class="btnlite" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" />Почистить кэш. Всё.
|
|