aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Merge branch 'develop-ascraeus' into devel[ticket/11491] Only copy files fConflicts: phpBB/styles/subsilver2/template/memberlist_email.htmPHPBB3-11491
Diffstat (limited to 'tests')
authorJoas Schilling <nickvergessen@gmx.de>2013-04-12 02:03:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-12 02:03:58 +0200
commit3436e3f1020cce0a7d78edb7517335dfa6645024 (patch)
treeac1babab772191e208a7014b11946b1506f64070 /tests
parent0b64db275bae14649e09031483b03ccc1943310b (diff)
downloadforums-3436e3f1020cce0a7d78edb7517335dfa6645024.tar
forums-3436e3f1020cce0a7d78edb7517335dfa6645024.tar.gz
forums-3436e3f1020cce0a7d78edb7517335dfa6645024.tar.bz2
forums-3436e3f1020cce0a7d78edb7517335dfa6645024.tar.xz
forums-3436e3f1020cce0a7d78edb7517335dfa6645024.zip
-rw-r--r--tests/functional/extension_acp_test.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php
index e829e4582e..cb908e0f98 100644
--- a/tests/functional/extension_acp_test.php
+++ b/tests/functional/extension_acp_test.php
@@ -27,11 +27,16 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
self::$helper = new phpbb_test_case_helpers(self);
- // First, move any extensions setup on the board to a temp directory
- self::$copied_files = self::$helper->copy_dir($phpbb_root_path . 'ext/', $phpbb_root_path . 'store/temp_ext/');
+ self::$copied_files = array();
- // Then empty the ext/ directory on the board (for accurate test cases)
- self::$helper->empty_dir($phpbb_root_path . 'ext/');
+ if (file_exists($phpbb_root_path . 'ext/'))
+ {
+ // First, move any extensions setup on the board to a temp directory
+ self::$copied_files = self::$helper->copy_dir($phpbb_root_path . 'ext/', $phpbb_root_path . 'store/temp_ext/');
+
+ // Then empty the ext/ directory on the board (for accurate test cases)
+ self::$helper->empty_dir($phpbb_root_path . 'ext/');
+ }
// Copy our ext/ files from the test case to the board
self::$copied_files = array_merge(self::$copied_files, self::$helper->copy_dir(dirname(__FILE__) . '/../extension/ext/', $phpbb_root_path . 'ext/'));
div>
'TOPIC_NAME' => htmlspecialchars_decode($this->topic_row['topic_title']),
'U_TOPIC' => generate_board_url() . '/viewtopic.' . $this->phpEx . '?f=' . $this->topic_row['forum_id'] . '&t=' . $this->topic_id,
));
-
+ $this->message->set_body($this->body);
$this->message->add_recipient(
$this->recipient_name,
$this->recipient_address,
diff --git a/phpBB/styles/prosilver/template/memberlist_email.html b/phpBB/styles/prosilver/template/memberlist_email.html
index e848844093..1bfd83e3a1 100644
--- a/phpBB/styles/prosilver/template/memberlist_email.html
+++ b/phpBB/styles/prosilver/template/memberlist_email.html
@@ -80,7 +80,7 @@
<!-- IF S_REGISTERED_USER -->
<dl>
<dt>&nbsp;</dt>
- <dd><label for="cc_email"><input type="checkbox" name="cc_email" id="cc_email" value="1" checked="checked" tabindex="5" /> {L_CC_EMAIL}</label></dd>
+ <dd><label for="cc_sender"><input type="checkbox" name="cc_sender" id="cc_sender" value="1" checked="checked" tabindex="5" /> {L_CC_SENDER}</label></dd>
</dl>
<!-- ENDIF -->
</fieldset>