{{ endfor }}
-
+
{{ endif }}
diff --git a/view/categories_widget.tpl b/view/tpl/categories_widget.tpl
similarity index 100%
rename from view/categories_widget.tpl
rename to view/tpl/categories_widget.tpl
diff --git a/view/comment_item.tpl b/view/tpl/comment_item.tpl
similarity index 100%
rename from view/comment_item.tpl
rename to view/tpl/comment_item.tpl
diff --git a/view/common_friends.tpl b/view/tpl/common_friends.tpl
similarity index 100%
rename from view/common_friends.tpl
rename to view/tpl/common_friends.tpl
diff --git a/view/common_tabs.tpl b/view/tpl/common_tabs.tpl
similarity index 100%
rename from view/common_tabs.tpl
rename to view/tpl/common_tabs.tpl
diff --git a/view/contact_block.tpl b/view/tpl/contact_block.tpl
similarity index 100%
rename from view/contact_block.tpl
rename to view/tpl/contact_block.tpl
diff --git a/view/contact_edit.tpl b/view/tpl/contact_edit.tpl
similarity index 100%
rename from view/contact_edit.tpl
rename to view/tpl/contact_edit.tpl
diff --git a/view/contact_head.tpl b/view/tpl/contact_head.tpl
similarity index 100%
rename from view/contact_head.tpl
rename to view/tpl/contact_head.tpl
diff --git a/view/contact_slider.tpl b/view/tpl/contact_slider.tpl
similarity index 100%
rename from view/contact_slider.tpl
rename to view/tpl/contact_slider.tpl
diff --git a/view/contact_template.tpl b/view/tpl/contact_template.tpl
similarity index 100%
rename from view/contact_template.tpl
rename to view/tpl/contact_template.tpl
diff --git a/view/contacts-template.tpl b/view/tpl/contacts-template.tpl
similarity index 100%
rename from view/contacts-template.tpl
rename to view/tpl/contacts-template.tpl
diff --git a/view/content.tpl b/view/tpl/content.tpl
similarity index 100%
rename from view/content.tpl
rename to view/tpl/content.tpl
diff --git a/view/conv.tpl b/view/tpl/conv.tpl
similarity index 100%
rename from view/conv.tpl
rename to view/tpl/conv.tpl
diff --git a/view/conv_frame.tpl b/view/tpl/conv_frame.tpl
similarity index 100%
rename from view/conv_frame.tpl
rename to view/tpl/conv_frame.tpl
diff --git a/view/conversation.tpl b/view/tpl/conversation.tpl
similarity index 100%
rename from view/conversation.tpl
rename to view/tpl/conversation.tpl
diff --git a/view/crepair.tpl b/view/tpl/crepair.tpl
similarity index 100%
rename from view/crepair.tpl
rename to view/tpl/crepair.tpl
diff --git a/view/cropbody.tpl b/view/tpl/cropbody.tpl
similarity index 100%
rename from view/cropbody.tpl
rename to view/tpl/cropbody.tpl
diff --git a/view/crophead.tpl b/view/tpl/crophead.tpl
similarity index 100%
rename from view/crophead.tpl
rename to view/tpl/crophead.tpl
diff --git a/view/delegate.tpl b/view/tpl/delegate.tpl
similarity index 100%
rename from view/delegate.tpl
rename to view/tpl/delegate.tpl
diff --git a/view/dfrn_req_confirm.tpl b/view/tpl/dfrn_req_confirm.tpl
similarity index 100%
rename from view/dfrn_req_confirm.tpl
rename to view/tpl/dfrn_req_confirm.tpl
diff --git a/view/dfrn_request.tpl b/view/tpl/dfrn_request.tpl
similarity index 100%
rename from view/dfrn_request.tpl
rename to view/tpl/dfrn_request.tpl
diff --git a/view/diasp_dec_hdr.tpl b/view/tpl/diasp_dec_hdr.tpl
similarity index 100%
rename from view/diasp_dec_hdr.tpl
rename to view/tpl/diasp_dec_hdr.tpl
diff --git a/view/diaspora_comment.tpl b/view/tpl/diaspora_comment.tpl
similarity index 100%
rename from view/diaspora_comment.tpl
rename to view/tpl/diaspora_comment.tpl
diff --git a/view/diaspora_comment_relay.tpl b/view/tpl/diaspora_comment_relay.tpl
similarity index 100%
rename from view/diaspora_comment_relay.tpl
rename to view/tpl/diaspora_comment_relay.tpl
diff --git a/view/diaspora_conversation.tpl b/view/tpl/diaspora_conversation.tpl
similarity index 100%
rename from view/diaspora_conversation.tpl
rename to view/tpl/diaspora_conversation.tpl
diff --git a/view/diaspora_like.tpl b/view/tpl/diaspora_like.tpl
similarity index 100%
rename from view/diaspora_like.tpl
rename to view/tpl/diaspora_like.tpl
diff --git a/view/diaspora_like_relay.tpl b/view/tpl/diaspora_like_relay.tpl
similarity index 100%
rename from view/diaspora_like_relay.tpl
rename to view/tpl/diaspora_like_relay.tpl
diff --git a/view/diaspora_message.tpl b/view/tpl/diaspora_message.tpl
similarity index 100%
rename from view/diaspora_message.tpl
rename to view/tpl/diaspora_message.tpl
diff --git a/view/diaspora_photo.tpl b/view/tpl/diaspora_photo.tpl
similarity index 100%
rename from view/diaspora_photo.tpl
rename to view/tpl/diaspora_photo.tpl
diff --git a/view/diaspora_post.tpl b/view/tpl/diaspora_post.tpl
similarity index 100%
rename from view/diaspora_post.tpl
rename to view/tpl/diaspora_post.tpl
diff --git a/view/diaspora_profile.tpl b/view/tpl/diaspora_profile.tpl
similarity index 100%
rename from view/diaspora_profile.tpl
rename to view/tpl/diaspora_profile.tpl
diff --git a/view/diaspora_relay_retraction.tpl b/view/tpl/diaspora_relay_retraction.tpl
similarity index 100%
rename from view/diaspora_relay_retraction.tpl
rename to view/tpl/diaspora_relay_retraction.tpl
diff --git a/view/diaspora_relayable_retraction.tpl b/view/tpl/diaspora_relayable_retraction.tpl
similarity index 100%
rename from view/diaspora_relayable_retraction.tpl
rename to view/tpl/diaspora_relayable_retraction.tpl
diff --git a/view/diaspora_retract.tpl b/view/tpl/diaspora_retract.tpl
similarity index 100%
rename from view/diaspora_retract.tpl
rename to view/tpl/diaspora_retract.tpl
diff --git a/view/diaspora_share.tpl b/view/tpl/diaspora_share.tpl
similarity index 100%
rename from view/diaspora_share.tpl
rename to view/tpl/diaspora_share.tpl
diff --git a/view/diaspora_signed_retract.tpl b/view/tpl/diaspora_signed_retract.tpl
similarity index 100%
rename from view/diaspora_signed_retract.tpl
rename to view/tpl/diaspora_signed_retract.tpl
diff --git a/view/diaspora_vcard.tpl b/view/tpl/diaspora_vcard.tpl
similarity index 100%
rename from view/diaspora_vcard.tpl
rename to view/tpl/diaspora_vcard.tpl
diff --git a/view/directory_header.tpl b/view/tpl/directory_header.tpl
similarity index 100%
rename from view/directory_header.tpl
rename to view/tpl/directory_header.tpl
diff --git a/view/directory_item.tpl b/view/tpl/directory_item.tpl
similarity index 100%
rename from view/directory_item.tpl
rename to view/tpl/directory_item.tpl
diff --git a/view/tpl/display-head.tpl b/view/tpl/display-head.tpl
new file mode 100644
index 000000000..3d4e7e96a
--- /dev/null
+++ b/view/tpl/display-head.tpl
@@ -0,0 +1,8 @@
+
+
diff --git a/view/email_notify_html.tpl b/view/tpl/email_notify_html.tpl
similarity index 100%
rename from view/email_notify_html.tpl
rename to view/tpl/email_notify_html.tpl
diff --git a/view/email_notify_text.tpl b/view/tpl/email_notify_text.tpl
similarity index 100%
rename from view/email_notify_text.tpl
rename to view/tpl/email_notify_text.tpl
diff --git a/view/event.tpl b/view/tpl/event.tpl
similarity index 100%
rename from view/event.tpl
rename to view/tpl/event.tpl
diff --git a/view/event_form.tpl b/view/tpl/event_form.tpl
similarity index 100%
rename from view/event_form.tpl
rename to view/tpl/event_form.tpl
diff --git a/view/event_head.tpl b/view/tpl/event_head.tpl
similarity index 100%
rename from view/event_head.tpl
rename to view/tpl/event_head.tpl
diff --git a/view/events-js.tpl b/view/tpl/events-js.tpl
similarity index 100%
rename from view/events-js.tpl
rename to view/tpl/events-js.tpl
diff --git a/view/events.tpl b/view/tpl/events.tpl
similarity index 100%
rename from view/events.tpl
rename to view/tpl/events.tpl
diff --git a/view/events_reminder.tpl b/view/tpl/events_reminder.tpl
similarity index 100%
rename from view/events_reminder.tpl
rename to view/tpl/events_reminder.tpl
diff --git a/view/failed_updates.tpl b/view/tpl/failed_updates.tpl
similarity index 100%
rename from view/failed_updates.tpl
rename to view/tpl/failed_updates.tpl
diff --git a/view/fake_feed.tpl b/view/tpl/fake_feed.tpl
similarity index 100%
rename from view/fake_feed.tpl
rename to view/tpl/fake_feed.tpl
diff --git a/view/field.tpl b/view/tpl/field.tpl
similarity index 100%
rename from view/field.tpl
rename to view/tpl/field.tpl
diff --git a/view/field_checkbox.tpl b/view/tpl/field_checkbox.tpl
similarity index 100%
rename from view/field_checkbox.tpl
rename to view/tpl/field_checkbox.tpl
diff --git a/view/field_combobox.tpl b/view/tpl/field_combobox.tpl
similarity index 100%
rename from view/field_combobox.tpl
rename to view/tpl/field_combobox.tpl
diff --git a/view/field_custom.tpl b/view/tpl/field_custom.tpl
similarity index 100%
rename from view/field_custom.tpl
rename to view/tpl/field_custom.tpl
diff --git a/view/field_input.tpl b/view/tpl/field_input.tpl
similarity index 100%
rename from view/field_input.tpl
rename to view/tpl/field_input.tpl
diff --git a/view/field_intcheckbox.tpl b/view/tpl/field_intcheckbox.tpl
similarity index 100%
rename from view/field_intcheckbox.tpl
rename to view/tpl/field_intcheckbox.tpl
diff --git a/view/field_openid.tpl b/view/tpl/field_openid.tpl
similarity index 100%
rename from view/field_openid.tpl
rename to view/tpl/field_openid.tpl
diff --git a/view/field_password.tpl b/view/tpl/field_password.tpl
similarity index 100%
rename from view/field_password.tpl
rename to view/tpl/field_password.tpl
diff --git a/view/field_radio.tpl b/view/tpl/field_radio.tpl
similarity index 100%
rename from view/field_radio.tpl
rename to view/tpl/field_radio.tpl
diff --git a/view/field_richtext.tpl b/view/tpl/field_richtext.tpl
similarity index 100%
rename from view/field_richtext.tpl
rename to view/tpl/field_richtext.tpl
diff --git a/view/field_select.tpl b/view/tpl/field_select.tpl
similarity index 100%
rename from view/field_select.tpl
rename to view/tpl/field_select.tpl
diff --git a/view/field_select_raw.tpl b/view/tpl/field_select_raw.tpl
similarity index 100%
rename from view/field_select_raw.tpl
rename to view/tpl/field_select_raw.tpl
diff --git a/view/field_textarea.tpl b/view/tpl/field_textarea.tpl
similarity index 100%
rename from view/field_textarea.tpl
rename to view/tpl/field_textarea.tpl
diff --git a/view/field_themeselect.tpl b/view/tpl/field_themeselect.tpl
similarity index 100%
rename from view/field_themeselect.tpl
rename to view/tpl/field_themeselect.tpl
diff --git a/view/field_yesno.tpl b/view/tpl/field_yesno.tpl
similarity index 100%
rename from view/field_yesno.tpl
rename to view/tpl/field_yesno.tpl
diff --git a/view/fileas_widget.tpl b/view/tpl/fileas_widget.tpl
similarity index 100%
rename from view/fileas_widget.tpl
rename to view/tpl/fileas_widget.tpl
diff --git a/view/filebrowser.tpl b/view/tpl/filebrowser.tpl
similarity index 100%
rename from view/filebrowser.tpl
rename to view/tpl/filebrowser.tpl
diff --git a/view/filer_dialog.tpl b/view/tpl/filer_dialog.tpl
similarity index 100%
rename from view/filer_dialog.tpl
rename to view/tpl/filer_dialog.tpl
diff --git a/view/follow.tpl b/view/tpl/follow.tpl
similarity index 100%
rename from view/follow.tpl
rename to view/tpl/follow.tpl
diff --git a/view/follow_slap.tpl b/view/tpl/follow_slap.tpl
similarity index 100%
rename from view/follow_slap.tpl
rename to view/tpl/follow_slap.tpl
diff --git a/view/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl
similarity index 100%
rename from view/generic_links_widget.tpl
rename to view/tpl/generic_links_widget.tpl
diff --git a/view/group_drop.tpl b/view/tpl/group_drop.tpl
similarity index 100%
rename from view/group_drop.tpl
rename to view/tpl/group_drop.tpl
diff --git a/view/group_edit.tpl b/view/tpl/group_edit.tpl
similarity index 100%
rename from view/group_edit.tpl
rename to view/tpl/group_edit.tpl
diff --git a/view/group_selection.tpl b/view/tpl/group_selection.tpl
similarity index 100%
rename from view/group_selection.tpl
rename to view/tpl/group_selection.tpl
diff --git a/view/group_side.tpl b/view/tpl/group_side.tpl
similarity index 100%
rename from view/group_side.tpl
rename to view/tpl/group_side.tpl
diff --git a/view/groupeditor.tpl b/view/tpl/groupeditor.tpl
similarity index 100%
rename from view/groupeditor.tpl
rename to view/tpl/groupeditor.tpl
diff --git a/view/head.tpl b/view/tpl/head.tpl
similarity index 100%
rename from view/head.tpl
rename to view/tpl/head.tpl
diff --git a/view/hide_comments.tpl b/view/tpl/hide_comments.tpl
similarity index 100%
rename from view/hide_comments.tpl
rename to view/tpl/hide_comments.tpl
diff --git a/view/install.tpl b/view/tpl/install.tpl
similarity index 100%
rename from view/install.tpl
rename to view/tpl/install.tpl
diff --git a/view/install_checks.tpl b/view/tpl/install_checks.tpl
similarity index 100%
rename from view/install_checks.tpl
rename to view/tpl/install_checks.tpl
diff --git a/view/install_db.tpl b/view/tpl/install_db.tpl
similarity index 100%
rename from view/install_db.tpl
rename to view/tpl/install_db.tpl
diff --git a/view/install_settings.tpl b/view/tpl/install_settings.tpl
similarity index 100%
rename from view/install_settings.tpl
rename to view/tpl/install_settings.tpl
diff --git a/view/intros.tpl b/view/tpl/intros.tpl
similarity index 100%
rename from view/intros.tpl
rename to view/tpl/intros.tpl
diff --git a/view/invite.tpl b/view/tpl/invite.tpl
similarity index 97%
rename from view/invite.tpl
rename to view/tpl/invite.tpl
index 01a45c774..a47ef0162 100644
--- a/view/invite.tpl
+++ b/view/tpl/invite.tpl
@@ -23,4 +23,5 @@ $msg_text
-
\ No newline at end of file
+
+
diff --git a/view/jot-header.tpl b/view/tpl/jot-header.tpl
similarity index 100%
rename from view/jot-header.tpl
rename to view/tpl/jot-header.tpl
diff --git a/view/jot.tpl b/view/tpl/jot.tpl
similarity index 100%
rename from view/jot.tpl
rename to view/tpl/jot.tpl
diff --git a/view/jot_geotag.tpl b/view/tpl/jot_geotag.tpl
similarity index 100%
rename from view/jot_geotag.tpl
rename to view/tpl/jot_geotag.tpl
diff --git a/view/lang_selector.tpl b/view/tpl/lang_selector.tpl
similarity index 100%
rename from view/lang_selector.tpl
rename to view/tpl/lang_selector.tpl
diff --git a/view/like_noshare.tpl b/view/tpl/like_noshare.tpl
similarity index 100%
rename from view/like_noshare.tpl
rename to view/tpl/like_noshare.tpl
diff --git a/view/login.tpl b/view/tpl/login.tpl
similarity index 100%
rename from view/login.tpl
rename to view/tpl/login.tpl
diff --git a/view/logout.tpl b/view/tpl/logout.tpl
similarity index 100%
rename from view/logout.tpl
rename to view/tpl/logout.tpl
diff --git a/view/lostpass.tpl b/view/tpl/lostpass.tpl
similarity index 100%
rename from view/lostpass.tpl
rename to view/tpl/lostpass.tpl
diff --git a/view/magicsig.tpl b/view/tpl/magicsig.tpl
similarity index 100%
rename from view/magicsig.tpl
rename to view/tpl/magicsig.tpl
diff --git a/view/mail_conv.tpl b/view/tpl/mail_conv.tpl
similarity index 100%
rename from view/mail_conv.tpl
rename to view/tpl/mail_conv.tpl
diff --git a/view/mail_display.tpl b/view/tpl/mail_display.tpl
similarity index 100%
rename from view/mail_display.tpl
rename to view/tpl/mail_display.tpl
diff --git a/view/mail_head.tpl b/view/tpl/mail_head.tpl
similarity index 100%
rename from view/mail_head.tpl
rename to view/tpl/mail_head.tpl
diff --git a/view/mail_list.tpl b/view/tpl/mail_list.tpl
similarity index 100%
rename from view/mail_list.tpl
rename to view/tpl/mail_list.tpl
diff --git a/view/main_slider.tpl b/view/tpl/main_slider.tpl
similarity index 100%
rename from view/main_slider.tpl
rename to view/tpl/main_slider.tpl
diff --git a/view/match.tpl b/view/tpl/match.tpl
similarity index 100%
rename from view/match.tpl
rename to view/tpl/match.tpl
diff --git a/view/message_side.tpl b/view/tpl/message_side.tpl
similarity index 100%
rename from view/message_side.tpl
rename to view/tpl/message_side.tpl
diff --git a/view/moderated_comment.tpl b/view/tpl/moderated_comment.tpl
similarity index 100%
rename from view/moderated_comment.tpl
rename to view/tpl/moderated_comment.tpl
diff --git a/view/msg-header.tpl b/view/tpl/msg-header.tpl
similarity index 100%
rename from view/msg-header.tpl
rename to view/tpl/msg-header.tpl
diff --git a/view/nav.tpl b/view/tpl/nav.tpl
similarity index 100%
rename from view/nav.tpl
rename to view/tpl/nav.tpl
diff --git a/view/netfriend.tpl b/view/tpl/netfriend.tpl
similarity index 100%
rename from view/netfriend.tpl
rename to view/tpl/netfriend.tpl
diff --git a/view/nets.tpl b/view/tpl/nets.tpl
similarity index 100%
rename from view/nets.tpl
rename to view/tpl/nets.tpl
diff --git a/view/nogroup-template.tpl b/view/tpl/nogroup-template.tpl
similarity index 100%
rename from view/nogroup-template.tpl
rename to view/tpl/nogroup-template.tpl
diff --git a/view/notifications.tpl b/view/tpl/notifications.tpl
similarity index 100%
rename from view/notifications.tpl
rename to view/tpl/notifications.tpl
diff --git a/view/notifications_comments_item.tpl b/view/tpl/notifications_comments_item.tpl
similarity index 100%
rename from view/notifications_comments_item.tpl
rename to view/tpl/notifications_comments_item.tpl
diff --git a/view/notifications_dislikes_item.tpl b/view/tpl/notifications_dislikes_item.tpl
similarity index 100%
rename from view/notifications_dislikes_item.tpl
rename to view/tpl/notifications_dislikes_item.tpl
diff --git a/view/notifications_friends_item.tpl b/view/tpl/notifications_friends_item.tpl
similarity index 100%
rename from view/notifications_friends_item.tpl
rename to view/tpl/notifications_friends_item.tpl
diff --git a/view/notifications_likes_item.tpl b/view/tpl/notifications_likes_item.tpl
similarity index 100%
rename from view/notifications_likes_item.tpl
rename to view/tpl/notifications_likes_item.tpl
diff --git a/view/notifications_network_item.tpl b/view/tpl/notifications_network_item.tpl
similarity index 100%
rename from view/notifications_network_item.tpl
rename to view/tpl/notifications_network_item.tpl
diff --git a/view/notifications_posts_item.tpl b/view/tpl/notifications_posts_item.tpl
similarity index 100%
rename from view/notifications_posts_item.tpl
rename to view/tpl/notifications_posts_item.tpl
diff --git a/view/notify.tpl b/view/tpl/notify.tpl
similarity index 100%
rename from view/notify.tpl
rename to view/tpl/notify.tpl
diff --git a/view/oauth_authorize.tpl b/view/tpl/oauth_authorize.tpl
similarity index 100%
rename from view/oauth_authorize.tpl
rename to view/tpl/oauth_authorize.tpl
diff --git a/view/oauth_authorize_done.tpl b/view/tpl/oauth_authorize_done.tpl
similarity index 100%
rename from view/oauth_authorize_done.tpl
rename to view/tpl/oauth_authorize_done.tpl
diff --git a/view/oembed_video.tpl b/view/tpl/oembed_video.tpl
similarity index 100%
rename from view/oembed_video.tpl
rename to view/tpl/oembed_video.tpl
diff --git a/view/oexchange_xrd.tpl b/view/tpl/oexchange_xrd.tpl
similarity index 100%
rename from view/oexchange_xrd.tpl
rename to view/tpl/oexchange_xrd.tpl
diff --git a/view/opensearch.tpl b/view/tpl/opensearch.tpl
similarity index 100%
rename from view/opensearch.tpl
rename to view/tpl/opensearch.tpl
diff --git a/view/pagetypes.tpl b/view/tpl/pagetypes.tpl
similarity index 100%
rename from view/pagetypes.tpl
rename to view/tpl/pagetypes.tpl
diff --git a/view/peoplefind.tpl b/view/tpl/peoplefind.tpl
similarity index 100%
rename from view/peoplefind.tpl
rename to view/tpl/peoplefind.tpl
diff --git a/view/photo_album.tpl b/view/tpl/photo_album.tpl
similarity index 100%
rename from view/photo_album.tpl
rename to view/tpl/photo_album.tpl
diff --git a/view/photo_drop.tpl b/view/tpl/photo_drop.tpl
similarity index 100%
rename from view/photo_drop.tpl
rename to view/tpl/photo_drop.tpl
diff --git a/view/photo_edit.tpl b/view/tpl/photo_edit.tpl
similarity index 100%
rename from view/photo_edit.tpl
rename to view/tpl/photo_edit.tpl
diff --git a/view/photo_item.tpl b/view/tpl/photo_item.tpl
similarity index 100%
rename from view/photo_item.tpl
rename to view/tpl/photo_item.tpl
diff --git a/view/photo_top.tpl b/view/tpl/photo_top.tpl
similarity index 100%
rename from view/photo_top.tpl
rename to view/tpl/photo_top.tpl
diff --git a/view/photo_view.tpl b/view/tpl/photo_view.tpl
similarity index 100%
rename from view/photo_view.tpl
rename to view/tpl/photo_view.tpl
diff --git a/view/photos_recent.tpl b/view/tpl/photos_recent.tpl
similarity index 100%
rename from view/photos_recent.tpl
rename to view/tpl/photos_recent.tpl
diff --git a/view/photos_upload.tpl b/view/tpl/photos_upload.tpl
similarity index 99%
rename from view/photos_upload.tpl
rename to view/tpl/photos_upload.tpl
index 33c48cbeb..93c0b7d54 100644
--- a/view/photos_upload.tpl
+++ b/view/tpl/photos_upload.tpl
@@ -26,6 +26,7 @@
$permissions
+
diff --git a/view/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl
similarity index 100%
rename from view/poco_entry_xml.tpl
rename to view/tpl/poco_entry_xml.tpl
diff --git a/view/poco_xml.tpl b/view/tpl/poco_xml.tpl
similarity index 100%
rename from view/poco_xml.tpl
rename to view/tpl/poco_xml.tpl
diff --git a/view/poke_content.tpl b/view/tpl/poke_content.tpl
similarity index 57%
rename from view/poke_content.tpl
rename to view/tpl/poke_content.tpl
index 18438787a..b9e089f5b 100644
--- a/view/poke_content.tpl
+++ b/view/tpl/poke_content.tpl
@@ -8,9 +8,9 @@
$clabel
-
-
-
+
+
+
$choice
@@ -24,7 +24,7 @@
$prv_desc
-
+
diff --git a/view/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl
similarity index 100%
rename from view/posted_date_widget.tpl
rename to view/tpl/posted_date_widget.tpl
diff --git a/view/profed_head.tpl b/view/tpl/profed_head.tpl
similarity index 100%
rename from view/profed_head.tpl
rename to view/tpl/profed_head.tpl
diff --git a/view/profile-hide-friends.tpl b/view/tpl/profile-hide-friends.tpl
similarity index 100%
rename from view/profile-hide-friends.tpl
rename to view/tpl/profile-hide-friends.tpl
diff --git a/view/profile-hide-wall.tpl b/view/tpl/profile-hide-wall.tpl
similarity index 100%
rename from view/profile-hide-wall.tpl
rename to view/tpl/profile-hide-wall.tpl
diff --git a/view/profile-in-directory.tpl b/view/tpl/profile-in-directory.tpl
similarity index 100%
rename from view/profile-in-directory.tpl
rename to view/tpl/profile-in-directory.tpl
diff --git a/view/profile-in-netdir.tpl b/view/tpl/profile-in-netdir.tpl
similarity index 100%
rename from view/profile-in-netdir.tpl
rename to view/tpl/profile-in-netdir.tpl
diff --git a/view/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
similarity index 100%
rename from view/profile_advanced.tpl
rename to view/tpl/profile_advanced.tpl
diff --git a/view/profile_edit.tpl b/view/tpl/profile_edit.tpl
similarity index 100%
rename from view/profile_edit.tpl
rename to view/tpl/profile_edit.tpl
diff --git a/view/profile_edlink.tpl b/view/tpl/profile_edlink.tpl
similarity index 100%
rename from view/profile_edlink.tpl
rename to view/tpl/profile_edlink.tpl
diff --git a/view/profile_entry.tpl b/view/tpl/profile_entry.tpl
similarity index 100%
rename from view/profile_entry.tpl
rename to view/tpl/profile_entry.tpl
diff --git a/view/profile_listing_header.tpl b/view/tpl/profile_listing_header.tpl
similarity index 100%
rename from view/profile_listing_header.tpl
rename to view/tpl/profile_listing_header.tpl
diff --git a/view/profile_photo.tpl b/view/tpl/profile_photo.tpl
similarity index 100%
rename from view/profile_photo.tpl
rename to view/tpl/profile_photo.tpl
diff --git a/view/profile_publish.tpl b/view/tpl/profile_publish.tpl
similarity index 100%
rename from view/profile_publish.tpl
rename to view/tpl/profile_publish.tpl
diff --git a/view/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
similarity index 100%
rename from view/profile_vcard.tpl
rename to view/tpl/profile_vcard.tpl
diff --git a/view/prv_message.tpl b/view/tpl/prv_message.tpl
similarity index 100%
rename from view/prv_message.tpl
rename to view/tpl/prv_message.tpl
diff --git a/view/pwdreset.tpl b/view/tpl/pwdreset.tpl
similarity index 100%
rename from view/pwdreset.tpl
rename to view/tpl/pwdreset.tpl
diff --git a/view/register.tpl b/view/tpl/register.tpl
similarity index 100%
rename from view/register.tpl
rename to view/tpl/register.tpl
diff --git a/view/remote_friends_common.tpl b/view/tpl/remote_friends_common.tpl
similarity index 100%
rename from view/remote_friends_common.tpl
rename to view/tpl/remote_friends_common.tpl
diff --git a/view/removeme.tpl b/view/tpl/removeme.tpl
similarity index 100%
rename from view/removeme.tpl
rename to view/tpl/removeme.tpl
diff --git a/view/saved_searches_aside.tpl b/view/tpl/saved_searches_aside.tpl
similarity index 100%
rename from view/saved_searches_aside.tpl
rename to view/tpl/saved_searches_aside.tpl
diff --git a/view/search_item.tpl b/view/tpl/search_item.tpl
similarity index 100%
rename from view/search_item.tpl
rename to view/tpl/search_item.tpl
diff --git a/view/settings.tpl b/view/tpl/settings.tpl
similarity index 100%
rename from view/settings.tpl
rename to view/tpl/settings.tpl
diff --git a/view/settings_addons.tpl b/view/tpl/settings_addons.tpl
similarity index 100%
rename from view/settings_addons.tpl
rename to view/tpl/settings_addons.tpl
diff --git a/view/settings_connectors.tpl b/view/tpl/settings_connectors.tpl
similarity index 100%
rename from view/settings_connectors.tpl
rename to view/tpl/settings_connectors.tpl
diff --git a/view/settings_display.tpl b/view/tpl/settings_display.tpl
similarity index 100%
rename from view/settings_display.tpl
rename to view/tpl/settings_display.tpl
diff --git a/view/settings_nick_set.tpl b/view/tpl/settings_nick_set.tpl
similarity index 100%
rename from view/settings_nick_set.tpl
rename to view/tpl/settings_nick_set.tpl
diff --git a/view/settings_nick_subdir.tpl b/view/tpl/settings_nick_subdir.tpl
similarity index 100%
rename from view/settings_nick_subdir.tpl
rename to view/tpl/settings_nick_subdir.tpl
diff --git a/view/settings_oauth.tpl b/view/tpl/settings_oauth.tpl
similarity index 100%
rename from view/settings_oauth.tpl
rename to view/tpl/settings_oauth.tpl
diff --git a/view/settings_oauth_edit.tpl b/view/tpl/settings_oauth_edit.tpl
similarity index 100%
rename from view/settings_oauth_edit.tpl
rename to view/tpl/settings_oauth_edit.tpl
diff --git a/view/suggest_friends.tpl b/view/tpl/suggest_friends.tpl
similarity index 100%
rename from view/suggest_friends.tpl
rename to view/tpl/suggest_friends.tpl
diff --git a/view/suggestions.tpl b/view/tpl/suggestions.tpl
similarity index 100%
rename from view/suggestions.tpl
rename to view/tpl/suggestions.tpl
diff --git a/view/tag_slap.tpl b/view/tpl/tag_slap.tpl
similarity index 100%
rename from view/tag_slap.tpl
rename to view/tpl/tag_slap.tpl
diff --git a/view/viewcontact_template.tpl b/view/tpl/viewcontact_template.tpl
similarity index 100%
rename from view/viewcontact_template.tpl
rename to view/tpl/viewcontact_template.tpl
diff --git a/view/wall_item.tpl b/view/tpl/wall_item.tpl
similarity index 100%
rename from view/wall_item.tpl
rename to view/tpl/wall_item.tpl
diff --git a/view/wallmessage.tpl b/view/tpl/wallmessage.tpl
similarity index 100%
rename from view/wallmessage.tpl
rename to view/tpl/wallmessage.tpl
diff --git a/view/wallmsg-header.tpl b/view/tpl/wallmsg-header.tpl
similarity index 100%
rename from view/wallmsg-header.tpl
rename to view/tpl/wallmsg-header.tpl
diff --git a/view/wallwall_item.tpl b/view/tpl/wallwall_item.tpl
similarity index 100%
rename from view/wallwall_item.tpl
rename to view/tpl/wallwall_item.tpl
diff --git a/view/xrd_diaspora.tpl b/view/tpl/xrd_diaspora.tpl
similarity index 100%
rename from view/xrd_diaspora.tpl
rename to view/tpl/xrd_diaspora.tpl
diff --git a/view/xrd_host.tpl b/view/tpl/xrd_host.tpl
similarity index 100%
rename from view/xrd_host.tpl
rename to view/tpl/xrd_host.tpl
diff --git a/view/xrd_person.tpl b/view/tpl/xrd_person.tpl
similarity index 100%
rename from view/xrd_person.tpl
rename to view/tpl/xrd_person.tpl
diff --git a/view/zentity.tpl b/view/tpl/zentity.tpl
similarity index 100%
rename from view/zentity.tpl
rename to view/tpl/zentity.tpl
diff --git a/view/zregister.tpl b/view/tpl/zregister.tpl
similarity index 100%
rename from view/zregister.tpl
rename to view/tpl/zregister.tpl