本文整理汇总了PHP中pb_backupbuddy::nonce_url方法的典型用法代码示例。如果您正苦于以下问题:PHP pb_backupbuddy::nonce_url方法的具体用法?PHP pb_backupbuddy::nonce_url怎么用?PHP pb_backupbuddy::nonce_url使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pb_backupbuddy
的用法示例。
在下文中一共展示了pb_backupbuddy::nonce_url方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: network_admin_url
if (is_multisite()) {
$admin_url = network_admin_url('admin.php');
} else {
$admin_url = admin_url('admin.php');
}
?>
<h3><?php
_e('Disconnect from Stash Live', 'it-l10n-backupbuddy');
?>
</h3>
<?php
_e('Please authenticate with your iThemes Member Login to validate your access and disconnect this site from Stash Live.', 'it-l10n-backupbuddy');
?>
<br><br>
<form method="post" action="<?php
echo pb_backupbuddy::nonce_url($admin_url . '?page=pb_backupbuddy_live&live_action=disconnect');
?>
">
<input type="hidden" name="disconnect" value="yes">
<table>
<tr>
<td>iThemes Username:</td>
<td><input type="text" name="username" value="<?php
echo $destination_settings['itxapi_username'];
?>
" disabled="disabled"></td>
</tr>
<tr>
<td>iThemes Password:</td>
<td><input type="password" name="password"></td>
</tr>
示例2: urlencode
files displayed.</b><br><br>
<?php
if ($backup_count >= $settings['max_filelist_keys']) {
?>
<?php
if ('' != pb_backupbuddy::_GET('marker')) {
?>
<a href="<?php
echo pb_backupbuddy::page_url();
?>
&live_action=view_files&marker=<?php
echo urlencode(pb_backupbuddy::_GET('back'));
?>
" class="button button-secondary button-tertiary">Previous Page</a>
<?php
}
?>
<a href="<?php
echo pb_backupbuddy::nonce_url(pb_backupbuddy::page_url() . '&live_action=view_files_tables&marker=' . urlencode($marker) . '&back=' . urlencode(pb_backupbuddy::_GET('marker')));
?>
" class="button button-secondary button-tertiary">Next Page</a>
<?php
}
?>
</center>
<?php
echo '<br style="clear: both;">';
return;