PHP Classes

File: engine/modules/core/mail/mail.qtags.inc

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/mail/mail.qtags.inc   Download  
File: engine/modules/core/mail/mail.qtags.inc
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 561 bytes
 

Contents

Class file image Download
<?php /** * Implements qtag MAILFORM. * * A mail / contact form. * * @param Environment $env * The Environment. * * @param string $target * The qtag's target. * * @param array $attributes * The qtag's attributes. * * @return string * The rendered qtag. */ function qtag_MAILFORM($env, $target, $attributes) { if (!isset($attributes['ok_message'])) { $attributes['ok_message'] = 'Your mail has been sent. Thanks!'; } $attributes['type'] = 'mailform'; $form_data = qtag_FORM($env, $target, $attributes); return $form_data; }