Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -c -r -b ff14/includes/functions_content.php phpbb_stock_ff14/includes/functions_content.php
- *** ff14/includes/functions_content.php 2011-02-16 08:50:37.000000000 -0500
- --- phpbb_stock_ff14/includes/functions_content.php 2009-11-16 12:10:34.000000000 -0500
- ***************
- *** 715,779 ****
- return $text;
- }
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - function translate_text($text)
- - {
- - global $user;
- -
- - // Nothing to do?
- - if ($text === '')
- - {
- - return '';
- - }
- - //echo "in translate, comparing against ".$text."\n";
- - if ( preg_match_all('|\[translate=([a-z]{2})(.*)\](.*)\[\/translate(.*)\]|',$text,$matches) )
- - {
- - //echo "in match_all, matched on $text\n";
- - $final = $text;
- - $results = Array();
- - //echo "<pre>".print_r($matches)."</pre> TEST:".$matches[1][0];
- - if ( count($matches) > 0 )
- - {
- - //echo "in first if\n";
- - global $db;
- - $i=0;
- - while( $i < count($matches[0]))
- - {
- - $newstr = htmlspecialchars_decode($matches[3][$i],ENT_QUOTES);
- - $sql = 'SELECT * FROM phpbb_auto_trans WHERE '.$matches[1][$i].'_txt = "'.$newstr.'"';
- - //echo "in while, sql: ".$sql."\n";
- - $result = $db->sql_query($sql);
- - if ($row = $db->sql_fetchrow($result))
- - {
- - $results[] = $row;
- - }
- - $db->sql_freeresult($result);
- - if ( count($results) > 0 && $results[$i] )
- - {
- - //echo "\n[------------------------\n|REPLACING '".$matches[3][$i]."' in ".$final."|\n";
- - $str = '<span style="background-color: #000000"><span style="color: #00FF00">{</span><span style="color: #FFFFFF">'.$results[$i][$user->data['user_lang'].'_txt'].'</span><span style="color: #FF0000">}</span></span>';
- - //echo "\n|REPLACED TO ".$i."==".preg_replace('/\[translate=([a-z]{2})(.*)\]'.$matches[3][$i].'\[\/translate(.*)\]/',$str,$final,-1,$ct)."|\n";
- - $final = preg_replace('/\[translate=([a-z]{2})(.*?)\]'.preg_quote($matches[3][$i]).'\[\/translate(.*?)\]/',$str,$final,-1,$ct);
- - //echo "\n|FINAL is now ".$final."|\n";
- - //$final = preg_replace('/\[translate=([a-z]{2})(.*)\]'.$matches[3][$i].'\[\/translate(.*)\]/',$matches[3][$i],$final);
- - //echo "\n(Replaced ".$ct." phrases)\n------------------------]\n";
- - }
- - else //invalid phrase
- - {
- - //echo "INVALID PHRASE, replacing with normal text\n";
- - $str = $newstr;
- - $final = preg_replace('/\[translate=([a-z]{2})(.*)\]'.preg_quote($matches[3][$i]).'\[\/translate(.*)\]/',$str,$final,-1,$ct);
- -
- - }
- - $i++;
- - } //end while
- - } //end count matches
- - return $final;
- - } //end if preg_match_all
- - return $text;
- - } //end fn
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- /**
- * custom version of nl2br which takes custom BBCodes into account
- */
- --- 715,720 ----
- diff -c -r -b ff14/includes/functions_display.php phpbb_stock_ff14/includes/functions_display.php
- *** ff14/includes/functions_display.php 2011-02-16 08:52:20.000000000 -0500
- --- phpbb_stock_ff14/includes/functions_display.php 2009-11-16 12:10:34.000000000 -0500
- ***************
- *** 880,900 ****
- // Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
- $num_predefined_bbcodes = 22;
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $sql = "SELECT ".$user->data['user_lang']."_txt FROM phpbb_auto_trans ORDER BY ".$user->data['user_lang']."_txt DESC";
- - $result = $db->sql_query($sql);
- - $i = 0;
- - $translist = "";
- - while ($row = $db->sql_fetchrow($result))
- - {
- - $translist .= $row[$user->data['user_lang'].'_txt'].',';
- - }
- - $template->assign_vars(array(
- - 'TRANS_LIST' => $translist
- - ));
- - $db->sql_freeresult($result);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- $sql = 'SELECT bbcode_id, bbcode_tag, bbcode_helpline
- FROM ' . BBCODES_TABLE . '
- WHERE display_on_posting = 1
- --- 880,885 ----
- diff -c -r -b ff14/memberlist.php phpbb_stock_ff14/memberlist.php
- *** ff14/memberlist.php 2011-02-16 08:54:21.000000000 -0500
- --- phpbb_stock_ff14/memberlist.php 2009-11-16 12:10:33.000000000 -0500
- ***************
- *** 559,568 ****
- 'POSTS_PCT' => sprintf($user->lang['POST_PCT'], $percentage),
- 'OCCUPATION' => (!empty($member['user_occ'])) ? censor_text($member['user_occ']) : '',
- -
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - 'USER_LANG' => $member['user_lang'],
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- 'INTERESTS' => (!empty($member['user_interests'])) ? censor_text($member['user_interests']) : '',
- 'SIGNATURE' => $member['user_sig'],
- 'POSTS_IN_QUEUE'=> $member['posts_in_queue'],
- --- 559,564 ----
- diff -c -r -b ff14/posting.php phpbb_stock_ff14/posting.php
- *** ff14/posting.php 2011-02-16 09:02:04.000000000 -0500
- --- phpbb_stock_ff14/posting.php 2009-11-16 12:10:33.000000000 -0500
- ***************
- *** 1139,1147 ****
- $post_data['post_time'] = ($mode == 'edit') ? $post_data['post_time'] : $current_time;
- $preview_message = $message_parser->format_display($post_data['enable_bbcode'], $post_data['enable_urls'], $post_data['enable_smilies'], false);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $preview_message = translate_text($preview_message);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- $preview_signature = ($mode == 'edit') ? $post_data['user_sig'] : $user->data['user_sig'];
- $preview_signature_uid = ($mode == 'edit') ? $post_data['user_sig_bbcode_uid'] : $user->data['user_sig_bbcode_uid'];
- --- 1139,1144 ----
- ***************
- *** 1166,1175 ****
- $preview_subject = censor_text($post_data['post_subject']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $preview_subject = translate_text($post_data['post_subject']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- // Poll Preview
- if (!$poll_delete && ($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_post_id']/* && (!$post_data['poll_last_vote'] || $auth->acl_get('m_edit', $forum_id))*/))
- && $auth->acl_get('f_poll', $forum_id))
- --- 1163,1168 ----
- ***************
- *** 1249,1268 ****
- {
- if ($config['allow_bbcode'])
- {
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - START
- ! //$message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n";
- ! $message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . translate_text(censor_text(trim($message_parser->message))) . "[/quote]\n";
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - END
- }
- else
- {
- $offset = 0;
- $quote_string = "> ";
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - START
- ! //$message = censor_text(trim($message_parser->message));
- ! $message = translate_text(censor_text(trim($message_parser->message)));
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - END
- !
- // see if we are nesting. It's easily tricked but should work for one level of nesting
- if (strpos($message, ">") !== false)
- {
- --- 1242,1254 ----
- {
- if ($config['allow_bbcode'])
- {
- ! $message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n";
- }
- else
- {
- $offset = 0;
- $quote_string = "> ";
- ! $message = censor_text(trim($message_parser->message));
- // see if we are nesting. It's easily tricked but should work for one level of nesting
- if (strpos($message, ">") !== false)
- {
- ***************
- *** 1406,1415 ****
- 'FORUM_NAME' => $post_data['forum_name'],
- 'FORUM_DESC' => ($post_data['forum_desc']) ? generate_text_for_display($post_data['forum_desc'], $post_data['forum_desc_uid'], $post_data['forum_desc_bitfield'], $post_data['forum_desc_options']) : '',
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - START
- ! //TOPIC_TITLE' => censor_text($post_data['topic_title']),
- ! 'TOPIC_TITLE' => translate_text(censor_text($post_data['topic_title'])),
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - END
- 'MODERATORS' => (sizeof($moderators)) ? implode(', ', $moderators[$forum_id]) : '',
- 'USERNAME' => ((!$preview && $mode != 'quote') || $preview) ? $post_data['username'] : '',
- 'SUBJECT' => $post_data['post_subject'],
- --- 1392,1398 ----
- 'FORUM_NAME' => $post_data['forum_name'],
- 'FORUM_DESC' => ($post_data['forum_desc']) ? generate_text_for_display($post_data['forum_desc'], $post_data['forum_desc_uid'], $post_data['forum_desc_bitfield'], $post_data['forum_desc_options']) : '',
- ! 'TOPIC_TITLE' => censor_text($post_data['topic_title']),
- 'MODERATORS' => (sizeof($moderators)) ? implode(', ', $moderators[$forum_id]) : '',
- 'USERNAME' => ((!$preview && $mode != 'quote') || $preview) ? $post_data['username'] : '',
- 'SUBJECT' => $post_data['post_subject'],
- diff -c -r -b ff14/styles/prosilver/template/memberlist_view.html phpbb_stock_ff14/styles/prosilver/template/memberlist_view.html
- *** ff14/styles/prosilver/template/memberlist_view.html 2011-02-16 09:06:53.000000000 -0500
- --- phpbb_stock_ff14/styles/prosilver/template/memberlist_view.html 2009-11-16 12:10:34.000000000 -0500
- ***************
- *** 26,34 ****
- <!-- IF RANK_TITLE --><dt>{L_RANK}:</dt> <dd>{RANK_TITLE}</dd><!-- ENDIF -->
- <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->
- <!-- ENDIF -->
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - START -->
- - <dt>Language:</td> <dd>{USER_LANG}</dd>
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - END -->
- <!-- IF S_USER_INACTIVE --><dt>{L_USER_IS_INACTIVE}:</dt> <dd>{USER_INACTIVE_REASON}</dd><!-- ENDIF -->
- <!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->
- <!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
- --- 26,31 ----
- diff -c -r -b ff14/styles/prosilver/template/posting_buttons.html phpbb_stock_ff14/styles/prosilver/template/posting_buttons.html
- *** ff14/styles/prosilver/template/posting_buttons.html 2011-02-16 09:13:00.000000000 -0500
- --- phpbb_stock_ff14/styles/prosilver/template/posting_buttons.html 2009-11-16 12:10:33.000000000 -0500
- ***************
- *** 1,66 ****
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - START -->
- -
- - <script type="text/javascript" src="styles/prosilver/template/jquery.js"></script>
- - <script type="text/javascript" src="styles/prosilver/template/jquery.autocomplete.js"></script>
- <script type="text/javascript">
- // <![CDATA[
- -
- - var list = "{TRANS_LIST}";
- -
- - function translatestyle(text)
- - {
- - var val = document.getElementById('query').value;
- - var lang = '{S_USER_LANG}'.substring(0,2);
- - var arr = list.match(val);
- - if ( arr == null )
- - {
- - alert('That is not a valid translation term.');
- - }
- - else
- - {
- - insert_text('[translate='+lang+']'+val+'[/translate]');
- - document.forms[form_name].elements[text_name].focus();
- - }
- - }
- -
- -
- - var a2;
- -
- - jQuery(function() {
- -
- - var onAutocompleteSelect = function(value, data) {
- - $('#selection').html('<img src="\/global\/flags\/small\/' + data + '.png" alt="" \/> ' + value);
- - alert(data);
- - }
- -
- - var options = {
- - serviceUrl: '/projects/autocomplete/service/autocomplete.ashx',
- - matchContains: true,
- - width: 300,
- - delimiter: /(,|;)\s*/,
- - onSelect: onAutocompleteSelect,
- - deferRequestBy: 0, //miliseconds
- - };
- -
- - a2 = $('#query').autocomplete({
- - matchContains: true,
- - width: 300,
- - delimiter: /(,|;)\s*/,
- - lookup: list.split(',')
- - });
- -
- - $('#navigation a').each(function() {
- - $(this).click(function(e) {
- - var element = $(this).attr('href');
- - $('html').animate({ scrollTop: $(element).offset().top }, 300, null, function() { document.location = element; });
- - e.preventDefault();
- - });
- - });
- -
- - });
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - END -->
- -
- var form_name = 'postform';
- var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
- var load_draft = false;
- --- 1,6 ----
- ***************
- *** 101,135 ****
- <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
- <!-- IF S_BBCODE_ALLOWED -->
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - START -->
- - <div id="translate_box" style="display: none;">
- - <dl style="clear: left;">
- - <dt><label>Translate:</label></dt>
- - <dd>
- - <script type="text/javascript">
- - // <![CDATA[
- - function toggle_translate_box()
- - {
- - dE('translate_box');
- - e = document.getElementById('translate_box');
- - if (e.style.display == 'block')
- - {
- - document.getElementById('translate_button').value = 'Hide translate box';
- - }
- - else
- - {
- - document.getElementById('translate_button').value = 'Translate';
- - }
- - }
- - // ]]>
- - </script>
- -
- - <input type="text" name="q" id="query" class="textbox" /> <input name="TransPost" type="button" value="OK" onClick="translatestyle('blah');" />
- - </dd>
- - </dl>
- - </div>
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - END -->
- -
- <div id="colour_palette" style="display: none;">
- <dl style="clear: left;">
- <dt><label>{L_FONT_COLOR}:</label></dt>
- --- 41,46 ----
- ***************
- *** 190,198 ****
- <!-- ENDIF -->
- </select>
- <input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - START -->
- - <input type="button" class="button2" name="translate_button" id="translate_button" value="Translate" onclick="toggle_translate_box();" title="Auto Translate: [translate=en]All right![/translate]">
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - END -->
- <!-- BEGIN custom_tags -->
- <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
- <!-- END custom_tags -->
- --- 101,106 ----
- diff -c -r -b ff14/styles/prosilver/template/viewtopic_body.html phpbb_stock_ff14/styles/prosilver/template/viewtopic_body.html
- *** ff14/styles/prosilver/template/viewtopic_body.html 2011-02-16 09:17:55.000000000 -0500
- --- phpbb_stock_ff14/styles/prosilver/template/viewtopic_body.html 2009-11-16 12:10:33.000000000 -0500
- ***************
- *** 183,191 ****
- <dd> </dd>
- <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - START -->
- - <dd><strong>Language:</strong> {postrow.POSTER_LANG}</dd>
- - <!-- MOD : Auto-translate Vana'diel (v0.1.0) - END -->
- <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
- <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
- --- 183,188 ----
- diff -c -r -b ff14/styles/prosilver/theme/forms.css phpbb_stock_ff14/styles/prosilver/theme/forms.css
- *** ff14/styles/prosilver/theme/forms.css 2011-02-16 09:23:38.000000000 -0500
- --- phpbb_stock_ff14/styles/prosilver/theme/forms.css 2009-11-16 12:10:33.000000000 -0500
- ***************
- *** 382,392 ****
- .narrow { width: 25%;}
- .tiny { width: 10%;}
- - /* MOD : Auto-translate Vana'diel (v0.1.0) - START */
- - .autocomplete-w1 { background:url(img/shadow.png) no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
- - .autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; }
- - .autocomplete .selected { background:#F0F0F0; }
- - .autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
- - .autocomplete strong { font-weight:normal; color:#3399FF; }
- - /* MOD : Auto-translate Vana'diel (v0.1.0) - END */
- -
- --- 382,384 ----
- diff -c -r -b ff14/viewforum.php phpbb_stock_ff14/viewforum.php
- *** ff14/viewforum.php 2011-02-16 09:24:39.000000000 -0500
- --- phpbb_stock_ff14/viewforum.php 2009-11-16 12:10:35.000000000 -0500
- ***************
- *** 639,648 ****
- 'PAGINATION' => topic_generate_pagination($replies, $view_topic_url),
- 'REPLIES' => $replies,
- 'VIEWS' => $row['topic_views'],
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - START
- ! //'TOPIC_TITLE' => censor_text($row['topic_title']),
- ! 'TOPIC_TITLE' => translate_text($row['topic_title']),
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - END
- 'TOPIC_TYPE' => $topic_type,
- 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
- --- 639,645 ----
- 'PAGINATION' => topic_generate_pagination($replies, $view_topic_url),
- 'REPLIES' => $replies,
- 'VIEWS' => $row['topic_views'],
- ! 'TOPIC_TITLE' => censor_text($row['topic_title']),
- 'TOPIC_TYPE' => $topic_type,
- 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
- diff -c -r -b ff14/viewtopic.php phpbb_stock_ff14/viewtopic.php
- *** ff14/viewtopic.php 2011-02-16 09:29:08.000000000 -0500
- --- phpbb_stock_ff14/viewtopic.php 2009-11-16 12:10:34.000000000 -0500
- ***************
- *** 578,589 ****
- // Replace naughty words in title
- $topic_data['topic_title'] = censor_text($topic_data['topic_title']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $topic_notranslate = $topic_data['topic_title'];
- - //This also replaces/breaks Quick Reply subject textbox?
- - $topic_data['topic_title'] = translate_text($topic_data['topic_title']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- // Send vars to template
- $template->assign_vars(array(
- 'FORUM_ID' => $forum_id,
- --- 578,583 ----
- ***************
- *** 1112,1120 ****
- 'from' => (!empty($row['user_from'])) ? $row['user_from'] : '',
- 'sig' => $user_sig,
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - 'user_lang' => $row['user_lang'],
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- 'sig_bbcode_uid' => (!empty($row['user_sig_bbcode_uid'])) ? $row['user_sig_bbcode_uid'] : '',
- 'sig_bbcode_bitfield' => (!empty($row['user_sig_bbcode_bitfield'])) ? $row['user_sig_bbcode_bitfield'] : '',
- --- 1106,1111 ----
- ***************
- *** 1355,1365 ****
- // Parse the message and subject
- $message = censor_text($row['post_text']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $message = translate_text($row['post_text']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- -
- // Second parse bbcode here
- if ($row['bbcode_bitfield'])
- {
- --- 1346,1351 ----
- ***************
- *** 1377,1386 ****
- // Replace naughty words such as farty pants
- $row['post_subject'] = censor_text($row['post_subject']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - $row['post_subject'] = translate_text($row['post_subject']);
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- -
- // Highlight active words (primarily for search)
- if ($highlight_match)
- {
- --- 1363,1368 ----
- ***************
- *** 1510,1518 ****
- 'RANK_IMG' => $user_cache[$poster_id]['rank_image'],
- 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'],
- 'POSTER_JOINED' => $user_cache[$poster_id]['joined'],
- - // MOD : Auto-translate Vana'diel (v0.1.0) - START
- - 'POSTER_LANG' => $user_cache[$poster_id]['user_lang'],
- - // MOD : Auto-translate Vana'diel (v0.1.0) - END
- 'POSTER_POSTS' => $user_cache[$poster_id]['posts'],
- 'POSTER_FROM' => $user_cache[$poster_id]['from'],
- 'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'],
- --- 1492,1497 ----
- ***************
- *** 1732,1745 ****
- 'S_QUICK_REPLY' => true,
- 'U_QR_ACTION' => append_sid("{$phpbb_root_path}posting.$phpEx", "mode=reply&f=$forum_id&t=$topic_id"),
- 'QR_HIDDEN_FIELDS' => build_hidden_fields($qr_hidden_fields),
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - START
- ! //'SUBJECT' => 'Re: ' . censor_text($topic_data['topic_title']),
- ! 'SUBJECT' => 'Re: ' . $topic_notranslate,
- ! // MOD : Auto-translate Vana'diel (v0.1.0) - END
- ));
- }
- }
- -
- // now I have the urge to wash my hands :(
- --- 1711,1720 ----
- 'S_QUICK_REPLY' => true,
- 'U_QR_ACTION' => append_sid("{$phpbb_root_path}posting.$phpEx", "mode=reply&f=$forum_id&t=$topic_id"),
- 'QR_HIDDEN_FIELDS' => build_hidden_fields($qr_hidden_fields),
- ! 'SUBJECT' => 'Re: ' . censor_text($topic_data['topic_title']),
- ));
- }
- }
- // now I have the urge to wash my hands :(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement