| @@ -118,15 +118,8 @@ | ||
| 118 | 118 | foreach ( $this->charts as $placeholder_id => $chart ) { |
| 119 | 119 | $this->_renderChartBox( $placeholder_id, $chart['id'] ); |
| 120 | 120 | } |
| 121 | 121 | echo '</div>'; |
| 122 | - if ( is_array( $this->pagination ) ) { | |
| 123 | - echo '<ul class=" subsubsub">'; | |
| 124 | - foreach ( $this->pagination as $page ) { | |
| 125 | - echo '<li class="all">', $page, '</li>'; | |
| 126 | - } | |
| 127 | - echo '</ul>'; | |
| 128 | - } | |
| 129 | 122 | } else { |
| 130 | 123 | echo '<div id="visualizer-library" class="visualizer-clearfix">'; |
| 131 | 124 | echo '<div class="visualizer-chart">'; |
| 132 | 125 | echo '<div class="visualizer-chart-canvas visualizer-nochart-canvas">'; |
| @@ -145,8 +138,15 @@ | ||
| 145 | 138 | echo '</div>'; |
| 146 | 139 | } |
| 147 | 140 | $this->_renderSidebar(); |
| 148 | 141 | echo '</div>'; |
| 142 | + if ( is_array( $this->pagination ) ) { | |
| 143 | + echo '<ul class=" subsubsub">'; | |
| 144 | + foreach ( $this->pagination as $page ) { | |
| 145 | + echo '<li class="all">', $page, '</li>'; | |
| 146 | + } | |
| 147 | + echo '</ul>'; | |
| 148 | + } | |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | 152 | * Renders chart's box block. |