diff options
Diffstat (limited to 'modules/authX509')
-rw-r--r-- | modules/authX509/templates/X509error.php | 4 | ||||
-rw-r--r-- | modules/authX509/www/expirywarning.php | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/authX509/templates/X509error.php b/modules/authX509/templates/X509error.php index 1f27230..459bbf2 100644 --- a/modules/authX509/templates/X509error.php +++ b/modules/authX509/templates/X509error.php @@ -11,8 +11,8 @@ if ($this->data['errorcode'] !== NULL) { <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5"> <img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-error.48x48.png" class="float-l" style="margin: 15px" alt="" /> <h2><?php echo $this->t('{login:error_header}'); ?></h2> - <p><b><?php echo $this->t('{errors:title_' . $this->data['errorcode'] . '}'); ?></b></p> - <p><?php echo $this->t('{errors:descr_' . $this->data['errorcode'] . '}'); ?></p> + <p><b><?php echo $this->t($this->data['errorcodes']['title'][$this->data['errorcode']]); ?></b></p> + <p><?php echo $this->t($this->data['errorcodes']['descr'][$this->data['errorcode']]); ?></p> </div> <?php } diff --git a/modules/authX509/www/expirywarning.php b/modules/authX509/www/expirywarning.php index b5faa22..02b2b22 100644 --- a/modules/authX509/www/expirywarning.php +++ b/modules/authX509/www/expirywarning.php @@ -27,4 +27,5 @@ $t->data['target'] = SimpleSAML\Module::getModuleURL('authX509/expirywarning.php $t->data['data'] = array('StateId' => $id); $t->data['daysleft'] = $state['daysleft']; $t->data['renewurl'] = $state['renewurl']; +$t->data['errorcodes'] = SimpleSAML\Error\Errorcodes::getAllErrorCodeMessages(); $t->show(); |