From 41617ee987d9153ba9598b6c095a789d0998dd3d Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 28 Sep 2011 10:30:32 +0200 Subject: fix search_item.tpl, fix 'new' view in network page, fix walltowall template in 'quattro' theme --- view/search_item.tpl | 100 ++++++++++++++++++++------------ view/theme/dispy/search_item.tpl | 17 +++++- view/theme/duepuntozero/search_item.tpl | 54 +++++++++++++++++ view/theme/loozah/search_item.tpl | 52 +++++++++++++++++ view/theme/testbubble/search_item.tpl | 17 ++++-- view/wallwall_item.tpl | 77 +++++++++++++++++++++++- 6 files changed, 272 insertions(+), 45 deletions(-) create mode 100644 view/theme/duepuntozero/search_item.tpl create mode 100644 view/theme/loozah/search_item.tpl (limited to 'view') diff --git a/view/search_item.tpl b/view/search_item.tpl index e045fc328..616eaf110 100644 --- a/view/search_item.tpl +++ b/view/search_item.tpl @@ -1,45 +1,71 @@ -
-
-
-
+
+ $star.starred + {{ if $lock }}$lock{{ endif }} + +
+
+
+
+
- $name - menu -
-
    - $item_photo_menu -
-
-
-
-
- $lock -
$location
-
-
-
- $name -
$ago
+ $name + + menu + -
-
-
$title
-
-
$body
+
+
$location
-
- $drop +
+ {{ if $title }}

$title

{{ endif }} + $body
-
- - -
$conv
- -
+
+ +
+
+ $name $ago +
+ +
+ {{ if $star }} + $star.do + $star.undo + {{ endif }} + + {{ if $vote }} + $vote.like.1 + $vote.dislike.1 + {{ endif }} + + {{ if $vote.share }} + $vote.share.1 + {{ endif }} + + {{ if $conv }} + $conv.title + {{ endif }} +
+ +
+ {{ if $drop.dropping }} + + $drop.delete + {{ endif }} + {{ if $edpost }} + + {{ endif }} +
+ +
+
- diff --git a/view/theme/dispy/search_item.tpl b/view/theme/dispy/search_item.tpl index 39c74ef81..3d841ab08 100644 --- a/view/theme/dispy/search_item.tpl +++ b/view/theme/dispy/search_item.tpl @@ -16,9 +16,16 @@
{{ if $location }}$location {{ endif }}
-
$lock
+
+ {{ if $lock }}
$lock
+ {{ else }}
{{ endif }} +
- $drop +
+ {{ if $drop.dropping }}{{ endif }} +
+ {{ if $drop.dropping }}{{ endif }} +
$title
@@ -36,5 +43,9 @@
-
$conv
+
+ {{ if $conv }} + $conv.title + {{ endif }} +
diff --git a/view/theme/duepuntozero/search_item.tpl b/view/theme/duepuntozero/search_item.tpl new file mode 100644 index 000000000..b4a1c82cb --- /dev/null +++ b/view/theme/duepuntozero/search_item.tpl @@ -0,0 +1,54 @@ +
+
+
+
+ + $name + menu +
+
    + $item_photo_menu +
+
+
+
+
+ {{ if $lock }}
$lock
+ {{ else }}
{{ endif }} +
$location
+
+
+
+ $name +
$ago
+ +
+
+
$title
+
+
$body
+
+
+
+ {{ if $drop.dropping }}{{ endif }} +
+ {{ if $drop.dropping }}{{ endif }} +
+
+
+
+ + +
+ {{ if $conv }} + $conv.title + {{ endif }} +
+ +
+ +
+ + diff --git a/view/theme/loozah/search_item.tpl b/view/theme/loozah/search_item.tpl new file mode 100644 index 000000000..17dc6233c --- /dev/null +++ b/view/theme/loozah/search_item.tpl @@ -0,0 +1,52 @@ +
+
+
+
+ + $name + menu +
+
    + $item_photo_menu +
+
+
+
+
+ {{ if $lock }}
$lock
+ {{ else }}
{{ endif }} +
$location
+
+
+
+ $name +
$ago
+ +
+
+
$title
+
+
$body
+
+
+
+ {{ if $drop.dropping }}{{ endif }} +
+ {{ if $drop.dropping }}{{ endif }} +
+
+
+
+ + +
+ {{ if $conv }}$conv.title{{ endif }} +
+ +
+ +
+ + diff --git a/view/theme/testbubble/search_item.tpl b/view/theme/testbubble/search_item.tpl index 76fbee6ba..7e5bfbe71 100644 --- a/view/theme/testbubble/search_item.tpl +++ b/view/theme/testbubble/search_item.tpl @@ -16,9 +16,16 @@
{{ if $location }}$location {{ endif }}
-
$lock
+
+ {{ if $lock }}
$lock
+ {{ else }}
{{ endif }} +
- $drop +
+ {{ if $drop.dropping }}{{ endif }} +
+ {{ if $drop.dropping }}{{ endif }} +
$title
@@ -32,8 +39,10 @@
-
$conv
+
+ {{ if $conv }}$conv.title{{ endif }} +
-
\ No newline at end of file +
diff --git a/view/wallwall_item.tpl b/view/wallwall_item.tpl index cac036d06..35bea4a86 100644 --- a/view/wallwall_item.tpl +++ b/view/wallwall_item.tpl @@ -1,4 +1,4 @@ -
+{#
@@ -51,5 +51,80 @@
+
#} + +{{ if $indent }}{{ else }} +
+ $star.starred + {{ if $lock }}$lock{{ endif }} +
+{{ endif }} +
+
+
+
+ + $owner_name + +
+
+ + $name + + menu + + +
+
$location
+
+
+ {{ if $title }}

$title

{{ endif }} + $body +
+
+
+ +
+
+ $name $ago +
$to $owner_name $vwall + +
+ +
+ {{ if $star }} + $star.do + $star.undo + {{ endif }} + + {{ if $vote }} + $vote.like.1 + $vote.dislike.1 + {{ endif }} + + {{ if $vote.share }} + $vote.share.1 + {{ endif }} +
+ +
+ {{ if $drop.dropping }} + + $drop.delete + {{ endif }} + {{ if $edpost }} + + {{ endif }} +
+ +
+
+
-- cgit v1.2.3