libs/plugins/function.mailto.php-Dateireferenz

gehe zum Quellcode dieser Datei

Namensbereiche

namespace  Smarty

Funktionen

 smarty_function_mailto ($params, &$smarty)


Dokumentation der Funktionen

smarty_function_mailto ( params,
&$  smarty 
)

Smarty {mailto} function plugin

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.
Input:

  • address = e-mail address
  • text = (optional) text to display, default is address
  • encode = (optional) can be one of: * none : no encoding (default) * javascript : encode with javascript * javascript_charcode : encode with javascript charcode * hex : encode with hexidecimal (no javascript)
  • cc = (optional) address(es) to carbon copy
  • bcc = (optional) address(es) to blind carbon copy
  • subject = (optional) e-mail subject
  • newsgroups = (optional) newsgroup(s) to post to
  • followupto = (optional) address(es) to follow up to
  • extra = (optional) extra tags for the href link

Examples:

 {mailto address="me.com"}
 {mailto address="me.com" encode="javascript"}
 {mailto address="me.com" encode="hex"}
 {mailto address="me.com" subject="Hello to you!"}
 {mailto address="me.com" cc="you.com,they@domain.com"}
 {mailto address="me.com" extra='class="mailto"'}
 
{mailto} (Smarty online manual) 1.2 Monte Ohrt
Autor:
credits to Jason Sweat (added cc, bcc and subject functionality)
Parameter:
array 
Smarty 
Rückgabe:
string

Definiert in Zeile 50 der Datei function.mailto.php.

Benutzt $smarty.

Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen