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
35
vendor/loco-translate/tpl/admin/errors/generic.php
vendored
Normal file
35
vendor/loco-translate/tpl/admin/errors/generic.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/*
|
||||
* Generic admin page error template
|
||||
*/
|
||||
|
||||
$this->extend('../layout');
|
||||
|
||||
/* @var Loco_mvc_View $this */
|
||||
/* @var Loco_error_Exception $error */
|
||||
?>
|
||||
|
||||
<h1><?php echo esc_html( $error->getTitle() )?></h1>
|
||||
|
||||
<div class="notice inline notice-error">
|
||||
<h3 class="has-icon">
|
||||
<?php self::e( $error->getMessage() )?>
|
||||
</h3><?php
|
||||
/* @var Loco_mvc_FileParams $file */
|
||||
if( $params->has('file') && $file->line ):?>
|
||||
<p>
|
||||
<code class="path"><?php $file->e('relpath')?>#<?php $file->e('line')?></code>
|
||||
</p><?php
|
||||
endif?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/* @var Loco_mvc_ViewParams[] $trace */
|
||||
if( $this->has('trace') ):
|
||||
echo "<!-- DEBUG:\n";
|
||||
foreach( $trace as $f ):
|
||||
echo ' ',($f->has('class')?$f['class'].'::':''), $f->e('function'),' ', $f->e('file'),':',$f->e('line'), "\n";
|
||||
endforeach;
|
||||
echo " -->\n";
|
||||
endif;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue