From 148e1853db6a31cb638fc3b6d83e0daec2363a23 Mon Sep 17 00:00:00 2001
From: Ralf Becker
Date: Tue, 17 May 2016 13:53:49 +0200
Subject: [PATCH] put "Changelog" tab in front, then "General" tab renamed
"About EGroupware" and last "Applications" renamed to "Apps & License" also
containing templates after the apps
---
api/src/Framework/About.php | 17 +-----
api/templates/default/about.index.xet | 82 ++-------------------------
2 files changed, 8 insertions(+), 91 deletions(-)
diff --git a/api/src/Framework/About.php b/api/src/Framework/About.php
index 579b9ee135..e1e03441b6 100644
--- a/api/src/Framework/About.php
+++ b/api/src/Framework/About.php
@@ -100,21 +100,10 @@ from community developers.
});
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.
$content = array(
'apiVersion' => ''.lang('EGroupware version').' '.Api\Framework::api_version($changelog).'
',
'applications' => $apps,
- 'templates' => $templates,
- 'translations' => $translations,
'text_content' => $text_content,
'changelog' => file_exists($changelog) ? file_get_contents($changelog) : 'not available',
);
diff --git a/api/templates/default/about.index.xet b/api/templates/default/about.index.xet
index dc762fab7a..d214e8f19c 100644
--- a/api/templates/default/about.index.xet
+++ b/api/templates/default/about.index.xet
@@ -2,7 +2,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
@@ -64,74 +64,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -145,18 +79,14 @@
-
-
-
-
+
+
+
-
-
-