<?php

namespace ThurData\Servers\KerioEmail\App\Http\Actions;


use ThurData\Servers\KerioEmail\Core\App\Controllers\Instances\AddonController;
use function ThurData\Servers\KerioEmail\Core\Helper\di;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 12.11.19
 * Time: 15:03
 * Class AdminLink
 */
class AdminLink extends AddonController
{

    public function execute($params = null)
    {
        //todo add if required -.-

//        $lang = di('lang');
//
//        $code = '
//        <form action="https://' . $host . ':' . $port . '/kerioAdmin/" method="post" target="_blank">
//		<input type="hidden" name="ZLoginUserName" value="' . $params["serverusername"] . '" />
//		<input type="hidden" name="ZLoginPassword" value="' . $params["serverpassword"] . '" />
//		<input type="submit" value="' . $lang->absoluteT('loginToKerioPanel') . '" />
//		</form>';
//        return $code;
    }
}

