From 51d419e159de93c6ca7efaa1f1f69dc36eb3cb26 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 26 Mar 2012 09:09:14 +0200 Subject: themes: use duepuntozero tpls as default --- view/theme/duepuntozero/comment_item.tpl | 32 ------ view/theme/duepuntozero/contact_template.tpl | 25 ----- view/theme/duepuntozero/conversation.tpl | 25 ----- view/theme/duepuntozero/group_side.tpl | 28 ----- view/theme/duepuntozero/jot.tpl | 84 --------------- view/theme/duepuntozero/nav.tpl | 68 ------------ view/theme/duepuntozero/nets.tpl | 10 -- view/theme/duepuntozero/profile_vcard.tpl | 47 -------- view/theme/duepuntozero/saved_searches_aside.tpl | 14 --- view/theme/duepuntozero/search_item.tpl | 54 ---------- view/theme/duepuntozero/wall_item.tpl | 78 -------------- view/theme/duepuntozero/wallwall_item.tpl | 85 --------------- view/theme/quattro/comment_item.tpl | 32 ++++++ view/theme/quattro/contact_template.tpl | 26 +++++ view/theme/quattro/conversation.tpl | 23 ++++ view/theme/quattro/group_side.tpl | 29 +++++ view/theme/quattro/jot.tpl | 48 +++++++++ view/theme/quattro/nav.tpl | 131 +++++++++++++++++++++++ view/theme/quattro/nets.tpl | 12 +++ view/theme/quattro/profile_vcard.tpl | 63 +++++++++++ view/theme/quattro/saved_searches_aside.tpl | 15 +++ view/theme/quattro/search_item.tpl | 91 ++++++++++++++++ view/theme/quattro/wall_item.tpl | 90 ++++++++++++++++ view/theme/quattro/wallwall_item.tpl | 96 +++++++++++++++++ 24 files changed, 656 insertions(+), 550 deletions(-) delete mode 100755 view/theme/duepuntozero/comment_item.tpl delete mode 100755 view/theme/duepuntozero/contact_template.tpl delete mode 100755 view/theme/duepuntozero/conversation.tpl delete mode 100755 view/theme/duepuntozero/group_side.tpl delete mode 100755 view/theme/duepuntozero/jot.tpl delete mode 100755 view/theme/duepuntozero/nav.tpl delete mode 100755 view/theme/duepuntozero/nets.tpl delete mode 100755 view/theme/duepuntozero/profile_vcard.tpl delete mode 100755 view/theme/duepuntozero/saved_searches_aside.tpl delete mode 100755 view/theme/duepuntozero/search_item.tpl delete mode 100755 view/theme/duepuntozero/wall_item.tpl delete mode 100755 view/theme/duepuntozero/wallwall_item.tpl create mode 100755 view/theme/quattro/comment_item.tpl create mode 100755 view/theme/quattro/contact_template.tpl create mode 100755 view/theme/quattro/conversation.tpl create mode 100755 view/theme/quattro/group_side.tpl create mode 100755 view/theme/quattro/jot.tpl create mode 100755 view/theme/quattro/nav.tpl create mode 100755 view/theme/quattro/nets.tpl create mode 100755 view/theme/quattro/profile_vcard.tpl create mode 100755 view/theme/quattro/saved_searches_aside.tpl create mode 100755 view/theme/quattro/search_item.tpl create mode 100755 view/theme/quattro/wall_item.tpl create mode 100755 view/theme/quattro/wallwall_item.tpl (limited to 'view/theme') diff --git a/view/theme/duepuntozero/comment_item.tpl b/view/theme/duepuntozero/comment_item.tpl deleted file mode 100755 index 3503c3843..000000000 --- a/view/theme/duepuntozero/comment_item.tpl +++ /dev/null @@ -1,32 +0,0 @@ -
-
- - - - - - - -
- $mytitle -
-
- - {{ if $qcomment }} - {{ for $qcomment as $qc }} - $qc -   - {{ endfor }} - {{ endif }} - -
- - -
-
- -
diff --git a/view/theme/duepuntozero/contact_template.tpl b/view/theme/duepuntozero/contact_template.tpl deleted file mode 100755 index 48930b48a..000000000 --- a/view/theme/duepuntozero/contact_template.tpl +++ /dev/null @@ -1,25 +0,0 @@ - -
-
-
- - $contact.name - - {{ if $contact.photo_menu }} - menu -
-
    - $contact.photo_menu -
-
- {{ endif }} -
- -
-
-
$contact.name
- -
-
diff --git a/view/theme/duepuntozero/conversation.tpl b/view/theme/duepuntozero/conversation.tpl deleted file mode 100755 index 43bb1dd47..000000000 --- a/view/theme/duepuntozero/conversation.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{ for $threads as $thread }} -
- {{ for $thread.items as $item }} - {{if $item.comment_firstcollapsed}} -
- $thread.num_comments $thread.hide_text -
- {{endif}} - - {{ inc $item.template }}{{ endinc }} - - - {{ endfor }} -
-{{ endfor }} - -{{ if $dropping }} - -
-{{ endif }} diff --git a/view/theme/duepuntozero/group_side.tpl b/view/theme/duepuntozero/group_side.tpl deleted file mode 100755 index 0353b1d2c..000000000 --- a/view/theme/duepuntozero/group_side.tpl +++ /dev/null @@ -1,28 +0,0 @@ -
-

$title

- - - -
- - diff --git a/view/theme/duepuntozero/jot.tpl b/view/theme/duepuntozero/jot.tpl deleted file mode 100755 index 5fe1f954e..000000000 --- a/view/theme/duepuntozero/jot.tpl +++ /dev/null @@ -1,84 +0,0 @@ - -
-
-
 
-
-
-
- -
- - - - - - - -
-
- - -
- -
- - -
-
-
-
-
-
- - -
- -
-
- -
-
- -
- - -
- $bang -
- - $preview - -
- - -
- $jotplugins -
- -
- -
- - - -
-
- $acl -
-
$emailcc
-
- $jotnets -
-
- - -
- -
-
-
- {{ if $content }}{{ endif }} diff --git a/view/theme/duepuntozero/nav.tpl b/view/theme/duepuntozero/nav.tpl deleted file mode 100755 index 4675c3e5c..000000000 --- a/view/theme/duepuntozero/nav.tpl +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/view/theme/duepuntozero/nets.tpl b/view/theme/duepuntozero/nets.tpl deleted file mode 100755 index b0cb8890c..000000000 --- a/view/theme/duepuntozero/nets.tpl +++ /dev/null @@ -1,10 +0,0 @@ -
-

$title

-
$desc
- $all - -
diff --git a/view/theme/duepuntozero/profile_vcard.tpl b/view/theme/duepuntozero/profile_vcard.tpl deleted file mode 100755 index 154f22363..000000000 --- a/view/theme/duepuntozero/profile_vcard.tpl +++ /dev/null @@ -1,47 +0,0 @@ -
- -
$profile.name
- - - - {{ if $pdesc }}
$profile.pdesc
{{ endif }} -
$profile.name
- - - - {{ if $location }} -
$location
-
- {{ if $profile.address }}
$profile.address
{{ endif }} - - $profile.locality{{ if $profile.locality }}, {{ endif }} - $profile.region - $profile.postal-code - - {{ if $profile.country-name }}$profile.country-name{{ endif }} -
-
- {{ endif }} - - {{ if $gender }}
$gender
$profile.gender
{{ endif }} - - {{ if $profile.pubkey }}{{ endif }} - - {{ if $marital }}
$marital
$profile.marital
{{ endif }} - - {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} - - {{ inc diaspora_vcard.tpl }}{{ endinc }} - - -
- -$contact_block - - diff --git a/view/theme/duepuntozero/saved_searches_aside.tpl b/view/theme/duepuntozero/saved_searches_aside.tpl deleted file mode 100755 index e6a0d6278..000000000 --- a/view/theme/duepuntozero/saved_searches_aside.tpl +++ /dev/null @@ -1,14 +0,0 @@ -
- - $searchbox - - -
-
diff --git a/view/theme/duepuntozero/search_item.tpl b/view/theme/duepuntozero/search_item.tpl deleted file mode 100755 index bfad1b7b7..000000000 --- a/view/theme/duepuntozero/search_item.tpl +++ /dev/null @@ -1,54 +0,0 @@ -
-
-
-
- - $item.name - menu -
-
    - $item.item_photo_menu -
-
-
-
-
- {{ if $item.lock }}
$item.lock
- {{ else }}
{{ endif }} -
$item.location
-
-
-
- $item.name -
$item.ago
- -
-
-
$item.title
-
-
$item.body
-
-
-
- {{ if $item.drop.dropping }}{{ endif }} -
- {{ if $item.drop.dropping }}{{ endif }} -
-
-
-
- - -
- {{ if $item.conv }} - $item.conv.title - {{ endif }} -
- -
- -
- - diff --git a/view/theme/duepuntozero/wall_item.tpl b/view/theme/duepuntozero/wall_item.tpl deleted file mode 100755 index 9d1dd7d70..000000000 --- a/view/theme/duepuntozero/wall_item.tpl +++ /dev/null @@ -1,78 +0,0 @@ -
-
-
-
- - $item.name - - menu -
-
    - $item.item_photo_menu -
-
-
-
-
- {{ if $item.lock }}
$item.lock
- {{ else }}
{{ endif }} -
$item.location
-
-
-
- $item.name -
$item.ago
- -
-
-
$item.title
-
-
$item.body -
- {{ for $item.tags as $tag }} - $tag - {{ endfor }} -
-
-
-
- {{ if $item.vote }} - - {{ endif }} - {{ if $item.plink }} - - {{ endif }} - {{ if $item.edpost }} - - {{ endif }} - - {{ if $item.star }} - - - {{ endif }} - {{ if $item.filer }} - - {{ endif }} -
- {{ if $item.drop.dropping }}{{ endif }} -
- {{ if $item.drop.dropping }}{{ endif }} -
-
-
-
- -
$item.dislike
-
- $item.comment -
- -
-
diff --git a/view/theme/duepuntozero/wallwall_item.tpl b/view/theme/duepuntozero/wallwall_item.tpl deleted file mode 100755 index bad5680c7..000000000 --- a/view/theme/duepuntozero/wallwall_item.tpl +++ /dev/null @@ -1,85 +0,0 @@ -
-
-
-
- - $item.owner_name -
-
$item.wall
-
- - $item.name - menu -
-
    - $item.item_photo_menu -
-
- -
-
-
- {{ if $item.lock }}
$item.lock
- {{ else }}
{{ endif }} -
$item.location
-
-
-
- $item.name $item.to $item.owner_name $item.vwall
-
$item.ago
-
-
-
$item.title
-
-
$item.body -
- {{ for $item.tags as $tag }} - $tag - {{ endfor }} -
-
-
-
- {{ if $item.vote }} - - {{ endif }} - {{ if $item.plink }} - - {{ endif }} - {{ if $item.edpost }} - - {{ endif }} - - {{ if $item.star }} - - - {{ endif }} - {{ if $item.filer }} - - {{ endif }} - -
- {{ if $item.drop.dropping }}{{ endif }} -
- {{ if $item.drop.dropping }}{{ endif }} -
-
-
-
- -
$item.dislike
-
-
- $item.comment -
- -
-
- diff --git a/view/theme/quattro/comment_item.tpl b/view/theme/quattro/comment_item.tpl new file mode 100755 index 000000000..cde4ca3ca --- /dev/null +++ b/view/theme/quattro/comment_item.tpl @@ -0,0 +1,32 @@ +
+
+ + + + + + + +
+ $mytitle +
+
+ {{ if $qcomment }} + {{ for $qcomment as $qc }} + $qc +   + {{ endfor }} + {{ endif }} + + +
+ + +
+
+ +
diff --git a/view/theme/quattro/contact_template.tpl b/view/theme/quattro/contact_template.tpl new file mode 100755 index 000000000..b826acc65 --- /dev/null +++ b/view/theme/quattro/contact_template.tpl @@ -0,0 +1,26 @@ + +
+
+
+ + $contact.name + + {{ if $contact.photo_menu }} + menu + + {{ endif }} +
+ +
+
$contact.name
+ {{ if $contact.alt_text }}
$contact.alt_text
{{ endif }} +
$contact.itemurl
+
$contact.network
+ + +
+ diff --git a/view/theme/quattro/conversation.tpl b/view/theme/quattro/conversation.tpl new file mode 100755 index 000000000..ff202bbe4 --- /dev/null +++ b/view/theme/quattro/conversation.tpl @@ -0,0 +1,23 @@ +{{ for $threads as $thread }} +
+ {{ for $thread.items as $item }} + {{if $item.comment_firstcollapsed}} +
+ $thread.num_comments $thread.hide_text +
+ {{endif}} + + {{ inc $item.template }}{{ endinc }} + + + {{ endfor }} +
+{{ endfor }} + +{{ if $dropping }} + + $dropping + +{{ endif }} diff --git a/view/theme/quattro/group_side.tpl b/view/theme/quattro/group_side.tpl new file mode 100755 index 000000000..596a8d13f --- /dev/null +++ b/view/theme/quattro/group_side.tpl @@ -0,0 +1,29 @@ +
+
+

$title

+ $add +
+ + +
+ diff --git a/view/theme/quattro/jot.tpl b/view/theme/quattro/jot.tpl new file mode 100755 index 000000000..2f89d4372 --- /dev/null +++ b/view/theme/quattro/jot.tpl @@ -0,0 +1,48 @@ +
+
+
 
+ +
+ + + + + + + + + + + + +
+ + + +
+
+ $acl +
+
$emailcc
+
+ $jotnets +
+
+ +
+ +{{ if $content }}{{ endif }} diff --git a/view/theme/quattro/nav.tpl b/view/theme/quattro/nav.tpl new file mode 100755 index 000000000..8c872864c --- /dev/null +++ b/view/theme/quattro/nav.tpl @@ -0,0 +1,131 @@ +
+ {# $langselector #} + +
$sitelocation
+ +
+ + + +{# + +{{ if $nav.logout }}$nav.logout.1 {{ endif }} +{{ if $nav.login }}$nav.login.1 {{ endif }} + + + +{{ if $nav.register }}$nav.register.1{{ endif }} + +$nav.help.1 + +{{ if $nav.apps }}$nav.apps.1{{ endif }} + +$nav.search.1 +$nav.directory.1 + +{{ if $nav.admin }}$nav.admin.1{{ endif }} + +{{ if $nav.notifications }} +$nav.notifications.1 + +{{ endif }} +{{ if $nav.messages }} +$nav.messages.1 + +{{ endif }} + +{{ if $nav.manage }}$nav.manage.1{{ endif }} + +{{ if $nav.settings }}$nav.settings.1{{ endif }} +{{ if $nav.profiles }}$nav.profiles.1{{ endif }} + + + + + +#} diff --git a/view/theme/quattro/nets.tpl b/view/theme/quattro/nets.tpl new file mode 100755 index 000000000..cbadf1361 --- /dev/null +++ b/view/theme/quattro/nets.tpl @@ -0,0 +1,12 @@ +
+

$title

+
$desc
+ + + +
diff --git a/view/theme/quattro/profile_vcard.tpl b/view/theme/quattro/profile_vcard.tpl new file mode 100755 index 000000000..7cd02f164 --- /dev/null +++ b/view/theme/quattro/profile_vcard.tpl @@ -0,0 +1,63 @@ +
+ +
+
$profile.name
+ {{ if $profile.edit }} +
+ $profile.edit.1 + +
+ {{ endif }} +
+ + + {{ if $pdesc }}
$profile.pdesc
{{ endif }} +
$profile.name
+ + + + {{ if $location }} +
$location
+
+ {{ if $profile.address }}
$profile.address
{{ endif }} + + $profile.locality{{ if $profile.locality }}, {{ endif }} + $profile.region + $profile.postal-code + + {{ if $profile.country-name }}$profile.country-name{{ endif }} +
+
+ {{ endif }} + + {{ if $gender }}
$gender
$profile.gender
{{ endif }} + + {{ if $profile.pubkey }}{{ endif }} + + {{ if $marital }}
$marital
$profile.marital
{{ endif }} + + {{ if $homepage }}
$homepage
$profile.homepage
{{ endif }} + + {{ inc diaspora_vcard.tpl }}{{ endinc }} + + +
+ +$contact_block + + diff --git a/view/theme/quattro/saved_searches_aside.tpl b/view/theme/quattro/saved_searches_aside.tpl new file mode 100755 index 000000000..9c10a26de --- /dev/null +++ b/view/theme/quattro/saved_searches_aside.tpl @@ -0,0 +1,15 @@ +
+

$title

+ + + + $searchbox + +
diff --git a/view/theme/quattro/search_item.tpl b/view/theme/quattro/search_item.tpl new file mode 100755 index 000000000..80d6678fb --- /dev/null +++ b/view/theme/quattro/search_item.tpl @@ -0,0 +1,91 @@ + +
+ $item.star.starred + {{ if $item.lock }}$item.lock{{ endif }} + +
+ +
+
+
+
+ + $item.name + + menu + + +
+
$item.location
+
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ {{ if $item.plink }}$item.plink.title{{ endif }} +
+
+
+ $item.name $item.ago +
+ +
+ {{ if $item.star }} + $item.star.do + $item.star.undo + $item.star.tagger + {{ endif }} + + {{ if $item.vote }} + $item.vote.like.1 + $item.vote.dislike.1 + {{ endif }} + + {{ if $item.vote.share }} + $item.vote.share.1 + {{ endif }} +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+ +
+
+
+ + +
$item.dislike
+ {{ if $item.conv }} +
+ $item.conv.title + {{ endif }} +
+
+ + +
+ diff --git a/view/theme/quattro/wall_item.tpl b/view/theme/quattro/wall_item.tpl new file mode 100755 index 000000000..e771db068 --- /dev/null +++ b/view/theme/quattro/wall_item.tpl @@ -0,0 +1,90 @@ + +
+ $item.star.starred + {{ if $item.lock }}$item.lock{{ endif }} + +
+ +
+
+
+
+ + $item.name + + menu + + +
+
$item.location
+
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ {{ if $item.plink }}$item.plink.title{{ endif }} +
+
+
+ $item.name $item.ago +
+ +
+ {{ if $item.star }} + $item.star.do + $item.star.undo + $item.star.tagger + {{ endif }} + {{ if $item.filer }} + $item.filer + {{ endif }} + + {{ if $item.vote }} + $item.vote.like.1 + $item.vote.dislike.1 + {{ endif }} + + {{ if $item.vote.share }} + $item.vote.share.1 + {{ endif }} +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+ +
+
+
+ + +
$item.dislike
+
+
+ +
+ $item.comment +
diff --git a/view/theme/quattro/wallwall_item.tpl b/view/theme/quattro/wallwall_item.tpl new file mode 100755 index 000000000..693ebaba6 --- /dev/null +++ b/view/theme/quattro/wallwall_item.tpl @@ -0,0 +1,96 @@ +
+ $item.star.starred + {{ if $item.lock }}$item.lock{{ endif }} + +
+ +
+
+
+
+ + $item.name + + menu + + +
+
+ + $item.owner_name + +
+
$item.location
+
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+ +
+
+ $item.name $item.ago +
$item.to $item.owner_name $item.vwall + +
+ +
+ {{ if $item.star }} + $item.star.do + $item.star.undo + $item.star.tagger + + {{ endif }} + {{ if $item.filer }} + $item.filer + {{ endif }} + + {{ if $item.vote }} + $item.vote.like.1 + $item.vote.dislike.1 + {{ endif }} + + {{ if $item.vote.share }} + $item.vote.share.1 + {{ endif }} +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+ +
+
+
+ + +
$item.dislike
+
+
+
+ $item.comment +
-- cgit v1.2.3