mirror of
https://gh.wpcy.net/https://github.com/netcccyun/easypanel.git
synced 2026-04-22 19:44:04 +08:00
34 lines
No EOL
554 B
PHP
34 lines
No EOL
554 B
PHP
<?php
|
|
needRole('vhost');
|
|
class RecordControl extends Control
|
|
{
|
|
public function recordAddFrom()
|
|
{
|
|
return $this->_tpl->fetch('record/from.html');
|
|
}
|
|
|
|
public function recordAdd()
|
|
{
|
|
$domain = trim($_REQUEST['domain']);
|
|
$name = trim($_REQUEST['name']);
|
|
|
|
if (!$name) {
|
|
$name = '@';
|
|
}
|
|
|
|
$type = trim($_REQUEST['type']);
|
|
$value = trim($_REQUEST['value']);
|
|
$view = trim($_REQUEST['view']);
|
|
$ttl = intval($_REQUEST['ttl']);
|
|
}
|
|
|
|
public function recordDel()
|
|
{
|
|
}
|
|
|
|
public function recordUpdate()
|
|
{
|
|
}
|
|
}
|
|
|
|
?>
|