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
Issues
483
Issues
483
List
Boards
Labels
Service Desk
Milestones
Merge Requests
23
Merge Requests
23
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISPConfig
ISPConfig 3
Commits
e1f89db2
Commit
e1f89db2
authored
Mar 04, 2009
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
967cd65c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
interface/web/sites/database_edit.php
interface/web/sites/database_edit.php
+4
-4
No files found.
interface/web/sites/database_edit.php
View file @
e1f89db2
...
...
@@ -239,8 +239,8 @@ class page_action extends tform_actions {
}
//* Database username and database name shall not be empty
if
(
$this
->
dataRecord
[
'database_name'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_name_error_empty"
];
if
(
$this
->
dataRecord
[
'database_user'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_user_error_empty"
];
if
(
$this
->
dataRecord
[
'database_name'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_name_error_empty"
]
.
'<br />'
;
if
(
$this
->
dataRecord
[
'database_user'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_user_error_empty"
]
.
'<br />'
;
//* Check if the server has been changed
// We do this only for the admin or reseller users, as normal clients can not change the server ID anyway
...
...
@@ -267,8 +267,8 @@ class page_action extends tform_actions {
global
$app
,
$conf
,
$interfaceConf
;
//* Database username and database name shall not be empty
if
(
$this
->
dataRecord
[
'database_name'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_name_error_empty"
];
if
(
$this
->
dataRecord
[
'database_user'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_user_error_empty"
];
if
(
$this
->
dataRecord
[
'database_name'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_name_error_empty"
]
.
'<br />'
;
if
(
$this
->
dataRecord
[
'database_user'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_user_error_empty"
]
.
'<br />'
;
//* Get the database name and database user prefix
$app
->
uses
(
'getconf'
);
...
...
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