From de84f48e2fd52a3a35af26895bd70132b1e92e5e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 19 Jun 2015 12:44:11 +0200 Subject: bring some more generic-content-wrappers and fix some of them --- view/tpl/blocklist.tpl | 126 +++++++++++++++++++------------------- view/tpl/cloud_directory.tpl | 2 +- view/tpl/conv_item.tpl | 2 +- view/tpl/conv_list.tpl | 2 +- view/tpl/conversation.tpl | 2 +- view/tpl/layoutlist.tpl | 130 ++++++++++++++++++++-------------------- view/tpl/menulist.tpl | 70 +++++++++++----------- view/tpl/photo_album.tpl | 44 +++++++------- view/tpl/photos_recent.tpl | 28 +++++---- view/tpl/search_item.tpl | 2 +- view/tpl/webpagelist.tpl | 140 ++++++++++++++++++++++--------------------- 11 files changed, 280 insertions(+), 268 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/blocklist.tpl b/view/tpl/blocklist.tpl index 85e4865ea..27dbcbf0c 100644 --- a/view/tpl/blocklist.tpl +++ b/view/tpl/blocklist.tpl @@ -1,67 +1,69 @@ -
+
+
+ {{if $editor}} +
+ +
+ {{/if}} +

{{$title}}

+
+
{{if $editor}} -
- +
+ {{$editor}}
{{/if}} -

{{$title}}

+ {{if $pages}} +
+ + + + + + + + + + + {{foreach $pages as $key => $items}} + {{foreach $items as $item}} + + + + + + + + + + {{/foreach}} + {{/foreach}} +
{{$name}}{{$blocktitle}}
+ {{if $view}} + {{$item.name}} + {{else}} + {{$item.name}} + {{/if}} + + {{$item.title}} + + {{if $edit}} + + {{/if}} + + {{if $item.bb_element}} + + {{/if}} + + {{if $edit}} + + {{/if}} +
+
+ {{/if}}
-{{if $editor}} -
- {{$editor}} -
-{{/if}} -{{if $pages}} -
- - - - - - - - - - - {{foreach $pages as $key => $items}} - {{foreach $items as $item}} - - - - - - - - - - {{/foreach}} - {{/foreach}} -
{{$name}}{{$blocktitle}}
- {{if $view}} - {{$item.name}} - {{else}} - {{$item.name}} - {{/if}} - - {{$item.title}} - - {{if $edit}} - - {{/if}} - - {{if $item.bb_element}} - - {{/if}} - - {{if $edit}} - - {{/if}} -
-
-
-{{/if}} diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index c1d03da83..0c7892c25 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -1,4 +1,4 @@ -
+
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index e0acc25ae..27632d770 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -4,7 +4,7 @@
- - - - - - - - - - {{foreach $pages as $key => $items}} - {{foreach $items as $item}} - - - - - - - - - - {{/foreach}} - {{/foreach}} -
{{$name}}{{$descr}}
- {{if $view}} - {{$item.title}} - {{else}} - {{$item.title}} - {{/if}} - - {{$item.descr}} - - {{if $edit}} - - {{/if}} - - {{if $item.bb_element}} - - {{/if}} - - {{if $edit}} - - {{/if}} -
+ {{if $pages}} +
+ + + + + + + + + + + {{foreach $pages as $key => $items}} + {{foreach $items as $item}} + + + + + + + + + + {{/foreach}} + {{/foreach}} +
{{$name}}{{$descr}}
+ {{if $view}} + {{$item.title}} + {{else}} + {{$item.title}} + {{/if}} + + {{$item.descr}} + + {{if $edit}} + + {{/if}} + + {{if $item.bb_element}} + + {{/if}} + + {{if $edit}} + + {{/if}} +
+
+
+ {{/if}}
-
-{{/if}} diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl index 888dc6e6d..743165cc3 100644 --- a/view/tpl/menulist.tpl +++ b/view/tpl/menulist.tpl @@ -1,38 +1,40 @@ -
-
- +
+
+
+ +
+

{{$title}}

+
-

{{$title}}

-
-
-{{$create}} + {{$create}} -{{if $menus }} - -{{/if}} diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index 5506b01f2..0ce9c36a8 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,27 +1,29 @@ -
-
- -
- {{if $album_edit.1}} - - {{/if}} - {{if $can_post}} - - {{/if}} +
+
+
+ +
+ {{if $album_edit.1}} + + {{/if}} + {{if $can_post}} + + {{/if}} +
-
-

{{$album}}

+

{{$album}}

-
-
-{{$upload_form}} -{{$album_edit.1}} -
- {{foreach $photos as $photo}} - {{include file="photo_top.tpl"}} - {{/foreach}} -
+
+
+ {{$upload_form}} + {{$album_edit.1}} +
+ {{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} + {{/foreach}} +
+
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 7727abcea..15faa4a34 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,16 +1,18 @@ -
- {{if $can_post}} - - {{/if}} -

{{$title}}

-
-
-{{$upload_form}} -
- {{foreach $photos as $photo}} - {{include file="photo_top.tpl"}} - {{/foreach}} -
+
+
+ {{if $can_post}} + + {{/if}} +

{{$title}}

+
+
+ {{$upload_form}} +
+ {{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} + {{/foreach}} +
+
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index d5a608c82..dee33f1b3 100755 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -1,4 +1,4 @@ -
+
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 77fb09492..864705121 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -1,74 +1,76 @@ -
+
+
+ {{if $editor}} +
+ +
+ {{/if}} +

{{$listtitle}}

+
+
{{if $editor}} -
- +
+ {{$editor}} +
+ {{/if}} + {{if $pages}} +
+ + + + + + + + + + + + {{foreach $pages as $key => $items}} + {{foreach $items as $item}} + + + + + + + + + + + {{/foreach}} + {{/foreach}} +
{{$pagelink_txt}}{{$title_txt}}
+ {{if $view}} + {{$item.pagetitle}} + {{else}} + {{$item.pagetitle}} + {{/if}} + + {{$item.title}} + + {{if $edit}} + + {{/if}} + + {{if $item.bb_element}} + + {{/if}} + + {{if $edit}} + + {{/if}} +
{{/if}} -

{{$listtitle}}

-{{if $editor}} -
- {{$editor}} -
-{{/if}} -{{if $pages}} -
- - - - - - - - - - - - {{foreach $pages as $key => $items}} - {{foreach $items as $item}} - - - - - - - - - - - {{/foreach}} - {{/foreach}} -
{{$pagelink_txt}}{{$title_txt}}
- {{if $view}} - {{$item.pagetitle}} - {{else}} - {{$item.pagetitle}} - {{/if}} - - {{$item.title}} - - {{if $edit}} - - {{/if}} - - {{if $item.bb_element}} - - {{/if}} - - {{if $edit}} - - {{/if}} -
-
-
-{{/if}} -- cgit v1.2.3 From 1432b1e83f522f453d9777045cd710442a65d2ea Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 19 Jun 2015 12:45:18 +0200 Subject: cloud.tpl --- view/tpl/cloud.tpl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 view/tpl/cloud.tpl (limited to 'view/tpl') diff --git a/view/tpl/cloud.tpl b/view/tpl/cloud.tpl new file mode 100644 index 000000000..d1567af9f --- /dev/null +++ b/view/tpl/cloud.tpl @@ -0,0 +1,4 @@ +
+{{include file="cloud_header.tpl"}} +{{include file="cloud_directory.tpl"}} +
-- cgit v1.2.3 From 8b563951ff9019e6a0c3a459ad5b768826a2017c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 19 Jun 2015 15:49:06 +0200 Subject: more generic-content-wrapper and some css fixes --- view/tpl/photo_view.tpl | 17 ++++++++--------- view/tpl/sharedwithme.tpl | 48 ++++++++++++++++++++++++----------------------- 2 files changed, 33 insertions(+), 32 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 1054d5e3a..63d5ad778 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -1,6 +1,5 @@
-
@@ -155,17 +154,17 @@ {{/if}}
-
-{{$comments}} + {{$comments}} -{{if $commentbox}} -
- {{$commentbox}} -
-{{/if}} + {{if $commentbox}} +
+ {{$commentbox}} +
+ {{/if}} -
+
+
{{$paginate}} diff --git a/view/tpl/sharedwithme.tpl b/view/tpl/sharedwithme.tpl index cb365ed05..4ffacc241 100644 --- a/view/tpl/sharedwithme.tpl +++ b/view/tpl/sharedwithme.tpl @@ -1,24 +1,26 @@ -
-  {{$dropall}} -

{{$header}}

-
-
- - - - - - - - - {{foreach $items as $item}} - - - - - - - - {{/foreach}} -
{{$name}}
{{$item.objfilename}}{{if $item.unseen}} {{$label_new}}{{/if}}
+
+
+  {{$dropall}} +

{{$header}}

+
+
+ + + + + + + + + {{foreach $items as $item}} + + + + + + + + {{/foreach}} +
{{$name}}
{{$item.objfilename}}{{if $item.unseen}} {{$label_new}}{{/if}}
+
-- cgit v1.2.3 From c1e0987b880c116b392d65a2b40cda2fd53debe0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 21 Jun 2015 17:53:44 +0200 Subject: do not show default in scheme selection dropdown. default.php and default.css should be symlinks. adjust doco accordingly. --- view/tpl/photos_upload.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl index 06e3ef612..ee0bbd86b 100755 --- a/view/tpl/photos_upload.tpl +++ b/view/tpl/photos_upload.tpl @@ -1,4 +1,4 @@ -
+
-- cgit v1.2.3 From 68534fd5dc6fdc879b075c32849d6cbc8a5fc905 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 21 Jun 2015 17:30:23 -0700 Subject: some diaspora import issues uncovered during dry-run tests --- view/tpl/channel_import.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/channel_import.tpl b/view/tpl/channel_import.tpl index f76594934..6974e4d30 100755 --- a/view/tpl/channel_import.tpl +++ b/view/tpl/channel_import.tpl @@ -36,5 +36,8 @@
+
{{$pleasewait}}
+ + -- cgit v1.2.3