Plugin Directory

Changeset 717516


Ignore:
Timestamp:
05/23/2013 10:57:02 PM (13 years ago)
Author:
MicahBlu
Message:

Version 1.0.1, fixed an undefined index variable at runtime and added padding to the rsvp form needed for some themes

Location:
rsvp-me
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • rsvp-me/tags/1.0.1/includes/rsvpme_functions.php

    r717171 r717516  
    11<?php
    2 /*
    3 RSVP ME functions
    4 Author: Micah Blu
    5 */
     2/**
     3 * RSVP ME functions
     4 * Author: Micah Blu
     5 *
     6 * Meat & Potatos, most of the functions that make this work :)
     7 */
    68
    79function rsvp_me_install(){
     
    264266       
    265267        /** check for events !! **/
    266         if($events[$current_ymd])
     268        if(isset($events[$current_ymd]))
    267269        {
    268270            if($hasMultipleEvents)
     
    412414        <form action="" method="post" name="">
    413415       
    414         <?= $handle=='edit' ? "<input type='hidden' name='id' value='" . $event["id"] ."' />\n" : "" ?>
     416        <?php echo $handle=='edit' ? "<input type='hidden' name='id' value='" . $event["id"] ."' />\n" : "" ?>
    415417       
    416418        <div class='form-segments'>
     
    420422           
    421423            <tr>
    422                 <td>Event title</td><td><input type='text' id='text' name='title' value='<?=stripslashes($event['title'])?>' /></td>
    423             </tr>
    424            
    425             <tr>
    426                 <td>Event description</td><td><textarea name='description' id='description' style='width:275px; height:75px'><?=stripslashes($event['description'])?></textarea></td>
     424                <td>Event title</td><td><input type='text' id='text' name='title' value='<?php echo stripslashes($event['title'])?>' /></td>
     425            </tr>
     426           
     427            <tr>
     428                <td>Event description</td><td><textarea name='description' id='description' style='width:275px; height:75px'><?php echo stripslashes($event['description'])?></textarea></td>
    427429            </tr>
    428430           
     
    436438                <td>
    437439                Date<br />
    438                 <input type="text" onclick="cal.appendCalendar(this, '400', '300', '<?= PLUGIN_PATH ?>')" name="date" readonly="readonly" size='10' maxlength="10" value="<?=$date?>" title="calfield" class='reqd' />
     440                <input type="text" onclick="cal.appendCalendar(this, '400', '300', '<?php echo PLUGIN_PATH ?>')" name="date" readonly="readonly" size='10' maxlength="10" value="<?php echo $date?>" title="calfield" class='reqd' />
    439441                </td>
    440442           
  • rsvp-me/tags/1.0.1/js/rsvp_me.js

    r717171 r717516  
    1 /*
    2 Notes:
    3   -Some methods used here rely on jquery.
    4 */
     1/**
     2 * Main js file
     3 *
     4 * @dep jquery
     5 */
    56
    67var rsvpMe = {
     
    4849        }
    4950   
    50         mybox.overlay(html, $("#rsvp_form_"+events[0].id).width(), $("#rsvp_form_"+events[0].id).height() + 100); //arbitrary 100 added as padding, obviously not ideal, but will do for now
     51        mybox.overlay(html, $("#rsvp_form_"+events[0].id).width() + 100, $("#rsvp_form_"+events[0].id).height() + 100); //arbitrary 100 added as padding, obviously not ideal, but will do for now
    5152       
    5253        //now that our overlay is up let's check to see if we remember this user
  • rsvp-me/tags/1.0.1/readme.txt

    r717171 r717516  
    55Requires at least: 2.0.2
    66Tested up to: 3.5.1
    7 Stable tag: 1.0
     7Stable tag: 1.0.1
    88
    99== Description ==
     
    4343  2. Added better default styles for the calendar widget
    4444
    45 12-31-2010 v0.9
     4512-31-2010
    4646
    4747  Stable release 0.9
    4848
    49 05-23-2012 v1.0
    50   Stable Release v1.0
    51   1. Cleaned up some css styling rules and checked it against the wordpress 3.5.1
    52   2. Added the ability to have multiple events in one day
     4905-22-2012
     50 1. Cleaned up some css styling rules and checked it against the wordpress 3.5.1
     51
     5205-23-2012
     53 1. added needed padding on the rsvp form needed for some themes
     54 2. added an isset() on an index variable to avoid runtime errors
    5355
    5456== Upgrade Notice ==
  • rsvp-me/tags/1.0.1/rsvpme.css

    r717171 r717516  
    8585div.rsvp-form{
    8686    font-size:14px;
     87    top: 25px;
    8788}
    8889
  • rsvp-me/tags/1.0.1/rsvpme.php

    r717177 r717516  
    44Plugin URI: http://www.micahblu.com/
    55Description: Event Calendar that allows users to RSVP to the selected event.
    6 Version: 1.0
     6Version: 1.0.1
    77Author: Micah Blu
    88Author URI: http://www.micahblu.com
     
    1010*/
    1111
    12 define('RSVP_ME_VERSION', '0.9.1');
     12define('RSVP_ME_VERSION', '1.0.1');
    1313
    1414define('RSVP_ME_FILE_PATH', dirname(__FILE__));
  • rsvp-me/trunk/includes/rsvpme_functions.php

    r717171 r717516  
    11<?php
    2 /*
    3 RSVP ME functions
    4 Author: Micah Blu
    5 */
     2/**
     3 * RSVP ME functions
     4 * Author: Micah Blu
     5 *
     6 * Meat & Potatos, most of the functions that make this work :)
     7 */
    68
    79function rsvp_me_install(){
     
    264266       
    265267        /** check for events !! **/
    266         if($events[$current_ymd])
     268        if(isset($events[$current_ymd]))
    267269        {
    268270            if($hasMultipleEvents)
     
    412414        <form action="" method="post" name="">
    413415       
    414         <?= $handle=='edit' ? "<input type='hidden' name='id' value='" . $event["id"] ."' />\n" : "" ?>
     416        <?php echo $handle=='edit' ? "<input type='hidden' name='id' value='" . $event["id"] ."' />\n" : "" ?>
    415417       
    416418        <div class='form-segments'>
     
    420422           
    421423            <tr>
    422                 <td>Event title</td><td><input type='text' id='text' name='title' value='<?=stripslashes($event['title'])?>' /></td>
    423             </tr>
    424            
    425             <tr>
    426                 <td>Event description</td><td><textarea name='description' id='description' style='width:275px; height:75px'><?=stripslashes($event['description'])?></textarea></td>
     424                <td>Event title</td><td><input type='text' id='text' name='title' value='<?php echo stripslashes($event['title'])?>' /></td>
     425            </tr>
     426           
     427            <tr>
     428                <td>Event description</td><td><textarea name='description' id='description' style='width:275px; height:75px'><?php echo stripslashes($event['description'])?></textarea></td>
    427429            </tr>
    428430           
     
    436438                <td>
    437439                Date<br />
    438                 <input type="text" onclick="cal.appendCalendar(this, '400', '300', '<?= PLUGIN_PATH ?>')" name="date" readonly="readonly" size='10' maxlength="10" value="<?=$date?>" title="calfield" class='reqd' />
     440                <input type="text" onclick="cal.appendCalendar(this, '400', '300', '<?php echo PLUGIN_PATH ?>')" name="date" readonly="readonly" size='10' maxlength="10" value="<?php echo $date?>" title="calfield" class='reqd' />
    439441                </td>
    440442           
  • rsvp-me/trunk/js/rsvp_me.js

    r717171 r717516  
    1 /*
    2 Notes:
    3   -Some methods used here rely on jquery.
    4 */
     1/**
     2 * Main js file
     3 *
     4 * @dep jquery
     5 */
    56
    67var rsvpMe = {
     
    4849        }
    4950   
    50         mybox.overlay(html, $("#rsvp_form_"+events[0].id).width(), $("#rsvp_form_"+events[0].id).height() + 100); //arbitrary 100 added as padding, obviously not ideal, but will do for now
     51        mybox.overlay(html, $("#rsvp_form_"+events[0].id).width() + 100, $("#rsvp_form_"+events[0].id).height() + 100); //arbitrary 100 added as padding, obviously not ideal, but will do for now
    5152       
    5253        //now that our overlay is up let's check to see if we remember this user
  • rsvp-me/trunk/readme.txt

    r717171 r717516  
    55Requires at least: 2.0.2
    66Tested up to: 3.5.1
    7 Stable tag: 1.0
     7Stable tag: 1.0.1
    88
    99== Description ==
     
    4343  2. Added better default styles for the calendar widget
    4444
    45 12-31-2010 v0.9
     4512-31-2010
    4646
    4747  Stable release 0.9
    4848
    49 05-23-2012 v1.0
    50   Stable Release v1.0
    51   1. Cleaned up some css styling rules and checked it against the wordpress 3.5.1
    52   2. Added the ability to have multiple events in one day
     4905-22-2012
     50 1. Cleaned up some css styling rules and checked it against the wordpress 3.5.1
     51
     5205-23-2012
     53 1. added needed padding on the rsvp form needed for some themes
     54 2. added an isset() on an index variable to avoid runtime errors
    5355
    5456== Upgrade Notice ==
  • rsvp-me/trunk/rsvpme.css

    r717171 r717516  
    8585div.rsvp-form{
    8686    font-size:14px;
     87    top: 25px;
    8788}
    8889
  • rsvp-me/trunk/rsvpme.php

    r717177 r717516  
    44Plugin URI: http://www.micahblu.com/
    55Description: Event Calendar that allows users to RSVP to the selected event.
    6 Version: 1.0
     6Version: 1.0.1
    77Author: Micah Blu
    88Author URI: http://www.micahblu.com
     
    1010*/
    1111
    12 define('RSVP_ME_VERSION', '0.9.1');
     12define('RSVP_ME_VERSION', '1.0.1');
    1313
    1414define('RSVP_ME_FILE_PATH', dirname(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.