"Switch EPP", "description" => "In this addon you can manage the poll and confirmation messege of Switch EPP registrar", "version" => "3.1.0", "author" => 'WHMCS GLOBAL SERVICES', "language" => "english", "fields" => array( "api_username" => array( "FriendlyName" => "API Username", "Type" => "text", "Size" => "25", "Description" => "Username (Enter CSV protected Username to get domains list)" ), "api_password" => array( "FriendlyName" => "API Password", "Type" => "text", "Size" => "25", "Description" => "Password (Enter CSV protected Password to get domains list)" ), ) ); return $configarray; } function wgs_switchepp_activate() { return array('status' => 'success', 'description' => 'Addons Image'); } function wgs_switchepp_deactivate() { return array('status' => 'success', 'description' => 'Deactivated successfully.'); } function wgs_switchepp_output($vars) { $modulelink = $vars['modulelink']; $LANG = $vars['_lang']; $SWITCHEPP = new SWITCHEPP(); if (isset($_REQUEST["action"])) { if (file_exists(__DIR__ . '/includes/' . $_REQUEST["action"] . '.php')) { require_once __DIR__ . '/includes/' . $_REQUEST["action"] . '.php'; } } else { if (file_exists(__DIR__ . '/includes/' . 'homepage.php')) { require_once __DIR__ . '/includes/' . 'homepage.php'; } } } ?>