// Creates the Support section
$help->add_section('support', __('Getting Support', 'tribe-common'), 10);
$help->add_section_content('support', sprintf(__('Our website’s %s is a great place to find tips and tricks for using and customizing our plugins.', 'tribe-common'), '<a href="http://m.tri.be/18j9" target="_blank">' . __('Knowledgebase', 'tribe-common') . '</a>'), 0);
$help->add_section_content('support', sprintf(__('<strong>Want to dive deeper?</strong> Check out our %s for developers.', 'tribe-common'), '<a href="http://m.tri.be/18jf" target="_blank">' . __('list of available functions', 'tribe-common') . '</a>'), 50);
// Creates the Extra Help section
$help->add_section('extra-help', __('Getting More Help', 'tribe-common'), 20);
$help->add_section_content('extra-help', __('While the resources above help solve a majority of the issues we see, there are times you might be looking for extra support. If you need assistance using our plugins and would like us to take a look, please follow these steps:', 'tribe-common'), 0);
$help->add_section_content('extra-help', array('type' => 'ol', sprintf(__('%s. All of the common (and not-so-common) answers to questions we see are here. It’s often the fastest path to finding an answer!', 'tribe-common'), '<strong><a href="http://m.tri.be/18j9" target="_blank">' . __('Check our Knowledgebase', 'tribe-common') . '</a></strong>'), sprintf(__('%s. Testing for an existing conflict is the best start for in-depth troubleshooting. We will often ask you to follow these steps when opening a new thread, so doing this ahead of time will be super helpful.', 'tribe-common'), '<strong><a href="http://m.tri.be/18jh" target="_blank">' . __('Test for a theme or plugin conflict', 'tribe-common') . '</a></strong>'), sprintf(__('%s. There are very few issues we haven’t seen and it’s likely another user has already asked your question and gotten an answer from our support staff. While posting to the forums is open only to paid customers, they are open for anyone to search and review.', 'tribe-common'), '<strong><a href="http://m.tri.be/4w/" target="_blank">' . __('Search our support forum', 'tribe-common') . '</a></strong>')), 10);
// By default these three will be gathered
$help->add_section_content('extra-help', __('Please note that all hands-on support is provided via the forums. You can email or tweet at us… ​but we will probably point you back to the forums 😄', 'tribe-common'), 40);
$help->add_section_content('extra-help', '<div style="text-align: right;"><a href="http://m.tri.be/18ji" target="_blank" class="button">' . __('Read more about our support policy', 'tribe-common') . '</a></div>', 40);
// Creates the System Info section
$help->add_section('system-info', __('System Information', 'tribe-common'), 30);
$help->add_section_content('system-info', __('The details of your calendar plugin and settings is often needed for you or our staff to help troubleshoot an issue. We may ask you to share this information if you ask for support. If you post in one of our premium forums, please copy and paste this information into the System Information field and it will help us help you faster!', 'tribe-common'), 0);
$help->add_section('template-changes', __('Recent Template Changes', 'tribe-common'), 40);
$help->add_section_content('template-changes', Tribe__Support__Template_Checker_Report::generate());
?>

<div id="tribe-help-general">
	<?php 
$help->get_sections();
?>
</div>


<div id="tribe-help-sidebar">
	<?php 
/**
 * Fires at the top of the sidebar on Settings > Help tab
 */
do_action('tribe_help_sidebar_before');
 /**
  * Wraps the individual plugin template reports ready for display.
  */
 protected static function wrap_report()
 {
     if (empty(self::$plugin_reports)) {
         self::$complete_report = '<p>' . __('No notable template changes detected.', 'tribe-common') . '</p>';
     } else {
         self::$complete_report = '<p>' . __('Information about recent template changes and potentially impacted template overrides is provided below.', 'tribe-common') . '</p>' . '<div class="template-updates-wrapper">' . join(' ', self::$plugin_reports) . '</div>';
     }
 }