19 lines
950 B
PHP
19 lines
950 B
PHP
<?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"),
|
|
);
|
|
}
|
|
} |