From: Zach Prezkuta Date: Sat, 26 Jan 2013 20:07:54 +0000 (-0700) Subject: update smart templates X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=acc4d66cd309c0b20375b2d5aec4fa33237ffdca;p=friendica.git update smart templates --- 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 @@