Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
ISPConfig
ISPConfig 3
Commits
01d6b4ed
Unverified
Commit
01d6b4ed
authored
Nov 01, 2022
by
Helmo
Browse files
Add content name to page title for edit forms, #6401
parent
1c681d3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/dns/dns_soa_edit.php
View file @
01d6b4ed
...
...
@@ -79,6 +79,16 @@ class page_action extends tform_actions {
parent
::
onShowNew
();
}
function
onShowEdit
()
{
global
$app
,
$conf
;
parent
::
onShowEdit
();
if
(
isset
(
$this
->
dataRecord
))
{
$app
->
tform
->
formDef
[
'title'
]
=
$app
->
lng
(
'DNS Zone'
)
.
' '
.
$this
->
dataRecord
[
'origin'
];
}
}
function
onShowEnd
()
{
global
$app
,
$conf
;
...
...
interface/web/mail/mail_user_edit.php
View file @
01d6b4ed
...
...
@@ -67,6 +67,17 @@ class page_action extends tform_actions {
parent
::
onShowNew
();
}
function
onShowEdit
()
{
global
$app
,
$conf
;
parent
::
onShowEdit
();
if
(
isset
(
$this
->
dataRecord
))
{
$app
->
tform
->
formDef
[
'title'
]
=
$app
->
lng
(
'Mailbox'
)
.
' '
.
$this
->
dataRecord
[
'email'
];
}
}
function
onShowEnd
()
{
global
$app
,
$conf
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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