本文整理匯總了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>