Skip to content
Snippets Groups Projects
Commit 38468043 authored by Olimpia Magliulo's avatar Olimpia Magliulo
Browse files

Ensure old show_metadata PHP template still works.

parent 7daa3ab1
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,10 @@ $t->data['clipboard.js'] = true; ...@@ -29,6 +29,10 @@ $t->data['clipboard.js'] = true;
$t->data['pageid'] = 'show_metadata'; $t->data['pageid'] = 'show_metadata';
$t->data['header'] = 'SimpleSAMLphp Show Metadata'; $t->data['header'] = 'SimpleSAMLphp Show Metadata';
$t->data['backlink'] = SimpleSAML\Module::getModuleURL('core/frontpage_federation.php'); $t->data['backlink'] = SimpleSAML\Module::getModuleURL('core/frontpage_federation.php');
/**
* @todo Remove "m" from the data array once we remove the old PHP templates.
*/
$t->data['m'] = $m;
$t->data['entityid'] = $m['metadata-index']; $t->data['entityid'] = $m['metadata-index'];
unset($m['metadata-index']); unset($m['metadata-index']);
$t->data['metadata'] = var_export($m, true); $t->data['metadata'] = var_export($m, true);
......
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