Subversion Repositories oidplus

Rev

Rev 926 | Rev 1033 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 926 Rev 987
Line 155... Line 155...
155
                        $out['text'] .= '  <label for="amount">'._L('Value shift').':</label>';
155
                        $out['text'] .= '  <label for="amount">'._L('Value shift').':</label>';
156
                        $out['text'] .= '  <input type="text" id="vshift" readonly style="border:0; background:transparent; font-weight:bold;">';
156
                        $out['text'] .= '  <input type="text" id="vshift" readonly style="border:0; background:transparent; font-weight:bold;">';
157
                        $out['text'] .= '</p>';
157
                        $out['text'] .= '</p>';
158
                        $out['text'] .= '<div id="slider-vshift"></div>';
158
                        $out['text'] .= '<div id="slider-vshift"></div>';
159
 
159
 
160
                        $out['text'] .= '<br><p>';
-
 
161
                        $out['text'] .= '  <label for="amount">'._L('Invert colors').':</label>';
160
                        $out['text'] .= '<p><div><input type="checkbox" id="icolor"> <label for="icolor">'._L('Invert colors').'</label></div></p>';
162
                        $out['text'] .= '  <input type="text" id="icolor" readonly style="border:0; background:transparent; font-weight:bold;">'; // TODO: It would be good if that was a checkbox
-
 
163
                        $out['text'] .= '</p>';
-
 
164
                        $out['text'] .= '<div id="slider-icolor"></div>';
-
 
165
 
161
 
166
                        $out['text'] .= '<script>';
162
                        $out['text'] .= '<script>';
167
                        $out['text'] .= 'if (OIDplusPageAdminColors.hue_shift == null) OIDplusPageAdminColors.hue_shift = OIDplusPageAdminColors.hue_shift_saved = '.OIDplus::config()->getValue('color_hue_shift').";\n";
163
                        $out['text'] .= 'if (OIDplusPageAdminColors.hue_shift == null) OIDplusPageAdminColors.hue_shift = OIDplusPageAdminColors.hue_shift_saved = '.OIDplus::config()->getValue('color_hue_shift').";\n";
168
                        $out['text'] .= 'if (OIDplusPageAdminColors.sat_shift == null) OIDplusPageAdminColors.sat_shift = OIDplusPageAdminColors.sat_shift_saved = '.OIDplus::config()->getValue('color_sat_shift').";\n";
164
                        $out['text'] .= 'if (OIDplusPageAdminColors.sat_shift == null) OIDplusPageAdminColors.sat_shift = OIDplusPageAdminColors.sat_shift_saved = '.OIDplus::config()->getValue('color_sat_shift').";\n";
169
                        $out['text'] .= 'if (OIDplusPageAdminColors.val_shift == null) OIDplusPageAdminColors.val_shift = OIDplusPageAdminColors.val_shift_saved = '.OIDplus::config()->getValue('color_val_shift').";\n";
165
                        $out['text'] .= 'if (OIDplusPageAdminColors.val_shift == null) OIDplusPageAdminColors.val_shift = OIDplusPageAdminColors.val_shift_saved = '.OIDplus::config()->getValue('color_val_shift').";\n";