2010-11-12 18:02:06 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<#-- Test widget -->
|
|
|
|
|
|
|
|
<#macro assets>
|
2011-03-08 15:44:05 +00:00
|
|
|
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/test.css" />')}
|
|
|
|
${scripts.add('<script type="text/javascript" src="${urls.base}/js/testscript.js"></script>')}
|
|
|
|
${headScripts.add('<script type="text/javascript" src="${urls.base}/js/testheadscript.js"></script>')}
|
2010-11-12 18:02:06 +00:00
|
|
|
</#macro>
|
|
|
|
|
2010-11-15 02:22:37 +00:00
|
|
|
<#macro loggedIn>
|
2010-11-12 18:02:06 +00:00
|
|
|
<div class="testWidget">
|
2013-05-20 15:36:37 -04:00
|
|
|
<h4>${i18n().test_for_logged_in_users}</h4>
|
|
|
|
<p>${i18n().login_status} ${status}.</p>
|
2010-11-12 18:02:06 +00:00
|
|
|
</div>
|
2010-11-15 02:11:08 +00:00
|
|
|
</#macro>
|
|
|
|
|
2010-11-15 02:22:37 +00:00
|
|
|
<#macro notLoggedIn>
|
2010-11-15 02:11:08 +00:00
|
|
|
<div class="testWidget">
|
2013-05-20 15:36:37 -04:00
|
|
|
<h4>${i18n().test_for_nonlogged_in_users}</h4>
|
|
|
|
<p>${i18n().login_status} ${status}.</p>
|
2010-11-15 02:11:08 +00:00
|
|
|
</div>
|
2010-11-12 18:02:06 +00:00
|
|
|
</#macro>
|