From b4a95460e65dbadaf074a414a9e3d9367e109f19 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 6 Jan 2013 19:34:54 -0700 Subject: fix show-stopping bugs --- view/theme/redbasic/tpl/smarty3/lang_selector.tpl | 10 ---- .../redbasic/tpl/smarty3/moderated_comment.tpl | 61 ---------------------- view/theme/redbasic/tpl/smarty3/profile_vcard.tpl | 51 ------------------ view/theme/redbasic/tpl/smarty3/prv_message.tpl | 39 -------------- view/tpl/conv_item.tpl | 4 +- view/tpl/smarty3/conv_item.tpl | 4 +- view/tpl/smarty3/diaspora_comment.tpl | 11 ---- view/tpl/smarty3/diaspora_comment_relay.tpl | 12 ----- view/tpl/smarty3/diaspora_conversation.tpl | 29 ---------- view/tpl/smarty3/diaspora_like.tpl | 12 ----- view/tpl/smarty3/diaspora_like_relay.tpl | 13 ----- view/tpl/smarty3/diaspora_message.tpl | 13 ----- view/tpl/smarty3/diaspora_photo.tpl | 13 ----- view/tpl/smarty3/diaspora_post.tpl | 11 ---- view/tpl/smarty3/diaspora_profile.tpl | 16 ------ view/tpl/smarty3/diaspora_relay_retraction.tpl | 10 ---- view/tpl/smarty3/diaspora_relayable_retraction.tpl | 11 ---- view/tpl/smarty3/diaspora_retract.tpl | 9 ---- view/tpl/smarty3/diaspora_share.tpl | 8 --- view/tpl/smarty3/diaspora_signed_retract.tpl | 10 ---- view/tpl/smarty3/diaspora_vcard.tpl | 57 -------------------- view/tpl/smarty3/xrd_diaspora.tpl | 3 -- 22 files changed, 4 insertions(+), 403 deletions(-) delete mode 100644 view/theme/redbasic/tpl/smarty3/lang_selector.tpl delete mode 100644 view/theme/redbasic/tpl/smarty3/moderated_comment.tpl delete mode 100644 view/theme/redbasic/tpl/smarty3/profile_vcard.tpl delete mode 100644 view/theme/redbasic/tpl/smarty3/prv_message.tpl delete mode 100644 view/tpl/smarty3/diaspora_comment.tpl delete mode 100644 view/tpl/smarty3/diaspora_comment_relay.tpl delete mode 100644 view/tpl/smarty3/diaspora_conversation.tpl delete mode 100644 view/tpl/smarty3/diaspora_like.tpl delete mode 100644 view/tpl/smarty3/diaspora_like_relay.tpl delete mode 100644 view/tpl/smarty3/diaspora_message.tpl delete mode 100644 view/tpl/smarty3/diaspora_photo.tpl delete mode 100644 view/tpl/smarty3/diaspora_post.tpl delete mode 100644 view/tpl/smarty3/diaspora_profile.tpl delete mode 100644 view/tpl/smarty3/diaspora_relay_retraction.tpl delete mode 100644 view/tpl/smarty3/diaspora_relayable_retraction.tpl delete mode 100644 view/tpl/smarty3/diaspora_retract.tpl delete mode 100644 view/tpl/smarty3/diaspora_share.tpl delete mode 100644 view/tpl/smarty3/diaspora_signed_retract.tpl delete mode 100644 view/tpl/smarty3/diaspora_vcard.tpl delete mode 100644 view/tpl/smarty3/xrd_diaspora.tpl (limited to 'view') diff --git a/view/theme/redbasic/tpl/smarty3/lang_selector.tpl b/view/theme/redbasic/tpl/smarty3/lang_selector.tpl deleted file mode 100644 index 945cbf51e..000000000 --- a/view/theme/redbasic/tpl/smarty3/lang_selector.tpl +++ /dev/null @@ -1,10 +0,0 @@ -
- diff --git a/view/theme/redbasic/tpl/smarty3/moderated_comment.tpl b/view/theme/redbasic/tpl/smarty3/moderated_comment.tpl deleted file mode 100644 index 8fbdf4bc4..000000000 --- a/view/theme/redbasic/tpl/smarty3/moderated_comment.tpl +++ /dev/null @@ -1,61 +0,0 @@ -
-
- - - - - - - -
- {{$mytitle}} -
-
- -
    -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
-
- - -
- - -
-
- -
diff --git a/view/theme/redbasic/tpl/smarty3/profile_vcard.tpl b/view/theme/redbasic/tpl/smarty3/profile_vcard.tpl deleted file mode 100644 index 048c461f4..000000000 --- a/view/theme/redbasic/tpl/smarty3/profile_vcard.tpl +++ /dev/null @@ -1,51 +0,0 @@ -
- -
{{$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}} - - diff --git a/view/theme/redbasic/tpl/smarty3/prv_message.tpl b/view/theme/redbasic/tpl/smarty3/prv_message.tpl deleted file mode 100644 index 9023540c4..000000000 --- a/view/theme/redbasic/tpl/smarty3/prv_message.tpl +++ /dev/null @@ -1,39 +0,0 @@ - -

{{$header}}

- -
-
- -{{$parent}} - -
{{$to}}
- -{{if $showinputs}} - - -{{else}} -{{$select}} -{{/if}} - -
{{$subject}}
- - -
{{$yourmessage}}
- - - -
- -
-
-
- -
- -
-
-
-
-
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 66fb499a6..0c0553639 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -101,8 +101,8 @@
{{ if $item.toplevel }} -{{ for $item.children as $item }} - {{ inc $item.template }}{{ endinc }} +{{ for $item.children as $child }} + {{ inc $child.template with $item=$child }}{{ endinc }} {{ endfor }} {{ endif }} diff --git a/view/tpl/smarty3/conv_item.tpl b/view/tpl/smarty3/conv_item.tpl index a3e1ba7db..f69166f63 100644 --- a/view/tpl/smarty3/conv_item.tpl +++ b/view/tpl/smarty3/conv_item.tpl @@ -101,8 +101,8 @@
{{if $item.toplevel}} -{{foreach $item.children as $item}} - {{include file="{{$item.template}}"}} +{{foreach $item.children as $child}} + {{include file="{{$child.template}}" item=$child}} {{/foreach}} {{/if}} diff --git a/view/tpl/smarty3/diaspora_comment.tpl b/view/tpl/smarty3/diaspora_comment.tpl deleted file mode 100644 index 27ec3dffc..000000000 --- a/view/tpl/smarty3/diaspora_comment.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - {{$guid}} - {{$parent_guid}} - {{$authorsig}} - {{$body}} - {{$handle}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_comment_relay.tpl b/view/tpl/smarty3/diaspora_comment_relay.tpl deleted file mode 100644 index 37a9e88b3..000000000 --- a/view/tpl/smarty3/diaspora_comment_relay.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - {{$guid}} - {{$parent_guid}} - {{$parentsig}} - {{$authorsig}} - {{$body}} - {{$handle}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_conversation.tpl b/view/tpl/smarty3/diaspora_conversation.tpl deleted file mode 100644 index dc4482e4b..000000000 --- a/view/tpl/smarty3/diaspora_conversation.tpl +++ /dev/null @@ -1,29 +0,0 @@ - - - - {{$conv.guid}} - {{$conv.subject}} - {{$conv.created_at}} - - {{foreach $conv.messages as $msg}} - - - {{$msg.guid}} - {{$msg.parent_guid}} - {{if $msg.parent_author_signature}} - {{$msg.parent_author_signature}} - {{/if}} - {{$msg.author_signature}} - {{$msg.text}} - {{$msg.created_at}} - {{$msg.diaspora_handle}} - {{$msg.conversation_guid}} - - - {{/foreach}} - - {{$conv.diaspora_handle}} - {{$conv.participant_handles}} - - - diff --git a/view/tpl/smarty3/diaspora_like.tpl b/view/tpl/smarty3/diaspora_like.tpl deleted file mode 100644 index b03aef37a..000000000 --- a/view/tpl/smarty3/diaspora_like.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - {{$target_type}} - {{$guid}} - {{$parent_guid}} - {{$authorsig}} - {{$positive}} - {{$handle}} - - - diff --git a/view/tpl/smarty3/diaspora_like_relay.tpl b/view/tpl/smarty3/diaspora_like_relay.tpl deleted file mode 100644 index 30df4cac6..000000000 --- a/view/tpl/smarty3/diaspora_like_relay.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - - - {{$guid}} - {{$target_type}} - {{$parent_guid}} - {{$parentsig}} - {{$authorsig}} - {{$positive}} - {{$handle}} - - - diff --git a/view/tpl/smarty3/diaspora_message.tpl b/view/tpl/smarty3/diaspora_message.tpl deleted file mode 100644 index 3413d79b0..000000000 --- a/view/tpl/smarty3/diaspora_message.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - - - {{$msg.guid}} - {{$msg.parent_guid}} - {{$msg.author_signature}} - {{$msg.text}} - {{$msg.created_at}} - {{$msg.diaspora_handle}} - {{$msg.conversation_guid}} - - - diff --git a/view/tpl/smarty3/diaspora_photo.tpl b/view/tpl/smarty3/diaspora_photo.tpl deleted file mode 100644 index cd7ef5802..000000000 --- a/view/tpl/smarty3/diaspora_photo.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - - - {{$path}} - {{$filename}} - {{$msg_guid}} - {{$guid}} - {{$handle}} - {{$public}} - {{$created_at}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_post.tpl b/view/tpl/smarty3/diaspora_post.tpl deleted file mode 100644 index abbcc4c61..000000000 --- a/view/tpl/smarty3/diaspora_post.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - {{$body}} - {{$guid}} - {{$handle}} - {{$public}} - {{$created}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_profile.tpl b/view/tpl/smarty3/diaspora_profile.tpl deleted file mode 100644 index 04f2e2948..000000000 --- a/view/tpl/smarty3/diaspora_profile.tpl +++ /dev/null @@ -1,16 +0,0 @@ - - - {{$handle}} - {{$first}} - {{$last}} - {{$large}} - {{$small}} - {{$medium}} - {{$dob}} - {{$gender}} - {{$about}} - {{$location}} - {{$searchable}} - {{$tags}} - - diff --git a/view/tpl/smarty3/diaspora_relay_retraction.tpl b/view/tpl/smarty3/diaspora_relay_retraction.tpl deleted file mode 100644 index 5e7aed41f..000000000 --- a/view/tpl/smarty3/diaspora_relay_retraction.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - {{$type}} - {{$guid}} - {{$signature}} - {{$handle}} - - - diff --git a/view/tpl/smarty3/diaspora_relayable_retraction.tpl b/view/tpl/smarty3/diaspora_relayable_retraction.tpl deleted file mode 100644 index 927e394f3..000000000 --- a/view/tpl/smarty3/diaspora_relayable_retraction.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - {{$target_type}} - {{$guid}} - {{$parentsig}} - {{$authorsig}} - {{$handle}} - - - diff --git a/view/tpl/smarty3/diaspora_retract.tpl b/view/tpl/smarty3/diaspora_retract.tpl deleted file mode 100644 index 26e2cb94e..000000000 --- a/view/tpl/smarty3/diaspora_retract.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - - - {{$guid}} - {{$type}} - {{$handle}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_share.tpl b/view/tpl/smarty3/diaspora_share.tpl deleted file mode 100644 index 59eb06124..000000000 --- a/view/tpl/smarty3/diaspora_share.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - - - {{$sender}} - {{$recipient}} - - - \ No newline at end of file diff --git a/view/tpl/smarty3/diaspora_signed_retract.tpl b/view/tpl/smarty3/diaspora_signed_retract.tpl deleted file mode 100644 index f0f346da8..000000000 --- a/view/tpl/smarty3/diaspora_signed_retract.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - {{$guid}} - {{$type}} - {{$handle}} - {{$signature}} - - - diff --git a/view/tpl/smarty3/diaspora_vcard.tpl b/view/tpl/smarty3/diaspora_vcard.tpl deleted file mode 100644 index 0ab6879f9..000000000 --- a/view/tpl/smarty3/diaspora_vcard.tpl +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
Nickname
-
- {{$diaspora.nickname}} -
-
-
-
Full name
-
- {{$diaspora.fullname}} -
-
- -
-
First name
-
- {{$diaspora.firstname}} -
-
-
-
Family name
-
- {{$diaspora.lastname}} -
-
-
-
URL
-
- {{$diaspora.podloc}}/ -
-
-
-
Photo
-
- -
-
-
-
Photo
-
- -
-
-
-
Photo
-
- -
-
-
-
Searchable
-
- {{$diaspora.searchable}} -
-
-
diff --git a/view/tpl/smarty3/xrd_diaspora.tpl b/view/tpl/smarty3/xrd_diaspora.tpl deleted file mode 100644 index aa0d8c740..000000000 --- a/view/tpl/smarty3/xrd_diaspora.tpl +++ /dev/null @@ -1,3 +0,0 @@ - - - -- cgit v1.2.3