diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/directory_header.tpl | 24 | ||||
-rw-r--r-- | view/tpl/direntry.tpl | 11 |
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> |