From 31166076841b4cc3eeac2ac22e4a31883e3a2273 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 22 Jan 2013 01:22:23 -0500 Subject: [PATCH] smarty3 only --- view/theme/blogng/default.php | 1 + view/theme/blogng/nav.tpl | 115 ------------------ view/theme/blogng/smarty3/common_tabs.tpl | 5 + view/theme/blogng/smarty3/nav.tpl | 122 ++++++++++++++++++++ view/theme/blogng/smarty3/profile_vcard.tpl | 50 ++++++++ 5 files changed, 178 insertions(+), 115 deletions(-) delete mode 100644 view/theme/blogng/nav.tpl create mode 100644 view/theme/blogng/smarty3/common_tabs.tpl create mode 100644 view/theme/blogng/smarty3/nav.tpl create mode 100644 view/theme/blogng/smarty3/profile_vcard.tpl diff --git a/view/theme/blogng/default.php b/view/theme/blogng/default.php index 16299be..8322e54 100644 --- a/view/theme/blogng/default.php +++ b/view/theme/blogng/default.php @@ -32,6 +32,7 @@ +

diff --git a/view/theme/blogng/nav.tpl b/view/theme/blogng/nav.tpl deleted file mode 100644 index d4cacd3..0000000 --- a/view/theme/blogng/nav.tpl +++ /dev/null @@ -1,115 +0,0 @@ -
- -
- - diff --git a/view/theme/blogng/smarty3/common_tabs.tpl b/view/theme/blogng/smarty3/common_tabs.tpl new file mode 100644 index 0000000..ff88cf6 --- /dev/null +++ b/view/theme/blogng/smarty3/common_tabs.tpl @@ -0,0 +1,5 @@ + diff --git a/view/theme/blogng/smarty3/nav.tpl b/view/theme/blogng/smarty3/nav.tpl new file mode 100644 index 0000000..96fa5cb --- /dev/null +++ b/view/theme/blogng/smarty3/nav.tpl @@ -0,0 +1,122 @@ +
+ +
+ + diff --git a/view/theme/blogng/smarty3/profile_vcard.tpl b/view/theme/blogng/smarty3/profile_vcard.tpl new file mode 100644 index 0000000..9e55e93 --- /dev/null +++ b/view/theme/blogng/smarty3/profile_vcard.tpl @@ -0,0 +1,50 @@ +
+ +

{{$profile.name}}

+ + + + {{if $pdesc}}
{{$profile.pdesc}}
{{/if}} +
{{$profile.name}}
+ + + + {{if $location}} +
{{$location}}
+
+ {{if $profile.address}}
{{$profile.address}}
{{/if}} + + {{$profile.locality}}{{if $profile.locality}}, {{/if}} + {{$profile.region}} + {{$profile.postal_code}} + + {{if $profile.country_name}}{{$profile.country_name}}{{/if}} +
+
+ {{/if}} + + {{if $gender}}
{{$gender}}
{{$profile.gender}}
{{/if}} + + {{if $profile.pubkey}}{{/if}} + + {{if $marital}}
{{$marital}}
{{$profile.marital}}
{{/if}} + + {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} + + {{include file="diaspora_vcard.tpl"}} + + +
+ +{{$contact_block}} + +