Rev 434 | Rev 451 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 434 | Rev 448 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | header('X-OIDplus-SystemInstallType:'.$sys_install_type); |
59 | header('X-OIDplus-SystemInstallType:'.$sys_install_type); |
60 | 60 | ||
61 | $sys_title = OIDplus::config()->getValue('system_title'); |
61 | $sys_title = OIDplus::config()->getValue('system_title'); |
62 | header('X-OIDplus-SystemTitle:'.$sys_title); |
62 | header('X-OIDplus-SystemTitle:'.$sys_title); |
63 | 63 | ||
- | 64 | $add_css_args = array(); |
|
- | 65 | $add_css_args[] = 'theme='.urlencode(OIDplus::config()->getValue('design')); |
|
64 | if (class_exists('OIDplusPageAdminColors')) { |
66 | if (class_exists('OIDplusPageAdminColors')) { |
- | 67 | $add_css_args[] = 'invert='.(OIDplus::config()->getValue('color_invert')); |
|
65 | $add_css_args = '?invert='.(OIDplus::config()->getValue('color_invert')).'&h_shift='.(OIDplus::config()->getValue('color_hue_shift')/360).'&s_shift='.(OIDplus::config()->getValue('color_sat_shift')/100).'&v_shift='.(OIDplus::config()->getValue('color_val_shift')/100); |
68 | $add_css_args[] = 'h_shift='.(OIDplus::config()->getValue('color_hue_shift')/360); |
66 | } else { |
- | |
- | 69 | $add_css_args[] = 's_shift='.(OIDplus::config()->getValue('color_sat_shift')/100); |
|
67 | $add_css_args = ''; |
70 | $add_css_args[] = 'v_shift='.(OIDplus::config()->getValue('color_val_shift')/100); |
68 | } |
71 | } |
- | 72 | $add_css_args = count($add_css_args) > 0 ? '?'.implode('&',$add_css_args) : ''; |
|
69 | 73 | ||
70 | ?><!DOCTYPE html> |
74 | ?><!DOCTYPE html> |
71 | <html lang="<?php echo substr(OIDplus::getCurrentLang(),0,2); ?>"> |
75 | <html lang="<?php echo substr(OIDplus::getCurrentLang(),0,2); ?>"> |
72 | 76 | ||
73 | <head> |
77 | <head> |