Skip to content

Commit 3728238

Browse files
author
Till Brehm
committed
Merge branch '6545-server-php' into 'develop'
Content aware page title for Additional PHP Versions, #6545 Closes #6545 See merge request ispconfig/ispconfig3!1877
2 parents 5d52062 + 5f52380 commit 3728238

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

interface/lib/classes/tform_actions.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function onShowEdit() {
581581
$this->dataRecord = $record;
582582

583583
if(isset($app->tform->formDef['record_name_field'])) {
584-
$app->tform->formDef['title'] = $app->lng($app->tform->formDef['title']) . ' ' . $this->dataRecord[$app->tform->formDef['record_name_field']];
584+
$app->tform->formDef['title'] = $app->lng($app->tform->formDef['title']) . ' - ' . $this->dataRecord[$app->tform->formDef['record_name_field']];
585585
}
586586

587587
// Userdaten umwandeln

interface/web/admin/form/server_php.tform.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
$form["title"] = "Additional PHP Versions";
6363
//$form["description"] = "Form to edit additional PHP versions";
6464
$form["name"] = "server_php";
65+
$form["record_name_field"] = "name";
6566
$form["action"] = "server_php_edit.php";
6667
$form["db_table"] = "server_php";
6768
$form["db_table_idx"] = "server_php_id";

0 commit comments

Comments
 (0)