|
@@ 219-224 (lines=6) @@
|
| 216 |
|
|
| 217 |
|
// Textarea for interests |
| 218 |
|
//textarea($name, $id, $title, $rows, $cols, $class) |
| 219 |
|
if (0 != smallworldGetValfromArray('interests', 'smallworldusethesefields')) { |
| 220 |
|
$interests = $item->textarea('interests', 'interests', _SMALLWORLD_INTERESTS, 1, 20, 'favourites', $preset = $GLOBALS['xoopsUser']->getVar('user_intrest')); |
| 221 |
|
$GLOBALS['xoopsTpl']->append('interests', $interests); |
| 222 |
|
} else { |
| 223 |
|
$GLOBALS['xoopsTpl']->assign('show_interests', 'no'); |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
// Textarea for Music |
| 227 |
|
if (0 != smallworldGetValfromArray('favouritemusic', 'smallworldusethesefields')) { |
|
@@ 259-264 (lines=6) @@
|
| 256 |
|
} |
| 257 |
|
|
| 258 |
|
// Textarea for About me |
| 259 |
|
if (0 != smallworldGetValfromArray('aboutme', 'smallworldusethesefields')) { |
| 260 |
|
$aboutme = $item->textarea('aboutme', 'aboutme', _SMALLWORLD_ABOUTME, 2, 20, 'favourites', $preset = $GLOBALS['xoopsUser']->getVar('bio', 'N')); |
| 261 |
|
$GLOBALS['xoopsTpl']->append('aboutme', $aboutme); |
| 262 |
|
} else { |
| 263 |
|
$GLOBALS['xoopsTpl']->assign('show_aboutme', 'no'); |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
// ------------ SCHOOL ------------ // |
| 267 |
|
//School name |