File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,16 @@ function onShowNew() {
7979 parent ::onShowNew ();
8080 }
8181
82+ function onShowEdit () {
83+ global $ app , $ conf ;
84+
85+ parent ::onShowEdit ();
86+
87+ if (isset ($ this ->dataRecord )) {
88+ $ app ->tform ->formDef ['title ' ] = $ app ->lng ('DNS Zone ' ) . ' ' . $ this ->dataRecord ['origin ' ];
89+ }
90+ }
91+
8292 function onShowEnd () {
8393 global $ app , $ conf ;
8494
Original file line number Diff line number Diff line change @@ -67,6 +67,17 @@ function onShowNew() {
6767 parent ::onShowNew ();
6868 }
6969
70+ function onShowEdit () {
71+ global $ app , $ conf ;
72+
73+ parent ::onShowEdit ();
74+
75+ if (isset ($ this ->dataRecord )) {
76+ $ app ->tform ->formDef ['title ' ] = $ app ->lng ('Mailbox ' ) . ' ' . $ this ->dataRecord ['email ' ];
77+ }
78+ }
79+
80+
7081 function onShowEnd () {
7182 global $ app , $ conf ;
7283
You can’t perform that action at this time.
0 commit comments