File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 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 );
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 ' );
You can’t perform that action at this time.
0 commit comments