Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getsimple 3.1 Contactable Feedback/Contact Form
#35
I saw several things that are not complete:

in the file "mail.php", is it possible to use the language file for this line? :

Code:
echo('An invalid email address was entered'); //email was not valid

DM_contactable.php file line 146:
Code:
$ct_hideOnSubmit = isset($_POST['hideonsubmit']) ? $_POST['hideonsubmit'] : $ct_disclaimer;
should be (this option not displayed without this line):
Code:
$ct_hideOnSubmit = isset($_POST['hideonsubmit']) ? $_POST['hideonsubmit'] : $ct_hideOnSubmit;
from line 192 there is no option "hideOnSubmit"

I propose this addition:
Code:
<p><label for="hideOnSubmit" ><?php i18n($thisfile_contactable.'/CONTACTABLE_HIDEONSUBMIT'); ?></label><select name="hideonsubmit"><option><?php i18n($thisfile_contactable.'/CONTACTABLE_HIDEONSUBMIT_YES'); ?><option><?php i18n($thisfile_contactable.'/CONTACTABLE_HIDEONSUBMIT_NO'); ?></select></p>
and translation in the language file:
Code:
"CONTACTABLE_HIDEONSUBMIT_YES" => 'Yes',
    "CONTACTABLE_HIDEONSUBMIT_NO" => 'No',
by cons I do not know how to get this to work (I think this must be done in the mail.php file after line 22 but I do not know how).
Reply


Messages In This Thread
Getsimple 3.1 Contactable Feedback/Contact Form - by didou038 - 2012-04-07, 20:06:11



Users browsing this thread: 1 Guest(s)