diff --git a/boot.php b/boot.php
index 85e1598831..0567e41d65 100644
--- a/boot.php
+++ b/boot.php
@@ -2,8 +2,8 @@
set_time_limit(0);
-define ( 'BUILD_ID', 1032 );
-define ( 'FRIENDIKA_VERSION', '2.01.1003' );
+define ( 'BUILD_ID', 1033 );
+define ( 'FRIENDIKA_VERSION', '2.01.1004' );
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
define ( 'EOL', "
\r\n" );
@@ -2011,6 +2011,8 @@ function profile_sidebar($profile) {
$fullname = '
' . $profile['name'] . '
';
+ $pdesc = '' . $profile['pdesc'] . '
';
+
$tabs = '';
$photo = '' . t('This is your public profile.
It may be visible to anybody using the internet.') . '
' : ""),
'$name' => $r[0]['name'],
+ '$pdesc' => $r[0]['pdesc'],
'$dob' => dob($r[0]['dob']),
'$hide_friends' => $hide_friends,
'$address' => $r[0]['address'],
diff --git a/update.php b/update.php
index 7aacffb40b..0bd58d6d48 100644
--- a/update.php
+++ b/update.php
@@ -317,3 +317,6 @@ function update_1031() {
}
}
+function update_1032() {
+ q("ALTER TABLE `profile` ADD `pdesc` CHAR( 255 ) NOT NULL AFTER `name` ");
+}
diff --git a/view/en/profile_edit.tpl b/view/en/profile_edit.tpl
index 50227b7f3b..beff3b8bd5 100644
--- a/view/en/profile_edit.tpl
+++ b/view/en/profile_edit.tpl
@@ -29,6 +29,13 @@ $default
$gender
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl
index 81659af6a0..3cd96eabff 100644
--- a/view/profile_vcard.tpl
+++ b/view/profile_vcard.tpl
@@ -1,7 +1,7 @@
$fullname
-
+ $pdesc
$tabs
$photo
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index d9e93bbe64..0457850dc4 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -256,10 +256,15 @@ nav {
.fn {
font-size: 1.4em;
- margin-bottom: 10px;
+ margin-bottom: 5px;
line-height: 1.5;
}
+.vcard .title {
+ margin-bottom: 5px;
+}
+
+
.powered {
font-size: 0.6em;
color: black;
@@ -731,6 +736,7 @@ input#dfrn-url {
#profile-edit-profile-name-label,
#profile-edit-name-label,
+#profile-edit-pdesc-label,
#profile-edit-gender-label,
#profile-edit-dob-label,
#profile-edit-address-label,
@@ -750,6 +756,7 @@ input#dfrn-url {
#profile-edit-profile-name,
#profile-edit-name,
+#profile-edit-pdesc,
#gender-select,
#profile-edit-dob,
#profile-edit-address,
@@ -819,6 +826,7 @@ input#dfrn-url {
#profile-edit-profile-name-end,
#profile-edit-name-end,
+#profile-edit-pdesc-end,
#profile-edit-gender-end,
#profile-edit-dob-end,
#profile-edit-address-end,
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index b2bdb6e87d..9d51c86f7b 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -604,6 +604,7 @@ input#dfrn-url {
#profile-edit-profile-name-label,
#profile-edit-name-label,
+#profile-edit-pdesc-label,
#profile-edit-gender-label,
#profile-edit-dob-label,
#profile-edit-address-label,
@@ -623,6 +624,7 @@ input#dfrn-url {
#profile-edit-profile-name,
#profile-edit-name,
+#profile-edit-pdesc,
#gender-select,
#profile-edit-dob,
#profile-edit-address,
@@ -692,6 +694,7 @@ input#dfrn-url {
#profile-edit-profile-name-end,
#profile-edit-name-end,
+#profile-edit-pdesc-end,
#profile-edit-gender-end,
#profile-edit-dob-end,
#profile-edit-address-end,
@@ -1842,6 +1845,10 @@ a.mail-list-link {
font-weight: bold;
}
+.vcard .title {
+ margin-bottom: 5px;
+}
+
#birthday-title {
float: left;