From e962eb2d9d05c935316e17f17824ed60782de636 Mon Sep 17 00:00:00 2001 From: Anders Lund <anders.lund@uninett.no> Date: Wed, 14 Oct 2009 08:38:36 +0000 Subject: [PATCH] Small layout adjustment when showing/hiding attribute values git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1854 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/dictionaries/consent.php | 10 +++++----- modules/consent/templates/consentform.php | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/consent/dictionaries/consent.php b/modules/consent/dictionaries/consent.php index 41f55ae69..30d992d32 100644 --- a/modules/consent/dictionaries/consent.php +++ b/modules/consent/dictionaries/consent.php @@ -173,10 +173,10 @@ $lang = array( 'tr' => 'Özellikleri göster', ), 'show_attribute' => array ( - 'no' => 'Vis', - 'nn' => 'Vis', - 'da' => 'Vis', - 'en' => 'Show', + 'no' => 'Vis innhold', + 'nn' => 'Vis innhald', + 'da' => 'Vis indhold', + 'en' => 'Show content', ), 'login' => array ( 'no' => 'innlogging', @@ -377,4 +377,4 @@ $lang = array( ); -?> \ No newline at end of file +?> diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php index eb36ed766..c435481ef 100644 --- a/modules/consent/templates/consentform.php +++ b/modules/consent/templates/consentform.php @@ -177,10 +177,10 @@ function present_attributes($t, $attributes, $nameParent) { if ($isHidden) { $str .= '<div class="attrvalue consent_showattribute" id="visible_' . $hiddenId . '">'; - $str .= '... ('; + $str .= '... '; $str .= '<a class="consent_showattributelink" href="javascript:SimpleSAML_show(\'hidden_' . $hiddenId . '\'); SimpleSAML_hide(\'visible_' . $hiddenId . '\');">'; $str .= $t->t('{consent:consent:show_attribute}'); - $str .= '</a>)'; + $str .= '</a>'; $str .= '</div>'; } @@ -196,4 +196,4 @@ function present_attributes($t, $attributes, $nameParent) { <?php $this->includeAtTemplateBase('includes/footer.php'); -?> \ No newline at end of file +?> -- GitLab