Projekt

Obecné

Profil

Stáhnout (508 Bajtů) Statistiky
| Větev: | Tag: | Revize:
<?php
/**
* Show all logs javascript view.
* Set date picker for filter.
*
* @author Michal Kliment, Ondřej Fibich
*/

// IDE complementation
if (FALSE): ?><script type="text/javascript"><?php endif

?>
// logs are persisted for 30 days => set date picker for this interval
$('#date_from, #date_to').datepicker({
dateFormat: 'yy-mm-dd',
changeMonth: false,
changeYear: false,
minDate: -30,
maxDate: 0
});
// set lang
$.datepicker.regional['<?php echo Config::get('lang') ?>'];
(14-14/30)