mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
WHMCS module sponsered by wexcloud.com
This commit is contained in:
parent
8a8f2a0f52
commit
bee45ad210
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
// This module sponsered by our good friends from wexcloud.com
|
||||
|
||||
|
||||
function vesta_ConfigOptions() {
|
||||
|
||||
|
@ -272,7 +274,7 @@ function vesta_ChangePackage($params) {
|
|||
|
||||
function vesta_ClientArea($params) {
|
||||
|
||||
$code = '<form action="https://'.$params["serverhostname"].'/login/" method="post" target="_blank">
|
||||
$code = '<form action="https://'.$params["serverhostname"].':8083/login/" method="post" target="_blank">
|
||||
<input type="hidden" name="user" value="'.$params["username"].'" />
|
||||
<input type="hidden" name="password" value="'.$params["password"].'" />
|
||||
<input type="submit" value="Login to Control Panel" />
|
||||
|
@ -284,7 +286,7 @@ function vesta_ClientArea($params) {
|
|||
|
||||
function vesta_AdminLink($params) {
|
||||
|
||||
$code = '<form action="https://'.$params["serverhostname"].'/login/" method="post" target="_blank">
|
||||
$code = '<form action="https://'.$params["serverhostname"].':8083/login/" method="post" target="_blank">
|
||||
<input type="hidden" name="user" value="'.$params["serverusername"].'" />
|
||||
<input type="hidden" name="password" value="'.$params["serverpassword"].'" />
|
||||
<input type="submit" value="Login to Control Panel" />
|
||||
|
@ -295,7 +297,7 @@ function vesta_AdminLink($params) {
|
|||
|
||||
function vesta_LoginLink($params) {
|
||||
|
||||
echo "<a href=\"https://".$params["serverhostname"]."/login/\" target=\"_blank\" style=\"color:#cc0000\">control panel</a>";
|
||||
echo "<a href=\"https://".$params["serverhostname"].":8083/login/\" target=\"_blank\" style=\"color:#cc0000\">control panel</a>";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue