"with" is optional - don't show anything if not present.
This commit is contained in:
parent
4be5e57afd
commit
b09ab4ef2c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user