{"action":"created","comment":{"url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/comments/77799954","id":77799954,"diff_hunk":"@@ -0,0 +1,218 @@\n+<div class=\"wrap\">\n+            <h2>Market Area's</h2>\n+\n+            <div style=\"margin-top:-5px;\">\n+                <input class=\"button-primary create-main\" type =\"button\" value=\"Create Market Area Landing Page\"> \n+                <input class=\"button-primary crawlpages\" type =\"button\" value=\"Sync Market Areas\">\n+            </div>\n+            <div id=\"poststuff\">\n+                <div id=\"post-body\" class=\"metabox-holder columns-2\">\n+                    <div id=\"post-body-content\">\n+\n+                        <div class=\"meta-box-sortables ui-sortable\">\n+                            <form method=\"post\">\n+        <?php\n+        $this->marketareas_obj->prepare_items(); # Gets the items and prepares the instance.\n+        $this->marketareas_obj->display(); # Builds the table. \n+        ?>\n+                            </form>\n+                        </div>\n+                    </div>\n+                </div>\n+                <br class=\"clear\">\n+            </div>\n+\n+            <script type=\"text/javascript\">\n+\n+                $('.create-main').on('click', function (e)\n+                {\n+                    $('.modal-body').css('background-image: none;');\n+                    modal(\n+                            {\n+                                title: '<i class=\"fa fa-exclamation-triangle fa-3x\" aria-hidden=\"true\"></i> <h2>Heads up!</h2>',\n+                                body: '<p> This action will create a page called <b>Market Areas</b> if it does not exist yet. If it does it will assign the Main market area landing page template to it.</p>',\n+                                footer: '<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button> <button type=\"button\" class=\"btn primary-button mkta-main-btn-ok\">Ok</button>'\n+                            });\n+\n+                    $('.mkta-main-btn-ok').on('click', function (e)\n+                    {\n+\n+                        $.ajax(\n+                                {\n+                                    url: '',","path":"instaparent/inc/market-areas-admin-page-template.php","position":42,"original_position":42,"commit_id":"ab7fe6f1a5bf10ac199a0ba2069a6ecec351d546","original_commit_id":"5fcd952eb70551e08e8ea1eb056c9e8224452cdf","user":{"login":"jairovengoechea","id":11852495,"avatar_url":"https://avatars.githubusercontent.com/u/11852495?v=3","gravatar_id":"","url":"https://api.github.com/users/jairovengoechea","html_url":"https://github.com/jairovengoechea","followers_url":"https://api.github.com/users/jairovengoechea/followers","following_url":"https://api.github.com/users/jairovengoechea/following{/other_user}","gists_url":"https://api.github.com/users/jairovengoechea/gists{/gist_id}","starred_url":"https://api.github.com/users/jairovengoechea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairovengoechea/subscriptions","organizations_url":"https://api.github.com/users/jairovengoechea/orgs","repos_url":"https://api.github.com/users/jairovengoechea/repos","events_url":"https://api.github.com/users/jairovengoechea/events{/privacy}","received_events_url":"https://api.github.com/users/jairovengoechea/received_events","type":"User","site_admin":false},"body":"Yes. It is handled at instaparent/inc/MarketAreasDisplay.php on line 114, method: page_menu","created_at":"2016-09-07T10:52:43Z","updated_at":"2016-09-07T10:52:43Z","html_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59#discussion_r77799954","pull_request_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/comments/77799954"},"html":{"href":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59#discussion_r77799954"},"pull_request":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59","id":83671563,"html_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59","diff_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59.diff","patch_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59.patch","issue_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/59","number":59,"state":"open","locked":false,"title":"Feature/market areas main landing","user":{"login":"wester97","id":2837703,"avatar_url":"https://avatars.githubusercontent.com/u/2837703?v=3","gravatar_id":"","url":"https://api.github.com/users/wester97","html_url":"https://github.com/wester97","followers_url":"https://api.github.com/users/wester97/followers","following_url":"https://api.github.com/users/wester97/following{/other_user}","gists_url":"https://api.github.com/users/wester97/gists{/gist_id}","starred_url":"https://api.github.com/users/wester97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wester97/subscriptions","organizations_url":"https://api.github.com/users/wester97/orgs","repos_url":"https://api.github.com/users/wester97/repos","events_url":"https://api.github.com/users/wester97/events{/privacy}","received_events_url":"https://api.github.com/users/wester97/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-01T17:12:14Z","updated_at":"2016-09-07T10:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69680c81a99a4abedd69eaaa3de3f5a541da3895","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59/commits","review_comments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59/comments","review_comment_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/59/comments","statuses_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/statuses/ab7fe6f1a5bf10ac199a0ba2069a6ecec351d546","head":{"label":"Bookt:feature/market-areas-main-landing","ref":"feature/market-areas-main-landing","sha":"ab7fe6f1a5bf10ac199a0ba2069a6ecec351d546","user":{"login":"Bookt","id":2650600,"avatar_url":"https://avatars.githubusercontent.com/u/2650600?v=3","gravatar_id":"","url":"https://api.github.com/users/Bookt","html_url":"https://github.com/Bookt","followers_url":"https://api.github.com/users/Bookt/followers","following_url":"https://api.github.com/users/Bookt/following{/other_user}","gists_url":"https://api.github.com/users/Bookt/gists{/gist_id}","starred_url":"https://api.github.com/users/Bookt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bookt/subscriptions","organizations_url":"https://api.github.com/users/Bookt/orgs","repos_url":"https://api.github.com/users/Bookt/repos","events_url":"https://api.github.com/users/Bookt/events{/privacy}","received_events_url":"https://api.github.com/users/Bookt/received_events","type":"Organization","site_admin":false},"repo":{"id":17530550,"name":"Kigo-Sites-WordPress-Theme-Pack","full_name":"Bookt/Kigo-Sites-WordPress-Theme-Pack","owner":{"login":"Bookt","id":2650600,"avatar_url":"https://avatars.githubusercontent.com/u/2650600?v=3","gravatar_id":"","url":"https://api.github.com/users/Bookt","html_url":"https://github.com/Bookt","followers_url":"https://api.github.com/users/Bookt/followers","following_url":"https://api.github.com/users/Bookt/following{/other_user}","gists_url":"https://api.github.com/users/Bookt/gists{/gist_id}","starred_url":"https://api.github.com/users/Bookt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bookt/subscriptions","organizations_url":"https://api.github.com/users/Bookt/orgs","repos_url":"https://api.github.com/users/Bookt/repos","events_url":"https://api.github.com/users/Bookt/events{/privacy}","received_events_url":"https://api.github.com/users/Bookt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack","description":"Wordpress themes for InstaSites","fork":false,"url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack","forks_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/forks","keys_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/teams","hooks_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/hooks","issue_events_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/events{/number}","events_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/events","assignees_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/assignees{/user}","branches_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/branches{/branch}","tags_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/tags","blobs_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/statuses/{sha}","languages_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/languages","stargazers_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/stargazers","contributors_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/contributors","subscribers_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/subscribers","subscription_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/subscription","commits_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/contents/{+path}","compare_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/merges","archive_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/downloads","issues_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues{/number}","pulls_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls{/number}","milestones_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/milestones{/number}","notifications_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/labels{/name}","releases_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/releases{/id}","deployments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/deployments","created_at":"2014-03-07T23:26:00Z","updated_at":"2016-05-13T00:22:19Z","pushed_at":"2016-09-07T09:48:29Z","git_url":"git://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack.git","ssh_url":"git@github.com:Bookt/Kigo-Sites-WordPress-Theme-Pack.git","clone_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack.git","svn_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack","homepage":null,"size":38593,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"Bookt:master","ref":"master","sha":"a979baaee6c9b0c695f7299a687768560bbed05b","user":{"login":"Bookt","id":2650600,"avatar_url":"https://avatars.githubusercontent.com/u/2650600?v=3","gravatar_id":"","url":"https://api.github.com/users/Bookt","html_url":"https://github.com/Bookt","followers_url":"https://api.github.com/users/Bookt/followers","following_url":"https://api.github.com/users/Bookt/following{/other_user}","gists_url":"https://api.github.com/users/Bookt/gists{/gist_id}","starred_url":"https://api.github.com/users/Bookt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bookt/subscriptions","organizations_url":"https://api.github.com/users/Bookt/orgs","repos_url":"https://api.github.com/users/Bookt/repos","events_url":"https://api.github.com/users/Bookt/events{/privacy}","received_events_url":"https://api.github.com/users/Bookt/received_events","type":"Organization","site_admin":false},"repo":{"id":17530550,"name":"Kigo-Sites-WordPress-Theme-Pack","full_name":"Bookt/Kigo-Sites-WordPress-Theme-Pack","owner":{"login":"Bookt","id":2650600,"avatar_url":"https://avatars.githubusercontent.com/u/2650600?v=3","gravatar_id":"","url":"https://api.github.com/users/Bookt","html_url":"https://github.com/Bookt","followers_url":"https://api.github.com/users/Bookt/followers","following_url":"https://api.github.com/users/Bookt/following{/other_user}","gists_url":"https://api.github.com/users/Bookt/gists{/gist_id}","starred_url":"https://api.github.com/users/Bookt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bookt/subscriptions","organizations_url":"https://api.github.com/users/Bookt/orgs","repos_url":"https://api.github.com/users/Bookt/repos","events_url":"https://api.github.com/users/Bookt/events{/privacy}","received_events_url":"https://api.github.com/users/Bookt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack","description":"Wordpress themes for InstaSites","fork":false,"url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack","forks_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/forks","keys_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/teams","hooks_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/hooks","issue_events_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/events{/number}","events_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/events","assignees_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/assignees{/user}","branches_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/branches{/branch}","tags_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/tags","blobs_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/statuses/{sha}","languages_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/languages","stargazers_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/stargazers","contributors_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/contributors","subscribers_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/subscribers","subscription_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/subscription","commits_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/contents/{+path}","compare_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/merges","archive_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/downloads","issues_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues{/number}","pulls_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls{/number}","milestones_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/milestones{/number}","notifications_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/labels{/name}","releases_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/releases{/id}","deployments_url":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/deployments","created_at":"2014-03-07T23:26:00Z","updated_at":"2016-05-13T00:22:19Z","pushed_at":"2016-09-07T09:48:29Z","git_url":"git://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack.git","ssh_url":"git@github.com:Bookt/Kigo-Sites-WordPress-Theme-Pack.git","clone_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack.git","svn_url":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack","homepage":null,"size":38593,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59"},"html":{"href":"https://github.com/Bookt/Kigo-Sites-WordPress-Theme-Pack/pull/59"},"issue":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/59"},"comments":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/Bookt/Kigo-Sites-WordPress-Theme-Pack/statuses/ab7fe6f1a5bf10ac199a0ba2069a6ecec351d546"}}}}
{"actor":{"display_login":"jairovengoechea"}}