Skip to content

Commit 72230ee

Browse files
committed
Repositioning of Send me a copy
1 parent 9a2fe6e commit 72230ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tmpl/default.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
<div class="jdscf-row">
4242
<?php
4343
ModJDSimpleContactFormHelper::renderForm($params, $module);
44-
44+
if($single_cc_enable) {
45+
$singleCC = new JLayoutFile('fields.singlecc', JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts');
46+
echo $singleCC->render(['params' => $params]);
47+
}
4548
if ($captcha) {
4649
$captchaType = $params->get('captchaPlugins') == "" ? JFactory::getConfig()->get('captcha') : $params->get('captchaPlugins');
4750
JPluginHelper::importPlugin('captcha', $captchaType);
@@ -99,13 +102,6 @@
99102
}
100103
}
101104
?>
102-
103-
<?php
104-
if($single_cc_enable) {
105-
$singleCC = new JLayoutFile('fields.singlecc', JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts');
106-
echo $singleCC->render(['params' => $params]);
107-
}
108-
?>
109105

110106
<?php
111107
$submit = new JLayoutFile('fields.submit', JPATH_SITE . '/modules/mod_jdsimplecontactform/layouts');

0 commit comments

Comments
 (0)