mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
fix not resized tabs in site-config, if app's config.xet already had a tab-widget
This commit is contained in:
parent
f7bf94404e
commit
09153c0074
@ -270,6 +270,7 @@ class admin_config
|
||||
'tabs2' => $_content['tabs2'] ?: $_GET['tab'] ?? '',
|
||||
'template' => $appname.'.config',
|
||||
'newsettings' => array(),
|
||||
'need_tab' => strpos(file_get_contents(EGW_SERVER_ROOT.'/'.$appname.'/templates/default/config.xet'), '<tabpanels>') === false,
|
||||
);
|
||||
|
||||
// $app.config is looping eg. <select onchange="1"
|
||||
|
@ -2,7 +2,18 @@
|
||||
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
|
||||
<overlay>
|
||||
<template id="admin.site-config" template="" lang="" group="0" version="16.1">
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<et2-description value="Site configuration" class="subHeader"></et2-description>
|
||||
</row>
|
||||
<row disabled="@need_tab">
|
||||
<template template="@template" width="99%"/>
|
||||
</row>
|
||||
<row disabled="!@need_tab">
|
||||
<et2-tabbox id="tabs2" width="100%">
|
||||
<tabs>
|
||||
<tab id="config" label="Configuration"/>
|
||||
@ -11,10 +22,15 @@
|
||||
<template template="@template" width="99%"/>
|
||||
</tabpanels>
|
||||
</et2-tabbox>
|
||||
<et2-hbox class="dialogFooterToolbar">
|
||||
</row>
|
||||
<row class="dialogFooterToolbar">
|
||||
<et2-hbox>
|
||||
<et2-button id="save" label="Save"></et2-button>
|
||||
<et2-button id="apply" label="Apply"></et2-button>
|
||||
<et2-button id="cancel" label="Cancel"></et2-button>
|
||||
</et2-hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user