Skip to content
Snippets Groups Projects

Fix double heading

Merged Pavel Břoušek requested to merge github/fork/melanger/patch-2 into master
2 files
+ 6
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -133,7 +133,10 @@ $dstName = htmlspecialchars($dstName);
@@ -133,7 +133,10 @@ $dstName = htmlspecialchars($dstName);
$attributes = $this->data['attributes'];
$attributes = $this->data['attributes'];
$this->data['header'] = $this->t('{consent:consent:consent_header}');
$this->data['header'] = $this->t(
 
'{perun:consent:consent_attributes_header}',
 
['SPNAME' => $dstName, 'IDPNAME' => $srcName]
 
);
if (!isset($this->data['head'])) {
if (!isset($this->data['head'])) {
$this->data['head'] = '';
$this->data['head'] = '';
@@ -166,13 +169,6 @@ if ($this->data['sppp'] !== false) {
@@ -166,13 +169,6 @@ if ($this->data['sppp'] !== false) {
echo "</p>";
echo "</p>";
}
}
echo '<h1 id="attributeheader">' .
$this->t(
'{perun:consent:consent_attributes_header}',
['SPNAME' => $dstName, 'IDPNAME' => $srcName]
) .
'</h1>';
echo perun_present_attributes($this, $attributes, '', $this->data['label-col']);
echo perun_present_attributes($this, $attributes, '', $this->data['label-col']);
?>
?>
Loading