From 4281a95cbcc6a6bc2eae9ec0b393af9b0ec7b739 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 6 Jan 2013 16:08:56 -0700 Subject: rebase and update themes --- view/tpl/smarty3/abook_edit.tpl | 17 ++++--- view/tpl/smarty3/build_query.tpl | 50 +++++++++++++++++++ view/tpl/smarty3/chanview.tpl | 1 + view/tpl/smarty3/common_tabs.tpl | 1 + view/tpl/smarty3/contact_block.tpl | 2 +- view/tpl/smarty3/contact_template.tpl | 12 +---- view/tpl/smarty3/conv_frame.tpl | 3 ++ view/tpl/smarty3/conv_item.tpl | 18 +++---- view/tpl/smarty3/convobj.tpl | 4 ++ view/tpl/smarty3/directory_header.tpl | 24 ++++----- view/tpl/smarty3/direntry.tpl | 11 +++++ view/tpl/smarty3/edpost_head.tpl | 1 + view/tpl/smarty3/email_notify_html.tpl | 2 +- view/tpl/smarty3/field_acheckbox.tpl | 4 +- view/tpl/smarty3/head.tpl | 2 +- view/tpl/smarty3/intros.tpl | 16 ++---- view/tpl/smarty3/intros_header.tpl | 1 + view/tpl/smarty3/login.tpl | 2 + view/tpl/smarty3/mail_conv.tpl | 2 +- view/tpl/smarty3/mail_list.tpl | 9 ++-- view/tpl/smarty3/micropro_img.tpl | 1 + view/tpl/smarty3/micropro_txt.tpl | 1 + view/tpl/smarty3/nav.tpl | 79 ++++++++++++++++++------------ view/tpl/smarty3/profile_advanced.tpl | 6 +-- view/tpl/smarty3/profile_edit.tpl | 12 ++--- view/tpl/smarty3/profile_photo.tpl | 13 +++-- view/tpl/smarty3/profile_vcard.tpl | 32 ++++++------ view/tpl/smarty3/prv_message.tpl | 6 +++ view/tpl/smarty3/settings_display.tpl | 2 +- view/tpl/smarty3/settings_features.tpl | 6 ++- view/tpl/smarty3/threaded_conversation.tpl | 4 +- view/tpl/smarty3/toggle_mobile_footer.tpl | 2 + view/tpl/smarty3/wall_thread.tpl | 6 +-- view/tpl/smarty3/xchan_vcard.tpl | 11 +++++ 34 files changed, 233 insertions(+), 130 deletions(-) create mode 100644 view/tpl/smarty3/build_query.tpl create mode 100644 view/tpl/smarty3/chanview.tpl create mode 100644 view/tpl/smarty3/convobj.tpl create mode 100644 view/tpl/smarty3/direntry.tpl create mode 100644 view/tpl/smarty3/edpost_head.tpl create mode 100644 view/tpl/smarty3/intros_header.tpl create mode 100644 view/tpl/smarty3/micropro_img.tpl create mode 100644 view/tpl/smarty3/micropro_txt.tpl create mode 100644 view/tpl/smarty3/toggle_mobile_footer.tpl (limited to 'view/tpl/smarty3') diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl index 2a2711a66..623f13dd4 100644 --- a/view/tpl/smarty3/abook_edit.tpl +++ b/view/tpl/smarty3/abook_edit.tpl @@ -1,18 +1,20 @@

{{$header}}

+

{{$addr}}

{{$tabs}}
-
-

Slide to adjust your degree of friendship

-{{$slide}} +{{if $slide}} +

{{$lbl_slider}}

+{{$slide}} +{{/if}}

Permissions

@@ -21,11 +23,14 @@
-Quick Links: -Full SharingCautious SharingFollow Only
+{{$quick}} + +
\ No newline at end of file diff --git a/view/tpl/smarty3/contact_block.tpl b/view/tpl/smarty3/contact_block.tpl index e688af287..91b8b4cfa 100644 --- a/view/tpl/smarty3/contact_block.tpl +++ b/view/tpl/smarty3/contact_block.tpl @@ -1,5 +1,5 @@
-

{{$contacts}}

+
{{$contacts}}
{{if $micropro}} {{$viewcontacts}}
diff --git a/view/tpl/smarty3/contact_template.tpl b/view/tpl/smarty3/contact_template.tpl index 31b42fe87..5cb0e8c20 100644 --- a/view/tpl/smarty3/contact_template.tpl +++ b/view/tpl/smarty3/contact_template.tpl @@ -1,17 +1,9 @@
-
- - {{$contact.name}} - -
- + {{$contact.name}}
-
{{$contact.name}}
- +
{{$contact.name}}
diff --git a/view/tpl/smarty3/conv_frame.tpl b/view/tpl/smarty3/conv_frame.tpl index 7f65b64d2..1b7267191 100644 --- a/view/tpl/smarty3/conv_frame.tpl +++ b/view/tpl/smarty3/conv_frame.tpl @@ -9,3 +9,6 @@
{{/if}} + + + diff --git a/view/tpl/smarty3/conv_item.tpl b/view/tpl/smarty3/conv_item.tpl index 01e7bcb12..a3e1ba7db 100644 --- a/view/tpl/smarty3/conv_item.tpl +++ b/view/tpl/smarty3/conv_item.tpl @@ -11,7 +11,7 @@
{{if $item.owner_url}}
{{$item.wall}}
@@ -19,7 +19,7 @@
- + {{$item.name}} menu
@@ -98,24 +98,18 @@
{{$item.showdislike}}
- {{if $item.threaded}} - {{if $item.comment}} -
- {{$item.comment}} -
- {{/if}} - {{/if}} -
+{{if $item.toplevel}} {{foreach $item.children as $item}} {{include file="{{$item.template}}"}} {{/foreach}} +{{/if}} -{{if $item.flatten}}
{{$item.comment}}
-{{/if}} + +
{{if $item.comment_lastcollapsed}}
{{/if}} diff --git a/view/tpl/smarty3/convobj.tpl b/view/tpl/smarty3/convobj.tpl new file mode 100644 index 000000000..d5cee1170 --- /dev/null +++ b/view/tpl/smarty3/convobj.tpl @@ -0,0 +1,4 @@ +{{foreach $threads as $item}} +{{include file="{{$item.template}}"}} +{{/foreach}} + diff --git a/view/tpl/smarty3/directory_header.tpl b/view/tpl/smarty3/directory_header.tpl index c2ca64682..5d703e2dd 100644 --- a/view/tpl/smarty3/directory_header.tpl +++ b/view/tpl/smarty3/directory_header.tpl @@ -1,16 +1,16 @@ -

{{$sitedir}}

+

{{$dirlbl}}

-{{$globaldir}} -{{$admin}} +{{if $search}} +

{{$finddsc}} {{$safetxt}}

+{{/if}} -{{$finding}} +{{foreach $entries as $entry}} -
-
-{{$desc}} - - -
-
-
+{{include file="direntry.tpl"}} + +{{/foreach}} + + + +
diff --git a/view/tpl/smarty3/direntry.tpl b/view/tpl/smarty3/direntry.tpl new file mode 100644 index 000000000..a7d1a3e3a --- /dev/null +++ b/view/tpl/smarty3/direntry.tpl @@ -0,0 +1,11 @@ + +
+
+
+ {{$entry.alttext}} +
+
+ +
{{$entry.name}}
+
{{$entry.details}}
+
diff --git a/view/tpl/smarty3/edpost_head.tpl b/view/tpl/smarty3/edpost_head.tpl new file mode 100644 index 000000000..890b746bf --- /dev/null +++ b/view/tpl/smarty3/edpost_head.tpl @@ -0,0 +1 @@ +

{{$title}}

diff --git a/view/tpl/smarty3/email_notify_html.tpl b/view/tpl/smarty3/email_notify_html.tpl index 38c933aac..bf5272277 100644 --- a/view/tpl/smarty3/email_notify_html.tpl +++ b/view/tpl/smarty3/email_notify_html.tpl @@ -7,7 +7,7 @@ - + diff --git a/view/tpl/smarty3/field_acheckbox.tpl b/view/tpl/smarty3/field_acheckbox.tpl index 818c59721..d51770be5 100644 --- a/view/tpl/smarty3/field_acheckbox.tpl +++ b/view/tpl/smarty3/field_acheckbox.tpl @@ -1,7 +1,7 @@
- - + + {{$field.6}}
diff --git a/view/tpl/smarty3/head.tpl b/view/tpl/smarty3/head.tpl index 06650648d..115be47dd 100644 --- a/view/tpl/smarty3/head.tpl +++ b/view/tpl/smarty3/head.tpl @@ -12,7 +12,7 @@ {{$head_js}} - + -

{{$str_notifytype}} {{$notify_type}}

{{$fullname}}
{{$fullname}} -
{{$knowyou}}
-
{{$note}}
- + + - -
- - {{include file="field_checkbox.tpl" field=$hidden}} -{{include file="field_checkbox.tpl" field=$activity}} - - +{{* {{include file="field_checkbox.tpl" field=$activity}} *}} -{{$dfrn_text}} - diff --git a/view/tpl/smarty3/intros_header.tpl b/view/tpl/smarty3/intros_header.tpl new file mode 100644 index 000000000..15096c7f8 --- /dev/null +++ b/view/tpl/smarty3/intros_header.tpl @@ -0,0 +1 @@ +

{{$title}}

diff --git a/view/tpl/smarty3/login.tpl b/view/tpl/smarty3/login.tpl index dbd193017..4ddf54716 100644 --- a/view/tpl/smarty3/login.tpl +++ b/view/tpl/smarty3/login.tpl @@ -11,6 +11,8 @@ {{if $register}}{{$register.desc}}{{/if}} {{$lostlink}} + + {{include file="field_checkbox.tpl" field=$remember}}
diff --git a/view/tpl/smarty3/mail_conv.tpl b/view/tpl/smarty3/mail_conv.tpl index 1bff55108..bfa9491f4 100644 --- a/view/tpl/smarty3/mail_conv.tpl +++ b/view/tpl/smarty3/mail_conv.tpl @@ -1,9 +1,9 @@
{{$mail.from_name}} +
{{$mail.from_name}}
-
{{$mail.from_name}}
{{$mail.date}}
{{$mail.subject}}
{{$mail.body}}
diff --git a/view/tpl/smarty3/mail_list.tpl b/view/tpl/smarty3/mail_list.tpl index b08c2ca7a..e6aaedb30 100644 --- a/view/tpl/smarty3/mail_list.tpl +++ b/view/tpl/smarty3/mail_list.tpl @@ -1,9 +1,12 @@
- {{$from_name}} -
-
+ {{$from_name}}
{{$from_name}}
+
+
+ {{$to_name}} +
{{$to_name}}
+
{{$date}}
diff --git a/view/tpl/smarty3/micropro_img.tpl b/view/tpl/smarty3/micropro_img.tpl new file mode 100644 index 000000000..23b7bd281 --- /dev/null +++ b/view/tpl/smarty3/micropro_img.tpl @@ -0,0 +1 @@ +
{{$name}}
diff --git a/view/tpl/smarty3/micropro_txt.tpl b/view/tpl/smarty3/micropro_txt.tpl new file mode 100644 index 000000000..295e7940d --- /dev/null +++ b/view/tpl/smarty3/micropro_txt.tpl @@ -0,0 +1 @@ + diff --git a/view/tpl/smarty3/nav.tpl b/view/tpl/smarty3/nav.tpl index 649ec67f6..6fb0343bc 100644 --- a/view/tpl/smarty3/nav.tpl +++ b/view/tpl/smarty3/nav.tpl @@ -10,45 +10,46 @@ {{/if}} - {{if $userinfo}} - - {{/if}} - - {{if $nav.community}} - - {{/if}} {{if $nav.network}} {{/if}} + {{if $nav.home}} + {{/if}} + + {{if $nav.messages}} + + {{/if}} + + {{if $nav.all_events}} + + {{/if}} + + {{if $nav.intros}} + {{/if}} {{if $nav.notifications}} -
diff --git a/view/tpl/smarty3/profile_vcard.tpl b/view/tpl/smarty3/profile_vcard.tpl index d9bbd177c..13460c2d9 100644 --- a/view/tpl/smarty3/profile_vcard.tpl +++ b/view/tpl/smarty3/profile_vcard.tpl @@ -1,9 +1,23 @@
-
{{$profile.name}}
- + {{if $profile.edit}} +
+ {{$profile.edit.1}} + +
+ {{/if}} + +
{{$profile.name}}
+ {{if $pdesc}}
{{$profile.pdesc}}
{{/if}}
{{$profile.name}}
@@ -31,18 +45,8 @@ {{if $homepage}}
{{$homepage}}
{{$profile.homepage}}
{{/if}} -
- +
{{$contact_block}} diff --git a/view/tpl/smarty3/prv_message.tpl b/view/tpl/smarty3/prv_message.tpl index 66007f803..f8cbd01cc 100644 --- a/view/tpl/smarty3/prv_message.tpl +++ b/view/tpl/smarty3/prv_message.tpl @@ -7,7 +7,13 @@ {{$parent}}
{{$to}}
+ +{{if $showinputs}} + + +{{else}} {{$select}} +{{/if}}
{{$subject}}
diff --git a/view/tpl/smarty3/settings_display.tpl b/view/tpl/smarty3/settings_display.tpl index f8b4c5130..2645ce740 100644 --- a/view/tpl/smarty3/settings_display.tpl +++ b/view/tpl/smarty3/settings_display.tpl @@ -6,7 +6,7 @@ {{include file="field_themeselect.tpl" field=$theme}} {{include file="field_themeselect.tpl" field=$mobile_theme}} {{include file="field_input.tpl" field=$ajaxint}} -{{include file="field_input.tpl" field=$itemspage_network}} +{{include file="field_input.tpl" field=$itemspage}} {{include file="field_checkbox.tpl" field=$nosmile}} diff --git a/view/tpl/smarty3/settings_features.tpl b/view/tpl/smarty3/settings_features.tpl index 3145f60ee..47d755ee6 100644 --- a/view/tpl/smarty3/settings_features.tpl +++ b/view/tpl/smarty3/settings_features.tpl @@ -5,7 +5,11 @@ {{foreach $features as $f}} - {{include file="field_yesno.tpl" field=$f}} +

{{$f.0}}

+ +{{foreach $f.1 as $fcat}} + {{include file="{{$field_yesno}}" field=$fcat}} +{{/foreach}} {{/foreach}}
diff --git a/view/tpl/smarty3/threaded_conversation.tpl b/view/tpl/smarty3/threaded_conversation.tpl index e452fc0b5..c20f8a3d6 100644 --- a/view/tpl/smarty3/threaded_conversation.tpl +++ b/view/tpl/smarty3/threaded_conversation.tpl @@ -1,5 +1,7 @@ {{foreach $threads as $thread}} -{{include file="{{$thread.template}}" item=$thread}} +{{foreach $thread.items as $thread_item}} +{{include file="{{$thread_item.template}}" item=$thread_item}} +{{/foreach}} {{/foreach}}
diff --git a/view/tpl/smarty3/toggle_mobile_footer.tpl b/view/tpl/smarty3/toggle_mobile_footer.tpl new file mode 100644 index 000000000..82c0197ba --- /dev/null +++ b/view/tpl/smarty3/toggle_mobile_footer.tpl @@ -0,0 +1,2 @@ +{{$toggle_text}} + diff --git a/view/tpl/smarty3/wall_thread.tpl b/view/tpl/smarty3/wall_thread.tpl index 6b5d34d84..39d0bee25 100644 --- a/view/tpl/smarty3/wall_thread.tpl +++ b/view/tpl/smarty3/wall_thread.tpl @@ -11,7 +11,7 @@
{{if $item.owner_url}}
{{$item.wall}}
@@ -19,7 +19,7 @@
- + {{$item.name}} menu
@@ -37,7 +37,7 @@
- {{$item.name}}{{if $item.owner_url}} {{$item.to}} {{$item.owner_name}} {{$item.vwall}}{{/if}}
+ {{$item.name}}{{if $item.owner_url}} {{$item.to}} {{$item.owner_name}} {{$item.vwall}}{{/if}}
{{$item.ago}}
diff --git a/view/tpl/smarty3/xchan_vcard.tpl b/view/tpl/smarty3/xchan_vcard.tpl index ed0adb966..5d754356f 100644 --- a/view/tpl/smarty3/xchan_vcard.tpl +++ b/view/tpl/smarty3/xchan_vcard.tpl @@ -2,3 +2,14 @@
{{$name}}
name
+ + + + + -- cgit v1.2.3
{{$product}}
{{$product}}
{{$preamble}}