{"action":"created","comment":{"url":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments/48384420","id":48384420,"diff_hunk":"@@ -0,0 +1,165 @@\n+<h1 class=\"site_category_title\">\n+\t<? if ( isset($page['id']) ):?>\n+\t\tРедактирование\n+\t<? else:?>\n+\t\tСоздание\n+\t<? endif;?>\n+\t<? switch ($page['type']) {\n+\t\tcase Controller_Pages::TYPE_SITE_PAGE : echo 'страницы'; break;\n+\t\tcase Controller_Pages::TYPE_SITE_NEWS : echo 'новости'; break;\n+\t} ?>\n+</h1>\n+\n+\n+\t<div class=\"page_form\">\n+\n+\t\t<form action=\"/page/add\" method=\"post\">\n+\n+\t\t\t<?= Form::hidden('csrf', \t\tSecurity::token()); ?>\n+\t\t\t<?= Form::hidden('type', \t\tArr::get($page, 'type', Arr::get($_POST, 'type', Controller_Pages::TYPE_USER_PAGE))); ?>\n+\t\t\t<?= Form::hidden('id', \t\t\tArr::get($page, 'id',  '')); ?>","path":"application/views/templates/page_form.php","position":20,"original_position":20,"commit_id":"055777c62a32619854aa70429507c8f894154083","original_commit_id":"1088814e1f09c1011a05493f5ac355796f9d67b9","user":{"login":"illiiiillllilii","id":15259299,"avatar_url":"https://avatars.githubusercontent.com/u/15259299?v=3","gravatar_id":"","url":"https://api.github.com/users/illiiiillllilii","html_url":"https://github.com/illiiiillllilii","followers_url":"https://api.github.com/users/illiiiillllilii/followers","following_url":"https://api.github.com/users/illiiiillllilii/following{/other_user}","gists_url":"https://api.github.com/users/illiiiillllilii/gists{/gist_id}","starred_url":"https://api.github.com/users/illiiiillllilii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illiiiillllilii/subscriptions","organizations_url":"https://api.github.com/users/illiiiillllilii/orgs","repos_url":"https://api.github.com/users/illiiiillllilii/repos","events_url":"https://api.github.com/users/illiiiillllilii/events{/privacy}","received_events_url":"https://api.github.com/users/illiiiillllilii/received_events","type":"User","site_admin":false},"body":"исправил","created_at":"2015-12-23T22:32:20Z","updated_at":"2015-12-23T22:32:20Z","html_url":"https://github.com/codex-team/codex.edu/pull/24#discussion_r48384420","pull_request_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments/48384420"},"html":{"href":"https://github.com/codex-team/codex.edu/pull/24#discussion_r48384420"},"pull_request":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24","id":54370571,"html_url":"https://github.com/codex-team/codex.edu/pull/24","diff_url":"https://github.com/codex-team/codex.edu/pull/24.diff","patch_url":"https://github.com/codex-team/codex.edu/pull/24.patch","issue_url":"https://api.github.com/repos/codex-team/codex.edu/issues/24","number":24,"state":"open","locked":false,"title":"Form for pages","user":{"login":"illiiiillllilii","id":15259299,"avatar_url":"https://avatars.githubusercontent.com/u/15259299?v=3","gravatar_id":"","url":"https://api.github.com/users/illiiiillllilii","html_url":"https://github.com/illiiiillllilii","followers_url":"https://api.github.com/users/illiiiillllilii/followers","following_url":"https://api.github.com/users/illiiiillllilii/following{/other_user}","gists_url":"https://api.github.com/users/illiiiillllilii/gists{/gist_id}","starred_url":"https://api.github.com/users/illiiiillllilii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illiiiillllilii/subscriptions","organizations_url":"https://api.github.com/users/illiiiillllilii/orgs","repos_url":"https://api.github.com/users/illiiiillllilii/repos","events_url":"https://api.github.com/users/illiiiillllilii/events{/privacy}","received_events_url":"https://api.github.com/users/illiiiillllilii/received_events","type":"User","site_admin":false},"body":"issue #22\r\n\r\nРевьюверы\r\n- [ ] @neSpecc \r\n- [ ] @eliseealex \r\n- [ ] @ivanszhuravlev ","created_at":"2015-12-22T13:41:45Z","updated_at":"2015-12-23T22:32:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73a7fa381ceb200b079c39f6a59b85054a9d2265","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/commits","review_comments_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/comments","review_comment_url":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/issues/24/comments","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/055777c62a32619854aa70429507c8f894154083","head":{"label":"codex-team:form_for_pages","ref":"form_for_pages","sha":"055777c62a32619854aa70429507c8f894154083","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":46662693,"name":"codex.edu","full_name":"codex-team/codex.edu","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.edu","description":"Project «Codex Education»","fork":false,"url":"https://api.github.com/repos/codex-team/codex.edu","forks_url":"https://api.github.com/repos/codex-team/codex.edu/forks","keys_url":"https://api.github.com/repos/codex-team/codex.edu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.edu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.edu/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.edu/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.edu/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.edu/events","assignees_url":"https://api.github.com/repos/codex-team/codex.edu/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.edu/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.edu/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.edu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.edu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.edu/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.edu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.edu/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.edu/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.edu/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.edu/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.edu/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.edu/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.edu/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.edu/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.edu/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.edu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.edu/merges","archive_url":"https://api.github.com/repos/codex-team/codex.edu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.edu/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.edu/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.edu/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.edu/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.edu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.edu/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.edu/releases{/id}","created_at":"2015-11-22T13:51:50Z","updated_at":"2015-12-19T23:42:34Z","pushed_at":"2015-12-23T21:57:25Z","git_url":"git://github.com/codex-team/codex.edu.git","ssh_url":"git@github.com:codex-team/codex.edu.git","clone_url":"https://github.com/codex-team/codex.edu.git","svn_url":"https://github.com/codex-team/codex.edu","homepage":null,"size":5035,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"codex-team:master","ref":"master","sha":"0a1ca7dbae2175d84b7eec001ab890443a9827ad","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":46662693,"name":"codex.edu","full_name":"codex-team/codex.edu","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.edu","description":"Project «Codex Education»","fork":false,"url":"https://api.github.com/repos/codex-team/codex.edu","forks_url":"https://api.github.com/repos/codex-team/codex.edu/forks","keys_url":"https://api.github.com/repos/codex-team/codex.edu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.edu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.edu/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.edu/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.edu/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.edu/events","assignees_url":"https://api.github.com/repos/codex-team/codex.edu/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.edu/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.edu/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.edu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.edu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.edu/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.edu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.edu/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.edu/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.edu/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.edu/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.edu/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.edu/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.edu/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.edu/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.edu/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.edu/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.edu/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.edu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.edu/merges","archive_url":"https://api.github.com/repos/codex-team/codex.edu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.edu/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.edu/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.edu/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.edu/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.edu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.edu/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.edu/releases{/id}","created_at":"2015-11-22T13:51:50Z","updated_at":"2015-12-19T23:42:34Z","pushed_at":"2015-12-23T21:57:25Z","git_url":"git://github.com/codex-team/codex.edu.git","ssh_url":"git@github.com:codex-team/codex.edu.git","clone_url":"https://github.com/codex-team/codex.edu.git","svn_url":"https://github.com/codex-team/codex.edu","homepage":null,"size":5035,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24"},"html":{"href":"https://github.com/codex-team/codex.edu/pull/24"},"issue":{"href":"https://api.github.com/repos/codex-team/codex.edu/issues/24"},"comments":{"href":"https://api.github.com/repos/codex-team/codex.edu/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-team/codex.edu/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/codex-team/codex.edu/statuses/055777c62a32619854aa70429507c8f894154083"}}}}