diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-09-11 20:28:49 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-09-11 20:28:49 -0400 |
commit | 19d469fb07a0af7d334e4fd27e4d93803ca21840 (patch) | |
tree | d9188b9d2f28e164240000015a2d77c55a4f3d50 /modules/profile | |
parent | dcea6ffb1bacaa050f0d2a0d2656c075c8fc94ea (diff) | |
download | brdo-19d469fb07a0af7d334e4fd27e4d93803ca21840.tar.gz brdo-19d469fb07a0af7d334e4fd27e4d93803ca21840.tar.bz2 |
- Patch #999040 by Niklas Fiekas: corrected alternative control structure syntax in theme templates.
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile-block.tpl.php | 4 | ||||
-rw-r--r-- | modules/profile/profile-listing.tpl.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/profile/profile-block.tpl.php b/modules/profile/profile-block.tpl.php index 0bd833148..dbdbcd84e 100644 --- a/modules/profile/profile-block.tpl.php +++ b/modules/profile/profile-block.tpl.php @@ -31,9 +31,9 @@ ?> <?php print $user_picture; ?> -<?php foreach ($profile as $field) : ?> +<?php foreach ($profile as $field): ?> <p> - <?php if ($field->type != 'checkbox') : ?> + <?php if ($field->type != 'checkbox'): ?> <strong><?php print $field->title; ?></strong><br /> <?php endif; ?> <?php print $field->value; ?> diff --git a/modules/profile/profile-listing.tpl.php b/modules/profile/profile-listing.tpl.php index d484ed26b..d8b835af3 100644 --- a/modules/profile/profile-listing.tpl.php +++ b/modules/profile/profile-listing.tpl.php @@ -43,7 +43,7 @@ <?php print $name; ?> </div> - <?php foreach ($profile as $field) : ?> + <?php foreach ($profile as $field): ?> <div class="field"> <?php print $field->value; ?> </div> |