{"action":"created","issue":{"url":"https://api.github.com/repos/moxi9/phpfox/issues/617","labels_url":"https://api.github.com/repos/moxi9/phpfox/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/moxi9/phpfox/issues/617/comments","events_url":"https://api.github.com/repos/moxi9/phpfox/issues/617/events","html_url":"https://github.com/moxi9/phpfox/issues/617","id":111507234,"number":617,"title":"Date Picker Localization","user":{"login":"Farid-Najafloo","id":15132335,"avatar_url":"https://avatars.githubusercontent.com/u/15132335?v=3","gravatar_id":"","url":"https://api.github.com/users/Farid-Najafloo","html_url":"https://github.com/Farid-Najafloo","followers_url":"https://api.github.com/users/Farid-Najafloo/followers","following_url":"https://api.github.com/users/Farid-Najafloo/following{/other_user}","gists_url":"https://api.github.com/users/Farid-Najafloo/gists{/gist_id}","starred_url":"https://api.github.com/users/Farid-Najafloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Farid-Najafloo/subscriptions","organizations_url":"https://api.github.com/users/Farid-Najafloo/orgs","repos_url":"https://api.github.com/users/Farid-Najafloo/repos","events_url":"https://api.github.com/users/Farid-Najafloo/events{/privacy}","received_events_url":"https://api.github.com/users/Farid-Najafloo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moxi9/phpfox/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/moxi9/phpfox/labels/Minor","name":"Minor","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"phpfoxdev","id":14888027,"avatar_url":"https://avatars.githubusercontent.com/u/14888027?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfoxdev","html_url":"https://github.com/phpfoxdev","followers_url":"https://api.github.com/users/phpfoxdev/followers","following_url":"https://api.github.com/users/phpfoxdev/following{/other_user}","gists_url":"https://api.github.com/users/phpfoxdev/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfoxdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfoxdev/subscriptions","organizations_url":"https://api.github.com/users/phpfoxdev/orgs","repos_url":"https://api.github.com/users/phpfoxdev/repos","events_url":"https://api.github.com/users/phpfoxdev/events{/privacy}","received_events_url":"https://api.github.com/users/phpfoxdev/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-10-14T22:31:12Z","updated_at":"2015-10-26T10:14:33Z","closed_at":null,"body":"the date picker localization script can't load because of folders address was changed on version 4.x\r\nRecommendation:\r\ncodes that need to change:\r\nfile:\r\ninclude/library/phpfox/template/template.class.php\r\n\r\n1-Line 1139:\r\nOld:\r\n```php\r\n$sLocalDatepicker = PHPFOX_STATIC .'jscript/jquery/locale/jquery.ui.datepicker-' . strtolower(Phpfox_Locale::instance()->getLangId()) . '.js';\r\n```\r\nNew:\r\n```php\r\n$sLocalDatepicker = PHPFOX_DIR.PHPFOX_STATIC .'jscript/jquery/locale/jquery.ui.datepicker-' . strtolower(Phpfox_Locale::instance()->getLangId()) . '.js';\r\n```\r\n2-Line 1143:\r\nOld:\r\n```php\r\n$sFile = str_replace(PHPFOX_STATIC . 'jscript/', '', $sLocalDatepicker);\r\n```\r\n New:\r\n```php\r\n$sFile = str_replace(PHPFOX_DIR.PHPFOX_STATIC . 'jscript/', '', $sLocalDatepicker)\r\n```"},"comment":{"url":"https://api.github.com/repos/moxi9/phpfox/issues/comments/151090165","html_url":"https://github.com/moxi9/phpfox/issues/617#issuecomment-151090165","issue_url":"https://api.github.com/repos/moxi9/phpfox/issues/617","id":151090165,"user":{"login":"phpfoxdev","id":14888027,"avatar_url":"https://avatars.githubusercontent.com/u/14888027?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfoxdev","html_url":"https://github.com/phpfoxdev","followers_url":"https://api.github.com/users/phpfoxdev/followers","following_url":"https://api.github.com/users/phpfoxdev/following{/other_user}","gists_url":"https://api.github.com/users/phpfoxdev/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfoxdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfoxdev/subscriptions","organizations_url":"https://api.github.com/users/phpfoxdev/orgs","repos_url":"https://api.github.com/users/phpfoxdev/repos","events_url":"https://api.github.com/users/phpfoxdev/events{/privacy}","received_events_url":"https://api.github.com/users/phpfoxdev/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T10:14:33Z","updated_at":"2015-10-26T10:14:33Z","body":"Fixed, will be released in next version."}}