<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\Http\Actions;


use ModulesGarden\Servers\ZimbraEmail\Core\App\Controllers\Instances\AddonController;
use function ModulesGarden\Servers\ZimbraEmail\Core\Helper\di;

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * 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 . '/zimbraAdmin/" 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('loginToZimbraPanel') . '" />
//		</form>';
//        return $code;
    }
}

