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:
Ralf Becker 2016-05-17 13:53:49 +02:00
parent b466c327a5
commit 148e1853db
2 changed files with 8 additions and 91 deletions

View File

@ -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',
);

View File

@ -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="&lt;strong&gt;This is a list of your available templates&lt;/strong&gt;&lt;br /&gt;For a complete list of templates available for eGroupWare visit &lt;a href=&quot;http://www.egroupware.org/templates&quot; target=&quot;_blank&quot;&gt;www.egroupware.org/templates&lt;/a&gt;"/>
</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="&lt;b&gt;This is a list of your available languages&lt;/b&gt;&lt;br /&gt;For a complete list of languages available for EGroupware visit &lt;a href=&quot;http://community.egroupware.org/languages&quot; target=&quot;_blank&quot;&gt;community.egroupware.org/languages&lt;/a&gt;"/>
</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 &amp; 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>