Plugin Directory

Changeset 1230263


Ignore:
Timestamp:
08/25/2015 01:26:39 PM (11 years ago)
Author:
sendmachine
Message:

tagging version 1.0.1

Location:
sendmachine
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sendmachine/tags/1.0.1/includes/sendmachine_subscribe_manager.php

    r1226818 r1230263  
    2828
    2929        $out .=$args['before_title'] . $title . $args['after_title'];
     30       
     31        $out .= $instance['description'] ? "<p>".$instance['description']."</p>" : "";
    3032
    3133        $out .= $this->build_form();
     
    140142                . '<input type="hidden" name="sm_action" value="subscribe_form"/> '
    141143                . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> '
    142                 . $list_fields . __("* mandatory", SM_LANGUAGE_DOMAIN)
    143                 . '<br><input type="submit" value="Subscribe" />'
     144                . $list_fields
     145                . '<input type="submit" value="Subscribe" />'
    144146                . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>'
    145147                . '</form>'
  • sendmachine/tags/1.0.1/readme.txt

    r1226840 r1230263  
    44Requires at least: 3.2.1
    55Tested up to: 4.3
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696== Changelog ==
    9797
     98= 1.0.1 =
     99* Added description field to widget area.
     100
    98101= 1.0.0 =
    99102* First stable release.
  • sendmachine/tags/1.0.1/sendmachine_widget.php

    r1226818 r1230263  
    2020        $instance = $old_instance;
    2121        $instance['title'] = $new_instance['title'];
     22        $instance['description'] = $new_instance['description'];
    2223
    2324        return $instance;
     
    2728
    2829        $title = isset($instance['title']) ? $instance['title'] : "";
     30        $description = isset($instance['description']) ? $instance['description'] : "";
    2931        ?>
    3032        <p>
     
    3234            <input class="widefat" type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr($title); ?>">
    3335        </p>
    34 
     36        <p>
     37            <label for="<?php echo $this->get_field_id('description'); ?>"><?php _e('Description:', SM_LANGUAGE_DOMAIN) ?></label>
     38            <textarea class="widefat" rows="5" cols="20" id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>"><?php echo esc_attr($description); ?></textarea>
     39        </p>
    3540        <?php
    3641    }
  • sendmachine/tags/1.0.1/sendmachine_wp.php

    r1226835 r1230263  
    55  Plugin URI: https://www.sendmachine.com
    66  Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns.
    7   Version: 1.0.0
     7  Version: 1.0.1
    88  Author: Sendmachine team
    99  Author URI: http://developers.sendmachine.com/
  • sendmachine/trunk/includes/sendmachine_subscribe_manager.php

    r1226818 r1230263  
    2828
    2929        $out .=$args['before_title'] . $title . $args['after_title'];
     30       
     31        $out .= $instance['description'] ? "<p>".$instance['description']."</p>" : "";
    3032
    3133        $out .= $this->build_form();
     
    140142                . '<input type="hidden" name="sm_action" value="subscribe_form"/> '
    141143                . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> '
    142                 . $list_fields . __("* mandatory", SM_LANGUAGE_DOMAIN)
    143                 . '<br><input type="submit" value="Subscribe" />'
     144                . $list_fields
     145                . '<input type="submit" value="Subscribe" />'
    144146                . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>'
    145147                . '</form>'
  • sendmachine/trunk/readme.txt

    r1226840 r1230263  
    44Requires at least: 3.2.1
    55Tested up to: 4.3
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696== Changelog ==
    9797
     98= 1.0.1 =
     99* Added description field to widget area.
     100
    98101= 1.0.0 =
    99102* First stable release.
  • sendmachine/trunk/sendmachine_widget.php

    r1226818 r1230263  
    2020        $instance = $old_instance;
    2121        $instance['title'] = $new_instance['title'];
     22        $instance['description'] = $new_instance['description'];
    2223
    2324        return $instance;
     
    2728
    2829        $title = isset($instance['title']) ? $instance['title'] : "";
     30        $description = isset($instance['description']) ? $instance['description'] : "";
    2931        ?>
    3032        <p>
     
    3234            <input class="widefat" type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr($title); ?>">
    3335        </p>
    34 
     36        <p>
     37            <label for="<?php echo $this->get_field_id('description'); ?>"><?php _e('Description:', SM_LANGUAGE_DOMAIN) ?></label>
     38            <textarea class="widefat" rows="5" cols="20" id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>"><?php echo esc_attr($description); ?></textarea>
     39        </p>
    3540        <?php
    3641    }
  • sendmachine/trunk/sendmachine_wp.php

    r1226835 r1230263  
    55  Plugin URI: https://www.sendmachine.com
    66  Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns.
    7   Version: 1.0.0
     7  Version: 1.0.1
    88  Author: Sendmachine team
    99  Author URI: http://developers.sendmachine.com/
Note: See TracChangeset for help on using the changeset viewer.