diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-06-21 04:38:41 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-06-21 04:38:41 +0000 |
commit | e7d31327cf885a1f95fa565053478c09f2184f54 (patch) | |
tree | 2b1e3fa37f7fe61183ca63b8c79b94cb7267d920 /themes | |
parent | aa308028aa570d15d3abf9c7679d7de16019b78b (diff) | |
download | brdo-e7d31327cf885a1f95fa565053478c09f2184f54.tar.gz brdo-e7d31327cf885a1f95fa565053478c09f2184f54.tar.bz2 |
#144397: Use drupal_render for user profiles and convert to themer-friendly .tpl.php files.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/style.css | 25 | ||||
-rw-r--r-- | themes/garland/user_profile_category.tpl.php | 9 |
2 files changed, 34 insertions, 0 deletions
diff --git a/themes/garland/style.css b/themes/garland/style.css index 3ce468cc4..e8b200236 100644 --- a/themes/garland/style.css +++ b/themes/garland/style.css @@ -868,6 +868,31 @@ html.js fieldset.collapsed legend a { } /** + * User profiles. + */ +.profile { + margin-top: 1.5em; +} +.profile h3 { + border-bottom: 0; + margin-bottom: 1em; +} +.profile dl { + margin: 0; +} +.profile dt { + font-weight: normal; + color: #898989; + font-size: 0.92em; + line-height: 1.3em; + margin-top: 1.4em; + margin-bottom: 0.45em; +} +.profile dd { + margin-bottom: 1.6em; +} + +/** * Admin Styles */ div.admin-panel, diff --git a/themes/garland/user_profile_category.tpl.php b/themes/garland/user_profile_category.tpl.php new file mode 100644 index 000000000..f2325fa99 --- /dev/null +++ b/themes/garland/user_profile_category.tpl.php @@ -0,0 +1,9 @@ +<div class="profile-category"> + <?php if ($element['#title']): ?> + <h3><?php print $element['#title'] ?></h3> + <?php endif; ?> + + <dl<?php (isset($element['#attributes']) ? print drupal_attributes($element['#attributes']) : '') ?>> + <?php print $element['#children'] ?> + </dl> +</div> |