From a4775aab9b823523dd91246cbbb7fec3375b214d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 22 Jun 2015 14:02:14 +0200 Subject: Bring /help in line with the rest of the app --- view/tpl/help.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index e01243077..22180bda6 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,3 +1,8 @@ -
-{{$content}} +
+
+

{{$title}}

+
+
+ {{$content}} +
-- cgit v1.2.3 From b6c4601d8fe96d53428697dd98d085f3602b2e6e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 23 Jun 2015 13:06:22 +0200 Subject: some work on directory --- view/tpl/directory_header.tpl | 22 ++++----- view/tpl/direntry.tpl | 109 ++++++++++++++++++++++++++---------------- 2 files changed, 77 insertions(+), 54 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index 477df8a63..26739efc3 100755 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -1,16 +1,12 @@ -
-

{{$dirlbl}}

- -{{if $search}} -

{{$finddsc}} {{$safetxt}}

-{{/if}} - -{{foreach $entries as $entry}} -{{include file="direntry.tpl"}} -{{/foreach}} - -
-
+
+
+

{{$dirlbl}}{{if $search}}: {{$safetxt}}{{/if}}

+
+ {{foreach $entries as $entry}} + {{include file="direntry.tpl"}} + {{/foreach}} +
+
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 0608bca0a..3450ad36d 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,46 +1,73 @@ -
+
+
+
+ {{if $entry.viewrate}} + {{if $entry.canrate}}{{/if}} + {{if $entry.total_ratings}}{{$entry.total_ratings}}{{/if}} + {{/if}} + {{if $entry.ignlink}} + {{$entry.ignore_label}} + {{/if}} + {{$entry.conn_label}} +
+

{{if $entry.public_forum}} {{/if}}{{$entry.name}}{{if $entry.online}} {{/if}}

+
+
+
+
+ + {{$entry.alttext}} + +
+
+
+ {{if $entry.common_friends}} +
+ {{$entry.common_label}} {{$entry.common_count}} +
+ {{/if}} -
-
-{{$entry.alttext}} -{{if $entry.connect}} - -{{/if}} -{{if $entry.ignlink}} - -{{/if}} -
-
+ {{if $entry.pdesc}} +
+ {{$entry.pdesc_label}} {{$entry.pdesc}} +
+ {{/if}} -
-
{{$entry.name}}{{if $entry.online}} {{/if}}
+ {{if $entry.age}} +
+ {{$entry.age_label}} {{$entry.age}} +
+ {{/if}} -{{if $entry.viewrate}} -
{{if $entry.total_ratings}}{{/if}} -{{if $entry.canrate}}{{/if}} -
-{{/if}} -{{if $entry.common_friends}} -
{{$entry.common_txt}}
-{{/if}} -{{if $entry.public_forum}} -
-{{$entry.forum_label}} @{{$entry.nickname}}+ -
-{{/if}} + {{if $entry.details}} +
+ {{$entry.location}} {{$entry.details}} +
+ {{/if}} -
{{$entry.details}}
-{{if $entry.hometown}} -
{{$entry.hometown}}
-{{/if}} -{{if $entry.about}} -
{{$entry.about}}
-{{/if}} -{{if $entry.homepage}} -
{{$entry.homepage}}{{$entry.homepageurl}}
-{{/if}} -{{if $entry.kw}} -
{{$entry.kw}} {{$entry.keywords}}
-{{/if}} -
+ {{if $entry.hometown}} +
+ {{$entry.hometown_label}} {{$entry.hometown}} +
+ {{/if}} + + {{if $entry.homepage}} +
+ {{$entry.homepage}} {{$entry.homepageurl}} +
+ {{/if}} + + {{if $entry.kw}} +
+ {{$entry.kw}} {{$entry.keywords}} +
+ {{/if}} + + {{if $entry.about}} +
+ {{$entry.about_label}} {{$entry.about}} +
+ {{/if}} +
+
-- cgit v1.2.3