Skip to content

Commit 17e9037

Browse files
committed
Removed Source URL Feature
1 parent 92621ef commit 17e9037

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

helper.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,6 @@ public static function submitForm($ajax = false) {
213213
);
214214
}
215215

216-
// Fetches Source URL of Submission Page
217-
if ( $params->get('source_url' ) ) {
218-
$link = urldecode( $jinput->get('returnurl', '', 'RAW') );
219-
$contents[] = array(
220-
"value" => "<a href='$link'>$link</a>",
221-
"label" => "Source URL",
222-
"name" => "sourceURL"
223-
);
224-
}
225-
226216
if ($params->get('email_template', '') == 'custom') {
227217
$html = $params->get('email_custom', '');
228218
if ( empty( $html ) ) {

language/en-GB/en-GB.mod_jdsimplecontactform.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ MOD_JDSCF_CSS_DESC=""
9494
MOD_JDSCF_IPADDR_LBL="Include IP Address"
9595
MOD_JDSCF_IPADDR_DESC="Collects IP address of the user and include it in the email received by the admin."
9696

97-
MOD_JDSCF_SRC_URL_LBL="Include Source URL"
98-
MOD_JDSCF_SRC_URL_DESC="Collects the URL of the page where the form is submitted."
99-
10097
MOD_JDSCF_REQUIRED_ERROR="%s is required."
10198
MOD_JDSCF_NUMBER_MIN_LENGTH_ERROR="%s should have %s characters or more."
10299
MOD_JDSCF_NUMBER_MAX_LENGTH_ERROR="%s should have %s characters or fewer."

0 commit comments

Comments
 (0)