Author: ralfbecker
New Revision: 55802
URL: http://svn.stylite.de/viewvc/egroupware?rev=55802&view=rev
Log:
move admin >> Site config to new et2 based site-config
Modified:
trunk/jdots/inc/class.jdots_framework.inc.php
— trunk/jdots/inc/class.jdots_framework.inc.php (original)
+++ trunk/jdots/inc/class.jdots_framework.inc.php Thu Apr 21 18:40:31 2016
@@ -256,7 +256,7 @@
// the instanciation of the template has to be here and not in the constructor,
// as the old Template class has problems if restored from the session (php-restore)
// todo: check if this is still true
@@ -1092,35 +1092,8 @@
/**
* Apps available for mobile, if admin did not configured something else
* (needs to kept in sync with list in phpgwapi/js/framework/fw_mobile.js!)
-
-
- Constant is read by admin_hooks::config to set default for fw_mobile_app_list.
*/
const DEFAULT_MOBILE_APPS = ‘calendar,infolog,timesheet,resources,addressbook,projectmanager,tracker,mail,filemanager’;
-
- /**
-
- Enabled applications on mobile
-
-
- Generates input field and set values on site configuration for list of enabled
-
- applications on mobile theme.
-
-
-
-
@return string return DOM string for input field
- */
- static function mobile_app_list($config)
- {
-
$value = $config['fw_mobile_app_list'] ? $config['fw_mobile_app_list'] :
-
explode(',', self::DEFAULT_MOBILE_APPS);
-
-
$apps = array();
-
foreach ($GLOBALS['egw_info']['apps'] as $app => $data)
-
{
-
if (!$data['enabled'] || !$data['status'] || $data['status'] == 3)
-
{
-
continue; // app not enabled (user can not have run rights for these apps)
-
}
-
$apps[$app] = lang($app);
-
}
-
natcasesort($apps);
-
-
return Api\Html::select('newsettings[fw_mobile_app_list]', $value,
-
$apps, true, '', 5, true);
- }
}
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs