mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-08 14:59:18 +08:00
feat:3.0.0版初次提交,新版将完全推倒重写
This commit is contained in:
parent
e556c4b6d9
commit
39735249ee
293 changed files with 26908 additions and 475 deletions
36
vendor/loco-translate/tpl/admin/file/delete.php
vendored
Normal file
36
vendor/loco-translate/tpl/admin/file/delete.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
/**
|
||||
* Confirmation form for deleting a file
|
||||
*/
|
||||
$this->extend('../layout');
|
||||
?>
|
||||
|
||||
<form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-del">
|
||||
<div class="notice inline notice-danger">
|
||||
<h3>
|
||||
<span class="has-icon icon-trash"> </span>
|
||||
<span><?php esc_html_e('Confirm delete','loco-translate')?></span>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
echo __('Are you sure you want to <strong>permanently</strong> delete the following file?','loco-translate')?>
|
||||
</p>
|
||||
<p>
|
||||
<code><?php $info->e('relpath')?></code>
|
||||
</p><?php
|
||||
if( $params->has('deps') ):?>
|
||||
<p>
|
||||
<strong><?php $params->e('warn')?></strong><?php
|
||||
foreach( $deps as $info ):?>
|
||||
<div><?php $info->e('name')?></div><?php
|
||||
endforeach?>
|
||||
</p><?php
|
||||
endif?>
|
||||
<p class="submit">
|
||||
<button type="submit" class="button button-danger" disabled><?php esc_html_e('Delete Permanently','default')?></button>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
/* @var Loco_mvc_HiddenFields $hidden */
|
||||
$hidden->_e();?>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue