Plugin Directory

Changeset 647136


Ignore:
Timestamp:
01/02/2013 06:54:53 PM (13 years ago)
Author:
delaney.p.brown
Message:

Recent update

Location:
wp-simple-forms/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wp-simple-forms/trunk/Controller.php

    r632501 r647136  
    4444    function submit($value = null){
    4545        $value = $value ? $value : 'Submit';
    46         $html = "<input type='submit' name='submit' value='$value' />\n";
     46        $html = "<input type='submit' name='submit' class='wpsf-submit' value='$value' />\n";
    4747        return $html;
    4848    }
     
    152152                $html .=  "<label class='q-title'>$this->title" . $this->check_required() . "</label><label class='q-help'>$this->help_text</label>\n";
    153153                $html .=  "<select class='dropdown-options' name='$name'>\n";
    154                 $html .= "<ul>\n";
    155154                foreach($this->options as $option){
    156                     $html .=  "<li><option value='$option'" . $this->set_select($name, $option) . ">$option</option></li>\n";
    157                 }
    158                 $html .= "</ul>\n";
     155                    $html .=  "<option value='$option'" . $this->set_select($name, $option) . ">$option</option>\n";
     156                }
    159157                $html .=  "</select>\n";
    160158                $html .= "<input type='hidden' name='titles[]' value='$this->title'/>\n";
     
    190188                $name = "question" . $this->q_index . $required;
    191189                $html .= "<label class='q-title'>$this->title" . $this->check_required() . "</label><label class='q-help'>$this->help_text</label>\n";
    192                 $html .= "</ul>\n";
    193                 foreach($this->options as $option){
    194                     $html .= "<li><label><textarea name='$name'>" . $this->set_value($name, $option) . "</textarea></label></li>\n";
    195                 }
    196                 $html .= "</ul>\n";
     190                $html .= "<textarea name='$name'>" . $this->set_value($name, '') . "</textarea>\n";
    197191                $html .= "<input type='hidden' name='titles[]' value='$this->title'/>\n";
    198192               
  • wp-simple-forms/trunk/functions.php

    r632501 r647136  
    6161    wp_enqueue_script(
    6262         "cd-deletable"
    63         ,plugins_url('/wp_simple_forms/plugins/deletable.js')
     63        ,plugins_url('/wp-simple-forms/plugins/deletable.js')
    6464        ,array('jquery')
    6565        ,''
     
    6868    wp_enqueue_script(
    6969         "cd-notify"
    70         ,plugins_url('/wp_simple_forms/js/notify.js')
     70        ,plugins_url('/wp-simple-forms/js/notify.js')
    7171        ,array('jquery')
    7272    );
    7373    wp_enqueue_script(
    7474         "cd-form-elements"
    75         ,plugins_url('/wp_simple_forms/js/form.elements.js')
     75        ,plugins_url('/wp-simple-forms/js/form.elements.js')
    7676        ,array('jquery')
    7777    );
  • wp-simple-forms/trunk/shortcode.php

    r632715 r647136  
    3838    wp_enqueue_style(
    3939     'simpleForm-style'
    40     , plugins_url() . '/wp_simple_forms/style.css'
     40    , plugins_url('/wp-simple-forms/style.css')
    4141);
    4242   
  • wp-simple-forms/trunk/style.css

    r632715 r647136  
    4141    color:red;
    4242}
     43.wpsf-submit{margin-bottom:24px;}
  • wp-simple-forms/trunk/wp_simple_forms.php

    r632716 r647136  
    44Plugin URI: http://crossdistinction.com/wp-simple-forms
    55Description: Adding forms to a webpage has never been easier.  Quickly create dropdowns, checkboxes, multiple choice, and text questions for any page on your site.
    6 Version: 0.1.1
     6Version: 0.1.3
    77Author: Pat Brown
    88Author URI: http://crossdistinction.com
  • wp-simple-forms/trunk/wpsf_settings.php

    r632715 r647136  
    3636        </form>
    3737        <hr />
    38         <h2>Custom Checkout Templates</h2>
     38        <h2>Custom Question Templates</h2>
    3939        <p>Here you can create question templates.  Add forms to pages using the [simpleform name="formname"] shortcode (where formname is the name of the form).  </p>
    4040        <div class="user-controls">
     
    4646                <option value="check-boxes">Check Boxes</option>
    4747                <option value="mult-choice">Multiple Choice</option>
    48                 <option value="textarea">Text Box</option>
     48                <option value="textarea">Message Box</option>
    4949            </select>
    5050            <a href="#" id="save-question-order">Save Question Order</a>
Note: See TracChangeset for help on using the changeset viewer.