Skip to content
Snippets Groups Projects
Commit c9c91fef authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #20308 [de_d117] use getTitleHtml for record title display in detail view

parent f8df8a43
No related merge requests found
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
?> ?>
<?php /* finc: add schema tags for title #13850 - VE */ ?> <?php /* finc: add schema tags for title #13850 - VE */ ?>
<h1 <h1
property="name"><?= $this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())) ?></h1> property="name"><?= $this->record($this->driver)->getTitleHtml() ?></h1>
<?php /* #18213: Remove Summary/Description - RL */ ?> <?php /* #18213: Remove Summary/Description - RL */ ?>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
?> ?>
<?php /* finc: add schema tags for title #13850 - VE */ ?> <?php /* finc: add schema tags for title #13850 - VE */ ?>
<h1 <h1
property="name"><?= $this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())) ?></h1> property="name"><?= $this->record($this->driver)->getTitleHtml() ?></h1>
<?php /* #18213: Remove Summary/Description - RL */ ?> <?php /* #18213: Remove Summary/Description - RL */ ?>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<?php /* finc: We want to get rid of trailing special chars in the title and limit its length to 100 chars; <?php /* finc: We want to get rid of trailing special chars in the title and limit its length to 100 chars;
in finc: keep schema name tag here!! #13861 CK in finc: keep schema name tag here!! #13861 CK
*/ ?> */ ?>
<h1 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection()))?></h1> <h1 property="name"><?= $this->record($this->driver)->getTitleHtml() ?></h1>
<?php /* #18213: Remove Summary/Description - RL */ ?> <?php /* #18213: Remove Summary/Description - RL */ ?>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
?> ?>
<?php /* finc: add schema tags for title #13850 - VE */ ?> <?php /* finc: add schema tags for title #13850 - VE */ ?>
<h1 <h1
property="name"><?= $this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())) ?></h1> property="name"><?= $this->record($this->driver)->getTitleHtml() ?></h1>
<?php /* #18213: Remove Summary/Description - RL */ ?> <?php /* #18213: Remove Summary/Description - RL */ ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment