Plugin Directory

Changeset 470701


Ignore:
Timestamp:
12/03/2011 09:07:38 PM (14 years ago)
Author:
jazzigor
Message:

0.6.3

Location:
price-calc/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • price-calc/trunk/ajax/front.js

    r176167 r470701  
    206206
    207207function printWindow() {
    208     var all_with_contact = ttpc_all.slice().concat( ttpc_contact );
     208    var all_with_contact = ttpc_all.slice();
     209    if(jQuery("#company_mail").is(':checked')) {
     210        all_with_contact = all_with_contact.concat( ttpc_contact );
     211    }
    209212
    210213    if( !validate_extra() )
     
    216219    }
    217220    var values='';
    218     for( var idx=0; idx<ttpc_all.length; idx++ ) {
     221    for( var idx=0; idx<all_with_contact.length; idx++ ) {
    219222        var id = all_with_contact[idx];
    220223        var value = jQuery("#" + id).val();
  • price-calc/trunk/control/Mailer.php

    r135969 r470701  
    1414        'X-Mailer: PHP/' . phpversion();
    1515       
    16         return @mail( $to, $subject, $message, $headers );
     16        return @wp_mail( $to, $subject, $message, $headers );
    1717    }
    1818}
  • price-calc/trunk/price-calc.php

    r176167 r470701  
    113113function price_calc_get_from_request( $id ) {
    114114    $value = $_REQUEST[$id];
    115     if(function_exists('get_magic_quotes_gpc'))
    116     if(get_magic_quotes_gpc())
    117         $value = stripslashes( $value );
     115    $value = stripslashes( $value );
    118116    return $value;
    119117}
  • price-calc/trunk/readme.txt

    r176167 r470701  
    44Tags: price, calculator, calculate, calculation, product, variations
    55Requires at least: 2.8
    6 Tested up to: 2.8.6
    7 Stable tag: 0.6.2.1
     6Tested up to: 3.2.1
     7Stable tag: 0.6.3
    88
    99"price-calc" is a WordPress plug-in that shows a nice inter-active price calculator for your product variations on any post or page.
     
    1515[price-calc]
    1616mark-up anywhere in your text. The user gets a nice interactive form to choose all the characteristics he needs. When he's ready he can see the quote instantly on the screen, print it out or get it by email.
     17
     18PLEASE NOTE: There will not be any further development of this software. It will be replaced by [Jazzy Forms](http://www.l90r.com/posts/jazzy-forms).
    1719
    1820Features are:
     
    8688* Bug-fixes
    8789* Fixing problems with "magic quotes"
     90
     91= 0.6.3 =
     92* Show contact information on print page
     93* Improve E-Mail compatibility
  • price-calc/trunk/templates/front.php

    r175183 r470701  
    140140<tr>
    141141<td ><?php pc_phrase('fullname') ?></td>
    142 <td><input name="fname" type="text" /> <?php pc_phrase('required') ?></td>
     142<td><input name="fname" id="fname" type="text" /> <?php pc_phrase('required') ?></td>
    143143</tr>
    144144<tr>
    145145<td ><?php pc_phrase('number') ?></td>
    146 <td><input name="cno" type="text" /> <?php pc_phrase('required') ?></td>
     146<td><input name="cno" id="cno" type="text" /> <?php pc_phrase('required') ?></td>
    147147</tr>
    148148<tr>
    149149<td ><?php pc_phrase('email') ?></td>
    150 <td><input name="email" type="text" /> <?php pc_phrase('required') ?></td>
     150<td><input name="email" id="email" type="text" /> <?php pc_phrase('required') ?></td>
    151151</tr>
    152152<tr>
    153153<td ><?php pc_phrase('address') ?></td>
    154 <td><input name="address" type="text" /></td>
     154<td><input name="address" id="address" type="text" /></td>
    155155</tr>
    156156<tr>
    157157<td ><?php pc_phrase('city') ?></td>
    158 <td><input name="city" type="text" /></td>
     158<td><input name="city" id="city" type="text" /></td>
    159159</tr>
    160160<tr>
    161161<td ><?php pc_phrase('state') ?></td>
    162 <td><input name="state" type="text" /></td>
     162<td><input name="state" id="state" type="text" /></td>
    163163</tr>
    164164<tr>
    165165<td ><?php pc_phrase('comments') ?></td>
    166 <td><textarea style="width: 300px; height: 150px;" name="comments"></textarea></td>
     166<td><textarea style="width: 300px; height: 150px;" name="comments" id="comments"></textarea></td>
    167167</tr>
    168168</table>
Note: See TracChangeset for help on using the changeset viewer.