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/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 ++++++++++++++++++++ 12 files changed, 656 insertions(+) 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/quattro') 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