|
|
@@ -45,7 +45,19 @@ function siteBuilder_ConfigOptions() {
|
|
|
"Size" => "25", # Defines the Field Width
|
|
|
"Description" => "Full Builder URL (prefix//hostname:port/)",
|
|
|
"Default" => "https://builder.thurdata.ch/",
|
|
|
- ],
|
|
|
+ ], [
|
|
|
+ "FriendlyName" => "Hosting Plan ID",
|
|
|
+ "Type" => "text", # Text Box
|
|
|
+ "Size" => "25", # Defines the Field Width
|
|
|
+ "Description" => "Set the hostingPlan ID for this Product",
|
|
|
+ "Default" => "https://builder.thurdata.ch/",
|
|
|
+ ], [
|
|
|
+ "FriendlyName" => "Quota in MB",
|
|
|
+ "Type" => "text", # Text Box
|
|
|
+ "Size" => "25", # Defines the Field Width
|
|
|
+ "Description" => "Set the Quoat matching Your HostingPlan (MB)",
|
|
|
+ "Default" => "512",
|
|
|
+ ]
|
|
|
];
|
|
|
}
|
|
|
|
|
|
@@ -362,7 +374,6 @@ function siteBuilder_ClientArea($params) {
|
|
|
->get();
|
|
|
$clientInfo['account'] = ['enabled' => $accEnabled];
|
|
|
$clientInfo['sites'] = [];
|
|
|
- $sslSite = 0;
|
|
|
foreach($sitesObj as $site){
|
|
|
$response = $siteBuilder->getSSLDays($params['username'], $site->name);
|
|
|
if($response['status'] == '200') {
|
|
|
@@ -419,6 +430,7 @@ function siteBuilder_ServiceSingleSignOn($params) {
|
|
|
* @return string "success" or an error message
|
|
|
*/
|
|
|
function siteBuilder_ChangePackage($params) {
|
|
|
+
|
|
|
return 'success';
|
|
|
}
|
|
|
|