Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function settingsPage() {
- if (!current_user_can('manage_options')) {
- wp_die(__('You do not have sufficient permissions to access this page.', 'price-compare-v2'));
- }
- ?>
- <div>
- Header section above all the tabs
- </div>
- <script type="text/javascript">
- jQuery(function() {
- jQuery("#plugin_config_tabs").tabs();
- });
- </script>
- <div class="plugin_config">
- <div id="plugin_config_tabs">
- <ul>
- <li><a href="#plugin_config-1">Tab 1 Label</a></li>
- <li><a href="#plugin_config-2">Tab 2 Label</a></li>
- <li><a href="#plugin_config-3">Options</a></li>
- </ul>
- <div id="plugin_config-1">
- <?php //$this->outputTab1Contents();
- echo '<H2>tab 1</h2>';
- ?>
- </div>
- <div id="plugin_config-2">
- <?php //$this->outputTab2Contents();
- echo '<H2>tab 2</h2>';
- ?>
- </div>
- <div id="plugin_config-3">
- <?php //parent::settingsPage();
- echo '<H2>tab 3</h2>';
- ?>
- </div>
- </div>
- </div>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement