aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-04 21:37:37 +0000
committerMario <mario@mariovavti.com>2024-03-04 21:37:37 +0000
commit1e2a4a57b67d0f69f234e11f9cb30aa532b75896 (patch)
tree445496e25b41167fea3dd01cf109f0d83d6c52a7 /Zotlabs/Module
parent7892eeb2d24094080a97b9d19e0c85814c9ca968 (diff)
parent36d0594b8e4b75e98cc860e828d540bb93e3c4d6 (diff)
downloadvolse-hubzilla-1e2a4a57b67d0f69f234e11f9cb30aa532b75896.tar.gz
volse-hubzilla-1e2a4a57b67d0f69f234e11f9cb30aa532b75896.tar.bz2
volse-hubzilla-1e2a4a57b67d0f69f234e11f9cb30aa532b75896.zip
Merge branch 'fix-admin-site-page' into 'dev'
Remove obsolete field for system lang from site admin page. See merge request hubzilla/core!2111
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Admin/Site.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php
index d53322573..dae5e7c77 100644
--- a/Zotlabs/Module/Admin/Site.php
+++ b/Zotlabs/Module/Admin/Site.php
@@ -227,20 +227,6 @@ class Site {
*/
function get() {
- /* Installed langs */
- $lang_choices = array();
- $langs = glob('view/*/hstrings.php');
-
- if(is_array($langs) && count($langs)) {
- if(! in_array('view/en/hstrings.php',$langs))
- $langs[] = 'view/en/';
- asort($langs);
- foreach($langs as $l) {
- $t = explode("/",$l);
- $lang_choices[$t[1]] = $t[1];
- }
- }
-
/* Installed themes */
$theme_choices_mobile["---"] = t("Default");
$theme_choices = array();
@@ -425,7 +411,6 @@ class Site {
'$banner' => array('banner', t("Banner/Logo"), $banner, t('Unfiltered HTML/CSS/JS is allowed')),
'$admininfo' => array('admininfo', t("Administrator Information"), $admininfo, t("Contact information for site administrators. Displayed on siteinfo page. BBCode can be used here")),
'$siteinfo' => array('siteinfo', t('Site Information'), get_config('system','siteinfo'), t("Publicly visible description of this site. Displayed on siteinfo page. BBCode can be used here")),
- //'$language' => array('language', t("System language"), get_config('system','language'), "", $lang_choices),
'$theme' => array('theme', t("System theme"), get_config('system','theme'), t("Default system theme - may be over-ridden by user profiles - <a href='#' id='cnftheme'>change theme settings</a>"), $theme_choices),
// '$theme_mobile' => array('theme_mobile', t("Mobile system theme"), get_config('system','mobile_theme'), t("Theme for mobile devices"), $theme_choices_mobile),
// '$site_channel' => array('site_channel', t("Channel to use for this website's static pages"), get_config('system','site_channel'), t("Site Channel")),