Jelix 1.6.40

function.mailto.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

link

{mailto} (Smarty online manual)

link
http://jelix.org/
author

Monte Ohrt

contributor

Jason Sweat (added cc, bcc and subject functionality), Julien Issler

copyright

2011 Julien Issler

Table of Contents

jtpl_function_html_mailto()  : mixed
Examples: <pre> {mailto array("address"=>"me@domain.com")} {mailto array("address"=>"me@domain.com","encode"=>"javascript")} {mailto array("address"=>"me@domain.com","encode"=>"hex")} {mailto array("address"=>"me@domain.com","subject"=>"Hello to you!")} {mailto array("address"=>"me@domain.com","cc"=>"you@domain.com,they@domain.com")} {mailto array("address"=>"me@domain.com","extra"=>'class="mailto"')} </pre>

Functions

jtpl_function_html_mailto()

Examples: <pre> {mailto array("address"=>"me@domain.com")} {mailto array("address"=>"me@domain.com","encode"=>"javascript")} {mailto array("address"=>"me@domain.com","encode"=>"hex")} {mailto array("address"=>"me@domain.com","subject"=>"Hello to you!")} {mailto array("address"=>"me@domain.com","cc"=>"you@domain.com,they@domain.com")} {mailto array("address"=>"me@domain.com","extra"=>'class="mailto"')} </pre>

jtpl_function_html_mailto(mixed $tpl, mixed $params) : mixed
Parameters
$tpl : mixed
$params : mixed
Tags
params

jTpl $tpl

params

array $params

Return values
mixed

Search results