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
43
vendor/loco-translate/tpl/admin/file/move-po.php
vendored
Normal file
43
vendor/loco-translate/tpl/admin/file/move-po.php
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/**
|
||||
* Confirmation form for moving localized files to a new location.
|
||||
*/
|
||||
$this->extend('move');
|
||||
$this->start('source');
|
||||
|
||||
/* @var Loco_mvc_ViewParams $current */
|
||||
/* @var Loco_mvc_ViewParams[] $locations */
|
||||
?>
|
||||
|
||||
<div class="notice inline notice-generic">
|
||||
<h2>
|
||||
<?php self::e( __('Choose a new location for these translations','loco-translate') );?>
|
||||
</h2>
|
||||
<table class="form-table">
|
||||
<tbody class="loco-paths"><?php
|
||||
foreach( $locations as $typeId => $location ):?>
|
||||
<tr class="compact">
|
||||
<td>
|
||||
<p class="description"><?php $location->e('label')?>:</p>
|
||||
</td>
|
||||
<td><?php
|
||||
/* @var Loco_mvc_FileParams $choice */
|
||||
foreach( $location['paths'] as $choice ):?>
|
||||
<p><?php
|
||||
if( $choice->active ):?>
|
||||
<label>
|
||||
<input type="radio" name="dest" value="" disabled checked /><?php
|
||||
else:?>
|
||||
<label>
|
||||
<input type="radio" name="dest" value="<?php $choice->e('path')?>" /><?php
|
||||
endif?>
|
||||
<code class="path"><?php $choice->e('path')?></code>
|
||||
</label>
|
||||
</p><?php
|
||||
endforeach?>
|
||||
</td>
|
||||
</tr><?php
|
||||
endforeach?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue