GitHub PullRequestReviewCommentEvent at 2014-03-21 18:30:31
Repository: Garden
Actor: kasperisager
Payload: {"comment":{"url":"https://api.github.com/repos/vanillaforums/Garden/pulls/comments/10848386","id":10848386,"diff_hunk":"@@ -125,25 +125,25 @@\n    </style>\n <h1><?php echo T('Use Vanilla as a commenting system in your site'); ?></h1>\n <div class=\"Info\">\n-   <p>You can use Vanilla as a commenting system for your website, and all\n+   <p><?php echo T('You can use Vanilla as a commenting system for your website, and all\n    contributed comments will also be present in your discussion forum. Vanilla \n-   Comments can be used on any website using the following code.</p>\n+   Comments can be used on any website using the following code.'); ?></p>\n    \n-   <p class=\"AlertMessage\"><strong>Note:</strong> You MUST define the <code>vanilla_forum_url</code>\n-   and <code>vanilla_identifier</code> settings before pasting this script into\n-   your web page.</p>\n+   <p class=\"AlertMessage\"><strong><?php echo T('Note:'); ?></strong> <?php echo T('You MUST define the'); ?> <code>vanilla_forum_url</code>\n+   <?php echo T('and'); ?> <code>vanilla_identifier</code> <?php echo T('settings before pasting this script into\n+   your web page.'); ?></p>\n    \n    <div class=\"CopyBox\">&lt;div id=\"vanilla-comments\">&lt;/div>\n &lt;script type=\"text/javascript\">\n-<strong>/*** Required Settings: Edit BEFORE pasting into your web page ***/\n-var vanilla_forum_url = '<?php echo Url('/', TRUE); ?>'; // The full http url & path to your vanilla forum\n-var vanilla_identifier = 'your-content-identifier'; // Your unique identifier for the content being commented on</strong>\n+<p><strong><?php echo T('/*** Required Settings: Edit BEFORE pasting into your web page ***/'); ?></strong></p>\n+<p><strong>var vanilla_forum_url = '<?php echo Url('/', TRUE); ?>'; <?php echo T('// The full http url & path to your vanilla forum'); ?></strong></p>\n+<p><strong>var vanilla_identifier = <?php echo T('your-content-identifier'); ?>; <?php echo T('// Your unique identifier for the content being commented on'); ?></strong></p>\n \n-/*** Optional Settings: Ignore if you like ***/\n-// var vanilla_discussion_id = ''; // Attach this page of comments to a specific Vanilla DiscussionID.\n-// var vanilla_category_id = ''; // Create this discussion in a specific Vanilla CategoryID.\n+<?php echo T('/*** Optional Settings: Ignore if you like ***/'); ?>\n+<p>// var vanilla_discussion_id = ''; <?php echo T('// Attach this page of comments to a specific Vanilla DiscussionID.'); ?></p>\n+<p>// var vanilla_category_id = ''; <?php echo T('// Create this discussion in a specific Vanilla CategoryID.'); ?></p>\n \n-/*** DON'T EDIT BELOW THIS LINE ***/\n+<p><?php echo T('/*** DON\\'T EDIT BELOW THIS LINE ***/'); ?></p>","path":"applications/dashboard/views/embed/comments.php","position":87,"original_position":87,"commit_id":"f04e8f72632de0213e4871880fcc38f19de7698b","original_commit_id":"f04e8f72632de0213e4871880fcc38f19de7698b","user":{"login":"kasperisager","id":1174718,"avatar_url":"https://avatars.githubusercontent.com/u/1174718?","gravatar_id":"da31a28657acf1c969daccc86f5d611d","url":"https://api.github.com/users/kasperisager","html_url":"https://github.com/kasperisager","followers_url":"https://api.github.com/users/kasperisager/followers","following_url":"https://api.github.com/users/kasperisager/following{/other_user}","gists_url":"https://api.github.com/users/kasperisager/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperisager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperisager/subscriptions","organizations_url":"https://api.github.com/users/kasperisager/orgs","repos_url":"https://api.github.com/users/kasperisager/repos","events_url":"https://api.github.com/users/kasperisager/events{/privacy}","received_events_url":"https://api.github.com/users/kasperisager/received_events","type":"User","site_admin":false},"body":"Ah, I see what's going on! It's the JS example code :smile: All good!","created_at":"2014-03-21T18:30:31Z","updated_at":"2014-03-21T18:30:31Z","html_url":"https://github.com/vanillaforums/Garden/pull/1807#discussion_r10848386","pull_request_url":"https://api.github.com/repos/vanillaforums/Garden/pulls/1807","_links":{"self":{"href":"https://api.github.com/repos/vanillaforums/Garden/pulls/comments/10848386"},"html":{"href":"https://github.com/vanillaforums/Garden/pull/1807#discussion_r10848386"},"pull_request":{"href":"https://api.github.com/repos/vanillaforums/Garden/pulls/1807"}}}}