{"action":"created","comment":{"url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/comments/55941806","id":55941806,"diff_hunk":"@@ -71,10 +76,44 @@ public function handle_who_is_online()\n \t\t));\n \n \t\t// Output page\n-\t\tpage_header('');\n+\t\t//page_header('');\n \t\t$this->template->set_filenames(array(\n \t\t\t'body' => 'ajax_base/statistics.html')\n \t\t);\n-\t\tpage_footer();\n+\t\t//page_footer();\n+\n+\t\t$this->template->display('body');\n+\n+\t\tgarbage_collection();\n+\t\texit_handler();\n+\t}\n+\n+\t/**\n+\t* Handle the Private msgs and notification requests\n+\t*\n+\t* @return null\n+\t* @access public\n+\t*/\n+\tpublic function handle_pm_note()\n+\t{\n+\t\t$mode = request_var('mode', '');\n+\n+\t\t// Output page\n+\t\tpage_header('');\n+\n+\t\t$this->template->assign_vars(array(\n+\t\t\t'S_AJAX_BASE_NOTIFICATION'\t=> ($mode == 'notification') ? true : false,\n+\t\t\t'S_AJAX_BASE_PMREGBAR'\t\t=> ($mode == 'pmregbar') ? true : false,\n+\t\t\t'U_VIEW_ALL_NOTIFICATIONS'\t=> generate_board_url() . \"/ucp.php?i=ucp_notifications\",","path":"controller/main_controller.php","position":48,"original_position":48,"commit_id":"8653cd0bb747faec09c2a06468b83af577d495d0","original_commit_id":"8653cd0bb747faec09c2a06468b83af577d495d0","user":{"login":"Senky","id":182498,"avatar_url":"https://avatars.githubusercontent.com/u/182498?v=3","gravatar_id":"","url":"https://api.github.com/users/Senky","html_url":"https://github.com/Senky","followers_url":"https://api.github.com/users/Senky/followers","following_url":"https://api.github.com/users/Senky/following{/other_user}","gists_url":"https://api.github.com/users/Senky/gists{/gist_id}","starred_url":"https://api.github.com/users/Senky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senky/subscriptions","organizations_url":"https://api.github.com/users/Senky/orgs","repos_url":"https://api.github.com/users/Senky/repos","events_url":"https://api.github.com/users/Senky/events{/privacy}","received_events_url":"https://api.github.com/users/Senky/received_events","type":"User","site_admin":false},"body":"Please, use `append_sid` to ensure that `session_id` is perserved when stored in URL only.","created_at":"2016-03-13T18:53:37Z","updated_at":"2016-03-13T18:53:37Z","html_url":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1#discussion_r55941806","pull_request_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/comments/55941806"},"html":{"href":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1#discussion_r55941806"},"pull_request":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1","id":50795092,"html_url":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1","diff_url":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1.diff","patch_url":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1.patch","issue_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/1","number":1,"state":"open","locked":false,"title":"+ PM / Notification","user":{"login":"bb3mobi","id":11060563,"avatar_url":"https://avatars.githubusercontent.com/u/11060563?v=3","gravatar_id":"","url":"https://api.github.com/users/bb3mobi","html_url":"https://github.com/bb3mobi","followers_url":"https://api.github.com/users/bb3mobi/followers","following_url":"https://api.github.com/users/bb3mobi/following{/other_user}","gists_url":"https://api.github.com/users/bb3mobi/gists{/gist_id}","starred_url":"https://api.github.com/users/bb3mobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bb3mobi/subscriptions","organizations_url":"https://api.github.com/users/bb3mobi/orgs","repos_url":"https://api.github.com/users/bb3mobi/repos","events_url":"https://api.github.com/users/bb3mobi/events{/privacy}","received_events_url":"https://api.github.com/users/bb3mobi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-16T10:48:05Z","updated_at":"2016-03-13T18:53:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35a815f7833d5e86ece1ae67af60c12f8839a410","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/1/comments","statuses_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/statuses/8653cd0bb747faec09c2a06468b83af577d495d0","head":{"label":"bb3mobi:master","ref":"master","sha":"8653cd0bb747faec09c2a06468b83af577d495d0","user":{"login":"bb3mobi","id":11060563,"avatar_url":"https://avatars.githubusercontent.com/u/11060563?v=3","gravatar_id":"","url":"https://api.github.com/users/bb3mobi","html_url":"https://github.com/bb3mobi","followers_url":"https://api.github.com/users/bb3mobi/followers","following_url":"https://api.github.com/users/bb3mobi/following{/other_user}","gists_url":"https://api.github.com/users/bb3mobi/gists{/gist_id}","starred_url":"https://api.github.com/users/bb3mobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bb3mobi/subscriptions","organizations_url":"https://api.github.com/users/bb3mobi/orgs","repos_url":"https://api.github.com/users/bb3mobi/repos","events_url":"https://api.github.com/users/bb3mobi/events{/privacy}","received_events_url":"https://api.github.com/users/bb3mobi/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"Senky:master","ref":"master","sha":"53b06a2c3cec6dcb4acf6b6ae0da6c1561c88a2a","user":{"login":"Senky","id":182498,"avatar_url":"https://avatars.githubusercontent.com/u/182498?v=3","gravatar_id":"","url":"https://api.github.com/users/Senky","html_url":"https://github.com/Senky","followers_url":"https://api.github.com/users/Senky/followers","following_url":"https://api.github.com/users/Senky/following{/other_user}","gists_url":"https://api.github.com/users/Senky/gists{/gist_id}","starred_url":"https://api.github.com/users/Senky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senky/subscriptions","organizations_url":"https://api.github.com/users/Senky/orgs","repos_url":"https://api.github.com/users/Senky/repos","events_url":"https://api.github.com/users/Senky/events{/privacy}","received_events_url":"https://api.github.com/users/Senky/received_events","type":"User","site_admin":false},"repo":{"id":43881962,"name":"phpbb-ext-ajax-base","full_name":"Senky/phpbb-ext-ajax-base","owner":{"login":"Senky","id":182498,"avatar_url":"https://avatars.githubusercontent.com/u/182498?v=3","gravatar_id":"","url":"https://api.github.com/users/Senky","html_url":"https://github.com/Senky","followers_url":"https://api.github.com/users/Senky/followers","following_url":"https://api.github.com/users/Senky/following{/other_user}","gists_url":"https://api.github.com/users/Senky/gists{/gist_id}","starred_url":"https://api.github.com/users/Senky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senky/subscriptions","organizations_url":"https://api.github.com/users/Senky/orgs","repos_url":"https://api.github.com/users/Senky/repos","events_url":"https://api.github.com/users/Senky/events{/privacy}","received_events_url":"https://api.github.com/users/Senky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Senky/phpbb-ext-ajax-base","description":"This extension will ajaxify your phpBB board. Ajaxifies Who is online, Statistics and Post preview!","fork":false,"url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base","forks_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/forks","keys_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/teams","hooks_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/hooks","issue_events_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/events{/number}","events_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/events","assignees_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/assignees{/user}","branches_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/branches{/branch}","tags_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/tags","blobs_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/statuses/{sha}","languages_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/languages","stargazers_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/stargazers","contributors_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/contributors","subscribers_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/subscribers","subscription_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/subscription","commits_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/contents/{+path}","compare_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/merges","archive_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/downloads","issues_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues{/number}","pulls_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls{/number}","milestones_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/milestones{/number}","notifications_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/labels{/name}","releases_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/releases{/id}","deployments_url":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/deployments","created_at":"2015-10-08T10:42:47Z","updated_at":"2016-02-09T03:21:52Z","pushed_at":"2016-03-13T18:43:15Z","git_url":"git://github.com/Senky/phpbb-ext-ajax-base.git","ssh_url":"git@github.com:Senky/phpbb-ext-ajax-base.git","clone_url":"https://github.com/Senky/phpbb-ext-ajax-base.git","svn_url":"https://github.com/Senky/phpbb-ext-ajax-base","homepage":null,"size":23,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1"},"html":{"href":"https://github.com/Senky/phpbb-ext-ajax-base/pull/1"},"issue":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/1"},"comments":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Senky/phpbb-ext-ajax-base/statuses/8653cd0bb747faec09c2a06468b83af577d495d0"}}}}