/** * Misc options display section */ function __tinypass_misc_display(TPPaySettings $ps) { ?> <div class="tp-section"> <div class="info"> <div class="heading">Customize</div> <div class="desc">Enable / disable these features of additional behavior</div> </div> <div class="body"> <div class="postbox"> <h3><?php echo _e(" "); ?> </h3> <div class="inside"> <input type="checkbox" id="cb_track_homepage" name="tinypass[mlite_track_homepage]" value="1" <?php echo checked($ps->isTrackHomePage()); ?> > <label for="cb_track_homepage"><?php echo _e("Track on home page visit - visiting your homepage will count as a view"); ?> </label> <br> <br> <input type="checkbox" id="cb_disabled_for_admins" name="tinypass[mlite_disabled_for_admins]" value="1" <?php echo checked($ps->isDisabledForPriviledgesUsers()); ?> > <label for="cb_disabled_for_admins"><?php echo _e("Disable Tinypass for privileges users - TinyPass will be skipped for all non Subscriber users"); ?> </label> </div> </div> </div> <div class="clear"></div> </div> <?php }