<p>$action.getText("can.configure.logo.here")</p>

<span style="background-color: #f0f0f0; padding: 5px; border: 1px solid #cccccc">
<strong>$action.getText("logo.word"):</strong>
#if ($action.isLogoDisabled())
    <a href="enable${actionDescriminator}logo.action?#url_xsrfToken()&key=$!space.key">$action.getText("common.words.on")</a> | <strong class="bad">$action.getText("common.words.off")</strong>
#else
    <strong class="good">$action.getText("common.words.on")</strong> | <a href="disable${actionDescriminator}logo.action?#url_xsrfToken()&key=$!space.key">$action.getText("common.words.off")</a>
#end
</span>

#if (!$action.isLogoDisabled())
    <p>
    #if (!$logo)
        <em>
            #if($space)$action.getText("no.space.logo.defined")
            #else $action.getText("no.global.logo.defined")
            #end
        </em>
    #else
        <img src="$generalUtil.htmlEncode("${req.contextPath}${logo.downloadPath}")"/>
    #end
    </p>

    <form name="uploadlogo" method="post" action="upload${actionDescriminator}logo.action#if($space)?key=$generalUtil.urlEncode($space.key)#end" enctype="multipart/form-data">
        #form_xsrfToken()
        <div class="formtitle">$action.getText("browse.for.logo")</div>
        #bodytag ("File" "label='file'" "name='file'" )
            #param ("notable" "true")
        #end
        <div style="padding-top: 5px">#tag ("Submit" "value=getText('upload.logo')" "name='logosubmit'" "theme='simple'" )</div>
    </form>

    <ul class="static-menu">
    #if ($logo) <li><a id="reset-logo" href="delete${actionDescriminator}logo.action?#url_xsrfToken()&key=$!space.key">$action.getText("reset.logo.to.default")</a></li> #end
    #if ($permissionHelper.isConfluenceAdministrator($remoteUser) && $space) <li><a href="$req.contextPath/admin/configuregloballogo.action">$action.getText("configure.global.logo")</a></li>#end
    </ul>
#end