本文整理汇总了PHP中pb_backupbuddy::enqueue_thickbox方法的典型用法代码示例。如果您正苦于以下问题:PHP pb_backupbuddy::enqueue_thickbox方法的具体用法?PHP pb_backupbuddy::enqueue_thickbox怎么用?PHP pb_backupbuddy::enqueue_thickbox使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pb_backupbuddy
的用法示例。
在下文中一共展示了pb_backupbuddy::enqueue_thickbox方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<form method="post" action="<?php
echo pb_backupbuddy::page_url();
?>
">
<?php
pb_backupbuddy::nonce();
?>
<input type="hidden" name="reset_defaults" value="<?php
echo pb_backupbuddy::settings('slug');
?>
" />
<input type="submit" name="submit" value="Reset Plugin Settings to Defaults" id="reset_defaults" class="button secondary-button" onclick="if ( !confirm('WARNING: This will reset all settings associated with this plugin to their defaults. Are you sure you want to do this?') ) { return false; }" />
<br>
<label>
<input type="checkbox" name="keep_destinations" value="1" checked> Keep remote destination settings
</label>
</form>
</div>
<div style="float: right; margin-right: 8px;">
<?php
pb_backupbuddy::enqueue_thickbox();
?>
<a href="<?php
echo pb_backupbuddy::ajax_url('importexport_settings');
?>
&TB_iframe=1&width=640&height=600" class="thickbox button secondary-button">Import/Export Plugin Settings</a>
</div>
</div>