2012-04-07, 20:06:11
I saw several things that are not complete:
in the file "mail.php", is it possible to use the language file for this line? :
DM_contactable.php file line 146:
should be (this option not displayed without this line):
from line 192 there is no option "hideOnSubmit"
I propose this addition:
and translation in the language file:
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).
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;
Code:
$ct_hideOnSubmit = isset($_POST['hideonsubmit']) ? $_POST['hideonsubmit'] : $ct_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>
Code:
"CONTACTABLE_HIDEONSUBMIT_YES" => 'Yes',
"CONTACTABLE_HIDEONSUBMIT_NO" => 'No',