From bad20c44645e5d039f14094444815930742ce10d Mon Sep 17 00:00:00 2001 From: nanosimbiot Date: Wed, 8 Feb 2012 16:04:11 +0000 Subject: [PATCH] r362 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@362 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/config.php | 4 ++-- upload/includes/posting_tpl.php | 2 +- upload/includes/template.php | 2 +- upload/triggers/cron_allowed | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/upload/config.php b/upload/config.php index abeeada28..4d98925ac 100644 --- a/upload/config.php +++ b/upload/config.php @@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.4 (beta)'; -$bb_cfg['tp_release_state'] = 'R361'; +$bb_cfg['tp_release_state'] = 'R362'; $bb_cfg['tp_release_date'] = '08-02-2012'; // Database @@ -411,7 +411,7 @@ $bb_cfg['show_poster_joined'] = true; $bb_cfg['show_poster_posts'] = true; $bb_cfg['show_poster_from'] = true; $bb_cfg['show_bot_nick'] = false; -$bb_cfg['text_buttons'] = true; // replace EDIT, QUOTE... images with text links +$bb_cfg['text_buttons'] = false; // replace EDIT, QUOTE... images with text links $bb_cfg['parse_ed2k_links'] = true; // make ed2k links clickable $bb_cfg['post_date_format'] = 'd-M-Y H:i'; $bb_cfg['ext_link_new_win'] = true; // open external links in new window diff --git a/upload/includes/posting_tpl.php b/upload/includes/posting_tpl.php index bed74b25a..a6263fe75 100644 --- a/upload/includes/posting_tpl.php +++ b/upload/includes/posting_tpl.php @@ -20,7 +20,7 @@ if (!$f_data['forum_tpl_id'] OR !$tpl_data = DB()->fetch_row($sql)) { if (!$edit_tpl_mode) { - redirect(POSTING_URL. "?mode=newtopic&f=$forum_id"); + redirect("posting.php?mode=newtopic&f=$forum_id"); } } diff --git a/upload/includes/template.php b/upload/includes/template.php index 014ebf997..10f8c9ba0 100644 --- a/upload/includes/template.php +++ b/upload/includes/template.php @@ -287,7 +287,7 @@ class Template { { $this->cur_tpl = $filename; - global $lang, $bb_cfg; + global $lang, $bb_cfg, $tr_cfg; $L =& $lang; $V =& $this->vars; diff --git a/upload/triggers/cron_allowed b/upload/triggers/cron_allowed index e69de29bb..330904e3b 100644 --- a/upload/triggers/cron_allowed +++ b/upload/triggers/cron_allowed @@ -0,0 +1 @@ +TNbN231svKOpD1UV1PLm \ No newline at end of file