1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php ! defined( 'ABSPATH' ) && exit(); ?><div class="totalpoll-settings-item"> <div class="totalpoll-settings-field"> <label> <input type="checkbox" name="" ng-model="$ctrl.options.performance.async.enabled"> <?php _e( 'Asynchronous loading', 'totalpoll' ); ?> </label>
<p class="totalpoll-feature-tip"><?php _e( 'This can be useful when you would like to bypass cache mechanisms and plugins.', 'totalpoll' ); ?></p> </div> </div> <div class="totalpoll-settings-item "> <div class="totalpoll-settings-field"> <label> <input type="checkbox" name="" ng-model="$ctrl.options.performance.fullChecks.enabled"> <?php _e( 'Full checks on page load.', 'totalpoll' ); ?> </label>
<p class="totalpoll-feature-tip"><?php _e( 'This may put high load on your server because TotalPoll will hit the database frequently.', 'totalpoll' ); ?></p> </div> </div> <div class="totalpoll-settings-item"> <div class="totalpoll-settings-field"> <button type="button" class="button" ng-click="$ctrl.purge('cache')" ng-disabled="$ctrl.isPurging('cache') || $ctrl.isPurged('cache')"> <span ng-if="$ctrl.isPurgeReady('cache')"><?php _e( 'Clear cache', 'totalpoll' ); ?></span> <span ng-if="$ctrl.isPurging('cache')"><?php _e( 'Clearing', 'totalpoll' ); ?></span> <span ng-if="$ctrl.isPurged('cache')"><?php _e( 'Cleared', 'totalpoll' ); ?></span> </button> </div> </div>
|