From 8b615133d528eb074a23746afef6201f474a4e3f Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 31 Aug 2011 17:31:44 +0200 Subject: remove html from profile vcard code --- view/contact_block.tpl | 9 +++++++++ view/diaspora_vcard.tpl | 44 ++++++++++++++++++++++++++++++++++++++++++++ view/profile_vcard.tpl | 40 +++++++++++++++++++++++++++------------- 3 files changed, 80 insertions(+), 13 deletions(-) create mode 100644 view/contact_block.tpl create mode 100644 view/diaspora_vcard.tpl (limited to 'view') diff --git a/view/contact_block.tpl b/view/contact_block.tpl new file mode 100644 index 000000000..00b97a6d8 --- /dev/null +++ b/view/contact_block.tpl @@ -0,0 +1,9 @@ +

$contacts

+{{ if $micropro }} +
+ {{ for $micropro as $m }} + $m + {{ endfor }} +
+
$viewcontacts
+{{ endif }} diff --git a/view/diaspora_vcard.tpl b/view/diaspora_vcard.tpl new file mode 100644 index 000000000..aa2c9eded --- /dev/null +++ b/view/diaspora_vcard.tpl @@ -0,0 +1,44 @@ +
+
+
Nickname
+
+ $diaspora.nickname +
+
+
+
Full name
+
+ $diaspora.fullname +
+
+
+
URL
+
+ $diaspora.podloc/ +
+
+
+
Photo
+
+ +
+
+
+
Photo
+
+ +
+
+
+
Photo
+
+ +
+
+
+
Searchable
+
+ $diaspora.searchable +
+
+
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index 34f265ee6..01238ed5a 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -1,29 +1,43 @@
- $fullname - $pdesc - $tabs - - $photo +
$profile.name
+ {{ if $pdesc }}
$profile.pdesc
{{ endif }} +
$profile.name
- $location + {{ if $location }} +
$location +
+ {{ if $profile.address }}
$profile.address
{{ endif }} + + $profile.locality{{ if $profile.locality }}, {{ endif }} + $profile.region + $profile.postal-code + + {{ if $profile.country-name }}$profile.country-name{{ endif }} +
+ + {{ endif }} - $gender + {{ if $gender }}
$gender $profile.gender
{{ endif }} + + {{ if $profile.pubkey }}{{ endif }} - $pubkey + {{ if $marital }}
$marital$profile.marital
{{ endif }} -$diaspora + {{ if $homepage }}{{ endif }} -
+ {{ inc diaspora_vcard.tpl }}{{ endinc }} -$marital +
-$homepage +$contact_block -- cgit v1.2.3