Added some dafault values
This commit is contained in:
parent
a93a6befee
commit
2ea9b6f97b
|
@ -179,6 +179,9 @@ $(document).ready (function () {
|
||||||
closeOnEscape: false,
|
closeOnEscape: false,
|
||||||
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); }
|
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".ui-widget-overlay").css("background", "#000");
|
||||||
|
$(".ui-widget-overlay").css("opacity", 0.6);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
|
|
@ -1445,6 +1445,10 @@ function config_process_config () {
|
||||||
config_update_value ('identification_reminder', 1);
|
config_update_value ('identification_reminder', 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset ($config["identification_reminder_timestamp"])) {
|
||||||
|
config_update_value ('identification_reminder_timestamp', 0);
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset ($config["instance_registered"])) {
|
if (!isset ($config["instance_registered"])) {
|
||||||
config_update_value ('instance_registered', 0);
|
config_update_value ('instance_registered', 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,6 +132,8 @@ INSERT INTO tconfig (token, value) VALUES ('custom_report_front_font', 'FreeSans
|
||||||
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_logo', 'images/pandora_logo_white.jpg');
|
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_logo', 'images/pandora_logo_white.jpg');
|
||||||
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_header', '');
|
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_header', '');
|
||||||
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_footer', '');
|
INSERT INTO tconfig (token, value) VALUES ('custom_report_front_footer', '');
|
||||||
|
INSERT INTO tconfig (token, value) VALUES ('identification_reminder', 1);
|
||||||
|
INSERT INTO tconfig (token, value) VALUES ('identification_reminder_timestamp', 0);
|
||||||
INSERT INTO tconfig (token, value) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
|
INSERT INTO tconfig (token, value) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
|
@ -119,6 +119,8 @@ INSERT INTO "tconfig" ("token", "value") VALUES
|
||||||
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
||||||
('custom_report_front_header', ''),
|
('custom_report_front_header', ''),
|
||||||
('custom_report_front_footer', '');
|
('custom_report_front_footer', '');
|
||||||
|
('identification_reminder', 1);
|
||||||
|
('identification_reminder_timestamp', 0);
|
||||||
|
|
||||||
COMMIT WORK;
|
COMMIT WORK;
|
||||||
|
|
||||||
|
|
|
@ -106,6 +106,8 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
||||||
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
('custom_report_front_logo', 'images/pandora_logo_white.jpg'),
|
||||||
('custom_report_front_header', ''),
|
('custom_report_front_header', ''),
|
||||||
('custom_report_front_footer', ''),
|
('custom_report_front_footer', ''),
|
||||||
|
('identification_reminder', 1),
|
||||||
|
('identification_reminder_timestamp', 0),
|
||||||
('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
|
('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
|
||||||
|
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
Loading…
Reference in New Issue