aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-26 03:49:50 -0800
committerfriendica <info@friendica.com>2012-12-26 03:49:50 -0800
commitc8292b3cddf0a29236cb981111beb4587d7be411 (patch)
treed9e5ed5afbf5ca90d04325c70949ea436a40c578 /mod/profiles.php
parent1aeea64311d1ae104b8fe513bf13c6f7eeb4fa42 (diff)
downloadvolse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.gz
volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.bz2
volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.zip
remove the private keywords stuff to reduce directory and search complexity
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php18
1 files changed, 6 insertions, 12 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index c828941b6..37be9bd08 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -61,8 +61,7 @@ function profiles_post(&$a) {
$region = notags(trim($_POST['region']));
$postal_code = notags(trim($_POST['postal_code']));
$country_name = notags(trim($_POST['country_name']));
- $pub_keywords = notags(trim($_POST['pub_keywords']));
- $prv_keywords = notags(trim($_POST['prv_keywords']));
+ $keywords = notags(trim($_POST['keywords']));
$marital = notags(trim($_POST['marital']));
$howlong = notags(trim($_POST['howlong']));
$sexual = notags(trim($_POST['sexual']));
@@ -232,8 +231,7 @@ function profiles_post(&$a) {
`hometown` = '%s',
`politic` = '%s',
`religion` = '%s',
- `pub_keywords` = '%s',
- `prv_keywords` = '%s',
+ `keywords` = '%s',
`likes` = '%s',
`dislikes` = '%s',
`about` = '%s',
@@ -266,8 +264,7 @@ function profiles_post(&$a) {
dbesc($hometown),
dbesc($politic),
dbesc($religion),
- dbesc($pub_keywords),
- dbesc($prv_keywords),
+ dbesc($keywords),
dbesc($likes),
dbesc($dislikes),
dbesc($about),
@@ -511,13 +508,11 @@ function profiles_content(&$a) {
'$lbl_hometown' => t('Hometown:'),
'$lbl_politic' => t('Political Views:'),
'$lbl_religion' => t('Religious Views:'),
- '$lbl_pubkey' => t('Public Keywords:'),
- '$lbl_prvkey' => t('Private Keywords:'),
+ '$lbl_pubkey' => t('Keywords:'),
'$lbl_likes' => t('Likes:'),
'$lbl_dislikes' => t('Dislikes:'),
'$lbl_ex2' => t('Example: fishing photography software'),
- '$lbl_pubdsc' => t("\x28Used for suggesting potential friends, can be seen by others\x29"),
- '$lbl_prvdsc' => t("\x28Used for searching profiles, never shown to others\x29"),
+ '$lbl_pubdsc' => t("Used in directory listings"),
'$lbl_about' => t('Tell us about yourself...'),
'$lbl_hobbies' => t('Hobbies/Interests'),
'$lbl_social' => t('Contact information and Social Networks'),
@@ -553,8 +548,7 @@ function profiles_content(&$a) {
'$hometown' => $r[0]['hometown'],
'$politic' => $r[0]['politic'],
'$religion' => $r[0]['religion'],
- '$pub_keywords' => $r[0]['pub_keywords'],
- '$prv_keywords' => $r[0]['prv_keywords'],
+ '$keywords' => $r[0]['keywords'],
'$likes' => $r[0]['likes'],
'$dislikes' => $r[0]['dislikes'],
'$music' => $r[0]['music'],