mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
put "Changelog" tab in front, then "General" tab renamed "About EGroupware" and last "Applications" renamed to "Apps & License" also containing templates after the apps
This commit is contained in:
parent
b466c327a5
commit
148e1853db
@ -100,21 +100,10 @@ from community developers.</p>
|
||||
});
|
||||
array_unshift($apps, false); // first empty row for eTemplate
|
||||
|
||||
// get informations about the templates
|
||||
$templates = array();
|
||||
$templates[] = ''; // first empty row for eTemplate
|
||||
// putting templates below apps
|
||||
foreach($GLOBALS['egw']->framework->list_templates(true) as $info)
|
||||
{
|
||||
$templates[] = $this->_getParsedTemplateInfo($info);
|
||||
}
|
||||
|
||||
// get informations about installed languages
|
||||
$translations = array();
|
||||
$translations[] = ''; // first empty row for eTemplate
|
||||
foreach(Api\Translation::get_installed_langs() as $translation => $translationinfo) {
|
||||
$translations[] = array(
|
||||
'langName' => $translationinfo.' ('.$translation.')'
|
||||
);
|
||||
$apps[] = $this->_getParsedTemplateInfo($info);
|
||||
}
|
||||
|
||||
// fill content array for eTemplate
|
||||
@ -122,8 +111,6 @@ from community developers.</p>
|
||||
$content = array(
|
||||
'apiVersion' => '<p>'.lang('EGroupware version').' <b>'.Api\Framework::api_version($changelog).'</b></p>',
|
||||
'applications' => $apps,
|
||||
'templates' => $templates,
|
||||
'translations' => $translations,
|
||||
'text_content' => $text_content,
|
||||
'changelog' => file_exists($changelog) ? file_get_contents($changelog) : 'not available',
|
||||
);
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="api.about.index.general" template="" lang="" group="0" version="1.8.001">
|
||||
<grid width="600" height="500" spacing="5" overflow="auto">
|
||||
<grid width="600" height="100%" spacing="5" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
@ -23,7 +23,7 @@
|
||||
</grid>
|
||||
</template>
|
||||
<template id="api.about.index.applications" template="" lang="" group="0" version="14.1">
|
||||
<grid width="99%" height="500" border="0" spacing="5" overflow="auto">
|
||||
<grid width="99%" height="100%" border="0" spacing="5" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
@ -64,74 +64,8 @@
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="api.about.index.templates" template="" lang="" group="0" version="1.8.001">
|
||||
<grid width="99%" height="500" spacing="5" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<html value="<strong>This is a list of your available templates</strong><br />For a complete list of templates available for eGroupWare visit <a href="http://www.egroupware.org/templates" target="_blank">www.egroupware.org/templates</a>"/>
|
||||
</row>
|
||||
<row>
|
||||
<grid id="templates" class="egwGridView_grid">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<description value="name"/>
|
||||
<description value="author"/>
|
||||
<description value="maintainer"/>
|
||||
<description value="version"/>
|
||||
<description value="license"/>
|
||||
</row>
|
||||
<row class="row" valign="top">
|
||||
<description id="${row}[title]" no_lang="1"/>
|
||||
<html id="${row}[author]" no_lang="1"/>
|
||||
<html id="${row}[maintainer]" no_lang="1"/>
|
||||
<description id="${row}[version]" no_lang="1"/>
|
||||
<description id="${row}[license]" extra_link_title="$row_cont[license_title]" href="$row_cont[license_url]" extra_link_target="_blank" no_lang="1"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="api.about.index.languages" template="" lang="" group="0" version="1.8.001">
|
||||
<grid width="99%" height="500" spacing="5" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<html value="<b>This is a list of your available languages</b><br />For a complete list of languages available for EGroupware visit <a href="http://community.egroupware.org/languages" target="_blank">community.egroupware.org/languages</a>"/>
|
||||
</row>
|
||||
<row>
|
||||
<grid id="translations" class="egwGridView_grid">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<description value="language"/>
|
||||
</row>
|
||||
<row class="row">
|
||||
<description id="${row}[langName]" no_lang="1"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="api.about.index.changelog" template="" lang="" group="0" version="1.8.001">
|
||||
<grid width="100%" height="500" overflow="auto">
|
||||
<grid width="100%" height="100%" overflow="auto">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
@ -145,18 +79,14 @@
|
||||
<template id="api.about.index" template="" lang="" group="0" version="1.8.001">
|
||||
<tabbox id="general|applications|templates|languages|changelog">
|
||||
<tabs>
|
||||
<tab id="general" label="General"/>
|
||||
<tab id="applications" label="Applications"/>
|
||||
<tab id="templates" label="Templates"/>
|
||||
<tab id="languages" label="Languages"/>
|
||||
<tab id="changelog" label="Changelog"/>
|
||||
<tab id="general" label="About EGroupware"/>
|
||||
<tab id="applications" label="Apps & License"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<template id="api.about.index.changelog"/>
|
||||
<template id="api.about.index.general"/>
|
||||
<template id="api.about.index.applications"/>
|
||||
<template id="api.about.index.templates"/>
|
||||
<template id="api.about.index.languages"/>
|
||||
<template id="api.about.index.changelog"/>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user