|
@@ 98-107 (lines=10) @@
|
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
// Dropdown for marital status |
| 98 |
|
if (0 != smallworldGetValfromArray('relationshipstatus', 'smallworldusethesefields')) { |
| 99 |
|
$relationshipstatus = $item->dropdown('relationship', $arr02, 0); |
| 100 |
|
$GLOBALS['xoopsTpl']->append('relationshipstatus', $relationshipstatus); |
| 101 |
|
|
| 102 |
|
// Partner. Only shown if marital status is married, it's complicated, engaged) |
| 103 |
|
$partner = $item->input('partner', 'partner', 'partner', $size = '30', $preset = null); |
| 104 |
|
$GLOBALS['xoopsTpl']->append('partner', $partner); |
| 105 |
|
} else { |
| 106 |
|
$GLOBALS['xoopsTpl']->assign('show_relationshipstatus', 'no'); |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
// Checkbox for searchin for |
| 110 |
|
if (0 != smallworldGetValfromArray('lookingfor', 'smallworldusethesefields')) { |
|
@@ 202-209 (lines=8) @@
|
| 199 |
|
$GLOBALS['xoopsTpl']->assign('show_adress', 'no'); |
| 200 |
|
} |
| 201 |
|
|
| 202 |
|
if (0 != smallworldGetValfromArray('presentcity', 'smallworldusethesefields')) { |
| 203 |
|
$present_city = $item->input('present_city', 'present_city', 'present_city', 50, $preset = null); |
| 204 |
|
$GLOBALS['xoopsTpl']->append('present_city', $present_city); |
| 205 |
|
$present_country = $item->input('present_country', 'present_country', 'present_country', $size = '50', $preset = null); |
| 206 |
|
$GLOBALS['xoopsTpl']->append('present_country', $present_country); |
| 207 |
|
} else { |
| 208 |
|
$GLOBALS['xoopsTpl']->assign('show_city', 'no'); |
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
if (0 == smallworldGetValfromArray('website', 'smallworldusethesefields')) { |
| 212 |
|
$GLOBALS['xoopsTpl']->assign('show_website', 'no'); |