From acc4d66cd309c0b20375b2d5aec4fa33237ffdca Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sat, 26 Jan 2013 13:07:54 -0700 Subject: [PATCH] update smart templates --- view/smarty3/comment_item.tpl | 2 +- view/smarty3/confirm.tpl | 19 +++ view/smarty3/contact_template.tpl | 8 +- view/smarty3/like_noshare.tpl | 2 + view/smarty3/manage.tpl | 22 ++++ view/smarty3/navigation.tpl | 108 ++++++++++++++++++ view/smarty3/photos_default_uploader_box.tpl | 6 + .../photos_default_uploader_submit.tpl | 8 ++ view/smarty3/photos_upload.tpl | 5 +- .../comix-plain/smarty3/comment_item.tpl | 2 +- view/theme/comix/smarty3/comment_item.tpl | 2 +- .../decaf-mobile/smarty3/acl_selector.tpl | 2 +- view/theme/decaf-mobile/smarty3/login.tpl | 4 +- view/theme/decaf-mobile/smarty3/register.tpl | 4 +- .../decaf-mobile/smarty3/wall_thread.tpl | 1 - .../smarty3/wall_thread_toponly.tpl | 1 - view/theme/diabook/smarty3/comment_item.tpl | 2 +- .../diabook/smarty3/contact_template.tpl | 8 +- view/theme/dispy/smarty3/comment_item.tpl | 2 +- view/theme/dispy/smarty3/contact_template.tpl | 8 +- .../duepuntozero/smarty3/comment_item.tpl | 2 +- view/theme/facepark/smarty3/comment_item.tpl | 2 +- .../frost-mobile/smarty3/comment_item.tpl | 30 ++--- .../frost-mobile/smarty3/contact_template.tpl | 12 +- .../frost-mobile/smarty3/photos_upload.tpl | 6 +- view/theme/frost/smarty3/comment_item.tpl | 22 ++-- view/theme/frost/smarty3/contact_template.tpl | 8 +- view/theme/frost/smarty3/photos_upload.tpl | 5 +- view/theme/quattro/smarty3/comment_item.tpl | 2 +- .../quattro/smarty3/contact_template.tpl | 8 +- .../theme/testbubble/smarty3/comment_item.tpl | 2 +- view/theme/vier/smarty3/comment_item.tpl | 2 +- 32 files changed, 260 insertions(+), 57 deletions(-) create mode 100644 view/smarty3/confirm.tpl create mode 100644 view/smarty3/manage.tpl create mode 100644 view/smarty3/navigation.tpl create mode 100644 view/smarty3/photos_default_uploader_box.tpl create mode 100644 view/smarty3/photos_default_uploader_submit.tpl diff --git a/view/smarty3/comment_item.tpl b/view/smarty3/comment_item.tpl index 40a3e30ad..caf98168d 100644 --- a/view/smarty3/comment_item.tpl +++ b/view/smarty3/comment_item.tpl @@ -12,7 +12,7 @@ - + {{**}} diff --git a/view/smarty3/confirm.tpl b/view/smarty3/confirm.tpl new file mode 100644 index 000000000..df8d26eaa --- /dev/null +++ b/view/smarty3/confirm.tpl @@ -0,0 +1,19 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +
+
+ + {{$message}} + {{foreach $extra_inputs as $input}} + + {{/foreach}} + + + + +
+
+ diff --git a/view/smarty3/contact_template.tpl b/view/smarty3/contact_template.tpl index 8143a8280..8e0e1acc7 100644 --- a/view/smarty3/contact_template.tpl +++ b/view/smarty3/contact_template.tpl @@ -16,7 +16,13 @@ menu
{{/if}} diff --git a/view/smarty3/like_noshare.tpl b/view/smarty3/like_noshare.tpl index b8258d64a..62a16227d 100644 --- a/view/smarty3/like_noshare.tpl +++ b/view/smarty3/like_noshare.tpl @@ -5,6 +5,8 @@ *}}
+ {{if $nolike}} + {{/if}}
diff --git a/view/smarty3/manage.tpl b/view/smarty3/manage.tpl new file mode 100644 index 000000000..857402c04 --- /dev/null +++ b/view/smarty3/manage.tpl @@ -0,0 +1,22 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +

{{$title}}

+
{{$desc}}
+
{{$choose}}
+
+
+ +
+ + {{**}} +
+ diff --git a/view/smarty3/navigation.tpl b/view/smarty3/navigation.tpl new file mode 100644 index 000000000..28229c569 --- /dev/null +++ b/view/smarty3/navigation.tpl @@ -0,0 +1,108 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +{{* + # LOGIN/REGISTER + *}} +
+{{* Use nested if's since the Friendica template engine doesn't support AND or OR in if statements *}} +{{if $nav.login}} + +{{/if}} +{{/if}} + +{{* + # NETWORK/HOME + *}} +{{if $nav.network}} + +{{/if}} +{{/if}} +{{/if}} + +{{* + # PRIVATE MESSAGES + *}} +{{if $nav.messages}} + +{{/if}} + + +{{* + # CONTACTS + *}} + + +{{* + # NOTIFICATIONS + *}} +{{if $nav.notifications}} + +{{/if}} + +{{* + # MISCELLANEOUS + *}} + + +{{if $nav.logout}}{{$nav.logout.1}}
{{/if}} +
diff --git a/view/smarty3/photos_default_uploader_box.tpl b/view/smarty3/photos_default_uploader_box.tpl new file mode 100644 index 000000000..001d0a3db --- /dev/null +++ b/view/smarty3/photos_default_uploader_box.tpl @@ -0,0 +1,6 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} + diff --git a/view/smarty3/photos_default_uploader_submit.tpl b/view/smarty3/photos_default_uploader_submit.tpl new file mode 100644 index 000000000..87d065d6e --- /dev/null +++ b/view/smarty3/photos_default_uploader_submit.tpl @@ -0,0 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +
+ +
diff --git a/view/smarty3/photos_upload.tpl b/view/smarty3/photos_upload.tpl index 052ed059a..f2e95a9b1 100644 --- a/view/smarty3/photos_upload.tpl +++ b/view/smarty3/photos_upload.tpl @@ -44,9 +44,10 @@
- {{$uploader}} + {{$alt_uploader}} - {{$default}} + {{$default_upload_box}} + {{$default_upload_submit}}
diff --git a/view/theme/comix-plain/smarty3/comment_item.tpl b/view/theme/comix-plain/smarty3/comment_item.tpl index 21b7d0356..6e1bdd774 100644 --- a/view/theme/comix-plain/smarty3/comment_item.tpl +++ b/view/theme/comix-plain/smarty3/comment_item.tpl @@ -8,7 +8,7 @@ - + {{**}} diff --git a/view/theme/comix/smarty3/comment_item.tpl b/view/theme/comix/smarty3/comment_item.tpl index 21b7d0356..6e1bdd774 100644 --- a/view/theme/comix/smarty3/comment_item.tpl +++ b/view/theme/comix/smarty3/comment_item.tpl @@ -8,7 +8,7 @@ - + {{**}} diff --git a/view/theme/decaf-mobile/smarty3/acl_selector.tpl b/view/theme/decaf-mobile/smarty3/acl_selector.tpl index 49f22ef98..b5e830726 100644 --- a/view/theme/decaf-mobile/smarty3/acl_selector.tpl +++ b/view/theme/decaf-mobile/smarty3/acl_selector.tpl @@ -14,7 +14,7 @@ diff --git a/view/theme/decaf-mobile/smarty3/login.tpl b/view/theme/decaf-mobile/smarty3/login.tpl index d220321ec..69d053181 100644 --- a/view/theme/decaf-mobile/smarty3/login.tpl +++ b/view/theme/decaf-mobile/smarty3/login.tpl @@ -21,9 +21,9 @@