placeholder und maxlength adjusted
This commit is contained in:
parent
42dc3d9f8d
commit
08c802dc26
|
@ -92,7 +92,7 @@ function wolkal3000_feeds_section_text() {
|
||||||
|
|
||||||
function wolkal3000_feeds_setting_string($args) {
|
function wolkal3000_feeds_setting_string($args) {
|
||||||
$options = get_option('wolkal3000_options');
|
$options = get_option('wolkal3000_options');
|
||||||
$placeholder = "SEZ1234567890ABC";
|
$placeholder = "ABCDEFGHIKLMNOPQ";
|
||||||
// die id entspricht dem unique_id in add_settings_field.
|
// die id entspricht dem unique_id in add_settings_field.
|
||||||
// der name wird options.php als Name der zu setzenden Option übergeben
|
// der name wird options.php als Name der zu setzenden Option übergeben
|
||||||
// der Value ist der inhalt von der $option[unique_id].
|
// der Value ist der inhalt von der $option[unique_id].
|
||||||
|
@ -111,7 +111,7 @@ function wolkal3000_timer_section_text() {
|
||||||
function wolkal3000_timer_setting_string() {
|
function wolkal3000_timer_setting_string() {
|
||||||
$options = get_option('wolkal3000_options');
|
$options = get_option('wolkal3000_options');
|
||||||
$placeholder = "default 60";
|
$placeholder = "default 60";
|
||||||
echo '<input type="text" id="wolkal3000_timer" name="wolkal3000_options[wolkal3000_timer]" value="' . $options['wolkal3000_timer'] . '" size="6" maxlength="6" placeholder="' . $placeholder . '" > Minuten </br>';
|
echo '<input type="text" id="wolkal3000_timer" name="wolkal3000_options[wolkal3000_timer]" value="' . $options['wolkal3000_timer'] . '" size="6" maxlength="4" placeholder="' . $placeholder . '" > Minuten </br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue