Message : allow showing a template
This commit is contained in:
parent
62cc6f6f09
commit
4faf1be986
@ -25,13 +25,15 @@ class Message {
|
|||||||
var $link;
|
var $link;
|
||||||
var $linkTitle;
|
var $linkTitle;
|
||||||
var $linkIcon;
|
var $linkIcon;
|
||||||
|
var $includeTemplate;
|
||||||
|
|
||||||
function __construct($type, $message, $link=null, $linkTitle=null, $linkIcon=null) {
|
function __construct($type, $message, $link=null, $linkTitle=null, $linkIcon=null, $includeTemplate=null) {
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
$this->message = $message;
|
$this->message = $message;
|
||||||
$this->link = $link;
|
$this->link = $link;
|
||||||
$this->linkTitle = $linkTitle;
|
$this->linkTitle = $linkTitle;
|
||||||
$this->linkIcon = $linkIcon;
|
$this->linkIcon = $linkIcon;
|
||||||
|
$this->includeTemplate = $includeTemplate;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user