| @@ -18,8 +18,10 @@ | ||
| 18 | 18 | // | MA 02110-1301 USA | |
| 19 | 19 | // +----------------------------------------------------------------------+ |
| 20 | 20 | // | Author: Eugene Manuilov <eugene@manuilov.org> | |
| 21 | 21 | // +----------------------------------------------------------------------+ |
| 22 | + | |
| 23 | + | |
| 22 | 24 | /** |
| 23 | 25 | * Base class for all chart builder pages. |
| 24 | 26 | * |
| 25 | 27 | * @category Visualizer |
| @@ -63,10 +65,22 @@ | ||
| 63 | 65 | * @access protected |
| 64 | 66 | */ |
| 65 | 67 | protected function _renderSidebar() { |
| 66 | 68 | echo '<div id="sidebar">'; |
| 69 | + echo '<ul class="group-wrapper">'; | |
| 67 | 70 | $this->_renderSidebarContent(); |
| 71 | + echo '</ul>'; | |
| 68 | 72 | |
| 73 | + echo '<div id="rate-the-plugin">'; | |
| 74 | + echo '<div><b>', esc_html__( 'Like the plugin? Show us your love!', Visualizer_Plugin::NAME ), '</b></div>'; | |
| 75 | + echo '<div id="rate-stars"> </div>'; | |
| 76 | + echo '<a id="rate-link" href="http://wordpress.org/support/view/plugin-reviews/visualizer" target="_blank">'; | |
| 77 | + esc_html_e( 'Rate it on WordPress.org', Visualizer_Plugin::NAME ); | |
| 78 | + echo '</a>'; | |
| 79 | + echo '<div id="flattr">'; | |
| 80 | + echo '<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://wordpress.org/plugins/visualizer/"></a>'; | |
| 81 | + echo '</div>'; | |
| 82 | + echo '</div>'; | |
| 69 | 83 | echo '</div>'; |
| 70 | 84 | } |
| 71 | 85 | |
| 72 | 86 | /** |
| @@ -85,5 +99,6 @@ | ||
| 85 | 99 | * |
| 86 | 100 | * @access protected |
| 87 | 101 | */ |
| 88 | 102 | protected function _renderToolbar() {} |
| 89 | -} | |
| 103 | + | |
| 104 | +} | |