@@ 277-281 (lines=5) @@ | ||
274 | if (isset($otherVariables["pictureURL"])) { |
|
275 | $emailLink .= "picture=".urlencode(Director::absoluteURL("/").$otherVariables["pictureURL"])."&"; |
|
276 | } |
|
277 | if (isset($otherVariables["description"])) { |
|
278 | $emailLink .= "description=".urlencode($otherVariables["description"])."&"; |
|
279 | } elseif ($message) { |
|
280 | $emailLink .= "description=".urlencode($message)."&"; |
|
281 | } |
|
282 | if (isset($otherVariables["name"])) { |
|
283 | $emailLink .= "name=".urlencode($otherVariables["name"])."&"; |
|
284 | } |
|
@@ 285-289 (lines=5) @@ | ||
282 | if (isset($otherVariables["name"])) { |
|
283 | $emailLink .= "name=".urlencode($otherVariables["name"])."&"; |
|
284 | } |
|
285 | if (isset($otherVariables["caption"])) { |
|
286 | $emailLink .= "caption=".urlencode($otherVariables["caption"])."&"; |
|
287 | } elseif (isset($otherVariables["Subject"])) { |
|
288 | $emailLink .= "caption=".urlencode($otherVariables["Subject"])."&"; |
|
289 | } |
|
290 | $from = Email::getAdminEmail(); |
|
291 | //TO |
|
292 | //SUBJECT |