@@ -60,9 +60,12 @@ |
||
| 60 | 60 | </div> |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | - <?php else : ?> |
|
| 63 | + <?php else { |
|
| 64 | + : ?> |
|
| 64 | 65 | <div class="alert alert-danger"> |
| 65 | - <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); ?> |
|
| 66 | + <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); |
|
| 67 | +} |
|
| 68 | +?> |
|
| 66 | 69 | |
| 67 | 70 | </div> |
| 68 | 71 | <?php endif; ?> |
@@ -46,9 +46,18 @@ discard block |
||
| 46 | 46 | <option value="null">---</option> |
| 47 | 47 | <?php for ($i = 32; $i > 0; $i--) : ?> |
| 48 | 48 | <?php $label = $i; ?> |
| 49 | - <?php if ($i === 8) $label = $i . ' (A)'; ?> |
|
| 50 | - <?php if ($i === 16) $label = $i . ' (B)'; ?> |
|
| 51 | - <?php if ($i === 24) $label = $i . ' (C)'; ?> |
|
| 49 | + <?php if ($i === 8) { |
|
| 50 | + $label = $i . ' (A)'; |
|
| 51 | +} |
|
| 52 | +?> |
|
| 53 | + <?php if ($i === 16) { |
|
| 54 | + $label = $i . ' (B)'; |
|
| 55 | +} |
|
| 56 | +?> |
|
| 57 | + <?php if ($i === 24) { |
|
| 58 | + $label = $i . ' (C)'; |
|
| 59 | +} |
|
| 60 | +?> |
|
| 52 | 61 | <option value="<?php echo $i; ?>"><?php echo $label; ?></option> |
| 53 | 62 | <?php endfor; ?> |
| 54 | 63 | </select> |
@@ -122,7 +131,8 @@ discard block |
||
| 122 | 131 | </tbdoy> |
| 123 | 132 | </table> |
| 124 | 133 | </div> |
| 125 | - <?php else: ?> |
|
| 134 | + <?php else { |
|
| 135 | + : ?> |
|
| 126 | 136 | <div id="so-table-loading" class="so-datatables"> |
| 127 | 137 | <div class="lds-css ng-scope"> |
| 128 | 138 | <div class="lds-ripple"> |
@@ -131,7 +141,9 @@ discard block |
||
| 131 | 141 | </div> |
| 132 | 142 | </div> |
| 133 | 143 | </div> |
| 134 | - <?php endif; ?> |
|
| 144 | + <?php endif; |
|
| 145 | +} |
|
| 146 | +?> |
|
| 135 | 147 | <div id="so-table-container" class="so-datatables" style="display: none;"> |
| 136 | 148 | <table id="so-datalog" class="cell-border compact stripe responsive" cellspacing="0" width="100%"> |
| 137 | 149 | <thead> |
@@ -62,7 +62,8 @@ discard block |
||
| 62 | 62 | </tbdoy> |
| 63 | 63 | </table> |
| 64 | 64 | </div> |
| 65 | - <?php else: ?> |
|
| 65 | + <?php else { |
|
| 66 | + : ?> |
|
| 66 | 67 | <div id="so-table-loading" class="so-datatables"> |
| 67 | 68 | <div class="lds-css ng-scope"> |
| 68 | 69 | <div class="lds-ripple"> |
@@ -71,7 +72,9 @@ discard block |
||
| 71 | 72 | </div> |
| 72 | 73 | </div> |
| 73 | 74 | </div> |
| 74 | - <?php endif; ?> |
|
| 75 | + <?php endif; |
|
| 76 | +} |
|
| 77 | +?> |
|
| 75 | 78 | <div id="so-table-container" class="so-datatables" style="display: none;"> |
| 76 | 79 | <table id="so-datalog" class="cell-border compact stripe responsive" cellspacing="0" width="100%"> |
| 77 | 80 | <thead> |
@@ -21,8 +21,11 @@ |
||
| 21 | 21 | var pageviewChartString = [<?php echo ($past_seven_hours['pageview_chart_string'] ?? ''); ?>]; |
| 22 | 22 | var captchaChartString = [<?php echo ($past_seven_hours['captcha_chart_string'] ?? ''); ?>]; |
| 23 | 23 | var labelChartString = [<?php echo ($past_seven_hours['label_chart_string'] ?? ''); ?>]; |
| 24 | - <?php else : ?> |
|
| 25 | - var pageviewChartString = [<?php echo ($period_data['pageview_chart_string'] ?? ''); ?>]; |
|
| 24 | + <?php else { |
|
| 25 | + : ?> |
|
| 26 | + var pageviewChartString = [<?php echo ($period_data['pageview_chart_string'] ?? ''); |
|
| 27 | +} |
|
| 28 | +?>]; |
|
| 26 | 29 | var captchaChartString = [<?php echo ($period_data['captcha_chart_string'] ?? ''); ?>]; |
| 27 | 30 | var labelChartString = [<?php echo ($period_data['label_chart_string'] ?? ''); ?>]; |
| 28 | 31 | <?php endif; ?> |
@@ -69,7 +69,8 @@ discard block |
||
| 69 | 69 | </tbdoy> |
| 70 | 70 | </table> |
| 71 | 71 | </div> |
| 72 | - <?php else: ?> |
|
| 72 | + <?php else { |
|
| 73 | + : ?> |
|
| 73 | 74 | <div id="so-table-loading" class="so-datatables"> |
| 74 | 75 | <div class="lds-css ng-scope"> |
| 75 | 76 | <div class="lds-ripple"> |
@@ -78,7 +79,9 @@ discard block |
||
| 78 | 79 | </div> |
| 79 | 80 | </div> |
| 80 | 81 | </div> |
| 81 | - <?php endif; ?> |
|
| 82 | + <?php endif; |
|
| 83 | +} |
|
| 84 | +?> |
|
| 82 | 85 | |
| 83 | 86 | <div id="so-table-container" class="so-datatables" style="display: none;"> |
| 84 | 87 | <table id="so-datalog" class="cell-border compact stripe responsive" cellspacing="0" width="100%"> |
@@ -60,9 +60,12 @@ |
||
| 60 | 60 | </div> |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | - <?php else : ?> |
|
| 63 | + <?php else { |
|
| 64 | + : ?> |
|
| 64 | 65 | <div class="alert alert-danger"> |
| 65 | - <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); ?> |
|
| 66 | + <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); |
|
| 67 | +} |
|
| 68 | +?> |
|
| 66 | 69 | |
| 67 | 70 | </div> |
| 68 | 71 | <?php endif; ?> |
@@ -62,7 +62,8 @@ discard block |
||
| 62 | 62 | </tbdoy> |
| 63 | 63 | </table> |
| 64 | 64 | </div> |
| 65 | - <?php else: ?> |
|
| 65 | + <?php else { |
|
| 66 | + : ?> |
|
| 66 | 67 | <div id="so-table-loading" class="so-datatables"> |
| 67 | 68 | <div class="lds-css ng-scope"> |
| 68 | 69 | <div class="lds-ripple"> |
@@ -71,7 +72,9 @@ discard block |
||
| 71 | 72 | </div> |
| 72 | 73 | </div> |
| 73 | 74 | </div> |
| 74 | - <?php endif; ?> |
|
| 75 | + <?php endif; |
|
| 76 | +} |
|
| 77 | +?> |
|
| 75 | 78 | <div id="so-table-container" class="so-datatables" style="display: none;"> |
| 76 | 79 | <table id="so-datalog" class="cell-border compact stripe responsive" cellspacing="0" width="100%"> |
| 77 | 80 | <thead> |
@@ -60,9 +60,12 @@ |
||
| 60 | 60 | </div> |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | - <?php else : ?> |
|
| 63 | + <?php else { |
|
| 64 | + : ?> |
|
| 64 | 65 | <div class="alert alert-danger"> |
| 65 | - <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); ?> |
|
| 66 | + <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); |
|
| 67 | +} |
|
| 68 | +?> |
|
| 66 | 69 | |
| 67 | 70 | </div> |
| 68 | 71 | <?php endif; ?> |
@@ -60,9 +60,12 @@ |
||
| 60 | 60 | </div> |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | - <?php else : ?> |
|
| 63 | + <?php else { |
|
| 64 | + : ?> |
|
| 64 | 65 | <div class="alert alert-danger"> |
| 65 | - <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); ?> |
|
| 66 | + <?php _e('panel', 'log_msg_no_logger', 'Sorry, you have to implement ActionLogger to use this function.'); |
|
| 67 | +} |
|
| 68 | +?> |
|
| 66 | 69 | |
| 67 | 70 | </div> |
| 68 | 71 | <?php endif; ?> |