GlisWeb framework

◆ $template

Valore iniziale:
= array(
'type' => 'twig',
'it-IT' => array(
'from' => array( 'GlisWeb Framework' => 'noreply@glisweb.videoarts.eu' ),
'oggetto' => 'mail di benvenuto per {{ destinatario.nome }}',
'testo' =>
'<h1>benvenuto!</h1>'.
'<p>Caro {{ destinatario.nome }} {{ destinatario.cognome }},</p>'.
'<p>benvenuto nel framework GlisWeb!</p>'.
'<p style="margin-top: 2em;">cordiali saluti dallo staff</p>',
'attach' => array( 'sitemap del sito' => DIRECTORY_BASE . 'sitemap.xml' )
),
'en-GB' => array(
'from' => array( 'GlisWeb Framework' => 'noreply@glisweb.videoarts.eu' ),
'oggetto' => 'welcome mail for {{ destinatario.nome }}',
'testo' =>
'<h1>welcome!</h1>'.
'<p>Dear {{ destinatario.nome }} {{ destinatario.cognome }},</p>'.
'<p>welcome to the GlisWeb framework!</p>'.
'<p style="margin-top: 2em;">best regards</p>',
'attach' => array( 'sitemap of the site' => DIRECTORY_BASE . 'sitemap.xml' )
)
)
const DIRECTORY_BASE
Definition: _osm.php:3

Definizione alla linea 10 del file _template01.php.