{include file="CRM/common/version.tpl" assign=version}
{include file="CRM/common/accesskeys.tpl"}
{if isset($contactId) and $contactId} {* Display contact-related footer. *}
    <div class="footer" id="record-log">
    <span class="col1">{if isset($external_identifier) and $external_identifier}{ts}External ID{/ts}:&nbsp;{$external_identifier}{/if}{if $action NEQ 2}&nbsp; &nbsp;{ts}CiviCRM ID{/ts}:&nbsp;{$contactId}{/if}</span>
    {if isset($lastModified) and $lastModified}
        {ts}Last Change by{/ts} <a href="{crmURL p='civicrm/contact/view' q="action=view&reset=1&cid=`$lastModified.id`"}">{$lastModified.name}</a> ({$lastModified.date|crmDate}) &nbsp;
	{if $changeLog != '0'}
	    <a href="{crmURL p='civicrm/contact/view' q="reset=1&action=browse&selectedChild=log&cid=`$contactId`"}">&raquo; {ts}View Change Log{/ts}</a>
	{/if}
    {/if}
    </div>
{/if}

<div class="footer" id="civicrm-footer">
{ts 1=$version}Powered by CiviCRM %1.{/ts} 
{ts 1='http://www.gnu.org/licenses/agpl-3.0.html'}CiviCRM is openly available under the <a href='%1'>GNU Affero General Public License (GNU AGPL)</a>.{/ts}<br/>
<a href='http://civicrm.org/download'>{ts}Download source.{/ts}</a> &nbsp; &nbsp;
<a href='http://issues.civicrm.org/jira/browse/CRM?report=com.atlassian.jira.plugin.system.project:roadmap-panel'>{ts}View issues and report bugs.{/ts}</a> &nbsp; &nbsp;
{docURL page="" text="Online documentation."}
</div>
