mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
* Filemanager: Fix missing site icon in anonymous file share
This commit is contained in:
parent
39e12f19b2
commit
7c462f2763
@ -60,6 +60,12 @@ class AnonymousList extends filemanager_ui
|
|||||||
$content['nm']['no_filter'] = true;
|
$content['nm']['no_filter'] = true;
|
||||||
$content['nm']['favorites'] = false;
|
$content['nm']['favorites'] = false;
|
||||||
|
|
||||||
|
$logo = !empty($GLOBALS['egw_info']['server']['login_logo_header']) ? Api\Framework::get_login_logo_or_bg_url('login_logo_header', 'logo')
|
||||||
|
: Api\Framework::get_login_logo_or_bg_url('login_logo_file', 'logo');
|
||||||
|
if($logo)
|
||||||
|
{
|
||||||
|
$this->etemplate->setElementAttribute("nm[logo]", "src", $logo);
|
||||||
|
}
|
||||||
if(!Vfs::is_writable($content['nm']['path']))
|
if(!Vfs::is_writable($content['nm']['path']))
|
||||||
{
|
{
|
||||||
// share is read-only, we can just hide everything
|
// share is read-only, we can just hide everything
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template id="filemanager.index.header_left" template="" lang="" group="0" version="1.9.002">
|
<template id="filemanager.index.header_left" template="" lang="" group="0" version="1.9.002">
|
||||||
<!-- Anonymous view has some extras - logo & button -->
|
<!-- Anonymous view has some extras - logo & button -->
|
||||||
<et2-image src="logo" disabled="!@show_refresh" hideOnReadonly="true" width="150px"></et2-image>
|
<et2-image id="logo" disabled="!@show_refresh" hideOnReadonly="true" width="150px"></et2-image>
|
||||||
<et2-button id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()" disabled="!@show_refresh" hideOnReadonly="true" image="reload" noSubmit="true"></et2-button>
|
<et2-button id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()" disabled="!@show_refresh" hideOnReadonly="true" image="reload" noSubmit="true"></et2-button>
|
||||||
<file label="Upload" statustext="Select file to upload in current directory" id="upload"
|
<file label="Upload" statustext="Select file to upload in current directory" id="upload"
|
||||||
progress_dropdownlist="true" drop_target="filemanager-index" multiple="true"
|
progress_dropdownlist="true" drop_target="filemanager-index" multiple="true"
|
||||||
|
Loading…
Reference in New Issue
Block a user