Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Zvonimir
ISPConfig 3
Commits
350a863c
Commit
350a863c
authored
Aug 25, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'work-3.0.5.4p3' of git.ispconfig.org:pixcept/ispconfig3-mods into work-3.0.5.4p3
parents
cb122101
90923d22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
interface/web/js/scrigo.js.php
interface/web/js/scrigo.js.php
+0
-1
interface/web/sites/web_domain_edit.php
interface/web/sites/web_domain_edit.php
+9
-2
No files found.
interface/web/js/scrigo.js.php
View file @
350a863c
<?php
<?php
session_start
();
include
'../../lib/config.inc.php'
;
include
'../../lib/config.inc.php'
;
header
(
'Content-Type: text/javascript; charset=utf-8'
);
// the config file sets the content type header so we have to override it here!
header
(
'Content-Type: text/javascript; charset=utf-8'
);
// the config file sets the content type header so we have to override it here!
require_once
'../../lib/app.inc.php'
;
require_once
'../../lib/app.inc.php'
;
...
...
interface/web/sites/web_domain_edit.php
View file @
350a863c
...
@@ -406,8 +406,15 @@ class page_action extends tform_actions {
...
@@ -406,8 +406,15 @@ class page_action extends tform_actions {
}
}
$ssl_domain_select
=
''
;
$ssl_domain_select
=
''
;
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT domain FROM web_domain WHERE domain_id = "
.
$this
->
id
);
$ssl_domains
=
array
();
$ssl_domains
=
array
(
$tmp
[
"domain"
],
'www.'
.
$tmp
[
"domain"
],
'*.'
.
$tmp
[
"domain"
]);
$tmpd
=
$app
->
db
->
queryAllRecords
(
"SELECT domain, type FROM web_domain WHERE domain_id = "
.
$this
->
id
.
" OR parent_domain_id = "
.
$this
->
id
);
foreach
(
$tmpd
as
$tmp
)
{
if
(
$tmp
[
'type'
]
==
'subdomain'
||
$tmp
[
'type'
]
==
'vhostsubdomain'
)
{
$ssl_domains
[]
=
$tmp
[
"domain"
];
}
else
{
$ssl_domains
=
array_merge
(
$ssl_domains
,
array
(
$tmp
[
"domain"
],
'www.'
.
$tmp
[
"domain"
],
'*.'
.
$tmp
[
"domain"
]));
}
}
if
(
is_array
(
$ssl_domains
))
{
if
(
is_array
(
$ssl_domains
))
{
foreach
(
$ssl_domains
as
$ssl_domain
)
{
foreach
(
$ssl_domains
as
$ssl_domain
)
{
$selected
=
(
$ssl_domain
==
$this
->
dataRecord
[
'ssl_domain'
])
?
'SELECTED'
:
''
;
$selected
=
(
$ssl_domain
==
$this
->
dataRecord
[
'ssl_domain'
])
?
'SELECTED'
:
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment