Skip to content

Commit

Permalink
Update html.formmail.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Oct 27, 2019
1 parent 7f1b67f commit a9447bc
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions htdocs/core/class/html.formmail.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,21 @@ class FormMail extends Form
*/
public $db;

public $withform; // 1=Include HTML form tag and show submit button, 0=Do not include form tag and submit button, -1=Do not include form tag but include submit button
/**
* @var int 1 = Include HTML form tag and show submit button
* 0 = Do not include form tag and submit button
* -1 = Do not include form tag but include submit button
*/
public $withform;

/**
* @var string name from
*/
public $fromname;

/**
* @var string email from
*/
public $frommail;

/**
Expand All @@ -52,10 +64,15 @@ class FormMail extends Form
public $fromtype;

/**
* @var int ID
* @var int from ID
*/
public $fromid;

/**
* @var int also from robot
*/
public $fromalsorobot;

/**
* @var string thirdparty etc
*/
Expand All @@ -66,10 +83,29 @@ class FormMail extends Form
*/
public $toid;

/**
* @var string replyto name
*/
public $replytoname;

/**
* @var string replyto email
*/
public $replytomail;

/**
* @var string to name
*/
public $toname;

/**
* @var string to email
*/
public $tomail;

/**
* @var string trackid
*/
public $trackid;

public $withsubstit; // Show substitution array
Expand Down

0 comments on commit a9447bc

Please sign in to comment.