diff options
author | friendica <info@friendica.com> | 2012-06-02 20:58:20 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-02 20:58:20 -0700 |
commit | d27c6de84e28f8094c695b3857dc69f103cffa08 (patch) | |
tree | 6c8b20c747fdee230483a1f500a40036d295ba13 /mod/profiles.php | |
parent | 3d39e6e59489cf5013d7515a6e9deb2175d433ee (diff) | |
download | volse-hubzilla-d27c6de84e28f8094c695b3857dc69f103cffa08.tar.gz volse-hubzilla-d27c6de84e28f8094c695b3857dc69f103cffa08.tar.bz2 volse-hubzilla-d27c6de84e28f8094c695b3857dc69f103cffa08.zip |
add hometown to profiles
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index e32fdb33d..6a8ce9e1e 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -126,6 +126,7 @@ function profiles_post(&$a) { $sexual = notags(trim($_POST['sexual'])); $homepage = notags(trim($_POST['homepage'])); + $hometown = notags(trim($_POST['hometown'])); $politic = notags(trim($_POST['politic'])); $religion = notags(trim($_POST['religion'])); @@ -216,6 +217,7 @@ function profiles_post(&$a) { `howlong` = '%s', `sexual` = '%s', `homepage` = '%s', + `hometown` = '%s', `politic` = '%s', `religion` = '%s', `pub_keywords` = '%s', @@ -247,6 +249,7 @@ function profiles_post(&$a) { dbesc($howlong), dbesc($sexual), dbesc($homepage), + dbesc($hometown), dbesc($politic), dbesc($religion), dbesc($pub_keywords), @@ -569,6 +572,7 @@ function profiles_content(&$a) { '$lbl_howlong' => t('Since [date]:'), '$lbl_sexual' => t('Sexual Preference:'), '$lbl_homepage' => t('Homepage URL:'), + '$lbl_hometown' => t('Hometown:'), '$lbl_politic' => t('Political Views:'), '$lbl_religion' => t('Religious Views:'), '$lbl_pubkey' => t('Public Keywords:'), @@ -608,6 +612,7 @@ function profiles_content(&$a) { '$sexual' => sexpref_selector($r[0]['sexual']), '$about' => $r[0]['about'], '$homepage' => $r[0]['homepage'], + '$hometown' => $r[0]['hometown'], '$politic' => $r[0]['politic'], '$religion' => $r[0]['religion'], '$pub_keywords' => $r[0]['pub_keywords'], |