diff --git a/mod/profiles.php b/mod/profiles.php index 34678a237..c74586b07 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -225,6 +225,17 @@ function profiles_content(&$a) { '$sexual' => sexpref_selector($r[0]['sexual']), '$about' => $r[0]['about'], '$homepage' => $r[0]['homepage'], + '$politic' => $r[0]['politic'], + '$religion' => $r[0]['religion'], + '$music' => $r[0]['music'], + '$book' => $r[0]['book'], + '$tv' => $r[0]['tv'], + '$film' => $r[0]['film'], + '$interest' => $r[0]['interest'], + '$romance' => $r[0]['romance'], + '$work' => $r[0]['work'], + '$education' => $r[0]['education'], + '$contact' => $r[0]['contact'], '$profile_in_dir' => (($is_default) ? $profile_in_dir : '') )); diff --git a/updates.sql b/updates.sql index 07c4c760c..de7bfa1e4 100644 --- a/updates.sql +++ b/updates.sql @@ -21,4 +21,8 @@ ALTER TABLE `profile` ADD `summary` CHAR( 255 ) NOT NULL AFTER `about` ; ALTER TABLE `profile` ADD `dob_hide` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `dob` ; ALTER TABLE `profile` DROP `age`; - ALTER TABLE `profile` DROP `dob_hide` ; \ No newline at end of file + ALTER TABLE `profile` DROP `dob_hide` ; + ALTER TABLE `profile` CHANGE `school` `education` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ; + ALTER TABLE `profile` DROP `employer` ; + +ALTER TABLE `profile` ADD `contact` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL AFTER `education` ; \ No newline at end of file diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl index ff0e2f8e4..a56d4f78f 100644 --- a/view/profile_edit.tpl +++ b/view/profile_edit.tpl @@ -9,13 +9,13 @@ $default
Leave year blank to suppress age.
Tell us about yourself.
- ++Hobbies/Interests. +
+ + ++Contact information. +
+ + + ++Musical interests. +
+ + + ++Books, literature. +
+ + + ++Television. +
+ + + ++Film/dance/culture/entertainment. +
+ + + ++Love/romance. +
+ + + ++Work/employment. +
+ + + ++School/education. +
+ + + +