@@ -1,20 +1,20 @@ discard block |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-strings-form"> |
| 4 | 4 | <div class="glsr-search-box" id="glsr-search-translations"> |
| 5 | - <span class="screen-reader-text"><?= __('Search for translatable text', 'site-reviews'); ?></span> |
|
| 5 | + <span class="screen-reader-text"><?= __( 'Search for translatable text', 'site-reviews' ); ?></span> |
|
| 6 | 6 | <div class="glsr-spinner"> |
| 7 | 7 | <span class="spinner"></span> |
| 8 | 8 | </div> |
| 9 | - <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= __('Search here for text to translate...', 'site-reviews'); ?>"> |
|
| 10 | - <?php wp_nonce_field('search-translations', '_search_nonce', false); ?> |
|
| 9 | + <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= __( 'Search here for text to translate...', 'site-reviews' ); ?>"> |
|
| 10 | + <?php wp_nonce_field( 'search-translations', '_search_nonce', false ); ?> |
|
| 11 | 11 | <div class="glsr-search-results" data-prefix="{{ database_key }}"></div> |
| 12 | 12 | </div> |
| 13 | 13 | <table class="glsr-strings-table wp-list-table widefat {{ class }}"> |
| 14 | 14 | <thead> |
| 15 | 15 | <tr> |
| 16 | - <th scope="col" class="manage-column column-primary"><?= __('Original Text', 'site-reviews'); ?></th> |
|
| 17 | - <th scope="col" class="manage-column"><?= __('Custom Translation', 'site-reviews'); ?></th> |
|
| 16 | + <th scope="col" class="manage-column column-primary"><?= __( 'Original Text', 'site-reviews' ); ?></th> |
|
| 17 | + <th scope="col" class="manage-column"><?= __( 'Custom Translation', 'site-reviews' ); ?></th> |
|
| 18 | 18 | </tr> |
| 19 | 19 | </thead> |
| 20 | 20 | <tbody>{{ translations }}</tbody> |
@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | </div> |
| 24 | 24 | |
| 25 | 25 | <script type="text/html" id="tmpl-glsr-string-plural"> |
| 26 | -<?php include glsr()->path('views/partials/translations/plural.php'); ?> |
|
| 26 | +<?php include glsr()->path( 'views/partials/translations/plural.php' ); ?> |
|
| 27 | 27 | </script> |
| 28 | 28 | <script type="text/html" id="tmpl-glsr-string-single"> |
| 29 | -<?php include glsr()->path('views/partials/translations/single.php'); ?> |
|
| 29 | +<?php include glsr()->path( 'views/partials/translations/single.php' ); ?> |
|
| 30 | 30 | </script> |
@@ -1,7 +1,7 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | -<?php foreach ($settings as $key => $rows) : ?> |
|
| 3 | +<?php foreach( $settings as $key => $rows ) : ?> |
|
| 4 | 4 | <div class="glsr-nav-view-section" id="<?= $key; ?>" style="margin-top:40px;"> |
| 5 | - <?php do_action('site-reviews/addon/settings/'.$key, $rows); ?> |
|
| 5 | + <?php do_action( 'site-reviews/addon/settings/'.$key, $rows ); ?> |
|
| 6 | 6 | </div> |
| 7 | 7 | <?php endforeach; ?> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-summary-wrap"> |
| 4 | 4 | <div class="{{ class }}" id="{{ id }}"> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-review"> |
| 4 | 4 | {{ title }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <button type="submit" class="glsr-button button btn"> |
| 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 | <span class="glsr-field-error"> |
| 4 | 4 | {{ errors }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-field {{ class }}"> |
| 4 | 4 | <div class="glsr-field-choice"> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="glsr-field {{ class }}"> |
| 4 | 4 | {{ label }} |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('WPINC') || die; ?> |
|
| 1 | +<?php defined( 'WPINC' ) || die; ?> |
|
| 2 | 2 | |
| 3 | 3 | <div class="pagination"> |
| 4 | 4 | <nav class="navigation" role="navigation"> |