aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-19 19:51:52 -0800
committerfriendica <info@friendica.com>2012-12-19 19:51:52 -0800
commitad20e1f617c7e26585153b587eb9a85fc958794b (patch)
tree34dea42657f13affc9721a443f2582662f1080f9 /view
parent2f48c31082179d8ff29952e8fe983c99ab0ff5f3 (diff)
downloadvolse-hubzilla-ad20e1f617c7e26585153b587eb9a85fc958794b.tar.gz
volse-hubzilla-ad20e1f617c7e26585153b587eb9a85fc958794b.tar.bz2
volse-hubzilla-ad20e1f617c7e26585153b587eb9a85fc958794b.zip
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
Diffstat (limited to 'view')
-rw-r--r--view/tpl/directory_header.tpl24
-rw-r--r--view/tpl/direntry.tpl11
2 files changed, 23 insertions, 12 deletions
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 @@
-<h1>$sitedir</h1>
+<h1>$dirlbl</h1>
-$globaldir
-$admin
+{{ if $search }}
+<h4>$finddsc $safetxt</h4>
+{{ endif }}
-$finding
+{{for $entries as $entry}}
-<div id="directory-search-wrapper">
-<form id="directory-search-form" action="directory" method="get" >
-<span class="dirsearch-desc">$desc</span>
-<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="$search" />
-<input type="submit" name="submit" id="directory-search-submit" value="$submit" class="button" />
-</form>
-</div>
-<div id="directory-search-end"></div>
+{{ inc direntry.tpl }}{{ endinc }}
+
+{{ endfor }}
+
+
+
+<div class="directory-end"></div>
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 @@
+
+<div class="directory-item lframe" id="directory-item-$entry.id" >
+ <div class="contact-photo-wrapper" id="directory-photo-wrapper-$entry.id" >
+ <div class="contact-photo" id="directory-photo-$entry.id" >
+ <a href="$entry.profile_link" class="directory-profile-link" id="directory-profile-link-$entry.id" ><img class="directory-photo-img" src="$entry.photo" alt="$entry.alttext" title="$entry.alttext" /></a>
+ </div>
+ </div>
+
+ <div class="contact-name" id="directory-name-$entry.id">$entry.name</div>
+ <div class="contact-details">$entry.details</div>
+</div>