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
30
vendor/loco-translate/tpl/admin/bundle/debug.php
vendored
Normal file
30
vendor/loco-translate/tpl/admin/bundle/debug.php
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Show bundle diagnostics
|
||||
*/
|
||||
$this->extend('../layout');
|
||||
?>
|
||||
<p>
|
||||
<?php esc_html_e('This information is for developers to find problems in the bundle setup','loco-translate')?>.
|
||||
</p>
|
||||
<p data-vendor="<?php $meta->e('vendor')?>">
|
||||
<?php echo $meta->author?>
|
||||
</p>
|
||||
|
||||
<?php
|
||||
/* @var $notice Loco_mvc_ViewParams */
|
||||
foreach( $notices as $notice ):?>
|
||||
<div class="<?php $notice->e('style')?>">
|
||||
<p>
|
||||
<strong class="has-icon"> </strong>
|
||||
<?php $notice->e('body')?>
|
||||
</p>
|
||||
</div><?php
|
||||
endforeach;
|
||||
|
||||
if( $params->has('xml') ):?>
|
||||
<div class="notice inline notice-generic">
|
||||
<h4>Current configuration as XML:</h4>
|
||||
<pre><?php $params->e('xml')?></pre>
|
||||
</div><?php
|
||||
endif?>
|
Loading…
Add table
Add a link
Reference in a new issue