From ad20e1f617c7e26585153b587eb9a85fc958794b Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Dec 2012 19:51:52 -0800 Subject: directory page still needs a lot of work, look up locally if local master or standalone, need to put some basic profile info in discovery page and direct to local directory master --- view/tpl/directory_header.tpl | 24 ++++++++++++------------ view/tpl/direntry.tpl | 11 +++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 view/tpl/direntry.tpl (limited to 'view/tpl') diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index 1f03540f2..e1def851b 100644 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -1,16 +1,16 @@ -

$sitedir

+

$dirlbl

-$globaldir -$admin +{{ if $search }} +

$finddsc $safetxt

+{{ endif }} -$finding +{{for $entries as $entry}} -
-
-$desc - - -
-
-
+{{ inc direntry.tpl }}{{ endinc }} + +{{ endfor }} + + + +
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl new file mode 100644 index 000000000..e860da41c --- /dev/null +++ b/view/tpl/direntry.tpl @@ -0,0 +1,11 @@ + +
+
+
+ $entry.alttext +
+
+ +
$entry.name
+
$entry.details
+
-- cgit v1.2.3