Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4a105952
Commit
4a105952
authored
Apr 04, 2006
by
Gerhard Killesreiter
Browse files
#55797
, consistency in author block, patch by dww
parent
2e3826ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/profile.module
View file @
4a105952
...
...
@@ -745,7 +745,12 @@ function theme_profile_block($account, $fields = array()) {
foreach
(
$fields
as
$field
)
{
if
(
$field
->
value
)
{
$output
.
=
"<p><strong>
$field->title
:</strong><br />
$field->value
</p>
\n
"
;
if
(
$field
->
type
==
'checkbox'
)
{
$output
.
=
"<p>
$field->value
</p>
\n
"
;
}
else
{
$output
.
=
"<p><strong>
$field->title
</strong><br />
$field->value
</p>
\n
"
;
}
}
}
...
...
modules/profile/profile.module
View file @
4a105952
...
...
@@ -745,7 +745,12 @@ function theme_profile_block($account, $fields = array()) {
foreach
(
$fields
as
$field
)
{
if
(
$field
->
value
)
{
$output
.
=
"<p><strong>
$field->title
:</strong><br />
$field->value
</p>
\n
"
;
if
(
$field
->
type
==
'checkbox'
)
{
$output
.
=
"<p>
$field->value
</p>
\n
"
;
}
else
{
$output
.
=
"<p><strong>
$field->title
</strong><br />
$field->value
</p>
\n
"
;
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment