Skip to content
Snippets Groups Projects
Commit 3728238b authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6545-server-php' into 'develop'

Content aware page title for Additional PHP Versions, #6545

Closes #6545

See merge request ispconfig/ispconfig3!1877
parents 5d520629 5f52380b
No related branches found
No related tags found
1 merge request!1877Content aware page title for Additional PHP Versions, #6545
Pipeline #14573 passed
...@@ -581,7 +581,7 @@ class tform_actions { ...@@ -581,7 +581,7 @@ class tform_actions {
$this->dataRecord = $record; $this->dataRecord = $record;
if(isset($app->tform->formDef['record_name_field'])) { if(isset($app->tform->formDef['record_name_field'])) {
$app->tform->formDef['title'] = $app->lng($app->tform->formDef['title']) . ' ' . $this->dataRecord[$app->tform->formDef['record_name_field']]; $app->tform->formDef['title'] = $app->lng($app->tform->formDef['title']) . ' - ' . $this->dataRecord[$app->tform->formDef['record_name_field']];
} }
// Userdaten umwandeln // Userdaten umwandeln
......
...@@ -62,6 +62,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -62,6 +62,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$form["title"] = "Additional PHP Versions"; $form["title"] = "Additional PHP Versions";
//$form["description"] = "Form to edit additional PHP versions"; //$form["description"] = "Form to edit additional PHP versions";
$form["name"] = "server_php"; $form["name"] = "server_php";
$form["record_name_field"] = "name";
$form["action"] = "server_php_edit.php"; $form["action"] = "server_php_edit.php";
$form["db_table"] = "server_php"; $form["db_table"] = "server_php";
$form["db_table_idx"] = "server_php_id"; $form["db_table_idx"] = "server_php_id";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment