{* testing, remove test_ from var names *}
{assign var=test_latest_version_available value="2.0"}
{assign var=test_piwikUrl value='http://demo.piwik.org/'}

<span id="header_message" class="{if $piwikUrl == 'http://demo.piwik.org/' || !$latest_version_available}header_info{else}header_alert{/if}">
<span class="header_short">
	{if $piwikUrl == 'http://demo.piwik.org/'}
		{'General_YouAreViewingDemoShortMessage'|translate}
	{else}
		{'General_AboutPiwikX'|translate:$piwik_version}
	{/if}
</span>

<span class="header_full">
	{if $piwikUrl == 'http://demo.piwik.org/'}
		{'General_YouAreViewingDemoShortMessage'|translate}<br/>
		{'General_DownloadFullVersion'|translate:"<a href='http://piwik.org/'>":"</a>":"<a href='http://piwik.org'>piwik.org</a>"}
	{else}
		{'General_PiwikIsACollaborativeProjectYouCanContribute'|translate:"<a href='?module=Proxy&action=redirect&url=http://piwik.org' target='_blank'>":"$piwik_version</a>":"<br />":"<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/contribute/'>":"</a>"}
	{/if}
</span>
</span>
