X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCalendar.class.php;h=1340c987317e12eb52f2ee431621d70b4de1ec4b;hb=d9b8a2fcd3d9886b2cf218d31eb6d37afdae368e;hp=ab2dcf5738f634e20010a3112fa43c5e11381f18;hpb=cd5e077ecb497431decde4835138b877d63b261c;p=timetracker.git diff --git a/WEB-INF/lib/form/Calendar.class.php b/WEB-INF/lib/form/Calendar.class.php index ab2dcf57..1340c987 100644 --- a/WEB-INF/lib/form/Calendar.class.php +++ b/WEB-INF/lib/form/Calendar.class.php @@ -57,8 +57,9 @@ class Calendar extends FormElement { $this->highlight = $highlight; } - function localize($i18n) { + function localize() { global $user; + global $i18n; $this->mMonthNames = $i18n->monthNames; $this->mWeekDayShortNames = $i18n->weekdayShortNames;