diff options
author | Friendika <info@friendika.com> | 2010-12-04 00:38:34 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-04 00:38:34 -0800 |
commit | b09ab4ef2ce9a9b55e4763418b3358aefe2307fc (patch) | |
tree | b1208c23265dd324dc619f423c8fd16cad72ffb5 /view | |
parent | 4be5e57afdd0017d0cf40b23e60ff5b6e243992e (diff) | |
download | volse-hubzilla-b09ab4ef2ce9a9b55e4763418b3358aefe2307fc.tar.gz volse-hubzilla-b09ab4ef2ce9a9b55e4763418b3358aefe2307fc.tar.bz2 volse-hubzilla-b09ab4ef2ce9a9b55e4763418b3358aefe2307fc.zip |
"with" is optional - don't show anything if not present.
Diffstat (limited to 'view')
-rw-r--r-- | view/en/profile_advanced.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index c736448e5..7e2036890 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -62,7 +62,11 @@ $o .= <<< EOT <div id="advanced-profile-marital-wrapper" > <div id="advanced-profile-marital-text"><span class="heart">♥</span> Status:</div> <div id="advanced-profile-marital">{$a->profile['marital']}</div> -<div id="advanced-profile-with">({$a->profile['with']})</div> +EOT; + +if($a->profile['with']) + $o .= "<div id=\"advanced-profile-with\">({$a->profile['with']})</div>"; +$o .= <<< EOT </div> <div id="advanced-profile-marital-end"></div> EOT; |