@@ -1,5 +1,5 @@ |
||
1 | -<?php defined('WPINC') || die; |
|
1 | +<?php defined( 'WPINC' ) || die; |
|
2 | 2 | |
3 | -include trailingslashit(__DIR__).'header.php'; |
|
4 | -include trailingslashit(__DIR__).'body.php'; |
|
5 | -include trailingslashit(__DIR__).'footer.php'; |
|
3 | +include trailingslashit( __DIR__ ).'header.php'; |
|
4 | +include trailingslashit( __DIR__ ).'body.php'; |
|
5 | +include trailingslashit( __DIR__ ).'footer.php'; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | </body> |
4 | 4 | </html> |
@@ -1,3 +1,3 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | {{ message }} |
@@ -1,9 +1,9 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | <!doctype html> |
4 | 4 | <html> |
5 | 5 | <head> |
6 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
7 | - <title><?= wp_specialchars_decode((string) get_option('blogname', ''), ENT_QUOTES); ?></title> |
|
7 | + <title><?= wp_specialchars_decode( (string)get_option( 'blogname', '' ), ENT_QUOTES ); ?></title> |
|
8 | 8 | </head> |
9 | 9 | <body> |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <tr class="glsr-string-tr {{ data.class }}"> |
2 | 2 | <td class="glsr-string-td1 column-primary"> |
3 | 3 | <button type="button" class="toggle-row"> |
4 | - <span class="screen-reader-text"><?= __('Show custom translation', 'site-reviews'); ?></span> |
|
4 | + <span class="screen-reader-text"><?= __( 'Show custom translation', 'site-reviews' ); ?></span> |
|
5 | 5 | </button> |
6 | 6 | <div> |
7 | 7 | <p>{{ data.s1 }}</p> |
8 | 8 | </div> |
9 | 9 | <p class="row-actions"> |
10 | - <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __('Delete translation string', 'site-reviews'); ?>"><?= __('Delete', 'site-reviews'); ?></a></span> |
|
10 | + <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __( 'Delete translation string', 'site-reviews' ); ?>"><?= __( 'Delete', 'site-reviews' ); ?></a></span> |
|
11 | 11 | </p> |
12 | 12 | </td> |
13 | 13 | <td class="glsr-string-td2"> |
@@ -1,14 +1,14 @@ discard block |
||
1 | 1 | <tr class="glsr-string-tr {{ data.class }}"> |
2 | 2 | <td class="glsr-string-td1 column-primary"> |
3 | 3 | <button type="button" class="toggle-row"> |
4 | - <span class="screen-reader-text"><?= __('Show custom translation', 'site-reviews'); ?></span> |
|
4 | + <span class="screen-reader-text"><?= __( 'Show custom translation', 'site-reviews' ); ?></span> |
|
5 | 5 | </button> |
6 | 6 | <div> |
7 | 7 | <p>{{ data.s1 }}</p> |
8 | 8 | <p>{{ data.p1 }}</p> |
9 | 9 | </div> |
10 | 10 | <p class="row-actions"> |
11 | - <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __('Delete translation string', 'site-reviews'); ?>"><?= __('Delete', 'site-reviews'); ?></a></span> |
|
11 | + <span class="delete"><a href="#{{ data.index }}" class="delete" aria-label="<?= __( 'Delete translation string', 'site-reviews' ); ?>"><?= __( 'Delete', 'site-reviews' ); ?></a></span> |
|
12 | 12 | </p> |
13 | 13 | </td> |
14 | 14 | <td class="glsr-string-td2"> |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][id]" value="{{ data.id }}" data-id> |
17 | 17 | <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s1]" value="{{ data.s1 }}"> |
18 | 18 | <input type="hidden" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p1]" value="{{ data.p1 }}"> |
19 | - <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s2]" placeholder="<?= __('singular', 'site-reviews'); ?>" value="{{ data.s2 }}"> |
|
20 | - <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p2]" placeholder="<?= __('plural', 'site-reviews'); ?>" value="{{ data.p2 }}"> |
|
19 | + <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][s2]" placeholder="<?= __( 'singular', 'site-reviews' ); ?>" value="{{ data.s2 }}"> |
|
20 | + <input type="text" name="{{ data.prefix }}[settings][strings][{{ data.index }}][p2]" placeholder="<?= __( 'plural', 'site-reviews' ); ?>" value="{{ data.p2 }}"> |
|
21 | 21 | <span class="description">{{ data.desc }}{{ data.error }}</span> |
22 | 22 | </div> |
23 | 23 | </td> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | <tr class="glsr-field {{ class }}"> |
4 | 4 | <th scope="row">{{ label }}</th> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | <button type="submit" class="glsr-button btn btn-primary"> |
4 | 4 | <span class="glsr-button-loading"></span> |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | <div class="glsr-field form-group form-check {{ class }}"> |
4 | 4 | {{ field }} |