From 3b394ea43fd3bc011f98a9160a8b408283f97ebc Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 25 Oct 2012 18:42:42 -0700 Subject: comments sort of working again but now need to fix the threading which was ported when it was only half working --- view/tpl/register.tpl | 80 ++++++++++++++++++++---------------------------- view/tpl/wall_thread.tpl | 71 +++++++++++++++++++++++------------------- view/tpl/zregister.tpl | 45 --------------------------- 3 files changed, 74 insertions(+), 122 deletions(-) delete mode 100644 view/tpl/zregister.tpl (limited to 'view/tpl') diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 244762c4b..4b565718d 100644 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -1,57 +1,45 @@ -

$regtitle

+

$title

- - - $registertext - -

$realpeople

- -

$fillwith

-

$fillext

+{{ if $registertext }} +
$registertext
+{{ endif }} {{ if $invitations }} -

$invite_desc

-
- - -
-
+ + +
+
{{ endif }} + + +
+
+ + + +
+
+ + + +
+
+ + {{ if $enable_tos }} + + +
+
+ {{ else }} + + {{ endif }} + + +
-
- - -
-
- - -
- - -
-
- -

$nickdesc

- -
- -
@$sitename
-
-
- - $publish - -
- -
-
- -$license - - diff --git a/view/tpl/wall_thread.tpl b/view/tpl/wall_thread.tpl index ade8264fa..a67334e33 100644 --- a/view/tpl/wall_thread.tpl +++ b/view/tpl/wall_thread.tpl @@ -6,38 +6,40 @@ {{endif}}
-{{ if $item.threaded }} -
-{{ else }} -
-{{ endif }} +
-
-
- - $item.name - +
+ {{ if $item.owner_url }} +
+ + $item.owner_name +
+
$item.wall
+ {{ endif }} +
+ + $item.name menu -
-
    - $item.item_photo_menu -
-
+
+
    + $item.item_photo_menu +
+
+
{{ if $item.lock }}
$item.lock
{{ else }}
{{ endif }} -
$item.location
+
$item.location
- $item.name -
$item.ago
- -
+ $item.name{{ if $item.owner_url }} $item.to $item.owner_name $item.vwall{{ endif }}
+
$item.ago
+
$item.title
@@ -47,6 +49,15 @@ $tag {{ endfor }}
+ {{ if $item.has_cats }} +
$item.txt_cats {{ for $item.categories as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }} + + {{ if $item.has_folders }} +
$item.txt_folders {{ for $item.folders as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} +
+ {{ endif }}
@@ -59,7 +70,7 @@
{{ endif }} {{ if $item.plink }} - + {{ endif }} {{ if $item.edpost }} @@ -71,39 +82,37 @@ {{ endif }} {{ if $item.filer }} - {{ endif }} + {{ endif }} +
{{ if $item.drop.dropping }}{{ endif }}
- {{ if $item.drop.dropping }}{{ endif }} + {{ if $item.drop.pagedrop }}{{ endif }}
-
+
$item.dislike
{{ if $item.threaded }} {{ if $item.comment }} -
+
$item.comment
{{ endif }} {{ endif }} -
+
{{ for $item.children as $item }} {{ inc $item.template }}{{ endinc }} {{ endfor }} -{{ if $item.comment }} {{ if $item.flatten }}
$item.comment
{{ endif }} -{{ endif }}
{{if $item.comment_lastcollapsed}}{{endif}} - diff --git a/view/tpl/zregister.tpl b/view/tpl/zregister.tpl deleted file mode 100644 index 3a2c38a13..000000000 --- a/view/tpl/zregister.tpl +++ /dev/null @@ -1,45 +0,0 @@ -

$title

- -
- -{{ if $registertext }} -
$registertext
-{{ endif }} - -{{ if $invitations }} -

$invite_desc

- - - -
-
-{{ endif }} - - - -
-
- - - -
-
- - - -
-
- - {{ if $enable_tos }} - - -
-
- {{ else }} - - {{ endif }} - - -
- -
-- cgit v1.2.3