diff --git a/src/Plugin.php b/src/Plugin.php index dde3288..f182e93 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -240,6 +240,7 @@ public static function getSettings(GenericEvent $event) $settings->add_text_setting(self::$module, _('Slice Amounts'), 'vps_slice_max', _('Max Slices Per Order'), _('Maximum amount of slices any one VPS can be.'), $settings->get_setting('VPS_SLICE_MAX')); $settings->setTarget('module'); $settings->add_master_checkbox_setting(self::$module, 'Server Settings', self::$module, 'available', 'vps_available', 'Auto-Setup', '
Choose which servers are used for auto-server Setups.
'); + //$settings->add_master_text_setting(self::$module, 'Server Settings', self::$module, 'root', 'vps_root', 'VPS Root', 'Password to connect to server
'); $settings->add_master_label(self::$module, 'Server Settings', self::$module, 'active_services', 'Active VPS', 'The current number of active VPS.
', 'count(vps.vps_id) as active_services'); $settings->add_master_text_setting(self::$module, 'Server Settings', self::$module, 'server_max', 'vps_server_max', 'Max VPS', 'The Maximum number of VPS that can be running on each server.
'); $settings->add_master_label(self::$module, 'Server Settings', self::$module, 'active_slices', 'Active Slices', 'The current total slices from active VPS.
', 'sum(vps.vps_slices) as active_slices');