## Page footer for main and admin decorators.

<div id="footer">
    #if ($generalUtil.isSetupComplete())
        #set ($license = $licenseManager.getLicense("CONF") )
        #if ($license && $license.licenseType.niceName != "Confluence: Commercial Server")
            #if ($license.licenseType.niceName == "Confluence: Evaluation")
                <p class="license license-eval">
                  <strong>#if ($generalUtil.isLicenseExpired()) $action.getText('licensefooter.evaluation.expired',[$action.getText('licensefooter.expired.url')]) #else $action.getText('licensefooter.evaluation') #end</strong>
                  #if ($generalUtil.isLicenseExpired())
                  #else
                    $action.getText('consider.purchasing',[$action.getText('url.atlassian'),$action.getText('hitcounter.consider.purchasing')])
                  #end
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Non-Profit / Open Source")
                <p class="license license-nonprofit">
                $action.getText('licensefooter.nonprofit',[$action.getText('url.atlassian'),$action.getText('hitcounter.nonprofit'), $license.organisation])
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Personal Server")
                <p class="license license-personal">
                  $action.getText('licensefooter.personal',[$action.getText('url.atlassian'),$action.getText('hitcounter.personal')])<br>
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Community")
                <p class="license license-community">
                  $action.getText('licensefooter.community',[$action.getText('url.atlassian'), $action.getText('hitcounter.community'), $license.organisation])<br>
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Open Source")
                <p class="license license-opensource">
                  $action.getText('licensefooter.opensource',[$action.getText('url.atlassian'), $action.getText('hitcounter.opensource'), $license.organisation])<br>
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Developer")
                <p class="license license-developer">
                  $action.getText('licensefooter.developer')<br>
                </p>
            #elseif ($license.licenseType.niceName == "Confluence: Demonstration")
                <p class="license license-demonstration">
                  $action.getText('licensefooter.demonstration', [$action.getText('url.atlassian'), $action.getText('hitcounter.demonstration')])<br>
                </p>
            #end
        #elseif (!$license)
            <p class="license license-none">
               $action.getText('licensing.error', [$action.getText('mailto.confluence.support')])
            </p>
        #end
    #end
    <ul id="poweredby">
        <li class="noprint">$action.getText('powered.by.atlassian.confluence',[$action.getText('url.atlassian.software.confluence.footer'), "$generalUtil.versionNumber","${generalUtil.buildNumber}", "${generalUtil.buildDateString}"])</li>
        <li class="print-only">$action.getText('printed.by.atlassian.confluence',["$generalUtil.versionNumber"])</li>
        <li class="noprint"><a href="$action.getText('url.bug.feature.request')" class="smalltext">$action.getText('bug.feature.request')</a> &#8211;</li>
        <li class="noprint"><a href="$action.getText('url.footer.atlassian.news')" class="smalltext">$action.getText('footer.atlassian.news')</a> &#8211;</li>
        <li class="noprint"><a href="$req.contextPath/administrators.action">$action.getText('contact.administrators')</a></li>
    </ul>
</div>
