{
global $path_to_root, $SysPrefs,
$type_shortcuts;
- $day_range = (isset($SysPrefs->max_days_in_docs) ? $SysPrefs->max_days_in_docs : 180);
+ $day_range = get_company_pref("max_days_in_docs");
+ if (!$day_range)
+ $day_range = 180;
$st = '';
switch ($type)
{
case 'GRAPHIC':
$sel = array(_("No Graphics"), _("Vertical bars"), _("Horizontal bars"),
- _("Dots"), _("Lines"), _("Pie"), _("Donut"));
+ _("Dots"), _("Lines"), _("Pie"), _("Donut"), _("Half donut"), _("Spline"));
return array_selector($name, null, $sel);
case 'SYS_TYPES':