diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-18 20:16:00 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-18 20:16:00 +0300 |
commit | 0836fc2a00911ec8f17866969932796b7c38e08a (patch) | |
tree | 5b703c1a60b51a3f4479f6b57c84fad2ad5c7a50 /plugins/CoreHome/templates/header_message.tpl | |
parent | 15156e53413dae8fefc6791d18a30daa5931a5b2 (diff) |
- adding custom text on the piwik demo, to make it clear that people are looking at the demo
Diffstat (limited to 'plugins/CoreHome/templates/header_message.tpl')
-rw-r--r-- | plugins/CoreHome/templates/header_message.tpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/CoreHome/templates/header_message.tpl b/plugins/CoreHome/templates/header_message.tpl index 1827616612..0fc00fe6cb 100644 --- a/plugins/CoreHome/templates/header_message.tpl +++ b/plugins/CoreHome/templates/header_message.tpl @@ -1,3 +1,17 @@ <span id="header_message"> +{if $piwikUrl == 'http://piwik.org/demo/'} + {literal} + <style> + #header_message {border: 1px solid #FF7F00 ; padding:5px;right:35px;} + #header_message .demolink { font-weight:bold; } + #header_message .demolink, #header_message .demolink a { font-size:12pt;color:#FF7F00; } + </style> + {/literal} + <span class="demolink"> + You are currently viewing the demo of <a target='_blank' href='http://piwik.org'>Piwik</a>; + <a href='http://piwik.org/'><u>download</u></a> the full version now! Check out <a href='http://piwik.org'><u>piwik.org</u></a> + </span> +{else} {'General_PiwikIsACollaborativeProject'|translate:"<a href='http://piwik.org'>":"</a>":"<br />":"<u><a href='mailto:hello@piwik.org?subject=I would like to help Piwik! Here is my idea and how I could contribute'>":"</a></u>"} +{/if} </span> |