diff options
| author | Lester Caine <lsces@lsces.co.uk> | 2010-10-21 09:03:39 +0100 |
|---|---|---|
| committer | Lester Caine <lsces@lsces.co.uk> | 2010-10-21 09:03:39 +0100 |
| commit | 513264caa8c4fadc146c14e8be45821546c15dba (patch) | |
| tree | a410d96572dc3c57c0fd41c62ff5c8b3514d4128 /templates | |
| parent | 09a88e53290640641ffc299334c632e6f592097f (diff) | |
| download | contact-513264caa8c4fadc146c14e8be45821546c15dba.tar.gz contact-513264caa8c4fadc146c14e8be45821546c15dba.tar.bz2 contact-513264caa8c4fadc146c14e8be45821546c15dba.zip | |
Display xkey rather than content_id in listings
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/list.tpl | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/templates/list.tpl b/templates/list.tpl index fc42052..f6f199a 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -14,12 +14,13 @@ <div class="navbar"> <ul> <li>{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain="sort by"}</li> - {* <li>{smartlink ititle="Contact Number" isort="content_id" idefault=1 iorder=desc ihash=$listInfo.ihash}</li> - <li>{smartlink ititle="Forename" isort="forename" ihash=$listInfo.ihash}</li> *} - <li>{smartlink ititle="Surname" isort="surname" ihash=$listInfo.ihash}</li> - <li>{smartlink ititle="Organisation" isort="organisation" ihash=$listInfo.ihash}</li> - <li>{smartlink ititle="Address" isort="street" ihash=$listInfo.ihash}</li> - <li>{smartlink ititle="Town" isort="town" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Contract" isort="xkey" ihash=$listInfo.ihash}</li> + {* <li>{smartlink ititle="Forename" isort="forename" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Surname" isort="surname" ihash=$listInfo.ihash}</li> *} + <li>{smartlink ititle="Title" isort="title" idefault=1 iorder=desc ihash=$listInfo.ihash}</li> + {* <li>{smartlink ititle="Address" isort="street" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Town" isort="town" ihash=$listInfo.ihash}</li> *} + <li>{smartlink ititle="Location" isort="location" ihash=$listInfo.ihash}</li> <li>{smartlink ititle="Postcode" isort="postcode" ihash=$listInfo.ihash}</li> </ul> </div> @@ -28,14 +29,8 @@ {section name=content loop=$listcontacts} <li class="item {cycle values='odd,even'}"> <a href="display_contact.php?content_id={$listcontacts[content].content_id}" title="ci_{$listcontacts[content].content_id}"> - {$listcontacts[content].content_id} - - {if isset($listcontacts[content].surname) && ($listcontacts[content].surname <> '') } - {$listcontacts[content].prefix} - {$listcontacts[content].forename} - {$listcontacts[content].surname} - {else} - {$listcontacts[content].title} - {/if} + {$listcontacts[content].xkey} - + {$listcontacts[content].title} </a> {if isset($listcontacts[content].organisation) && ($listcontacts[content].organisation <> '') }Company: {$listcontacts[content].organisation} {/if} {if isset($listcontacts[content].dob) && ($listcontacts[content].dob <> '') }DOB: {$listcontacts[content].dob} {/if} |
