1
0
mirror of http://aero2k.de/repos/dfde-theme.git synced 2017-09-06 15:25:40 +02:00

eggys proof-of-concept

Alles Wissenswerte steht in der dfdeREADME.txt bzw in den dort
erwaehnten Forenlinks.
This commit is contained in:
eggy
2017-07-02 23:55:22 +02:00
parent 192636463e
commit 7c042c4c45
372 changed files with 10782 additions and 10597 deletions

20
template/timezone.js Normal file
View File

@@ -0,0 +1,20 @@
/* global phpbb */
(function($) { // Avoid conflicts with other libraries
'use strict';
$('#tz_date').change(function() {
phpbb.timezoneSwitchDate(false);
});
$('#tz_select_date_suggest').click(function(){
phpbb.timezonePreselectSelect(true);
});
$(function () {
phpbb.timezoneEnableDateSelection();
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') === 'true');
});
})(jQuery); // Avoid conflicts with other libraries