本文整理汇总了PHP中DUP_Util::_e方法的典型用法代码示例。如果您正苦于以下问题:PHP DUP_Util::_e方法的具体用法?PHP DUP_Util::_e怎么用?PHP DUP_Util::_e使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DUP_Util
的用法示例。
在下文中一共展示了DUP_Util::_e方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: jQuery
<td class="check-column"><i class="fa fa-check"></i></td>
</tr>
<tr>
<td class="feature-column">Manual Transfers</td>
<td class="check-column"></td>
<td class="check-column"><i class="fa fa-check"></i></td>
</tr>
<tr>
<td class="feature-column">Active Customer Support</td>
<td class="check-column"></td>
<td class="check-column"><i class="fa fa-check"></i></td>
</tr>
</table>
<br style="clear:both" />
<p style="text-align:center">
<a href="http://snapcreek.com/duplicator?free-go-pro" target="_blank" class="button button-primary button-large dup-check-it-btn" >
<?php
DUP_Util::_e('Check It Out!');
?>
</a>
</p>
<br/><br/>
</div>
<br/><br/>
<script type="text/javascript">
jQuery(document).ready(function ($) {
});
</script>
示例2: function
</a></td>
<td><?php
DUP_Util::_e("Removes all legacy data and settings prior to version");
?>
[<?php
echo DUPLICATOR_VERSION;
?>
].</td>
</tr>
<tr>
<td><a class="button button-small dup-fixed-btn" href="javascript:void(0)" onclick="Duplicator.Tools.ClearBuildCache()"><?php
DUP_Util::_e("Clear Build Cache");
?>
</a></td>
<td><?php
DUP_Util::_e("Removes all build data from:");
?>
[<?php
echo DUPLICATOR_SSDIR_PATH_TMP;
?>
].</td>
</tr>
</table>
</form>
<script>
jQuery(document).ready(function($) {
Duplicator.Tools.DeleteLegacy = function () {
<?php
$msg = __('This action will remove all legacy settings prior to version %1$s. ');
$msg .= __('Legacy settings are only needed if you plan to migrate back to an older version of this plugin.');
示例3: function
?>
' : html;
$('#data-arc-names-data').html(html);
//Large Files
html = '<?php
DUP_Util::_e("No large files found.");
?>
';
if (data.ARC.FilterInfo.Files.Size !== undefined && data.ARC.FilterInfo.Files.Size.length > 0) {
html = '';
$.each(data.ARC.FilterInfo.Files.Size, function (key, val) {
html += '<?php
DUP_Util::_e("FILE");
?>
' + key + ':<br/>' + val + '<br/>';
});
}
$('#data-arc-big-data').html(html);
$('#dup-msg-success').show();
//Waring Check
var warnCount = data.RPT.Warnings || 0;
if (warnCount > 0) {
$('#dup-scan-warning-continue').show();
$('#dup-build-button').prop("disabled",true).removeClass('button-primary');
} else {
$('#dup-scan-warning-continue').hide();
$('#dup-build-button').prop("disabled",false).addClass('button-primary');
示例4: strlen
:</td>
<td><?php
echo strlen($package->Installer->OptsURLNew) ? $package->Installer->OptsURLNew : DUP_Util::__("- not set -");
?>
</td>
</tr>
</table>
</div>
</div>
<?php
if ($debug_on) {
?>
<div style="margin:0">
<a href="javascript:void(0)" onclick="jQuery(this).parent().find('.dup-pack-debug').toggle()">[<?php
DUP_Util::_e("View Package Object");
?>
]</a><br/>
<pre class="dup-pack-debug" style="display:none"><?php
@print_r($package);
?>
</pre>
</div>
<?php
}
?>
<script type="text/javascript">
jQuery(document).ready(function ($)
示例5: _e
_e("Installer", 'duplicator');
?>
</button>
<button id="<?php
echo "{$uniqueid}_archive.zip";
?>
" class="button no-select" onclick="Duplicator.Pack.DownloadFile('<?php
echo $packagepath;
?>
', this); return false;">
<i class="fa fa-file-archive-o"></i> <?php
_e("Archive", 'duplicator');
?>
</button>
<button type="button" class="button no-select" title="<?php
DUP_Util::_e("Package Details");
?>
" onclick="Duplicator.Pack.OpenPackageDetails(<?php
echo "{$row['id']}";
?>
);">
<i class="fa fa-archive" ></i>
</button>
</td>
</tr>
<tr>
<td colspan="8" id="<?php
echo $detail_id;
?>
" class="dup-pack-details <?php
echo $css_alt;
示例6: _e
assets/img/cpanel-48.png" style="width:16px; height:12px" />
<?php
_e("Connect to a cPanel database with.", 'duplicator');
?>
<a href="http://snapcreek.com/duplicator/?free-file-filters" target="_blank"><?php
_e('Professional', 'duplicator');
?>
</a>
<i class="fa fa-lightbulb-o"
data-tooltip-title="<?php
DUP_Util::_e("cPanel Access:");
?>
"
data-tooltip="<?php
DUP_Util::_e('If your server supports cPanel API access then you can create new databases and select existing ones with Duplicator Professional.');
?>
">
</i>
</span>
</div>
</div>
</div><br/>
<div class="dup-button-footer">
<input type="button" value="<?php
_e("Reset", 'duplicator');
?>
" class="button button-large" <?php
示例7: ShowReservedFilesNotice
/**
* Shows a display message in the wp-admin if any researved files are found
* @return type void
*/
public static function ShowReservedFilesNotice()
{
//Show only on Duplicator pages and Dashboard when plugin is active
$dup_active = is_plugin_active('duplicator/duplicator.php');
$dup_perm = current_user_can('manage_options');
if (!$dup_active || !$dup_perm) {
return;
}
if (DUP_Server::InstallerFilesFound()) {
$screen = get_current_screen();
$on_active_tab = isset($_GET['tab']) && $_GET['tab'] == 'cleanup' ? true : false;
echo '<div class="error" id="dup-global-error-reserved-files"><p>';
if ($screen->id == 'duplicator_page_duplicator-tools' && $on_active_tab) {
DUP_Util::_e('Reserved Duplicator install files have been detected in the root directory. Please delete these reserved files to avoid security issues.');
} else {
$duplicator_nonce = wp_create_nonce('duplicator_cleanup_page');
DUP_Util::_e('Reserved Duplicator install files have been detected in the root directory. Please delete these reserved files to avoid security issues.');
@printf("<br/><a href='admin.php?page=duplicator-tools&tab=cleanup&_wpnonce=%s'>%s</a>", $duplicator_nonce, DUP_Util::__('Take me to the cleanup page!'));
}
echo "</p></div>";
}
}
示例8: switch
?>
</a>
</h2>
<div class="all-packages"><a href="?page=duplicator" class="add-new-h2"><i class="fa fa-archive"></i> <?php
DUP_Util::_e('All Packages');
?>
</a></div>
<?php
switch ($current_tab) {
case 'detail':
include 'detail.php';
break;
case 'transfer':
include 'transfer.php';
break;
}
?>
</div>
<script type="text/javascript">
Duplicator.Pack.TransferDisabled = function() {
alert("<?php
DUP_Util::_e('No package in default location so transfer is disabled.');
?>
")
}
</script>
示例9:
<div class="transfer-panel">
<div class="transfer-hdr">
<h2><i class="fa fa-arrow-circle-right"></i> <?php
DUP_Util::_e('Manual Transfer');
?>
</h2>
</div>
<br/>
<div style="font-size:16px; text-align: center; line-height: 30px">
<img src="<?php
echo DUPLICATOR_PLUGIN_URL;
?>
assets/img/logo-dpro-300x50.png" />
<?php
echo '<h2>' . DUP_Util::__('This option is available only in Duplicator Professional.') . '</h2>';
DUP_Util::_e('Manual transfer lets you copy a package to Amazon S3, Dropbox, Google Drive, FTP or another directory.');
echo '<br/>';
DUP_Util::_e('Simply choose your destination and hit the transfer button and your done.');
?>
</div>
<p style="text-align:center">
<a href="http://snapcreek.com/duplicator?free-manual-transfer" target="_blank" class="button button-primary button-large dup-check-it-btn" >
<?php
DUP_Util::_e('Learn More');
?>
</a>
</p>
</div>
示例10:
<input type="checkbox" name="dbcompat[]" id="dbcompat-no_field_options" value="no_field_options" <?php
echo $is_no_field ? 'checked="true"' : '';
?>
>
<label for="dbcompat-no_field_options"><?php
DUP_Util::_e("no_field_options");
?>
</label>
</td>
</tr>
</table>
<?php
} else {
?>
<i><?php
DUP_Util::_e("This option is only availbe with mysqldump mode.");
?>
</i>
<?php
}
?>
</div>
</div>
</div>
</div><br/>
<!-- end meta-box options -->
<!-- META-BOX: INSTALLER -->
<div class="dup-box">
示例11: jQuery
<div class="transfer-panel">
<div class="transfer-hdr">
<h2><i class="fa fa-arrow-circle-right"></i> <?php
DUP_PRO_U::_e('Manual Transfer');
?>
</h2>
</div>
<br/>
<div style="font-size:16px; text-align: center; line-height: 30px">
<?php
DUP_Util::_e('This option is available only in the professional version.');
echo '<br/>';
DUP_Util::_e('Manual Transfer allows you to copy any package to another location such as Dropbox, Google Drive, FTP, or another directory on this server.');
echo '<br/>';
DUP_Util::_e('Simply check the destination checkbox you would like to transfer the package files to and hit the transfer button and thats it.');
?>
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function ($) {
});
</script>