Add Substitute display string setting close #5

This commit is contained in:
Brian Miyaji
2014-03-21 15:00:05 +11:00
parent 198453b842
commit 818477ef27
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ function sportspress_define_globals() {
'Season',
'Seasons',
'Staff',
'Substitute',
'Team',
'Teams',
'Venue',

View File

@@ -37,7 +37,7 @@ class SportsPressTextSettingsPage {
$key = sanitize_title( $string );
$localized = $string;
$text = sportspress_array_value( sportspress_array_value( $this->options, 'text', array() ), $string, null );
?><fieldset><input id="sportspress_text_<?php echo $key; ?>" name="sportspress[text][<?php echo $string; ?>]" type="text" class="regular-text code" value="<?php echo $text; ?>" placeholder="<?php echo $localized; ?>"></fieldset><?php
?><fieldset><input id="sportspress_text_<?php echo $key; ?>" name="sportspress[text][<?php echo $string; ?>]" type="text" class="regular-text" value="<?php echo $text; ?>" placeholder="<?php echo $localized; ?>"></fieldset><?php
}
}