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 40a3e30ad2..caf98168d0 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 0000000000..df8d26eaa7 --- /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 8143a82808..8e0e1acc7f 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 b8258d64a6..62a16227db 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 0000000000..857402c04d --- /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 0000000000..28229c5699 --- /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 0000000000..001d0a3db9 --- /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 0000000000..87d065d6ea --- /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 052ed059a1..f2e95a9b14 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 21b7d03563..6e1bdd7747 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 21b7d03563..6e1bdd7747 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 49f22ef981..b5e8307268 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 d220321ec9..69d0531815 100644 --- a/view/theme/decaf-mobile/smarty3/login.tpl +++ b/view/theme/decaf-mobile/smarty3/login.tpl @@ -21,9 +21,9 @@