supply site name for joomla

This commit is contained in:
Usman Nasir
2020-10-08 21:33:57 +05:00
parent 95f818e1e1
commit dd42260cc1
5 changed files with 14 additions and 0 deletions

View File

@@ -1739,6 +1739,7 @@ app.controller('websitePages', function ($scope, $http, $timeout, $window) {
var data = {
domain: domain,
siteName: $scope.siteName,
home: home,
path: path,
password: password,

View File

@@ -24,6 +24,13 @@
<form name="websiteCreationForm" action="/" id="createPackages" class="form-horizontal bordered-row">
<div ng-hide="installationDetailsForm" class="form-group">
<label class="col-sm-3 control-label">{% trans "Site Name" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="siteName">
</div>
</div>
<div ng-hide="installationDetailsForm" class="form-group">
<label class="col-sm-3 control-label">{% trans "Login User" %}</label>
<div class="col-sm-6">

View File

@@ -1931,6 +1931,7 @@ class WebsiteManager:
extraArgs['prefix'] = data['prefix']
extraArgs['domain'] = data['domain']
extraArgs['home'] = data['home']
extraArgs['siteName'] = data['siteName']
extraArgs['tempStatusPath'] = "/home/cyberpanel/" + str(randint(1000, 9999))
mailUtilities.checkHome()