Initial commit
This commit is contained in:
19
playarea/datatypes/datatype.appeals.php
Normal file
19
playarea/datatypes/datatype.appeals.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
class Appeals extends Item {
|
||||
public string $title = "Обращения";
|
||||
public string $description = "Управление обращениями на сайте.";
|
||||
public string $icon = "question_answer";
|
||||
public bool $visible_content = false;
|
||||
public function __construct($item_id)
|
||||
{
|
||||
parent::__construct($item_id);
|
||||
$this->props = array(
|
||||
"name" => new Prop($this, "name", "", "Имя", true, "plain_text"),
|
||||
"phone" => new Prop($this, "phone", "", "Телефон для связи", true, "plain_text"),
|
||||
"email" => new Prop($this, "email", "", "Email для связи", false, "plain_text"),
|
||||
"message" => new Prop($this, "message", "", "Сообщение", false, "plain_text"),
|
||||
"url" => new Prop($this, "url", "", "Страница, на которой находился пользователь", false, "plain_text"),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user