Skip to content

Commit

Permalink
Cleaned up formatting of the settings. (cherry-picking from commit 1a…
Browse files Browse the repository at this point in the history
  • Loading branch information
JLeuze committed Apr 21, 2012
1 parent 8bdf6fc commit 6fda9ae
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions includes/meteor-slides-settings.php
Expand Up @@ -10,8 +10,7 @@ function meteorslides_section_text() {

function meteorslides_slideshow_quantity() {

$meteor_slides = __( 'slides', 'meteor-slides' );

$meteor_slides = __( 'slides', 'meteor-slides' );
$meteor_options = get_option('meteorslides_options');

echo "<input id='slideshow_quantity' name='meteorslides_options[slideshow_quantity]' size='20' type='text' value='{$meteor_options['slideshow_quantity']}' /> $meteor_slides";
Expand All @@ -20,8 +19,7 @@ function meteorslides_slideshow_quantity() {

function meteorslides_slide_height() {

$meteor_px = __( 'px', 'meteor-slides' );

$meteor_px = __( 'px', 'meteor-slides' );
$meteor_options = get_option('meteorslides_options');

echo "<input id='slide_height' name='meteorslides_options[slide_height]' size='20' type='text' value='{$meteor_options['slide_height']}' /> $meteor_px";
Expand All @@ -30,8 +28,7 @@ function meteorslides_slide_height() {

function meteorslides_slide_width() {

$meteor_px = __( 'px', 'meteor-slides' );

$meteor_px = __( 'px', 'meteor-slides' );
$meteor_options = get_option('meteorslides_options');

echo "<input id='slide_width' name='meteorslides_options[slide_width]' size='20' type='text' value='{$meteor_options['slide_width']}' /> $meteor_px";
Expand Down Expand Up @@ -67,10 +64,8 @@ function meteorslides_transition_style() {
$meteor_uncover = __( 'uncover', 'meteor-slides' );
$meteor_wipe = __( 'wipe', 'meteor-slides' );
$meteor_zoom = __( 'zoom', 'meteor-slides' );

$meteor_options = get_option( 'meteorslides_options' );

$meteor_item = array(
$meteor_options = get_option( 'meteorslides_options' );
$meteor_item = array(

'blindX' => $meteor_blindX,
'blindY' => $meteor_blindY,
Expand Down Expand Up @@ -119,7 +114,6 @@ function meteorslides_transition_style() {
function meteorslides_transition_speed() {

$meteor_seconds = __( 'seconds', 'meteor-slides' );

$meteor_options = get_option( 'meteorslides_options' );

echo "<input id='transition_speed' name='meteorslides_options[transition_speed]' size='20' type='text' value='{$meteor_options['transition_speed']}' /> $meteor_seconds";
Expand All @@ -129,7 +123,6 @@ function meteorslides_transition_speed() {
function meteorslides_slide_duration() {

$meteor_seconds = __( 'seconds', 'meteor-slides' );

$meteor_options = get_option( 'meteorslides_options' );

echo "<input id='slide_duration' name='meteorslides_options[slide_duration]' size='20' type='text' value='{$meteor_options['slide_duration']}' /> $meteor_seconds";
Expand Down

0 comments on commit 6fda9ae

Please sign in to comment.