summaryrefslogtreecommitdiffstats
path: root/modules/core
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-04-20 16:42:49 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-04-20 16:42:49 +0200
commit2548d57bbeed95989d3d0a3997995224e516a817 (patch)
tree78ad4367faf071ca689c0a831324d53fa2cf0685 /modules/core
parent4de6890754c2fe73056ea517eedd6dc2844068bd (diff)
downloadsimplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.zip
simplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.tar.gz
simplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.tar.bz2
Move SimpleSAML_Utils_Arrays to SimpleSAML\Utils\Arrays.
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/templates/frontpage_federation.tpl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/templates/frontpage_federation.tpl.php b/modules/core/templates/frontpage_federation.tpl.php
index eb8795a..2be7e07 100644
--- a/modules/core/templates/frontpage_federation.tpl.php
+++ b/modules/core/templates/frontpage_federation.tpl.php
@@ -61,9 +61,9 @@ foreach ($this->data['metaentries']['hosted'] AS $hm) {
if ($hm['entityid'] !== $hm['metadata-index'])
echo '<br />Index: ' . $hm['metadata-index'];
if (!empty($hm['name']))
- echo '<br /><strong>' . $this->getTranslation(SimpleSAML_Utils_Arrays::arrayize($hm['name'], 'en')) . '</strong>';
+ echo '<br /><strong>' . $this->getTranslation(SimpleSAML\Utils\Arrays::arrayize($hm['name'], 'en')) . '</strong>';
if (!empty($hm['descr']))
- echo '<br /><strong>' . $this->getTranslation(SimpleSAML_Utils_Arrays::arrayize($hm['descr'], 'en')) . '</strong>';
+ echo '<br /><strong>' . $this->getTranslation(SimpleSAML\Utils\Arrays::arrayize($hm['descr'], 'en')) . '</strong>';
echo '<br />[ <a href="' . $hm['metadata-url'] . '">' . $this->t('{core:frontpage:show_metadata}') . '</a> ]';
@@ -82,9 +82,9 @@ foreach($this->data['metaentries']['remote'] AS $setkey => $set) {
htmlspecialchars(SimpleSAML_Module::getModuleURL('core/show_metadata.php', array('entityid' => $entry['entityid'], 'set' => $setkey ))) .
'">');
if (!empty($entry['name'])) {
- echo htmlspecialchars($this->getTranslation(SimpleSAML_Utils_Arrays::arrayize($entry['name'], 'en')));
+ echo htmlspecialchars($this->getTranslation(SimpleSAML\Utils\Arrays::arrayize($entry['name'], 'en')));
} elseif (!empty($entry['OrganizationDisplayName'])) {
- echo htmlspecialchars($this->getTranslation(SimpleSAML_Utils_Arrays::arrayize($entry['OrganizationDisplayName'], 'en')));
+ echo htmlspecialchars($this->getTranslation(SimpleSAML\Utils\Arrays::arrayize($entry['OrganizationDisplayName'], 'en')));
} else {
echo htmlspecialchars($entry['entityid']);
}