/var/www/html_nl/wp-content/plugins/loco-translate/tpl/admin/file/move-po.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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="panel">
        <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_ViewParams $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>