From 6128084e69e7177644d665f4c205bff90248c075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 27 Jan 2009 11:06:55 +0000 Subject: [PATCH] add class to fieldset.. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1205 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/templates/consentform.php | 2 +- templates/frontpage.php | 2 +- www/resources/default.css | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php index c92c64807..3c1e7146a 100644 --- a/modules/consent/templates/consentform.php +++ b/modules/consent/templates/consentform.php @@ -229,7 +229,7 @@ foreach ($this->data['noData'] as $name => $value) { This fieldset is not expanded by default, but can be shown by clicking on the legend. --> - <fieldset> + <fieldset class="fancyfieldset"> <legend id="attribute_switch"> » <?php echo $this->t('{consent:consent_attributes_header}'); ?></legend> <div id="addattributes"><a id="addattributesb"><?php echo $this->t('{consent:show_attributes}'); ?></a></div> diff --git a/templates/frontpage.php b/templates/frontpage.php index 0e065ea70..1c3a56348 100644 --- a/templates/frontpage.php +++ b/templates/frontpage.php @@ -188,7 +188,7 @@ echo '</dl>'; if (is_array($this->data['metaentries']['remote']) && count($this->data['metaentries']['remote']) > 0) foreach($this->data['metaentries']['remote'] AS $setkey => $set) { - echo '<fieldset><legend>' . $this->t(mtype($setkey)) . ' (Trusted)</legend>'; + echo '<fieldset class="fancyfieldset"><legend>' . $this->t(mtype($setkey)) . ' (Trusted)</legend>'; echo '<ul>'; foreach($set AS $entry) { echo '<li>'; diff --git a/www/resources/default.css b/www/resources/default.css index 2f03409dc..bf75c58f5 100644 --- a/www/resources/default.css +++ b/www/resources/default.css @@ -296,11 +296,11 @@ table#table_with_attributes tr:last-child td { border-bottom: none; } -fieldset { +fieldset.fancyfieldset { margin: 2em 1em 1em 0px; border: 1px solid #bbb; } -fieldset legend { +fieldset.fancyfieldset legend { margin-left: 2em; padding: 3px 2em 3px 2em; border: 1px solid #bbb; -- GitLab