WordPress.org

Plugin Directory

Changeset 621490


Ignore:
Timestamp:
11/06/12 01:03:28 (18 months ago)
Author:
mordauk
Message:

Uploading v1.3.2.1

Location:
easy-digital-downloads
Files:
22 added
44 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-digital-downloads/tags/1.3.2.1/easy-digital-downloads.php

    r619594 r621490  
    66Author: Pippin Williamson 
    77Author URI: http://pippinsplugins.com 
    8 Version: 1.3.2 
     8Version: 1.3.2.1 
     9Text Domain: edd 
     10Domain Path: languages 
    911 
    1012Easy Digital Downloads is free software: you can redistribute it and/or modify 
     
    2224*/ 
    2325 
     26/* PHP Hack to Get Plugin Headers in the .POT File */ 
     27    $edd_plugin_header_translate = array( 
     28        __( 'Easy Digital Downloads', 'edd' ), 
     29        __( 'Serve Digital Downloads Through WordPress', 'edd' ), 
     30        __( 'Pippin Williamson', 'edd' ), 
     31        __( 'http://easydigitaldownloads.com/', 'edd' ), 
     32    ); 
    2433 
    2534/* 
     
    3039// Plugin version 
    3140if( !defined( 'EDD_VERSION' ) ) { 
    32     define( 'EDD_VERSION', '1.3.2' ); 
     41    define( 'EDD_VERSION', '1.3.2.1' ); 
    3342} 
    3443// Plugin Folder URL 
     
    110119    include_once( EDD_PLUGIN_DIR . 'includes/admin/admin-notices.php' ); 
    111120    include_once( EDD_PLUGIN_DIR . 'includes/admin/admin-pages.php' ); 
     121    include_once( EDD_PLUGIN_DIR . 'includes/admin/dashboard-widgets.php' ); 
    112122    include_once( EDD_PLUGIN_DIR . 'includes/admin/export-functions.php' ); 
    113123    include_once( EDD_PLUGIN_DIR . 'includes/admin/thickbox.php' ); 
  • easy-digital-downloads/tags/1.3.2.1/includes/admin/reporting/reports.php

    r619594 r621490  
    201201                    <h3><span><?php _e('Export Payment History', 'edd'); ?></span></h3> 
    202202                    <div class="inside"> 
    203                         <p><?php _e( 'Download a CSV of all payments recorded..', 'edd' ); ?></p> 
     203                        <p><?php _e( 'Download a CSV of all payments recorded.', 'edd' ); ?></p> 
    204204                        <p> 
    205205                            <a class="button" href="<?php echo wp_nonce_url( add_query_arg( array( 'edd-action' => 'payment_export' ) ), 'edd_payments_export' ); ?>"> 
  • easy-digital-downloads/tags/1.3.2.1/includes/ajax-functions.php

    r619594 r621490  
    146146 
    147147function edd_load_checkout_login_fields() { 
    148     echo edd_get_login_fields(); 
     148    do_action( 'edd_purchase_form_login_fields' ); 
    149149    die(); 
    150150} 
     
    163163 
    164164function edd_load_checkout_register_fields() { 
    165     echo edd_get_register_fields(); 
     165    do_action( 'edd_purchase_form_register_fields' ); 
    166166    die(); 
    167167} 
     
    203203 
    204204function edd_get_ajax_url() { 
    205     $site_url = get_site_url(); 
    206     $admin_url = admin_url( 'admin-ajax.php' ); 
    207     if( preg_match( '/^https/', $admin_url ) && ! preg_match( '/^https/', $site_url ) ) { 
    208         $admin_url = preg_replace( '/^https/', 'http', $admin_url ); 
    209     } else if( preg_match( '/^https/', $site_url ) && ! preg_match( '/^https/', $admin_url ) ) { 
    210         $admin_url = preg_replace( '/^http/', 'https', $admin_url ); 
    211     } 
    212     return $admin_url; 
    213 } 
     205     
     206    $current_url = edd_get_current_page_url(); 
     207    $ajax_url = admin_url( 'admin-ajax.php' ); 
     208 
     209    if( preg_match( '/^https/', $ajax_url ) && ! preg_match( '/^https/', $current_url ) ) { 
     210        $ajax_url = preg_replace( '/^https/', 'http', $ajax_url ); 
     211    } else if( preg_match( '/^https/', $current_url ) && ! preg_match( '/^https/', $ajax_url ) ) { 
     212        $ajax_url = preg_replace( '/^http/', 'https', $ajax_url ); 
     213    } 
     214    return apply_filters( 'edd_ajax_url', $ajax_url ); 
     215} 
  • easy-digital-downloads/tags/1.3.2.1/includes/cart-functions.php

    r619594 r621490  
    258258 * @access      public 
    259259 * @since       1.0 
    260  * @return      string - the name of the price option 
     260 * @return     float 
    261261*/ 
    262262 
     
    279279} 
    280280 
     281 
     282/** 
     283 * Get Total Cart Amount 
     284 * 
     285 * Gets the fully formatted total price amount in the cart. 
     286 * uses edd_get_cart_amount(). 
     287 * 
     288 * @access      public 
     289 * @since       1.3.3 
     290 * @return      string - the cart amount 
     291*/ 
     292 
     293function edd_cart_total( $echo = true ) { 
     294 
     295    $total = apply_filters( 'edd_cart_total', edd_currency_filter( edd_format_amount( edd_get_cart_amount() ) ) ); 
     296 
     297    if( $echo ) 
     298        echo $total; 
     299    return $total; 
     300} 
    281301 
    282302 
  • easy-digital-downloads/tags/1.3.2.1/includes/checkout-template.php

    r619594 r621490  
    2222 
    2323    global $edd_options, $user_ID, $post; 
    24      
    25     if( is_user_logged_in() ) : 
    26         $user_data = get_userdata( $user_ID ); 
    27     endif; 
    2824     
    2925    ob_start(); ?> 
     
    4541 
    4642                    <form id="edd_purchase_form" action="<?php echo esc_url( edd_get_current_page_url() ); ?>" method="POST">                    
    47                      
    48                         <?php do_action( 'edd_purchase_form_top' ); ?> 
    49                      
     43                                         
    5044                        <?php  
    5145                         
     46                        do_action( 'edd_purchase_form_top' ); 
     47 
    5248                        if( edd_can_checkout() ) { ?> 
    5349                             
    5450                            <?php if( isset( $edd_options['show_register_form'] ) && !is_user_logged_in() && !isset( $_GET['login'] ) ) { ?> 
    55                                 <div id="edd_checkout_login_register"><?php echo edd_get_register_fields(); ?></div> 
     51                                <div id="edd_checkout_login_register"><?php do_action( 'edd_purchase_form_register_fields' ); ?></div> 
    5652                            <?php } elseif( isset( $edd_options['show_register_form'] ) && !is_user_logged_in() && isset( $_GET['login'] ) ) { ?> 
    57                                 <div id="edd_checkout_login_register"><?php echo edd_get_login_fields(); ?></div> 
     53                                <div id="edd_checkout_login_register"><?php do_action( 'edd_purchase_form_login_fields' ); ?></div> 
    5854                            <?php } ?> 
    5955 
    60                             <?php if( ( !isset( $_GET['login'] ) && is_user_logged_in() ) || !isset( $edd_options['show_register_form'] ) ) { ?> 
    61                                 <fieldset id="edd_checkout_user_info"> 
    62                                     <legend><?php _e('Personal Info', 'edd'); ?></legend> 
    63                                     <?php do_action( 'edd_purchase_form_before_email' ); ?> 
    64                                     <p id="edd-email-wrap"> 
    65                                         <input class="edd-input required" type="email" name="edd_email" placeholder="<?php _e('Email address', 'edd'); ?>" id="edd-email" value="<?php echo is_user_logged_in() ? $user_data->user_email : ''; ?>"/> 
    66                                         <label class="edd-label" for="edd-email"><?php _e('Email Address', 'edd'); ?></label> 
    67                                     </p> 
    68                                     <?php do_action( 'edd_purchase_form_after_email' ); ?> 
    69                                     <p id="edd-first-name-wrap"> 
    70                                         <input class="edd-input required" type="text" name="edd_first" placeholder="<?php _e('First Name', 'edd'); ?>" id="edd-first" value="<?php echo is_user_logged_in() ? $user_data->first_name : ''; ?>"/> 
    71                                         <label class="edd-label" for="edd-first"><?php _e('First Name', 'edd'); ?></label> 
    72                                     </p> 
    73                                     <p id="edd-last-name-wrap"> 
    74                                         <input class="edd-input" type="text" name="edd_last" id="edd-last" placeholder="<?php _e('Last name', 'edd'); ?>" value="<?php echo is_user_logged_in() ? $user_data->last_name : ''; ?>"/> 
    75                                         <label class="edd-label" for="edd-last"><?php _e('Last Name', 'edd'); ?></label> 
    76                                     </p>     
    77                                     <?php do_action( 'edd_purchase_form_user_info' ); ?> 
    78                                 </fieldset>  
     56                            <?php if( ( !isset( $_GET['login'] ) && is_user_logged_in() ) || !isset( $edd_options['show_register_form'] ) ) { 
    7957                                 
    80                                 <?php do_action( 'edd_purchase_form_after_user_info' ); 
     58                                do_action( 'edd_purchase_form_after_user_info' ); 
    8159                            } 
    8260 
     
    9472                            do_action( 'edd_purchase_form_after_cc_form' ); 
    9573 
    96                             ?> 
    97  
    98                             <fieldset id="edd_purchase_submit"> 
    99                                 <p> 
    100                                     <?php do_action( 'edd_purchase_form_before_submit' ); ?> 
    101                                      
    102                                     <?php edd_checkout_hidden_fields(); ?> 
    103                                      
    104                                     <?php echo edd_checkout_button_purchase(); ?> 
    105                                      
    106                                     <?php do_action( 'edd_purchase_form_after_submit' ); ?> 
    107                                 </p> 
    108  
    109                                 <?php if( !edd_is_ajax_enabled() ) { ?> 
    110                                     <p class="edd-cancel"><a href="javascript:history.go(-1)"><?php _e('Go back', 'edd'); ?></a></p> 
    111                                 <?php } ?> 
    112  
    113                             </fieldset> 
    114                         <?php } else { ?> 
    115                             <p><?php _e('You must be logged in to complete your purchase', 'edd'); ?></p> 
    116                         <?php } ?> 
    117  
    118                         <?php do_action( 'edd_purchase_form_bottom' ); ?> 
     74                        } else { 
     75                            // can't checkout 
     76                            do_action( 'edd_purchase_form_no_access' ); 
     77                        } 
     78 
     79                        do_action( 'edd_purchase_form_bottom' ); ?> 
    11980 
    12081                    </form> 
    121                     <?php do_action( 'edd_after_purchase_form' ); ?> 
    122             <?php } ?> 
    123         </div><!--end #edd_checkout_form_wrap--> 
     82                    <?php do_action( 'edd_after_purchase_form' ); 
     83                }  
     84                do_action( 'edd_checkout_form_bottom' ); ?> 
     85            </div><!--end #edd_checkout_form_wrap--> 
    12486        <?php 
    12587        else: 
     
    13092 
    13193 
     94 
     95/** 
     96 * Determines if a user can checkout or not 
     97 * 
     98 * @access      private 
     99 * @since       1.3.3 
     100 * @return      bool 
     101*/ 
     102 
    132103function edd_can_checkout() { 
    133104 
     
    136107    $can_checkout = true; // always true for now 
    137108 
    138     return apply_filters( 'edd_can_checkout', $can_checkout ); 
    139  
    140 } 
     109    return (bool) apply_filters( 'edd_can_checkout', $can_checkout ); 
     110 
     111} 
     112 
     113 
     114 
     115/** 
     116 * Shows the User Info Fields 
     117 * 
     118 * @access      private 
     119 * @since       1.3.3 
     120 * @return      void 
     121*/ 
     122 
     123function edd_user_info_fields() { 
     124    if( is_user_logged_in() ) : 
     125        $user_data = get_userdata( get_current_user_id() ); 
     126    endif; 
     127    ?> 
     128    <fieldset id="edd_checkout_user_info"> 
     129        <legend><?php _e('Personal Info', 'edd'); ?></legend> 
     130        <?php do_action( 'edd_purchase_form_before_email' ); ?> 
     131        <p id="edd-email-wrap"> 
     132            <input class="edd-input required" type="email" name="edd_email" placeholder="<?php _e('Email address', 'edd'); ?>" id="edd-email" value="<?php echo is_user_logged_in() ? $user_data->user_email : ''; ?>"/> 
     133            <label class="edd-label" for="edd-email"><?php _e('Email Address', 'edd'); ?></label> 
     134        </p> 
     135        <?php do_action( 'edd_purchase_form_after_email' ); ?> 
     136        <p id="edd-first-name-wrap"> 
     137            <input class="edd-input required" type="text" name="edd_first" placeholder="<?php _e('First Name', 'edd'); ?>" id="edd-first" value="<?php echo is_user_logged_in() ? $user_data->first_name : ''; ?>"/> 
     138            <label class="edd-label" for="edd-first"><?php _e('First Name', 'edd'); ?></label> 
     139        </p> 
     140        <p id="edd-last-name-wrap"> 
     141            <input class="edd-input" type="text" name="edd_last" id="edd-last" placeholder="<?php _e('Last name', 'edd'); ?>" value="<?php echo is_user_logged_in() ? $user_data->last_name : ''; ?>"/> 
     142            <label class="edd-label" for="edd-last"><?php _e('Last Name', 'edd'); ?></label> 
     143        </p>     
     144        <?php do_action( 'edd_purchase_form_user_info' ); ?> 
     145    </fieldset>  
     146    <?php 
     147} 
     148add_action( 'edd_purchase_form_after_user_info', 'edd_user_info_fields' ); 
    141149 
    142150 
     
    310318    </fieldset> 
    311319    <?php 
    312     return ob_get_clean(); 
    313 } 
     320 
     321    $fields = ob_get_clean(); 
     322 
     323    echo $fields; 
     324 
     325} 
     326add_action( 'edd_purchase_form_register_fields', 'edd_get_register_fields' ); 
    314327 
    315328 
     
    336349                <input type="hidden" name="edd-purchase-var" value="needs-to-login"/> 
    337350            </p> 
    338             <?php do_action('edd_purchase_form_login_fields'); // deprecated ?> 
    339351            <?php do_action('edd_checkout_login_fields_after'); ?>   
    340352        </fieldset><!--end #edd_login_fields--> 
     
    346358        </p>     
    347359    <?php 
    348     return ob_get_clean(); 
    349 } 
     360 
     361    $fields = ob_get_clean(); 
     362 
     363    echo $fields; 
     364} 
     365add_action( 'edd_purchase_form_login_fields', 'edd_get_login_fields' ); 
    350366 
    351367 
     
    452468 
    453469/** 
     470 * The checkout submit section 
     471 * 
     472 * @access      public 
     473 * @since       1.3.3 
     474 * @return      void 
     475 */ 
     476function edd_checkout_submit() { 
     477?> 
     478    <fieldset id="edd_purchase_submit"> 
     479        <p> 
     480            <?php do_action( 'edd_purchase_form_before_submit' ); ?> 
     481             
     482            <?php edd_checkout_hidden_fields(); ?> 
     483             
     484            <?php echo edd_checkout_button_purchase(); ?> 
     485             
     486            <?php do_action( 'edd_purchase_form_after_submit' ); ?> 
     487        </p> 
     488 
     489        <?php if( ! edd_is_ajax_enabled() ) { ?> 
     490            <p class="edd-cancel"><a href="javascript:history.go(-1)"><?php _e( 'Go back', 'edd' ); ?></a></p> 
     491        <?php } ?> 
     492 
     493    </fieldset> 
     494<?php    
     495} 
     496add_action( 'edd_purchase_form_after_cc_form', 'edd_checkout_submit', 100 ); 
     497 
     498 
     499/** 
    454500 * The checkout Next button 
    455501 * 
  • easy-digital-downloads/tags/1.3.2.1/includes/css/colorbox.css

    r579820 r621490  
    11/* 
    2     ColorBox Core Style: 
    3     The following CSS is consistent between example themes and should not be altered. 
     2    ColorBox Core Style: 
     3    The following CSS is consistent between example themes and should not be altered. 
    44*/ 
    55#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} 
     
    1616 
    1717/*  
    18     User Style: 
    19     Change the following styles to modify the appearance of ColorBox.  They are 
    20     ordered & tabbed in a way that represents the nesting of the generated HTML. 
     18    User Style: 
     19    Change the following styles to modify the appearance of ColorBox.  They are 
     20    ordered & tabbed in a way that represents the nesting of the generated HTML. 
    2121*/ 
    22 #cboxOverlay{background:#000;} 
     22#cboxOverlay{background:url(../../images/colorbox/overlay.png) repeat 0 0;} 
    2323#colorbox{} 
    24     #cboxTopLeft{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat 0 0;} 
    25     #cboxTopCenter{height:14px; background:url(../images/colorbox/border.png) repeat-x top left;} 
    26     #cboxTopRight{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat -36px 0;} 
    27     #cboxBottomLeft{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat 0 -32px;} 
    28     #cboxBottomCenter{height:43px; background:url(../images/colorbox/border.png) repeat-x bottom left;} 
    29     #cboxBottomRight{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat -36px -32px;} 
    30     #cboxMiddleLeft{width:14px; background:url(../images/colorbox/controls.png) repeat-y -175px 0;} 
    31     #cboxMiddleRight{width:14px; background:url(../images/colorbox/controls.png) repeat-y -211px 0;} 
    32     #cboxContent{background:#fff; overflow:visible;} 
    33         .cboxIframe{background:#fff;} 
    34         #cboxError{padding:50px; border:1px solid #ccc;} 
    35         #cboxLoadedContent{margin-bottom:5px;} 
    36         #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;} 
    37         #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;} 
    38         #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} 
    39         #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} 
    40          
    41         #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(../images/colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;} 
    42         #cboxPrevious{left:0px; background-position: -51px -25px;} 
    43         #cboxPrevious:hover{background-position:-51px 0px;} 
    44         #cboxNext{left:27px; background-position:-75px -25px;} 
    45         #cboxNext:hover{background-position:-75px 0px;} 
    46         #cboxClose{right:0; background-position:-100px -25px;} 
    47         #cboxClose:hover{background-position:-100px 0px;} 
    48          
    49         .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} 
    50         .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;} 
    51         .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} 
    52         .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;} 
     24    #cboxTopLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -101px 0;} 
     25    #cboxTopRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -130px 0;} 
     26    #cboxBottomLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -101px -29px;} 
     27    #cboxBottomRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -130px -29px;} 
     28    #cboxMiddleLeft{width:21px; background:url(../images/colorbox/controls.png) left top repeat-y;} 
     29    #cboxMiddleRight{width:21px; background:url(../images/colorbox/controls.png) right top repeat-y;} 
     30    #cboxTopCenter{height:21px; background:url(../images/colorbox/border.png) 0 0 repeat-x;} 
     31    #cboxBottomCenter{height:21px; background:url(../images/colorbox/border.png) 0 -29px repeat-x;} 
     32    #cboxContent{background:#fff; overflow:hidden;} 
     33        .cboxIframe{background:#fff;} 
     34        #cboxError{padding:50px; border:1px solid #ccc;} 
     35        #cboxLoadedContent{margin-bottom:28px;} 
     36        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} 
     37        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} 
     38        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} 
     39        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(../images/colorbox/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;} 
     40        #cboxPrevious:hover{background-position:-75px -25px;} 
     41        #cboxNext{position:absolute; bottom:0; left:27px; background:url(../images/colorbox/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;} 
     42        #cboxNext:hover{background-position:-50px -25px;} 
     43        #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;} 
     44        #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;} 
     45        #cboxClose{position:absolute; bottom:0; right:0; background:url(../images/colorbox/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;} 
     46        #cboxClose:hover{background-position:-25px -25px;} 
     47 
     48/* 
     49  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill 
     50  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9. 
     51  See: http://jacklmoore.com/notes/ie-transparency-problems/ 
     52*/ 
     53.cboxIE #cboxTopLeft, 
     54.cboxIE #cboxTopCenter, 
     55.cboxIE #cboxTopRight, 
     56.cboxIE #cboxBottomLeft, 
     57.cboxIE #cboxBottomCenter, 
     58.cboxIE #cboxBottomRight, 
     59.cboxIE #cboxMiddleLeft, 
     60.cboxIE #cboxMiddleRight { 
     61    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); 
     62} 
     63 
     64/* 
     65  The following provides PNG transparency support for IE6 
     66  Feel free to remove this and the /ie6/ directory if you have dropped IE6 support. 
     67*/ 
     68.cboxIE6 #cboxTopLeft{background:url(../images/colorbox/ie6/borderTopLeft.png);} 
     69.cboxIE6 #cboxTopCenter{background:url(../images/colorbox/ie6/borderTopCenter.png);} 
     70.cboxIE6 #cboxTopRight{background:url(../images/colorbox/ie6/borderTopRight.png);} 
     71.cboxIE6 #cboxBottomLeft{background:url(../images/colorbox/ie6/borderBottomLeft.png);} 
     72.cboxIE6 #cboxBottomCenter{background:url(../images/colorbox/ie6/borderBottomCenter.png);} 
     73.cboxIE6 #cboxBottomRight{background:url(../images/colorbox/ie6/borderBottomRight.png);} 
     74.cboxIE6 #cboxMiddleLeft{background:url(../images/colorbox/ie6/borderMiddleLeft.png);} 
     75.cboxIE6 #cboxMiddleRight{background:url(../images/colorbox/ie6/borderMiddleRight.png);} 
     76 
     77.cboxIE6 #cboxTopLeft, 
     78.cboxIE6 #cboxTopCenter, 
     79.cboxIE6 #cboxTopRight, 
     80.cboxIE6 #cboxBottomLeft, 
     81.cboxIE6 #cboxBottomCenter, 
     82.cboxIE6 #cboxBottomRight, 
     83.cboxIE6 #cboxMiddleLeft, 
     84.cboxIE6 #cboxMiddleRight { 
     85    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')"); 
     86} 
  • easy-digital-downloads/tags/1.3.2.1/includes/discount-functions.php

    r619594 r621490  
    492492    } else {  
    493493        // percentage discount 
    494         $discounted_price = $base_price - ( $base_price * ( $rate / 100 ) ); 
     494        $discounted_price = number_format( $base_price - ( $base_price * ( $rate / 100 ) ), 2 ); 
    495495    } 
    496496    return apply_filters( 'edd_discounted_amount', $discounted_price ); 
  • easy-digital-downloads/tags/1.3.2.1/includes/email-functions.php

    r611052 r621490  
    7575        $admin_message .= $download_list . "\n"; 
    7676        $admin_message .= __('Purchased by: ', 'edd') . " " . html_entity_decode( $name, ENT_COMPAT, 'UTF-8' ) . "\n"; 
    77         $admin_message .= __('Amount: ', 'edd') . " " . html_entity_decode( edd_currency_filter( $payment_data['amount'] ), ENT_COMPAT, 'UTF-8' ) . "\n\n"; 
     77        $admin_message .= __('Amount: ', 'edd') . " " . html_entity_decode( edd_currency_filter( edd_format_amount( $payment_data['amount'] ) ), ENT_COMPAT, 'UTF-8' ) . "\n\n"; 
    7878        $admin_message .= __('Payment Method: ', 'edd') . " " . $gateway . "\n\n"; 
    7979        $admin_message .= __('Thank you', 'edd'); 
  • easy-digital-downloads/tags/1.3.2.1/includes/formatting.php

    r619594 r621490  
    3636 
    3737        $amount = str_replace( $decimal_sep, '.', $amount ); 
     38         
     39        // make sure we don't have more than 2 decimals 
     40        $amount = number_format( $amount, 2 ); 
    3841    } 
    3942 
  • easy-digital-downloads/tags/1.3.2.1/includes/js/jquery.colorbox-min.js

    r579815 r621490  
    1 // ColorBox v1.3.19.3 - jQuery lightbox plugin 
    2 // (c) 2011 Jack Moore - jacklmoore.com 
     1// ColorBox v1.3.20.1 - jQuery lightbox plugin 
     2// (c) 2012 Jack Moore - jacklmoore.com 
    33// License: http://www.opensource.org/licenses/mit-license.php 
    4 (function(a,b,c){function Z(c,d,e){var g=b.createElement(c);return d&&(g.id=f+d),e&&(g.style.cssText=e),a(g)}function $(a){var b=y.length,c=(Q+a)%b;return c<0?b+c:c}function _(a,b){return Math.round((/%/.test(a)?(b==="x"?z.width():z.height())/100:1)*parseInt(a,10))}function ab(a){return K.photo||/\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(a)}function bb(){var b,c=a.data(P,e);c==null?(K=a.extend({},d),console&&console.log&&console.log("Error: cboxElement missing settings object")):K=a.extend({},c);for(b in K)a.isFunction(K[b])&&b.slice(0,2)!=="on"&&(K[b]=K[b].call(P));K.rel=K.rel||P.rel||"nofollow",K.href=K.href||a(P).attr("href"),K.title=K.title||P.title,typeof K.href=="string"&&(K.href=a.trim(K.href))}function cb(b,c){a.event.trigger(b),c&&c.call(P)}function db(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;K.slideshow&&y[1]?(d=function(){F.text(K.slideshowStop).unbind(c).bind(j,function(){if(K.loop||y[Q+1])a=setTimeout(W.next,K.slideshowSpeed)}).bind(i,function(){clearTimeout(a)}).one(c+" "+k,e),r.removeClass(b+"off").addClass(b+"on"),a=setTimeout(W.next,K.slideshowSpeed)},e=function(){clearTimeout(a),F.text(K.slideshowStart).unbind([j,i,k,c].join(" ")).one(c,function(){W.next(),d()}),r.removeClass(b+"on").addClass(b+"off")},K.slideshowAuto?d():e()):r.removeClass(b+"off "+b+"on")}function eb(b){U||(P=b,bb(),y=a(P),Q=0,K.rel!=="nofollow"&&(y=a("."+g).filter(function(){var b=a.data(this,e),c;return b&&(c=b.rel||this.rel),c===K.rel}),Q=y.index(P),Q===-1&&(y=y.add(P),Q=y.length-1)),S||(S=T=!0,r.show(),K.returnFocus&&a(P).blur().one(l,function(){a(this).focus()}),q.css({opacity:+K.opacity,cursor:K.overlayClose?"pointer":"auto"}).show(),K.w=_(K.initialWidth,"x"),K.h=_(K.initialHeight,"y"),W.position(),o&&z.bind("resize."+p+" scroll."+p,function(){q.css({width:z.width(),height:z.height(),top:z.scrollTop(),left:z.scrollLeft()})}).trigger("resize."+p),cb(h,K.onOpen),J.add(D).hide(),I.html(K.close).show()),W.load(!0))}function fb(){!r&&b.body&&(Y=!1,z=a(c),r=Z(X).attr({id:e,"class":n?f+(o?"IE6":"IE"):""}).hide(),q=Z(X,"Overlay",o?"position:absolute":"").hide(),s=Z(X,"Wrapper"),t=Z(X,"Content").append(A=Z(X,"LoadedContent","width:0; height:0; overflow:hidden"),C=Z(X,"LoadingOverlay").add(Z(X,"LoadingGraphic")),D=Z(X,"Title"),E=Z(X,"Current"),G=Z(X,"Next"),H=Z(X,"Previous"),F=Z(X,"Slideshow").bind(h,db),I=Z(X,"Close")),s.append(Z(X).append(Z(X,"TopLeft"),u=Z(X,"TopCenter"),Z(X,"TopRight")),Z(X,!1,"clear:left").append(v=Z(X,"MiddleLeft"),t,w=Z(X,"MiddleRight")),Z(X,!1,"clear:left").append(Z(X,"BottomLeft"),x=Z(X,"BottomCenter"),Z(X,"BottomRight"))).find("div div").css({"float":"left"}),B=Z(X,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),J=G.add(H).add(E).add(F),a(b.body).append(q,r.append(s,B)))}function gb(){return r?(Y||(Y=!0,L=u.height()+x.height()+t.outerHeight(!0)-t.height(),M=v.width()+w.width()+t.outerWidth(!0)-t.width(),N=A.outerHeight(!0),O=A.outerWidth(!0),r.css({"padding-bottom":L,"padding-right":M}),G.click(function(){W.next()}),H.click(function(){W.prev()}),I.click(function(){W.close()}),q.click(function(){K.overlayClose&&W.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;S&&K.escKey&&b===27&&(a.preventDefault(),W.close()),S&&K.arrowKey&&y[1]&&(b===37?(a.preventDefault(),H.click()):b===39&&(a.preventDefault(),G.click()))}),a("."+g,b).live("click",function(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||(a.preventDefault(),eb(this))})),!0):!1}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},e="colorbox",f="cbox",g=f+"Element",h=f+"_open",i=f+"_load",j=f+"_complete",k=f+"_cleanup",l=f+"_closed",m=f+"_purge",n=!a.support.opacity&&!a.support.style,o=n&&!c.XMLHttpRequest,p=f+"_IE6",q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X="div",Y;if(a.colorbox)return;a(fb),W=a.fn[e]=a[e]=function(b,c){var f=this;b=b||{},fb();if(gb()){if(!f[0]){if(f.selector)return f;f=a("<a/>"),b.open=!0}c&&(b.onComplete=c),f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b))}).addClass(g),(a.isFunction(b.open)&&b.open.call(f)||b.open)&&eb(f[0])}return f},W.position=function(a,b){function i(a){u[0].style.width=x[0].style.width=t[0].style.width=a.style.width,t[0].style.height=v[0].style.height=w[0].style.height=a.style.height}var c=0,d=0,e=r.offset(),g,h;z.unbind("resize."+f),r.css({top:-9e4,left:-9e4}),g=z.scrollTop(),h=z.scrollLeft(),K.fixed&&!o?(e.top-=g,e.left-=h,r.css({position:"fixed"})):(c=g,d=h,r.css({position:"absolute"})),K.right!==!1?d+=Math.max(z.width()-K.w-O-M-_(K.right,"x"),0):K.left!==!1?d+=_(K.left,"x"):d+=Math.round(Math.max(z.width()-K.w-O-M,0)/2),K.bottom!==!1?c+=Math.max(z.height()-K.h-N-L-_(K.bottom,"y"),0):K.top!==!1?c+=_(K.top,"y"):c+=Math.round(Math.max(z.height()-K.h-N-L,0)/2),r.css({top:e.top,left:e.left}),a=r.width()===K.w+O&&r.height()===K.h+N?0:a||0,s[0].style.width=s[0].style.height="9999px",r.dequeue().animate({width:K.w+O,height:K.h+N,top:c,left:d},{duration:a,complete:function(){i(this),T=!1,s[0].style.width=K.w+O+M+"px",s[0].style.height=K.h+N+L+"px",K.reposition&&setTimeout(function(){z.bind("resize."+f,W.position)},1),b&&b()},step:function(){i(this)}})},W.resize=function(a){S&&(a=a||{},a.width&&(K.w=_(a.width,"x")-O-M),a.innerWidth&&(K.w=_(a.innerWidth,"x")),A.css({width:K.w}),a.height&&(K.h=_(a.height,"y")-N-L),a.innerHeight&&(K.h=_(a.innerHeight,"y")),!a.innerHeight&&!a.height&&(A.css({height:"auto"}),K.h=A.height()),A.css({height:K.h}),W.position(K.transition==="none"?0:K.speed))},W.prep=function(b){function g(){return K.w=K.w||A.width(),K.w=K.mw&&K.mw<K.w?K.mw:K.w,K.w}function h(){return K.h=K.h||A.height(),K.h=K.mh&&K.mh<K.h?K.mh:K.h,K.h}if(!S)return;var c,d=K.transition==="none"?0:K.speed;A.remove(),A=Z(X,"LoadedContent").append(b),A.hide().appendTo(B.show()).css({width:g(),overflow:K.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(t),B.hide(),a(R).css({"float":"none"}),o&&a("select").not(r.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(k,function(){this.style.visibility="inherit"}),c=function(){function s(){n&&r[0].style.removeAttribute("filter")}var b,c,g=y.length,h,i="frameBorder",k="allowTransparency",l,o,p,q;if(!S)return;l=function(){clearTimeout(V),C.hide(),cb(j,K.onComplete)},n&&R&&A.fadeIn(100),D.html(K.title).add(A).show();if(g>1){typeof K.current=="string"&&E.html(K.current.replace("{current}",Q+1).replace("{total}",g)).show(),G[K.loop||Q<g-1?"show":"hide"]().html(K.next),H[K.loop||Q?"show":"hide"]().html(K.previous),K.slideshow&&F.show();if(K.preloading){b=[$(-1),$(1)];while(c=y[b.pop()])q=a.data(c,e),q&&q.href?(o=q.href,a.isFunction(o)&&(o=o.call(c))):o=c.href,ab(o)&&(p=new Image,p.src=o)}}else J.hide();K.iframe?(h=Z("iframe")[0],i in h&&(h[i]=0),k in h&&(h[k]="true"),h.name=f+ +(new Date),K.fastIframe?l():a(h).one("load",l),h.src=K.href,K.scrolling||(h.scrolling="no"),a(h).addClass(f+"Iframe").appendTo(A).one(m,function(){h.src="//about:blank"})):l(),K.transition==="fade"?r.fadeTo(d,1,s):s()},K.transition==="fade"?r.fadeTo(d,0,function(){W.position(0,c)}):W.position(d,c)},W.load=function(b){var c,d,e=W.prep;T=!0,R=!1,P=y[Q],b||bb(),cb(m),cb(i,K.onLoad),K.h=K.height?_(K.height,"y")-N-L:K.innerHeight&&_(K.innerHeight,"y"),K.w=K.width?_(K.width,"x")-O-M:K.innerWidth&&_(K.innerWidth,"x"),K.mw=K.w,K.mh=K.h,K.maxWidth&&(K.mw=_(K.maxWidth,"x")-O-M,K.mw=K.w&&K.w<K.mw?K.w:K.mw),K.maxHeight&&(K.mh=_(K.maxHeight,"y")-N-L,K.mh=K.h&&K.h<K.mh?K.h:K.mh),c=K.href,V=setTimeout(function(){C.show()},100),K.inline?(Z(X).hide().insertBefore(a(c)[0]).one(m,function(){a(this).replaceWith(A.children())}),e(a(c))):K.iframe?e(" "):K.html?e(K.html):ab(c)?(a(R=new Image).addClass(f+"Photo").error(function(){K.title=!1,e(Z(X,"Error").html(K.imgError))}).load(function(){var a;R.onload=null,K.scalePhotos&&(d=function(){R.height-=R.height*a,R.width-=R.width*a},K.mw&&R.width>K.mw&&(a=(R.width-K.mw)/R.width,d()),K.mh&&R.height>K.mh&&(a=(R.height-K.mh)/R.height,d())),K.h&&(R.style.marginTop=Math.max(K.h-R.height,0)/2+"px"),y[1]&&(K.loop||y[Q+1])&&(R.style.cursor="pointer",R.onclick=function(){W.next()}),n&&(R.style.msInterpolationMode="bicubic"),setTimeout(function(){e(R)},1)}),setTimeout(function(){R.src=c},1)):c&&B.load(c,K.data,function(b,c,d){e(c==="error"?Z(X,"Error").html(K.xhrError):a(this).contents())})},W.next=function(){!T&&y[1]&&(K.loop||y[Q+1])&&(Q=$(1),W.load())},W.prev=function(){!T&&y[1]&&(K.loop||Q)&&(Q=$(-1),W.load())},W.close=function(){S&&!U&&(U=!0,S=!1,cb(k,K.onCleanup),z.unbind("."+f+" ."+p),q.fadeTo(200,0),r.stop().fadeTo(300,0,function(){r.add(q).css({opacity:1,cursor:"auto"}).hide(),cb(m),A.remove(),setTimeout(function(){U=!1,cb(l,K.onClosed)},1)}))},W.remove=function(){a([]).add(r).add(q).remove(),r=null,a("."+g).removeData(e).removeClass(g).die()},W.element=function(){return a(P)},W.settings=d})(jQuery,document,this); 
     4(function(e,t,n){function G(n,r,i){var o=t.createElement(n);return r&&(o.id=s+r),i&&(o.style.cssText=i),e(o)}function Y(e){var t=T.length,n=(U+e)%t;return n<0?t+n:n}function Z(e,t){return Math.round((/%/.test(e)?(t==="x"?tt():nt())/100:1)*parseInt(e,10))}function et(e){return B.photo||/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i.test(e)}function tt(){return n.innerWidth||N.width()}function nt(){return n.innerHeight||N.height()}function rt(){var t,n=e.data(R,i);n==null?(B=e.extend({},r),console&&console.log&&console.log("Error: cboxElement missing settings object")):B=e.extend({},n);for(t in B)e.isFunction(B[t])&&t.slice(0,2)!=="on"&&(B[t]=B[t].call(R));B.rel=B.rel||R.rel||"nofollow",B.href=B.href||e(R).attr("href"),B.title=B.title||R.title,typeof B.href=="string"&&(B.href=e.trim(B.href))}function it(t,n){e.event.trigger(t),n&&n.call(R)}function st(){var e,t=s+"Slideshow_",n="click."+s,r,i,o;B.slideshow&&T[1]?(r=function(){M.text(B.slideshowStop).unbind(n).bind(f,function(){if(B.loop||T[U+1])e=setTimeout(J.next,B.slideshowSpeed)}).bind(a,function(){clearTimeout(e)}).one(n+" "+l,i),g.removeClass(t+"off").addClass(t+"on"),e=setTimeout(J.next,B.slideshowSpeed)},i=function(){clearTimeout(e),M.text(B.slideshowStart).unbind([f,a,l,n].join(" ")).one(n,function(){J.next(),r()}),g.removeClass(t+"on").addClass(t+"off")},B.slideshowAuto?r():i()):g.removeClass(t+"off "+t+"on")}function ot(t){V||(R=t,rt(),T=e(R),U=0,B.rel!=="nofollow"&&(T=e("."+o).filter(function(){var t=e.data(this,i),n;return t&&(n=t.rel||this.rel),n===B.rel}),U=T.index(R),U===-1&&(T=T.add(R),U=T.length-1)),W||(W=X=!0,g.show(),B.returnFocus&&e(R).blur().one(c,function(){e(this).focus()}),m.css({opacity:+B.opacity,cursor:B.overlayClose?"pointer":"auto"}).show(),B.w=Z(B.initialWidth,"x"),B.h=Z(B.initialHeight,"y"),J.position(),d&&N.bind("resize."+v+" scroll."+v,function(){m.css({width:tt(),height:nt(),top:N.scrollTop(),left:N.scrollLeft()})}).trigger("resize."+v),it(u,B.onOpen),H.add(A).hide(),P.html(B.close).show()),J.load(!0))}function ut(){!g&&t.body&&(Q=!1,N=e(n),g=G(K).attr({id:i,"class":p?s+(d?"IE6":"IE"):""}).hide(),m=G(K,"Overlay",d?"position:absolute":"").hide(),L=G(K,"LoadingOverlay").add(G(K,"LoadingGraphic")),y=G(K,"Wrapper"),b=G(K,"Content").append(C=G(K,"LoadedContent","width:0; height:0; overflow:hidden"),A=G(K,"Title"),O=G(K,"Current"),_=G(K,"Next"),D=G(K,"Previous"),M=G(K,"Slideshow").bind(u,st),P=G(K,"Close")),y.append(G(K).append(G(K,"TopLeft"),w=G(K,"TopCenter"),G(K,"TopRight")),G(K,!1,"clear:left").append(E=G(K,"MiddleLeft"),b,S=G(K,"MiddleRight")),G(K,!1,"clear:left").append(G(K,"BottomLeft"),x=G(K,"BottomCenter"),G(K,"BottomRight"))).find("div div").css({"float":"left"}),k=G(K,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),H=_.add(D).add(O).add(M),e(t.body).append(m,g.append(y,k)))}function at(){return g?(Q||(Q=!0,j=w.height()+x.height()+b.outerHeight(!0)-b.height(),F=E.width()+S.width()+b.outerWidth(!0)-b.width(),I=C.outerHeight(!0),q=C.outerWidth(!0),g.css({"padding-bottom":j,"padding-right":F}),_.click(function(){J.next()}),D.click(function(){J.prev()}),P.click(function(){J.close()}),m.click(function(){B.overlayClose&&J.close()}),e(t).bind("keydown."+s,function(e){var t=e.keyCode;W&&B.escKey&&t===27&&(e.preventDefault(),J.close()),W&&B.arrowKey&&T[1]&&(t===37?(e.preventDefault(),D.click()):t===39&&(e.preventDefault(),_.click()))}),e("."+o,t).live("click",function(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||(e.preventDefault(),ot(this))})),!0):!1}var r={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},i="colorbox",s="cbox",o=s+"Element",u=s+"_open",a=s+"_load",f=s+"_complete",l=s+"_cleanup",c=s+"_closed",h=s+"_purge",p=!e.support.opacity&&!e.support.style,d=p&&!n.XMLHttpRequest,v=s+"_IE6",m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K="div",Q;if(e.colorbox)return;e(ut),J=e.fn[i]=e[i]=function(t,n){var s=this;t=t||{},ut();if(at()){if(!s[0]){if(s.selector)return s;s=e("<a/>"),t.open=!0}n&&(t.onComplete=n),s.each(function(){e.data(this,i,e.extend({},e.data(this,i)||r,t))}).addClass(o),(e.isFunction(t.open)&&t.open.call(s)||t.open)&&ot(s[0])}return s},J.position=function(e,t){function f(e){w[0].style.width=x[0].style.width=b[0].style.width=e.style.width,b[0].style.height=E[0].style.height=S[0].style.height=e.style.height}var n,r=0,i=0,o=g.offset(),u,a;N.unbind("resize."+s),g.css({top:-9e4,left:-9e4}),u=N.scrollTop(),a=N.scrollLeft(),B.fixed&&!d?(o.top-=u,o.left-=a,g.css({position:"fixed"})):(r=u,i=a,g.css({position:"absolute"})),B.right!==!1?i+=Math.max(tt()-B.w-q-F-Z(B.right,"x"),0):B.left!==!1?i+=Z(B.left,"x"):i+=Math.round(Math.max(tt()-B.w-q-F,0)/2),B.bottom!==!1?r+=Math.max(nt()-B.h-I-j-Z(B.bottom,"y"),0):B.top!==!1?r+=Z(B.top,"y"):r+=Math.round(Math.max(nt()-B.h-I-j,0)/2),g.css({top:o.top,left:o.left}),e=g.width()===B.w+q&&g.height()===B.h+I?0:e||0,y[0].style.width=y[0].style.height="9999px",n={width:B.w+q,height:B.h+I,top:r,left:i},e===0&&g.css(n),g.dequeue().animate(n,{duration:e,complete:function(){f(this),X=!1,y[0].style.width=B.w+q+F+"px",y[0].style.height=B.h+I+j+"px",B.reposition&&setTimeout(function(){N.bind("resize."+s,J.position)},1),t&&t()},step:function(){f(this)}})},J.resize=function(e){W&&(e=e||{},e.width&&(B.w=Z(e.width,"x")-q-F),e.innerWidth&&(B.w=Z(e.innerWidth,"x")),C.css({width:B.w}),e.height&&(B.h=Z(e.height,"y")-I-j),e.innerHeight&&(B.h=Z(e.innerHeight,"y")),!e.innerHeight&&!e.height&&(C.css({height:"auto"}),B.h=C.height()),C.css({height:B.h}),J.position(B.transition==="none"?0:B.speed))},J.prep=function(t){function o(){return B.w=B.w||C.width(),B.w=B.mw&&B.mw<B.w?B.mw:B.w,B.w}function u(){return B.h=B.h||C.height(),B.h=B.mh&&B.mh<B.h?B.mh:B.h,B.h}if(!W)return;var n,r=B.transition==="none"?0:B.speed;C.remove(),C=G(K,"LoadedContent").append(t),C.hide().appendTo(k.show()).css({width:o(),overflow:B.scrolling?"auto":"hidden"}).css({height:u()}).prependTo(b),k.hide(),e(z).css({"float":"none"}),d&&e("select").not(g.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(l,function(){this.style.visibility="inherit"}),n=function(){function y(){p&&g[0].style.removeAttribute("filter")}var t,n,o=T.length,u,a="frameBorder",l="allowTransparency",c,d,v,m;if(!W)return;c=function(){clearTimeout($),L.detach().hide(),it(f,B.onComplete)},p&&z&&C.fadeIn(100),A.html(B.title).add(C).show();if(o>1){typeof B.current=="string"&&O.html(B.current.replace("{current}",U+1).replace("{total}",o)).show(),_[B.loop||U<o-1?"show":"hide"]().html(B.next),D[B.loop||U?"show":"hide"]().html(B.previous),B.slideshow&&M.show();if(B.preloading){t=[Y(-1),Y(1)];while(n=T[t.pop()])m=e.data(n,i),m&&m.href?(d=m.href,e.isFunction(d)&&(d=d.call(n))):d=n.href,et(d)&&(v=new Image,v.src=d)}}else H.hide();B.iframe?(u=G("iframe")[0],a in u&&(u[a]=0),l in u&&(u[l]="true"),u.name=s+ +(new Date),B.fastIframe?c():e(u).one("load",c),u.src=B.href,B.scrolling||(u.scrolling="no"),e(u).addClass(s+"Iframe").appendTo(C).one(h,function(){u.src="//about:blank"})):c(),B.transition==="fade"?g.fadeTo(r,1,y):y()},B.transition==="fade"?g.fadeTo(r,0,function(){J.position(0,n)}):J.position(r,n)},J.load=function(t){var n,r,i=J.prep;X=!0,z=!1,R=T[U],t||rt(),it(h),it(a,B.onLoad),B.h=B.height?Z(B.height,"y")-I-j:B.innerHeight&&Z(B.innerHeight,"y"),B.w=B.width?Z(B.width,"x")-q-F:B.innerWidth&&Z(B.innerWidth,"x"),B.mw=B.w,B.mh=B.h,B.maxWidth&&(B.mw=Z(B.maxWidth,"x")-q-F,B.mw=B.w&&B.w<B.mw?B.w:B.mw),B.maxHeight&&(B.mh=Z(B.maxHeight,"y")-I-j,B.mh=B.h&&B.h<B.mh?B.h:B.mh),n=B.href,$=setTimeout(function(){L.show().appendTo(b)},100),B.inline?(G(K).hide().insertBefore(e(n)[0]).one(h,function(){e(this).replaceWith(C.children())}),i(e(n))):B.iframe?i(" "):B.html?i(B.html):et(n)?(e(z=new Image).addClass(s+"Photo").error(function(){B.title=!1,i(G(K,"Error").html(B.imgError))}).load(function(){var e;z.onload=null,B.scalePhotos&&(r=function(){z.height-=z.height*e,z.width-=z.width*e},B.mw&&z.width>B.mw&&(e=(z.width-B.mw)/z.width,r()),B.mh&&z.height>B.mh&&(e=(z.height-B.mh)/z.height,r())),B.h&&(z.style.marginTop=Math.max(B.h-z.height,0)/2+"px"),T[1]&&(B.loop||T[U+1])&&(z.style.cursor="pointer",z.onclick=function(){J.next()}),p&&(z.style.msInterpolationMode="bicubic"),setTimeout(function(){i(z)},1)}),setTimeout(function(){z.src=n},1)):n&&k.load(n,B.data,function(t,n,r){i(n==="error"?G(K,"Error").html(B.xhrError):e(this).contents())})},J.next=function(){!X&&T[1]&&(B.loop||T[U+1])&&(U=Y(1),J.load())},J.prev=function(){!X&&T[1]&&(B.loop||U)&&(U=Y(-1),J.load())},J.close=function(){W&&!V&&(V=!0,W=!1,it(l,B.onCleanup),N.unbind("."+s+" ."+v),m.fadeTo(200,0),g.stop().fadeTo(300,0,function(){g.add(m).css({opacity:1,cursor:"auto"}).hide(),it(h),C.remove(),setTimeout(function(){V=!1,it(c,B.onClosed)},1)}))},J.remove=function(){e([]).add(g).add(m).remove(),g=null,e("."+o).removeData(i).removeClass(o).die()},J.element=function(){return e(R)},J.settings=r})(jQuery,document,this); 
  • easy-digital-downloads/tags/1.3.2.1/includes/misc-functions.php

    r619594 r621490  
    732732        } 
    733733        // CHANGE __FILE__ PATH IF LOCATED OUTSIDE MAIN PLUGIN FILE 
    734         $plugin_data         = get_plugin_data( __FILE__ ); 
     734        $plugin_data         = get_plugin_data( EDD_PLUGIN_FILE ); 
    735735        $posts_with_comments = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type='post' AND comment_count > 0" ); 
    736736        $data                = array( 
  • easy-digital-downloads/tags/1.3.2.1/includes/scripts.php

    r619594 r621490  
    8484        $edd_css = str_replace( ABSPATH, '/', $edd_css ); 
    8585 
    86         wp_enqueue_style('edd-styles', $edd_css, EDD_VERSION); 
     86        wp_enqueue_style( 'edd-styles', $edd_css, EDD_VERSION ); 
    8787    } 
    8888} 
     
    121121    } 
    122122    if( $hook == $edd_settings_page ) { 
    123         wp_enqueue_style( 'colorbox', EDD_PLUGIN_URL . 'includes/css/colorbox.css'); 
    124         wp_enqueue_script( 'colorbox', EDD_PLUGIN_URL . 'includes/js/jquery.colorbox-min.js', array('jquery'), '1.3.19.3'); 
     123        wp_enqueue_style( 'colorbox', EDD_PLUGIN_URL . 'includes/css/colorbox.css', array(  ), '1.3.20' ); 
     124        wp_enqueue_script( 'colorbox', EDD_PLUGIN_URL . 'includes/js/jquery.colorbox-min.js', array( 'jquery' ), '1.3.20'); 
    125125    } 
    126126    wp_enqueue_script( 'media-upload' ); 
    127127    wp_enqueue_script( 'thickbox' ); 
    128     wp_enqueue_script( 'edd-admin-scripts', EDD_PLUGIN_URL . 'includes/js/admin-scripts.js' ); 
     128    wp_enqueue_script( 'edd-admin-scripts', EDD_PLUGIN_URL . 'includes/js/admin-scripts.js', array( 'jquery' ), EDD_VERSION, false ); 
    129129    wp_localize_script( 'edd-admin-scripts', 'edd_vars', array( 
    130130        'post_id'           => isset( $post->ID ) ? $post->ID : null, 
     
    141141    wp_enqueue_style( 'thickbox' ); 
    142142 
    143     wp_enqueue_style( 'edd-admin', EDD_PLUGIN_URL . 'includes/css/edd-admin.css' ); 
     143    wp_enqueue_style( 'edd-admin', EDD_PLUGIN_URL . 'includes/css/edd-admin.css', EDD_VERSION ); 
    144144} 
    145145add_action( 'admin_enqueue_scripts', 'edd_load_admin_scripts', 100 ); 
  • easy-digital-downloads/tags/1.3.2.1/includes/shortcodes.php

    r619594 r621490  
    277277    } 
    278278 
     279    $query['paged'] = get_query_var('paged'); 
     280 
     281 
    279282    switch( intval( $columns ) ) : 
    280283     
     
    333336                <?php if( $i % $columns == 0 ) { ?><div style="clear:both;"></div><?php } ?> 
    334337            <?php $i++; endwhile; ?> 
     338 
     339            <div style="clear:both;"></div> 
     340 
     341            <div id="edd_download_pagination" class="navigation"> 
     342                <?php 
     343                $big = 999999; 
     344                echo paginate_links( array( 
     345                    'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 
     346                    'format' => '?paged=%#%', 
     347                    'current' => max( 1, get_query_var('paged') ), 
     348                    'total' => $downloads->max_num_pages 
     349                ) ); 
     350                ?> 
     351            </div> 
    335352            <?php wp_reset_postdata(); ?> 
    336             <div style="clear:both;"></div> 
    337353        </div> 
    338354        <?php 
  • easy-digital-downloads/tags/1.3.2.1/includes/widgets.php

    r619594 r621490  
    282282} 
    283283add_action('widgets_init', 'edd_register_widgets'); 
    284  
    285  
    286 /** 
    287  * Register Dashboard Widgets 
    288  * 
    289  * Registers the dashboard widgets. 
    290  * 
    291  * @access      private 
    292  * @author      Sunny Ratilal 
    293  * @since       1.2.2 
    294 */ 
    295  
    296 function edd_register_dashboard_widgets() { 
    297  
    298     if ( current_user_can( apply_filters( 'edd_dashboard_stats_cap', 'edit_pages' ) ) ) { 
    299         wp_add_dashboard_widget( 'edd_dashboard_sales', __('Easy Digital Downloads Sales Summary', 'edd'), 'edd_dashboard_sales_widget' ); 
    300     } 
    301  
    302 } 
    303 add_action('wp_dashboard_setup', 'edd_register_dashboard_widgets' );  
    304  
    305  
    306 /** 
    307  * Sales Summary Dashboard Widget 
    308  * 
    309  * 
    310  * @access      private 
    311  * @author      Sunny Ratilal 
    312  * @since       1.2.2 
    313 */ 
    314  
    315 function edd_dashboard_sales_widget() { 
    316  
    317     $top_selling_args = array( 
    318         'post_type'              => 'download', 
    319         'posts_per_page'         => 1, 
    320         'post_status'            => 'publish', 
    321         'meta_key'               => '_edd_download_sales', 
    322         'meta_compare'           => '>', 
    323         'meta_value'             => 0, 
    324         'orderby'                => 'meta_value_num', 
    325         'cache_results'          => false, 
    326         'update_post_term_cache' => false, 
    327         'no_found_rows'          => true, 
    328         'order'                  => 'DESC' 
    329     ); 
    330  
    331     $top_selling_30_days_args = array( 
    332         'post_type'              => 'download', 
    333         'posts_per_page'         => 1, 
    334         'post_status'            => 'publish', 
    335         'meta_key'               => '_edd_download_sales', 
    336         'meta_compare'           => '>', 
    337         'meta_value'             => 0, 
    338         'orderby'                => 'meta_value_num', 
    339         'cache_results'          => false, 
    340         'update_post_term_cache' => false, 
    341         'no_found_rows'          => true, 
    342         'year'                   => date('Y'), 
    343         'monthnum'               => date('n'), 
    344         'order'                  => 'DESC' 
    345     ); 
    346  
    347     $top_selling = get_posts( $top_selling_args ); 
    348     $top_selling_30_days = get_posts( $top_selling_30_days_args ); 
    349  
    350     ?> 
    351     <div class="table table_current_month"> 
    352         <p class="sub"><?php _e('Current Month', 'edd') ?></p> 
    353         <table> 
    354             <tbody> 
    355                 <tr class="first"> 
    356                     <td class="first b"><?php echo edd_currency_filter( edd_format_amount( edd_get_earnings_by_date( null, date('n'), date('Y')) ) ); ?></td> 
    357                     <td class="t monthly_earnings"><?php _e('Earnings', 'edd'); ?></td> 
    358                 </tr> 
    359                 <tr> 
    360                     <td class="first b"><?php echo edd_get_sales_by_date( null, date('n'), date('Y') ); ?></td> 
    361                     <td class="t monthly_sales"><?php echo _n('Sale', 'Sales', edd_get_sales_by_date( null, date('n'), date('Y') ), 'edd'); ?></td> 
    362                 </tr> 
    363             </tbody> 
    364         </table> 
    365         <?php if ( $top_selling_30_days ) { 
    366             foreach( $top_selling_30_days as $list ) { ?> 
    367         <p class="best_selling_30_days label_heading"><?php _e('Best Selling in Last 30 Days', 'edd') ?></p> 
    368         <p><span class="best_selling_30_days_label"><?php echo edd_get_download_sales_stats( $list->ID ); ?></span> <a href="<?php echo get_permalink( $list->ID ) ?>"><?php echo get_the_title( $list->ID ); ?></a></p> 
    369         <?php } } ?> 
    370     </div> 
    371     <div class="table table_totals"> 
    372         <p class="sub"><?php _e('Totals', 'edd') ?></p> 
    373         <table> 
    374             <tbody> 
    375                 <tr class="first"> 
    376                     <td class="b b-earnings"><?php echo edd_get_total_earnings(); ?></td> 
    377                     <td class="last t earnings"><?php _e('Total Earnings', 'edd'); ?></td> 
    378                 </tr> 
    379                 <tr> 
    380                     <td class="b b-sales"><?php echo edd_get_total_sales(); ?></td> 
    381                     <td class="last t sales"><?php _e('Total Sales', 'edd'); ?></td> 
    382                 </tr> 
    383             </tbody> 
    384         </table> 
    385         <?php if ( $top_selling ) { 
    386             foreach( $top_selling as $list ) { ?> 
    387         <p class="lifetime_best_selling label_heading"><?php _e('Lifetime Best Selling', 'edd') ?></p> 
    388         <p><span class="lifetime_best_selling_label"><?php echo edd_get_download_sales_stats( $list->ID ); ?></span> <a href="<?php echo get_permalink( $list->ID ); ?>"><?php echo get_the_title( $list->ID ); ?></a></p> 
    389         <?php } } ?>         
    390     </div> 
    391     <div style="clear: both"></div> 
    392     <p class="edd_dashboard_widget_subheading"><?php _e( 'Recent Purchases', 'edd' ); ?></p> 
    393     <div class="table recent_purchases"> 
    394         <table> 
    395             <tbody> 
    396                 <?php 
    397                 $payments = edd_get_payments( array( 
    398                     'number'   => 5,  
    399                     'mode'     => 'live',  
    400                     'orderby'  => 'post_date',  
    401                     'order'    => 'DESC',  
    402                     'user'     => null,  
    403                     'status'   => 'completed',  
    404                     'meta_key' => null 
    405                 ) ); 
    406  
    407                 if ( $payments ) { 
    408                     foreach ( $payments as $payment ) { 
    409                         $payment_meta = edd_get_payment_meta( $payment->ID ); 
    410                 ?> 
    411                 <tr> 
    412                     <td><?php echo get_the_title( $payment->ID ) ?> - (<?php echo $payment_meta['email'] ?>) - <span class="edd_price_label"><?php echo edd_currency_filter( edd_format_amount( edd_get_payment_amount( $payment->ID ) ) ); ?></span> - <a href="#TB_inline?width=640&amp;inlineId=purchased-files-<?php echo $payment->ID; ?>" class="thickbox" title="<?php printf( __( 'Purchase Details for Payment #%s', 'edd' ), $payment->ID ); ?> "><?php _e( 'View Order Details', 'edd' ); ?></a> 
    413                         <div id="purchased-files-<?php echo $payment->ID; ?>" style="display:none;"> 
    414                             <?php  
    415                                 $cart_items = edd_get_payment_meta_cart_details( $payment->ID ); 
    416                                 if( empty( $cart_items ) || !$cart_items ) { 
    417                                     $cart_items = maybe_unserialize( $payment_meta['downloads'] ); 
    418                                 } 
    419                             ?> 
    420                             <h4><?php echo _n( __( 'Purchased File', 'edd' ), __( 'Purchased Files', 'edd' ), count( $cart_items ) ); ?></h4> 
    421                             <ul class="purchased-files-list"> 
    422                             <?php  
    423                                 if( $cart_items ) { 
    424                                     foreach( $cart_items as $key => $cart_item ) { 
    425                                         echo '<li>'; 
    426                                             $id = isset( $payment_meta['cart_details'] ) ? $cart_item['id'] : $cart_item; 
    427                                             $price_override = isset( $payment_meta['cart_details'] ) ? $cart_item['price'] : null;  
    428                                             $user_info = edd_get_payment_meta_user_info( $payment->ID ); 
    429                                             $price = edd_get_download_final_price( $id, $user_info, $price_override ); 
    430                                             echo '<a href="' . admin_url( 'post.php?post=' . $id . '&action=edit' ) . '" target="_blank">' . get_the_title( $id ) . '</a>'; 
    431                                             echo  ' - '; 
    432                                             if( isset( $cart_items[ $key ]['item_number'])) { 
    433                                                 $price_options = $cart_items[ $key ]['item_number']['options']; 
    434                                                 if( isset( $price_options['price_id'] ) ) { 
    435                                                     echo edd_get_price_option_name( $id, $price_options['price_id'] ); 
    436                                                     echo ' - '; 
    437                                                 } 
    438                                             }    
    439                                             echo edd_currency_filter( edd_format_amount( $price ) ); 
    440                                         echo '</li>'; 
    441                                     } 
    442                                 } 
    443                             ?> 
    444                             </ul> 
    445                             <?php $payment_date = strtotime( $payment->post_date ); ?> 
    446                             <p><?php echo __( 'Date and Time:', 'edd' ) . ' ' . date_i18n( get_option( 'date_format' ), $payment_date ) . ' ' . date_i18n( get_option( 'time_format' ), $payment_date ) ?> 
    447                             <p><?php echo __( 'Discount used:', 'edd' ) . ' '; if( isset( $user_info['discount'] ) && $user_info['discount'] != 'none' ) { echo $user_info['discount']; } else { _e( 'none', 'edd' ); } ?> 
    448                             <p><?php echo __( 'Total:', 'edd' ) . ' ' . edd_currency_filter( edd_format_amount( edd_get_payment_amount( $payment->ID ) ) ); ?></p> 
    449                              
    450                             <div class="purcase-personal-details"> 
    451                                 <h4><?php _e( 'Buyer\'s Personal Details:', 'edd' ); ?></h4> 
    452                                 <ul> 
    453                                     <li><?php echo __( 'Name:', 'edd' ) . ' ' . $user_info['first_name'] . ' ' . $user_info['last_name']; ?></li> 
    454                                     <li><?php echo __( 'Email:', 'edd' ) . ' ' . $payment_meta['email']; ?></li> 
    455                                     <?php do_action( 'edd_payment_personal_details_list', $payment_meta, $user_info ); ?> 
    456                                 </ul> 
    457                             </div> 
    458                             <?php 
    459                             $gateway = edd_get_payment_gateway( $payment->ID ); 
    460                             if( $gateway ) { ?> 
    461                             <div class="payment-method"> 
    462                                 <h4><?php _e('Payment Method:', 'edd'); ?></h4> 
    463                                 <span class="payment-method-name"><?php echo edd_get_gateway_admin_label( $gateway ); ?></span> 
    464                             </div> 
    465                             <?php } ?> 
    466                             <div class="purchase-key-wrap"> 
    467                                 <h4><?php _e('Purchase Key', 'edd'); ?></h4> 
    468                                 <span class="purchase-key"><?php echo $payment_meta['key']; ?></span> 
    469                             </div> 
    470                             <p><a id="edd-close-purchase-details" class="button-secondary" onclick="tb_remove();" title="<?php _e('Close', 'edd'); ?>"><?php _e('Close', 'edd'); ?></a></p> 
    471                         </div> 
    472                     </td> 
    473                 </tr> 
    474                 <?php } 
    475                 } ?> 
    476             </tbody> 
    477         </table> 
    478     </div> 
    479     <?php 
    480 } 
  • easy-digital-downloads/tags/1.3.2.1/languages/edd-fr_FR.po

    r619594 r621490  
    33"Project-Id-Version: Easy Digital Downloads v1.1.5.2\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2012-10-31 11:57+0100\n" 
    6 "PO-Revision-Date: 2012-10-31 12:00+0100\n" 
     5"POT-Creation-Date: 2012-11-05 15:28+0100\n" 
     6"PO-Revision-Date: 2012-11-05 15:30+0100\n" 
    77"Last-Translator: FxB <fx@fxbenard.com>\n" 
    88"Language-Team: FxB <fx@fxbenard.com>\n" 
     
    1414"X-Poedit-SourceCharset: UTF-8\n" 
    1515"X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_n;" 
    16 "_x;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
     16"_x;_n:1,2;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
    1717"X-Poedit-Basepath: ../\n" 
    1818"X-Textdomain-Support: yes\n" 
     
    2121 
    2222# @ edd 
     23#: easy-digital-downloads.php:28 includes/admin/reporting/pdf-reports.php:40 
     24#: includes/admin/reporting/pdf-reports.php:41 
     25msgid "Easy Digital Downloads" 
     26msgstr "Easy Digital Downloads" 
     27 
     28# @ edd 
     29#: easy-digital-downloads.php:29 
     30msgid "Serve Digital Downloads Through WordPress" 
     31msgstr "Offrir des Téléchargements Numériques dans WordPress" 
     32 
     33#: easy-digital-downloads.php:30 
     34msgid "Pippin Williamson" 
     35msgstr "Pippin Williamson" 
     36 
     37# @ edd 
     38#: easy-digital-downloads.php:31 
     39msgid "http://easydigitaldownloads.com/" 
     40msgstr "http://easydigitaldownloads.com/" 
     41 
     42# @ edd 
    2343#: includes/ajax-functions.php:103 
    2444msgid "This discount code has been used already" 
     
    3151 
    3252# @ edd 
    33 #: includes/cart-functions.php:408 
     53#: includes/cart-functions.php:428 
    3454#, php-format 
    3555msgid "You have successfully added %s to your shopping cart." 
     
    3757 
    3858# @ edd 
    39 #: includes/cart-functions.php:409 
     59#: includes/cart-functions.php:429 
    4060msgid "Checkout." 
    4161msgstr "Commander." 
     
    5878 
    5979# @ edd 
    60 #: includes/checkout-template.php:62 
     80#: includes/checkout-template.php:129 
    6181msgid "Personal Info" 
    6282msgstr "Info personnelle" 
    6383 
    6484# @ edd 
    65 #: includes/checkout-template.php:65 
     85#: includes/checkout-template.php:132 
    6686msgid "Email address" 
    6787msgstr "Adresse e-mail" 
    6888 
    6989# @ edd 
    70 #: includes/checkout-template.php:66 
     90#: includes/checkout-template.php:133 
    7191msgid "Email Address" 
    7292msgstr "Adresse e-mail" 
    7393 
    7494# @ edd 
    75 #: includes/checkout-template.php:70 includes/checkout-template.php:71 
    76 #: includes/checkout-template.php:301 includes/checkout-template.php:302 
     95#: includes/checkout-template.php:137 includes/checkout-template.php:138 
     96#: includes/checkout-template.php:309 includes/checkout-template.php:310 
    7797#: includes/admin/export-functions.php:23 
    7898msgid "First Name" 
     
    80100 
    81101# @ edd 
    82 #: includes/checkout-template.php:74 includes/checkout-template.php:305 
     102#: includes/checkout-template.php:141 includes/checkout-template.php:313 
    83103msgid "Last name" 
    84104msgstr "Nom" 
    85105 
    86106# @ edd 
    87 #: includes/checkout-template.php:75 includes/checkout-template.php:306 
     107#: includes/checkout-template.php:142 includes/checkout-template.php:314 
    88108#: includes/admin/export-functions.php:24 
    89109msgid "Last Name" 
     
    91111 
    92112# @ edd 
    93 #: includes/checkout-template.php:110 
    94 msgid "Go back" 
    95 msgstr "Retour" 
    96  
    97 # @ edd 
    98 #: includes/checkout-template.php:115 
    99 msgid "You must be logged in to complete your purchase" 
    100 msgstr "Vous devez être connecté afin de poursuivre l'achat" 
    101  
    102 # @ edd 
    103 #: includes/checkout-template.php:157 
     113#: includes/checkout-template.php:165 
    104114msgid "Credit Card Info" 
    105115msgstr "Infos carte de crédit" 
    106116 
    107117# @ edd 
    108 #: includes/checkout-template.php:159 
     118#: includes/checkout-template.php:167 
    109119msgid "Card name" 
    110120msgstr "Nom de la carte" 
    111121 
    112122# @ edd 
    113 #: includes/checkout-template.php:160 
     123#: includes/checkout-template.php:168 
    114124msgid "Name on the Card" 
    115125msgstr "Nom sur la carte" 
    116126 
    117127# @ edd 
    118 #: includes/checkout-template.php:163 
     128#: includes/checkout-template.php:171 
    119129msgid "Card number" 
    120130msgstr "Numéro de la carte" 
    121131 
    122132# @ edd 
    123 #: includes/checkout-template.php:164 
     133#: includes/checkout-template.php:172 
    124134msgid "Card Number" 
    125135msgstr "Numéro de la carte" 
    126136 
    127137# @ edd 
    128 #: includes/checkout-template.php:167 
     138#: includes/checkout-template.php:175 
    129139msgid "Security code" 
    130140msgstr "Code de sécurité" 
    131141 
    132142# @ edd 
    133 #: includes/checkout-template.php:168 
     143#: includes/checkout-template.php:176 
    134144msgid "CVC" 
    135145msgstr "CVC" 
    136146 
    137147# @ edd 
    138 #: includes/checkout-template.php:174 
     148#: includes/checkout-template.php:182 
    139149msgid "Month" 
    140150msgstr "Mois" 
    141151 
    142152# @ edd 
    143 #: includes/checkout-template.php:176 
     153#: includes/checkout-template.php:184 
    144154msgid "Year" 
    145155msgstr "Année" 
    146156 
    147157# @ edd 
    148 #: includes/checkout-template.php:177 
     158#: includes/checkout-template.php:185 
    149159msgid "Expiration (MM/YYYY)" 
    150160msgstr "Expiration (MM/AAAA)" 
    151161 
    152162# @ edd 
    153 #: includes/checkout-template.php:207 
     163#: includes/checkout-template.php:215 
    154164msgid "Address line 1" 
    155165msgstr "Adresse ligne 1" 
    156166 
    157167# @ edd 
    158 #: includes/checkout-template.php:208 
     168#: includes/checkout-template.php:216 
    159169msgid "Billing Address" 
    160170msgstr "Adresse de facturation" 
    161171 
    162172# @ edd 
    163 #: includes/checkout-template.php:211 
     173#: includes/checkout-template.php:219 
    164174msgid "Address line 2" 
    165175msgstr "Adresse ligne 2" 
    166176 
    167177# @ edd 
    168 #: includes/checkout-template.php:212 
     178#: includes/checkout-template.php:220 
    169179msgid "Billing Address Line 2" 
    170180msgstr "Adresse de facturation ligne 2" 
    171181 
    172182# @ edd 
    173 #: includes/checkout-template.php:215 
     183#: includes/checkout-template.php:223 
    174184msgid "City" 
    175185msgstr "Ville" 
    176186 
    177187# @ edd 
    178 #: includes/checkout-template.php:216 
     188#: includes/checkout-template.php:224 
    179189msgid "Billing City" 
    180190msgstr "Ville de facturation" 
    181191 
    182192# @ edd 
    183 #: includes/checkout-template.php:227 
     193#: includes/checkout-template.php:235 
    184194msgid "Billing Country" 
    185195msgstr "Pays de facturation" 
    186196 
    187197# @ edd 
    188 #: includes/checkout-template.php:230 
     198#: includes/checkout-template.php:238 
    189199msgid "State / Province" 
    190200msgstr "État / Province" 
    191201 
    192202# @ edd 
    193 #: includes/checkout-template.php:247 
     203#: includes/checkout-template.php:255 
    194204msgid "Billing State / Province" 
    195205msgstr "État / Province de facturation" 
    196206 
    197207# @ edd 
    198 #: includes/checkout-template.php:250 
     208#: includes/checkout-template.php:258 
    199209msgid "Zip / Postal code" 
    200210msgstr "Code postal" 
    201211 
    202212# @ edd 
    203 #: includes/checkout-template.php:251 
     213#: includes/checkout-template.php:259 
    204214msgid "Billing Zip / Postal Code" 
    205215msgstr "Code Postal" 
    206216 
    207217# @ edd 
    208 #: includes/checkout-template.php:278 
     218#: includes/checkout-template.php:286 
    209219msgid "Already have an account?" 
    210220msgstr "Vous avez déjà un compte ?" 
    211221 
    212222# @ edd 
    213 #: includes/checkout-template.php:278 includes/login-register.php:50 
     223#: includes/checkout-template.php:286 includes/login-register.php:50 
    214224msgid "Login" 
    215225msgstr "Se connecter" 
    216226 
    217227# @ edd 
    218 #: includes/checkout-template.php:280 
     228#: includes/checkout-template.php:288 
    219229msgid "Create an account" 
    220230msgstr "Créer un compte" 
    221231 
    222232# @ edd 
    223 #: includes/checkout-template.php:280 
     233#: includes/checkout-template.php:288 
    224234msgid "(optional)" 
    225235msgstr "(facultatif)" 
    226236 
    227237# @ edd 
    228 #: includes/checkout-template.php:283 includes/checkout-template.php:284 
    229 #: includes/checkout-template.php:331 includes/login-register.php:39 
     238#: includes/checkout-template.php:291 includes/checkout-template.php:292 
     239#: includes/checkout-template.php:344 includes/login-register.php:39 
    230240#: includes/login-register.php:40 
    231241msgid "Username" 
     
    233243 
    234244# @ edd 
    235 #: includes/checkout-template.php:287 includes/checkout-template.php:288 
    236 #: includes/checkout-template.php:335 includes/login-register.php:43 
     245#: includes/checkout-template.php:295 includes/checkout-template.php:296 
     246#: includes/checkout-template.php:348 includes/login-register.php:43 
    237247msgid "Password" 
    238248msgstr "Mot de passe" 
    239249 
    240250# @ edd 
    241 #: includes/checkout-template.php:291 
     251#: includes/checkout-template.php:299 
    242252msgid "Confirm password" 
    243253msgstr "Confirmer le mot de passe" 
    244254 
    245255# @ edd 
    246 #: includes/checkout-template.php:292 
     256#: includes/checkout-template.php:300 
    247257msgid "Password Again" 
    248258msgstr "Mot de passe à nouveau" 
    249259 
    250260# @ edd 
    251 #: includes/checkout-template.php:297 includes/checkout-template.php:298 
     261#: includes/checkout-template.php:305 includes/checkout-template.php:306 
    252262#: includes/admin/export-functions.php:22 
    253263#: includes/admin/payments/payments-history.php:138 
     
    258268 
    259269# @ edd 
    260 #: includes/checkout-template.php:327 
     270#: includes/checkout-template.php:340 
    261271msgid "Login to your account" 
    262272msgstr "Se connecter au compte" 
    263273 
    264274# @ edd 
    265 #: includes/checkout-template.php:330 
     275#: includes/checkout-template.php:343 
    266276msgid "Your username" 
    267277msgstr "Votre nom d'utilisateur" 
    268278 
    269279# @ edd 
    270 #: includes/checkout-template.php:334 
     280#: includes/checkout-template.php:347 
    271281msgid "Your password" 
    272282msgstr "Votre mot de passe" 
    273283 
    274284# @ edd 
    275 #: includes/checkout-template.php:342 
     285#: includes/checkout-template.php:354 
    276286msgid "Need to create an account?" 
    277287msgstr "Besoin de créer un compte ?" 
    278288 
    279289# @ edd 
    280 #: includes/checkout-template.php:344 
     290#: includes/checkout-template.php:356 
    281291msgid "Register" 
    282292msgstr "Enregistrer" 
    283293 
    284 #: includes/checkout-template.php:344 
     294#: includes/checkout-template.php:356 
    285295msgid "or checkout as a guest." 
    286296msgstr "ou commander en tant qu'invité." 
    287297 
    288298# @ edd 
    289 #: includes/checkout-template.php:370 
     299#: includes/checkout-template.php:386 
    290300msgid "Select payment method" 
    291301msgstr "Selectionner la méthode de paiement" 
    292302 
    293303# @ edd 
    294 #: includes/checkout-template.php:403 
     304#: includes/checkout-template.php:419 
    295305msgid "Enter discount" 
    296306msgstr "Entrer code de remise" 
    297307 
    298308# @ edd 
    299 #: includes/checkout-template.php:405 
     309#: includes/checkout-template.php:421 
    300310msgid "Discount" 
    301311msgstr "Remise" 
    302312 
    303313# @ edd 
    304 #: includes/checkout-template.php:407 
     314#: includes/checkout-template.php:423 
    305315msgid "Apply Discount" 
    306316msgstr "Appliquer la remise" 
    307317 
    308 #: includes/checkout-template.php:440 
     318#: includes/checkout-template.php:456 
    309319msgid "Show Terms" 
    310320msgstr "Afficher les conditions" 
    311321 
    312 #: includes/checkout-template.php:441 
     322#: includes/checkout-template.php:457 
    313323msgid "Hide Terms" 
    314324msgstr "Cacher les conditions" 
    315325 
    316 #: includes/checkout-template.php:444 
     326#: includes/checkout-template.php:460 
    317327msgid "Agree to Terms?" 
    318328msgstr "Accepter les conditions ?" 
    319329 
    320330# @ edd 
    321 #: includes/checkout-template.php:468 includes/admin/downloads/metabox.php:630 
     331#: includes/checkout-template.php:490 
     332msgid "Go back" 
     333msgstr "Retour" 
     334 
     335# @ edd 
     336#: includes/checkout-template.php:514 includes/admin/downloads/metabox.php:630 
    322337#: includes/admin/downloads/metabox.php:735 
    323338#: includes/admin/payments/payments-history.php:318 
     
    326341 
    327342# @ edd 
    328 #: includes/checkout-template.php:487 includes/shortcodes.php:28 
     343#: includes/checkout-template.php:533 includes/shortcodes.php:28 
    329344#: includes/template-functions.php:54 includes/admin/thickbox.php:61 
    330345#: includes/admin/downloads/dashboard-columns.php:55 
     
    15831598 
    15841599# @ edd 
    1585 #: includes/shortcodes.php:341 
     1600#: includes/shortcodes.php:357 
    15861601#, php-format 
    15871602msgctxt "download post type name" 
     
    16951710 
    16961711# @ edd 
    1697 #: includes/widgets.php:299 
     1712#: includes/admin/add-ons.php:43 
     1713msgid "Add Ons for Easy Digital Downloads" 
     1714msgstr "Modules complémentaires pour Easy Digital Downloads" 
     1715 
     1716#: includes/admin/add-ons.php:44 
     1717msgid "These add-ons extend the functionality of Easy Digital Downloads." 
     1718msgstr "" 
     1719"Ces modules complémentaires étendent les fonctionnalités d'Easy Digital " 
     1720"Downloads." 
     1721 
     1722#: includes/admin/add-ons.php:47 
     1723msgid "Browse All Extensions" 
     1724msgstr "Parcourir toutes les extensions" 
     1725 
     1726#: includes/admin/add-ons.php:74 
     1727msgid "" 
     1728"There was an error retrieving the extensions list from the server. Please " 
     1729"try again later." 
     1730msgstr "" 
     1731"Il semble y avoir une erreur lors de la récupération de la liste des " 
     1732"extensions sur le serveur. S'il vous plaît essayez de nouveau dans quelques " 
     1733"minutes." 
     1734 
     1735# @ edd 
     1736#: includes/admin/admin-notices.php:29 
     1737msgid "Discount code updated." 
     1738msgstr "Code de remise mis à jour." 
     1739 
     1740# @ edd 
     1741#: includes/admin/admin-notices.php:32 
     1742msgid "There was a problem updating your discount code, please try again." 
     1743msgstr "" 
     1744"Une erreur s'est produite lors de la mise à jour de votre code de remise, " 
     1745"veuillez réessayer." 
     1746 
     1747#: includes/admin/admin-notices.php:35 
     1748msgid "The payment has been deleted." 
     1749msgstr "Le paiement a été supprimé." 
     1750 
     1751#: includes/admin/admin-notices.php:38 
     1752msgid "The purchase receipt has been resent." 
     1753msgstr "La facture d'achat a été renvoyée." 
     1754 
     1755#: includes/admin/admin-notices.php:54 
     1756msgid "" 
     1757"There seems to be an issue with the server. Please try again in a few " 
     1758"minutes." 
     1759msgstr "" 
     1760"Il semble y avoir un problème avec le serveur. S'il vous plaît essayez de " 
     1761"nouveau dans quelques minutes." 
     1762 
     1763# @ edd 
     1764#: includes/admin/admin-pages.php:27 
     1765#: includes/admin/discounts/discount-codes.php:34 
     1766msgid "Discount Codes" 
     1767msgstr "Codes de remise" 
     1768 
     1769# @ edd 
     1770#: includes/admin/admin-pages.php:28 
     1771msgid "Earnings and Sales Reports" 
     1772msgstr "Rapports de revenus et de ventes" 
     1773 
     1774# @ edd 
     1775#: includes/admin/admin-pages.php:28 includes/admin/reporting/reports.php:35 
     1776msgid "Reports" 
     1777msgstr "Rapports" 
     1778 
     1779# @ edd 
     1780#: includes/admin/admin-pages.php:29 
     1781msgid "Easy Digital Download Settings" 
     1782msgstr "Réglages Easy Digital Download" 
     1783 
     1784# @ edd 
     1785#: includes/admin/admin-pages.php:29 
     1786msgid "Settings" 
     1787msgstr "Réglages" 
     1788 
     1789# @ edd 
     1790#: includes/admin/admin-pages.php:30 
     1791msgid "Easy Digital Download Add Ons" 
     1792msgstr "Modules Easy Digital Downloads" 
     1793 
     1794#: includes/admin/admin-pages.php:30 
     1795msgid "Add Ons" 
     1796msgstr "Modules complémentaires" 
     1797 
     1798#: includes/admin/admin-pages.php:31 
     1799msgid "EDD Upgrades" 
     1800msgstr "EDD Mises à jour" 
     1801 
     1802# @ edd 
     1803#: includes/admin/dashboard-widgets.php:27 
    16981804msgid "Easy Digital Downloads Sales Summary" 
    16991805msgstr "Résumé des ventes d'Easy Digital Downloads" 
    17001806 
    17011807# @ edd 
    1702 #: includes/widgets.php:352 
     1808#: includes/admin/dashboard-widgets.php:80 
    17031809msgid "Current Month" 
    17041810msgstr "Mois en cours" 
    17051811 
    17061812# @ edd 
    1707 #: includes/widgets.php:357 includes/admin/downloads/dashboard-columns.php:31 
     1813#: includes/admin/dashboard-widgets.php:85 
     1814#: includes/admin/downloads/dashboard-columns.php:31 
    17081815#: includes/admin/reporting/class-download-reports-table.php:40 
    1709 #: includes/admin/reporting/graphing.php:131 
     1816#: includes/admin/reporting/graphing.php:134 
    17101817#: includes/admin/reporting/pdf-reports.php:195 
    17111818#: includes/admin/reporting/reports.php:92 
     
    17141821 
    17151822# @ edd 
    1716 #: includes/widgets.php:361 
     1823#: includes/admin/dashboard-widgets.php:89 
    17171824msgid "Sale" 
    1718 msgstr "Vente" 
    1719  
    1720 #: includes/widgets.php:367 
    1721 msgid "Best Selling in Last 30 Days" 
    1722 msgstr "Meilleure vente des 30 derniers jours" 
    1723  
    1724 # @ edd 
    1725 #: includes/widgets.php:372 
     1825msgid_plural "Sales" 
     1826msgstr[0] "Vente" 
     1827msgstr[1] "Ventes" 
     1828 
     1829# @ edd 
     1830#: includes/admin/dashboard-widgets.php:104 
    17261831msgid "Totals" 
    17271832msgstr "Totaux" 
    17281833 
    17291834# @ edd 
    1730 #: includes/widgets.php:377 
     1835#: includes/admin/dashboard-widgets.php:109 
    17311836msgid "Total Earnings" 
    17321837msgstr "Total des gains" 
    17331838 
    17341839# @ edd 
    1735 #: includes/widgets.php:381 
     1840#: includes/admin/dashboard-widgets.php:113 
    17361841msgid "Total Sales" 
    17371842msgstr "Total des ventes" 
    17381843 
    1739 #: includes/widgets.php:387 
     1844#: includes/admin/dashboard-widgets.php:119 
    17401845msgid "Lifetime Best Selling" 
    1741 msgstr "Meilleures ventes" 
    1742  
    1743 # @ edd 
    1744 #: includes/widgets.php:392 
     1846msgstr "La meilleure vente de tous les temps" 
     1847 
     1848# @ edd 
     1849#: includes/admin/dashboard-widgets.php:124 
    17451850msgid "Recent Purchases" 
    17461851msgstr "Achats récents" 
    17471852 
    17481853# @ edd 
    1749 #: includes/widgets.php:412 includes/admin/payments/payments-history.php:196 
     1854#: includes/admin/dashboard-widgets.php:144 
     1855#: includes/admin/payments/payments-history.php:196 
    17501856#, php-format 
    17511857msgid "Purchase Details for Payment #%s" 
     
    17531859 
    17541860# @ edd 
    1755 #: includes/widgets.php:412 includes/admin/payments/payments-history.php:196 
     1861#: includes/admin/dashboard-widgets.php:144 
     1862#: includes/admin/payments/payments-history.php:196 
    17561863msgid "View Order Details" 
    17571864msgstr "Afficher les détails de la commande" 
    17581865 
    17591866# @ edd 
    1760 #: includes/widgets.php:420 includes/admin/payments/payments-history.php:204 
     1867#: includes/admin/dashboard-widgets.php:152 
     1868#: includes/admin/payments/payments-history.php:204 
    17611869msgid "Purchased File" 
    17621870msgstr "Fichier acheté" 
    17631871 
    17641872# @ edd 
    1765 #: includes/widgets.php:420 includes/admin/payments/payments-history.php:204 
     1873#: includes/admin/dashboard-widgets.php:152 
     1874#: includes/admin/payments/payments-history.php:204 
    17661875msgid "Purchased Files" 
    17671876msgstr "Fichiers achetés" 
    17681877 
    1769 #: includes/widgets.php:446 includes/admin/payments/payments-history.php:248 
     1878#: includes/admin/dashboard-widgets.php:178 
     1879#: includes/admin/payments/payments-history.php:248 
    17701880msgid "Date and Time:" 
    17711881msgstr "Date et Heure :" 
    17721882 
    17731883# @ edd 
    1774 #: includes/widgets.php:447 includes/admin/payments/payments-history.php:249 
     1884#: includes/admin/dashboard-widgets.php:179 
     1885#: includes/admin/payments/payments-history.php:249 
    17751886msgid "Discount used:" 
    17761887msgstr "Code de remise utilisé :" 
    17771888 
    17781889# @ edd 
    1779 #: includes/widgets.php:447 includes/admin/export-functions.php:93 
     1890#: includes/admin/dashboard-widgets.php:179 
     1891#: includes/admin/export-functions.php:93 
    17801892#: includes/admin/export-functions.php:101 
    17811893#: includes/admin/payments/payments-history.php:249 
     
    17841896 
    17851897# @ edd 
    1786 #: includes/widgets.php:448 includes/admin/payments/payments-history.php:250 
     1898#: includes/admin/dashboard-widgets.php:180 
     1899#: includes/admin/payments/payments-history.php:250 
    17871900msgid "Total:" 
    17881901msgstr "Total :" 
    17891902 
    17901903# @ edd 
    1791 #: includes/widgets.php:451 includes/admin/payments/payments-history.php:253 
     1904#: includes/admin/dashboard-widgets.php:183 
     1905#: includes/admin/payments/payments-history.php:253 
    17921906msgid "Buyer's Personal Details:" 
    17931907msgstr "Données personnelles de l'acheteur :" 
    17941908 
    17951909# @ edd 
    1796 #: includes/widgets.php:453 includes/admin/payments/payments-history.php:255 
     1910#: includes/admin/dashboard-widgets.php:185 
     1911#: includes/admin/payments/payments-history.php:255 
    17971912msgid "Name:" 
    17981913msgstr "Nom :" 
    17991914 
    18001915# @ edd 
    1801 #: includes/widgets.php:454 includes/admin/payments/payments-history.php:256 
     1916#: includes/admin/dashboard-widgets.php:186 
     1917#: includes/admin/payments/payments-history.php:256 
    18021918msgid "Email:" 
    18031919msgstr "E-mail :" 
    18041920 
    18051921# @ edd 
    1806 #: includes/widgets.php:462 includes/admin/payments/payments-history.php:265 
     1922#: includes/admin/dashboard-widgets.php:194 
     1923#: includes/admin/payments/payments-history.php:265 
    18071924msgid "Payment Method:" 
    18081925msgstr "Méthode de Paiement :" 
    18091926 
    18101927# @ edd 
    1811 #: includes/widgets.php:467 includes/admin/payments/payments-history.php:270 
     1928#: includes/admin/dashboard-widgets.php:199 
     1929#: includes/admin/payments/payments-history.php:270 
    18121930msgid "Purchase Key" 
    18131931msgstr "Clef d'achat" 
    18141932 
    18151933# @ edd 
    1816 #: includes/widgets.php:470 includes/admin/payments/edit-payment.php:92 
     1934#: includes/admin/dashboard-widgets.php:202 
     1935#: includes/admin/payments/edit-payment.php:92 
    18171936#: includes/admin/payments/payments-history.php:273 
    18181937msgid "Close" 
    18191938msgstr "Fermer" 
    1820  
    1821 # @ edd 
    1822 #: includes/admin/add-ons.php:43 
    1823 msgid "Add Ons for Easy Digital Downloads" 
    1824 msgstr "Modules complémentaires pour Easy Digital Downloads" 
    1825  
    1826 #: includes/admin/add-ons.php:44 
    1827 msgid "These add-ons extend the functionality of Easy Digital Downloads." 
    1828 msgstr "" 
    1829 "Ces modules complémentaires étendent les fonctionnalités d'Easy Digital " 
    1830 "Downloads." 
    1831  
    1832 #: includes/admin/add-ons.php:47 
    1833 msgid "Browse All Extensions" 
    1834 msgstr "Parcourir toutes les extensions" 
    1835  
    1836 #: includes/admin/add-ons.php:74 
    1837 msgid "" 
    1838 "There was an error retrieving the extensions list from the server. Please " 
    1839 "try again later." 
    1840 msgstr "" 
    1841 "Il semble y avoir une erreur lors de la récupération de la liste des " 
    1842 "extensions sur le serveur. S'il vous plaît essayez de nouveau dans quelques " 
    1843 "minutes." 
    1844  
    1845 # @ edd 
    1846 #: includes/admin/admin-notices.php:29 
    1847 msgid "Discount code updated." 
    1848 msgstr "Code de remise mis à jour." 
    1849  
    1850 # @ edd 
    1851 #: includes/admin/admin-notices.php:32 
    1852 msgid "There was a problem updating your discount code, please try again." 
    1853 msgstr "" 
    1854 "Une erreur s'est produite lors de la mise à jour de votre code de remise, " 
    1855 "veuillez réessayer." 
    1856  
    1857 #: includes/admin/admin-notices.php:35 
    1858 msgid "The payment has been deleted." 
    1859 msgstr "Le paiement a été supprimé." 
    1860  
    1861 #: includes/admin/admin-notices.php:38 
    1862 msgid "The purchase receipt has been resent." 
    1863 msgstr "La facture d'achat a été renvoyée." 
    1864  
    1865 #: includes/admin/admin-notices.php:54 
    1866 msgid "" 
    1867 "There seems to be an issue with the server. Please try again in a few " 
    1868 "minutes." 
    1869 msgstr "" 
    1870 "Il semble y avoir un problème avec le serveur. S'il vous plaît essayez de " 
    1871 "nouveau dans quelques minutes." 
    1872  
    1873 # @ edd 
    1874 #: includes/admin/admin-pages.php:27 
    1875 #: includes/admin/discounts/discount-codes.php:34 
    1876 msgid "Discount Codes" 
    1877 msgstr "Codes de remise" 
    1878  
    1879 # @ edd 
    1880 #: includes/admin/admin-pages.php:28 
    1881 msgid "Earnings and Sales Reports" 
    1882 msgstr "Rapports de revenus et de ventes" 
    1883  
    1884 # @ edd 
    1885 #: includes/admin/admin-pages.php:28 includes/admin/reporting/reports.php:35 
    1886 msgid "Reports" 
    1887 msgstr "Rapports" 
    1888  
    1889 # @ edd 
    1890 #: includes/admin/admin-pages.php:29 
    1891 msgid "Easy Digital Download Settings" 
    1892 msgstr "Réglages Easy Digital Download" 
    1893  
    1894 # @ edd 
    1895 #: includes/admin/admin-pages.php:29 
    1896 msgid "Settings" 
    1897 msgstr "Réglages" 
    1898  
    1899 # @ edd 
    1900 #: includes/admin/admin-pages.php:30 
    1901 msgid "Easy Digital Download Add Ons" 
    1902 msgstr "Modules Easy Digital Downloads" 
    1903  
    1904 #: includes/admin/admin-pages.php:30 
    1905 msgid "Add Ons" 
    1906 msgstr "Modules complémentaires" 
    1907  
    1908 #: includes/admin/admin-pages.php:31 
    1909 msgid "EDD Upgrades" 
    1910 msgstr "EDD Mises à jour" 
    19111939 
    19121940# @ edd 
     
    19461974# @ edd 
    19471975#: includes/admin/export-functions.php:30 
     1976#: includes/admin/export-functions.php:185 
    19481977#: includes/admin/downloads/dashboard-columns.php:33 
    19491978#: includes/admin/payments/payments-history.php:144 
     
    19842013 
    19852014#: includes/admin/export-functions.php:152 
     2015#: includes/admin/export-functions.php:245 
    19862016msgid "Export not allowed for non-administrators." 
    19872017msgstr "L'exportation n'est pas autorisé pour les non-administrateurs." 
     2018 
     2019# @ edd 
     2020#: includes/admin/export-functions.php:186 
     2021msgid "Downloaded by" 
     2022msgstr "Téléchargé par" 
     2023 
     2024# @ edd 
     2025#: includes/admin/export-functions.php:187 
     2026msgid "IP Address" 
     2027msgstr "Adresse IP" 
     2028 
     2029# @ edd 
     2030#: includes/admin/export-functions.php:188 
     2031msgid "File" 
     2032msgstr "Fichier" 
    19882033 
    19892034#: includes/admin/thickbox.php:29 includes/admin/thickbox.php:123 
     
    25492594#: includes/admin/downloads/dashboard-columns.php:30 
    25502595#: includes/admin/reporting/class-download-reports-table.php:39 
    2551 #: includes/admin/reporting/graphing.php:102 
     2596#: includes/admin/reporting/graphing.php:105 
    25522597#: includes/admin/reporting/pdf-reports.php:212 
    25532598msgid "Sales" 
     
    29152960msgstr "Bénéfice au fil du temps" 
    29162961 
    2917 #: includes/admin/reporting/graphing.php:203 
     2962#: includes/admin/reporting/graphing.php:206 
    29182963msgid "Total earnings for period shown: " 
    29192964msgstr "Total des gains pour la période choisie :" 
    29202965 
    29212966# @ edd 
    2922 #: includes/admin/reporting/graphing.php:220 
     2967#: includes/admin/reporting/graphing.php:223 
    29232968msgid "This Month" 
    29242969msgstr "Ce mois-ci" 
    29252970 
    29262971# @ edd 
    2927 #: includes/admin/reporting/graphing.php:221 
     2972#: includes/admin/reporting/graphing.php:224 
    29282973msgid "Last Month" 
    29292974msgstr "Le mois dernier" 
    29302975 
    2931 #: includes/admin/reporting/graphing.php:222 
     2976#: includes/admin/reporting/graphing.php:225 
    29322977msgid "This Quarter" 
    29332978msgstr "Ce trimestre" 
    29342979 
    29352980# @ edd 
    2936 #: includes/admin/reporting/graphing.php:223 
     2981#: includes/admin/reporting/graphing.php:226 
    29372982msgid "Last Quarter" 
    29382983msgstr "Le dernier trimestre" 
    29392984 
    29402985# @ edd 
    2941 #: includes/admin/reporting/graphing.php:224 
     2986#: includes/admin/reporting/graphing.php:227 
    29422987msgid "This Year" 
    29432988msgstr "Cette année" 
    29442989 
    29452990# @ edd 
    2946 #: includes/admin/reporting/graphing.php:225 
     2991#: includes/admin/reporting/graphing.php:228 
    29472992msgid "Last Year" 
    29482993msgstr "L'année dernière" 
    29492994 
    2950 #: includes/admin/reporting/graphing.php:226 
     2995#: includes/admin/reporting/graphing.php:229 
    29512996msgid "Other" 
    29522997msgstr "Autre" 
    29532998 
    29542999# @ edd 
    2955 #: includes/admin/reporting/graphing.php:254 
     3000#: includes/admin/reporting/graphing.php:257 
    29563001msgid "From" 
    29573002msgstr "De" 
    29583003 
    2959 #: includes/admin/reporting/graphing.php:260 
     3004#: includes/admin/reporting/graphing.php:263 
    29603005msgid "To" 
    29613006msgstr "À" 
    29623007 
    2963 #: includes/admin/reporting/graphing.php:274 
     3008#: includes/admin/reporting/graphing.php:277 
    29643009msgid "Filter" 
    29653010msgstr "Filtrer" 
     
    29763021"produits" 
    29773022 
    2978 # @ edd 
    2979 #: includes/admin/reporting/pdf-reports.php:40 
    2980 #: includes/admin/reporting/pdf-reports.php:41 
    2981 msgid "Easy Digital Downloads" 
    2982 msgstr "Easy Digital Downloads" 
    2983  
    29843023#: includes/admin/reporting/pdf-reports.php:55 
    29853024msgid "Date Range: " 
     
    31083147#: includes/admin/reporting/reports.php:206 
    31093148#: includes/admin/reporting/reports.php:218 
     3149#: includes/admin/reporting/reports.php:230 
    31103150msgid "Generate CSV" 
    31113151msgstr "Générer le CSV" 
     
    31193159msgstr "Télécharger la liste CSV de vos clients" 
    31203160 
     3161#: includes/admin/reporting/reports.php:225 
     3162msgid "Export Download History in CSV" 
     3163msgstr "Exporter l'historique des téléchargements au format CSV" 
     3164 
     3165#: includes/admin/reporting/reports.php:227 
     3166msgid "Download a CSV of all file downloads for the current month." 
     3167msgstr "" 
     3168"Télécharger un fichier CSV de tous les téléchargements de fichiers pour le " 
     3169"mois en cours." 
     3170 
    31213171# @ edd 
    31223172#: includes/admin/settings/settings.php:34 
  • easy-digital-downloads/tags/1.3.2.1/languages/edd.pot

    r619594 r621490  
    33"Project-Id-Version: Easy Digital Downloads\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2012-10-31 12:01+0100\n" 
    6 "PO-Revision-Date: 2012-10-31 12:01+0100\n" 
     5"POT-Creation-Date: 2012-11-02 12:30+0100\n" 
     6"PO-Revision-Date: 2012-11-02 12:31+0100\n" 
    77"Last-Translator: FxB <fx@fxbenard.com>\n" 
    88"Language-Team: Easy Digital Downloads <pippin@pippinsplugins.com>\n" 
     
    1212"Content-Transfer-Encoding: 8bit\n" 
    1313"X-Poedit-KeywordsList: __;_e;_x;_n;esc_attr__;esc_attr_e;esc_html__;" 
    14 "esc_html_e;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
     14"esc_html_e;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 
    1515"X-Poedit-Basepath: ../\n" 
    1616"Plural-Forms: nplurals=2; plural=n != 1;\n" 
     
    6262 
    6363#: includes/checkout-template.php:70 includes/checkout-template.php:71 
    64 #: includes/checkout-template.php:301 includes/checkout-template.php:302 
     64#: includes/checkout-template.php:303 includes/checkout-template.php:304 
    6565#: includes/admin/export-functions.php:23 
    6666msgid "First Name" 
    6767msgstr "" 
    6868 
    69 #: includes/checkout-template.php:74 includes/checkout-template.php:305 
     69#: includes/checkout-template.php:74 includes/checkout-template.php:307 
    7070msgid "Last name" 
    7171msgstr "" 
    7272 
    73 #: includes/checkout-template.php:75 includes/checkout-template.php:306 
     73#: includes/checkout-template.php:75 includes/checkout-template.php:308 
    7474#: includes/admin/export-functions.php:24 
    7575msgid "Last Name" 
     
    8484msgstr "" 
    8585 
    86 #: includes/checkout-template.php:157 
     86#: includes/checkout-template.php:159 
    8787msgid "Credit Card Info" 
    8888msgstr "" 
    8989 
    90 #: includes/checkout-template.php:159 
     90#: includes/checkout-template.php:161 
    9191msgid "Card name" 
    9292msgstr "" 
    9393 
    94 #: includes/checkout-template.php:160 
     94#: includes/checkout-template.php:162 
    9595msgid "Name on the Card" 
    9696msgstr "" 
    9797 
    98 #: includes/checkout-template.php:163 
     98#: includes/checkout-template.php:165 
    9999msgid "Card number" 
    100100msgstr "" 
    101101 
    102 #: includes/checkout-template.php:164 
     102#: includes/checkout-template.php:166 
    103103msgid "Card Number" 
    104104msgstr "" 
    105105 
    106 #: includes/checkout-template.php:167 
     106#: includes/checkout-template.php:169 
    107107msgid "Security code" 
    108108msgstr "" 
    109109 
    110 #: includes/checkout-template.php:168 
     110#: includes/checkout-template.php:170 
    111111msgid "CVC" 
    112112msgstr "" 
    113113 
    114 #: includes/checkout-template.php:174 
     114#: includes/checkout-template.php:176 
    115115msgid "Month" 
    116116msgstr "" 
    117117 
    118 #: includes/checkout-template.php:176 
     118#: includes/checkout-template.php:178 
    119119msgid "Year" 
    120120msgstr "" 
    121121 
    122 #: includes/checkout-template.php:177 
     122#: includes/checkout-template.php:179 
    123123msgid "Expiration (MM/YYYY)" 
    124124msgstr "" 
    125125 
    126 #: includes/checkout-template.php:207 
     126#: includes/checkout-template.php:209 
    127127msgid "Address line 1" 
    128128msgstr "" 
    129129 
    130 #: includes/checkout-template.php:208 
     130#: includes/checkout-template.php:210 
    131131msgid "Billing Address" 
    132132msgstr "" 
    133133 
    134 #: includes/checkout-template.php:211 
     134#: includes/checkout-template.php:213 
    135135msgid "Address line 2" 
    136136msgstr "" 
    137137 
    138 #: includes/checkout-template.php:212 
     138#: includes/checkout-template.php:214 
    139139msgid "Billing Address Line 2" 
    140140msgstr "" 
    141141 
    142 #: includes/checkout-template.php:215 
     142#: includes/checkout-template.php:217 
    143143msgid "City" 
    144144msgstr "" 
    145145 
    146 #: includes/checkout-template.php:216 
     146#: includes/checkout-template.php:218 
    147147msgid "Billing City" 
    148148msgstr "" 
    149149 
    150 #: includes/checkout-template.php:227 
     150#: includes/checkout-template.php:229 
    151151msgid "Billing Country" 
    152152msgstr "" 
    153153 
    154 #: includes/checkout-template.php:230 
     154#: includes/checkout-template.php:232 
    155155msgid "State / Province" 
    156156msgstr "" 
    157157 
    158 #: includes/checkout-template.php:247 
     158#: includes/checkout-template.php:249 
    159159msgid "Billing State / Province" 
    160160msgstr "" 
    161161 
    162 #: includes/checkout-template.php:250 
     162#: includes/checkout-template.php:252 
    163163msgid "Zip / Postal code" 
    164164msgstr "" 
    165165 
    166 #: includes/checkout-template.php:251 
     166#: includes/checkout-template.php:253 
    167167msgid "Billing Zip / Postal Code" 
    168168msgstr "" 
    169169 
    170 #: includes/checkout-template.php:278 
     170#: includes/checkout-template.php:280 
    171171msgid "Already have an account?" 
    172172msgstr "" 
    173173 
    174 #: includes/checkout-template.php:278 includes/login-register.php:50 
     174#: includes/checkout-template.php:280 includes/login-register.php:50 
    175175msgid "Login" 
    176176msgstr "" 
    177177 
    178 #: includes/checkout-template.php:280 
     178#: includes/checkout-template.php:282 
    179179msgid "Create an account" 
    180180msgstr "" 
    181181 
    182 #: includes/checkout-template.php:280 
     182#: includes/checkout-template.php:282 
    183183msgid "(optional)" 
    184184msgstr "" 
    185185 
    186 #: includes/checkout-template.php:283 includes/checkout-template.php:284 
    187 #: includes/checkout-template.php:331 includes/login-register.php:39 
     186#: includes/checkout-template.php:285 includes/checkout-template.php:286 
     187#: includes/checkout-template.php:338 includes/login-register.php:39 
    188188#: includes/login-register.php:40 
    189189msgid "Username" 
    190190msgstr "" 
    191191 
    192 #: includes/checkout-template.php:287 includes/checkout-template.php:288 
    193 #: includes/checkout-template.php:335 includes/login-register.php:43 
     192#: includes/checkout-template.php:289 includes/checkout-template.php:290 
     193#: includes/checkout-template.php:342 includes/login-register.php:43 
    194194msgid "Password" 
    195195msgstr "" 
    196196 
    197 #: includes/checkout-template.php:291 
     197#: includes/checkout-template.php:293 
    198198msgid "Confirm password" 
    199199msgstr "" 
    200200 
    201 #: includes/checkout-template.php:292 
     201#: includes/checkout-template.php:294 
    202202msgid "Password Again" 
    203203msgstr "" 
    204204 
    205 #: includes/checkout-template.php:297 includes/checkout-template.php:298 
     205#: includes/checkout-template.php:299 includes/checkout-template.php:300 
    206206#: includes/admin/export-functions.php:22 
    207207#: includes/admin/payments/payments-history.php:138 
     
    211211msgstr "" 
    212212 
    213 #: includes/checkout-template.php:327 
     213#: includes/checkout-template.php:334 
    214214msgid "Login to your account" 
    215215msgstr "" 
    216216 
    217 #: includes/checkout-template.php:330 
     217#: includes/checkout-template.php:337 
    218218msgid "Your username" 
    219219msgstr "" 
    220220 
    221 #: includes/checkout-template.php:334 
     221#: includes/checkout-template.php:341 
    222222msgid "Your password" 
    223223msgstr "" 
    224224 
    225 #: includes/checkout-template.php:342 
     225#: includes/checkout-template.php:348 
    226226msgid "Need to create an account?" 
    227227msgstr "" 
    228228 
    229 #: includes/checkout-template.php:344 
     229#: includes/checkout-template.php:350 
    230230msgid "Register" 
    231231msgstr "" 
    232232 
    233 #: includes/checkout-template.php:344 
     233#: includes/checkout-template.php:350 
    234234msgid "or checkout as a guest." 
    235235msgstr "" 
    236236 
    237 #: includes/checkout-template.php:370 
     237#: includes/checkout-template.php:380 
    238238msgid "Select payment method" 
    239239msgstr "" 
    240240 
    241 #: includes/checkout-template.php:403 
     241#: includes/checkout-template.php:413 
    242242msgid "Enter discount" 
    243243msgstr "" 
    244244 
    245 #: includes/checkout-template.php:405 
     245#: includes/checkout-template.php:415 
    246246msgid "Discount" 
    247247msgstr "" 
    248248 
    249 #: includes/checkout-template.php:407 
     249#: includes/checkout-template.php:417 
    250250msgid "Apply Discount" 
    251251msgstr "" 
    252252 
    253 #: includes/checkout-template.php:440 
     253#: includes/checkout-template.php:450 
    254254msgid "Show Terms" 
    255255msgstr "" 
    256256 
    257 #: includes/checkout-template.php:441 
     257#: includes/checkout-template.php:451 
    258258msgid "Hide Terms" 
    259259msgstr "" 
    260260 
    261 #: includes/checkout-template.php:444 
     261#: includes/checkout-template.php:454 
    262262msgid "Agree to Terms?" 
    263263msgstr "" 
    264264 
    265 #: includes/checkout-template.php:468 includes/admin/downloads/metabox.php:630 
     265#: includes/checkout-template.php:478 includes/admin/downloads/metabox.php:630 
    266266#: includes/admin/downloads/metabox.php:735 
    267267#: includes/admin/payments/payments-history.php:318 
     
    269269msgstr "" 
    270270 
    271 #: includes/checkout-template.php:487 includes/shortcodes.php:28 
     271#: includes/checkout-template.php:497 includes/shortcodes.php:28 
    272272#: includes/template-functions.php:54 includes/admin/thickbox.php:61 
    273273#: includes/admin/downloads/dashboard-columns.php:55 
     
    13931393#: includes/widgets.php:357 includes/admin/downloads/dashboard-columns.php:31 
    13941394#: includes/admin/reporting/class-download-reports-table.php:40 
    1395 #: includes/admin/reporting/graphing.php:131 
     1395#: includes/admin/reporting/graphing.php:134 
    13961396#: includes/admin/reporting/pdf-reports.php:195 
    13971397#: includes/admin/reporting/reports.php:92 
     
    14011401#: includes/widgets.php:361 
    14021402msgid "Sale" 
    1403 msgstr "" 
     1403msgid_plural "Sales" 
     1404msgstr[0] "" 
     1405msgstr[1] "" 
    14041406 
    14051407#: includes/widgets.php:367 
     
    15891591 
    15901592#: includes/admin/export-functions.php:30 
     1593#: includes/admin/export-functions.php:185 
    15911594#: includes/admin/downloads/dashboard-columns.php:33 
    15921595#: includes/admin/payments/payments-history.php:144 
     
    16231626 
    16241627#: includes/admin/export-functions.php:152 
     1628#: includes/admin/export-functions.php:245 
    16251629msgid "Export not allowed for non-administrators." 
     1630msgstr "" 
     1631 
     1632#: includes/admin/export-functions.php:186 
     1633msgid "Downloaded by" 
     1634msgstr "" 
     1635 
     1636#: includes/admin/export-functions.php:187 
     1637msgid "IP Address" 
     1638msgstr "" 
     1639 
     1640#: includes/admin/export-functions.php:188 
     1641msgid "File" 
    16261642msgstr "" 
    16271643 
     
    20672083#: includes/admin/downloads/dashboard-columns.php:30 
    20682084#: includes/admin/reporting/class-download-reports-table.php:39 
    2069 #: includes/admin/reporting/graphing.php:102 
     2085#: includes/admin/reporting/graphing.php:105 
    20702086#: includes/admin/reporting/pdf-reports.php:212 
    20712087msgid "Sales" 
     
    23682384msgstr "" 
    23692385 
    2370 #: includes/admin/reporting/graphing.php:203 
     2386#: includes/admin/reporting/graphing.php:206 
    23712387msgid "Total earnings for period shown: " 
    23722388msgstr "" 
    23732389 
    2374 #: includes/admin/reporting/graphing.php:220 
     2390#: includes/admin/reporting/graphing.php:223 
    23752391msgid "This Month" 
    23762392msgstr "" 
    23772393 
    2378 #: includes/admin/reporting/graphing.php:221 
     2394#: includes/admin/reporting/graphing.php:224 
    23792395msgid "Last Month" 
    23802396msgstr "" 
    23812397 
    2382 #: includes/admin/reporting/graphing.php:222 
     2398#: includes/admin/reporting/graphing.php:225 
    23832399msgid "This Quarter" 
    23842400msgstr "" 
    23852401 
    2386 #: includes/admin/reporting/graphing.php:223 
     2402#: includes/admin/reporting/graphing.php:226 
    23872403msgid "Last Quarter" 
    23882404msgstr "" 
    23892405 
    2390 #: includes/admin/reporting/graphing.php:224 
     2406#: includes/admin/reporting/graphing.php:227 
    23912407msgid "This Year" 
    23922408msgstr "" 
    23932409 
    2394 #: includes/admin/reporting/graphing.php:225 
     2410#: includes/admin/reporting/graphing.php:228 
    23952411msgid "Last Year" 
    23962412msgstr "" 
    23972413 
    2398 #: includes/admin/reporting/graphing.php:226 
     2414#: includes/admin/reporting/graphing.php:229 
    23992415msgid "Other" 
    24002416msgstr "" 
    24012417 
    2402 #: includes/admin/reporting/graphing.php:254 
     2418#: includes/admin/reporting/graphing.php:257 
    24032419msgid "From" 
    24042420msgstr "" 
    24052421 
    2406 #: includes/admin/reporting/graphing.php:260 
     2422#: includes/admin/reporting/graphing.php:263 
    24072423msgid "To" 
    24082424msgstr "" 
    24092425 
    2410 #: includes/admin/reporting/graphing.php:274 
     2426#: includes/admin/reporting/graphing.php:277 
    24112427msgid "Filter" 
    24122428msgstr "" 
     
    25432559#: includes/admin/reporting/reports.php:206 
    25442560#: includes/admin/reporting/reports.php:218 
     2561#: includes/admin/reporting/reports.php:230 
    25452562msgid "Generate CSV" 
    25462563msgstr "" 
     
    25542571msgstr "" 
    25552572 
     2573#: includes/admin/reporting/reports.php:225 
     2574msgid "Export Download History in CSV" 
     2575msgstr "" 
     2576 
     2577#: includes/admin/reporting/reports.php:227 
     2578msgid "Download a CSV of all file downloads for the current month." 
     2579msgstr "" 
     2580 
    25562581#: includes/admin/settings/settings.php:34 
    25572582msgid "Emails" 
  • easy-digital-downloads/tags/1.3.2.1/readme.txt

    r619594 r621490  
    77Requires at least: 3.2 
    88Tested up to: 3.5 
    9 Stable Tag: 1.3.2 
     9Stable Tag: 1.3.2.1 
    1010 
    1111 
     
    139139 
    140140== Changelog == 
     141 
     142= 1.3.2.1 = 
     143 
     144* Fixed a problem with discount code amount formatting 
     145* Added basic pagination to the [downloads] short code 
     146* Fixed a bug with PressTrends integration 
     147* Improved the checkout template to make it easier to customize 
     148* Added new edd_ajax_url filter 
     149* Moved user info (email, first / last name) fields to a function connected via a hook to allow them to be changed 
     150* Added new edd_cart_total() function for showing fully formatted cart amount 
     151* Updated French language files 
     152* Fixed price formats in the admin sales notification 
     153* Updated login/register ajax actions to use do_action() instead of calling functions directly 
     154* Updated checkout login/register fields to be attached via actions 
     155* Upgraded Colorbox to v1.3.20 
     156* Added new "edd_checkout_form_bottom" hook 
     157* Added version numbers to scripts and styles to ensure proper display on upgrades 
     158* Fixed a problem with upgrade routines 
     159* Fixed a bug with edd_get_sales_by_date() 
    141160 
    142161= 1.3.2 = 
     
    724743== Upgrade Notice == 
    725744 
     745= 1.3.2.1 = 
     746 
     747* Fixed a problem with discount code amount formatting 
     748* Added basic pagination to the [downloads] short code 
     749* Fixed a bug with PressTrends integration 
     750* Improved the checkout template to make it easier to customize 
     751* Added new edd_ajax_url filter 
     752* Moved user info (email, first / last name) fields to a function connected via a hook to allow them to be changed 
     753* Added new edd_cart_total() function for showing fully formatted cart amount 
     754* Updated French language files 
     755* Fixed price formats in the admin sales notification 
     756* Updated login/register ajax actions to use do_action() instead of calling functions directly 
     757* Updated checkout login/register fields to be attached via actions 
     758* Upgraded Colorbox to v1.3.20 
     759* Added new "edd_checkout_form_bottom" hook 
     760* Added version numbers to scripts and styles to ensure proper display on upgrades 
     761* Fixed a problem with upgrade routines 
     762* Fixed a bug with edd_get_sales_by_date() 
     763 
    726764= 1.3.2 = 
    727765 
  • easy-digital-downloads/tags/1.3.2.1/templates/checkout_cart.php

    r619594 r621490  
    4646        <tr class="edd_cart_footer_row"> 
    4747            <?php do_action( 'edd_checkout_table_footer_first' ); ?> 
    48             <th colspan="3" class="edd_cart_total"><?php _e( 'Total', 'edd' ); ?>: <span class="edd_cart_amount"><?php echo esc_html( edd_currency_filter( edd_format_amount( edd_get_cart_amount() ) ) ); ?></span></th> 
     48            <th colspan="3" class="edd_cart_total"><?php _e( 'Total', 'edd' ); ?>: <span class="edd_cart_amount"><?php edd_cart_total(); ?></span></th> 
    4949            <?php do_action( 'edd_checkout_table_footer_last' ); ?> 
    5050        </tr> 
  • easy-digital-downloads/trunk/easy-digital-downloads.php

    r619594 r621490  
    66Author: Pippin Williamson 
    77Author URI: http://pippinsplugins.com 
    8 Version: 1.3.2 
     8Version: 1.3.2.1 
     9Text Domain: edd 
     10Domain Path: languages 
    911 
    1012Easy Digital Downloads is free software: you can redistribute it and/or modify 
     
    2224*/ 
    2325 
     26/* PHP Hack to Get Plugin Headers in the .POT File */ 
     27    $edd_plugin_header_translate = array( 
     28        __( 'Easy Digital Downloads', 'edd' ), 
     29        __( 'Serve Digital Downloads Through WordPress', 'edd' ), 
     30        __( 'Pippin Williamson', 'edd' ), 
     31        __( 'http://easydigitaldownloads.com/', 'edd' ), 
     32    ); 
    2433 
    2534/* 
     
    3039// Plugin version 
    3140if( !defined( 'EDD_VERSION' ) ) { 
    32     define( 'EDD_VERSION', '1.3.2' ); 
     41    define( 'EDD_VERSION', '1.3.2.1' ); 
    3342} 
    3443// Plugin Folder URL 
     
    110119    include_once( EDD_PLUGIN_DIR . 'includes/admin/admin-notices.php' ); 
    111120    include_once( EDD_PLUGIN_DIR . 'includes/admin/admin-pages.php' ); 
     121    include_once( EDD_PLUGIN_DIR . 'includes/admin/dashboard-widgets.php' ); 
    112122    include_once( EDD_PLUGIN_DIR . 'includes/admin/export-functions.php' ); 
    113123    include_once( EDD_PLUGIN_DIR . 'includes/admin/thickbox.php' ); 
  • easy-digital-downloads/trunk/includes/admin/reporting/reports.php

    r619594 r621490  
    201201                    <h3><span><?php _e('Export Payment History', 'edd'); ?></span></h3> 
    202202                    <div class="inside"> 
    203                         <p><?php _e( 'Download a CSV of all payments recorded..', 'edd' ); ?></p> 
     203                        <p><?php _e( 'Download a CSV of all payments recorded.', 'edd' ); ?></p> 
    204204                        <p> 
    205205                            <a class="button" href="<?php echo wp_nonce_url( add_query_arg( array( 'edd-action' => 'payment_export' ) ), 'edd_payments_export' ); ?>"> 
  • easy-digital-downloads/trunk/includes/ajax-functions.php

    r619594 r621490  
    146146 
    147147function edd_load_checkout_login_fields() { 
    148     echo edd_get_login_fields(); 
     148    do_action( 'edd_purchase_form_login_fields' ); 
    149149    die(); 
    150150} 
     
    163163 
    164164function edd_load_checkout_register_fields() { 
    165     echo edd_get_register_fields(); 
     165    do_action( 'edd_purchase_form_register_fields' ); 
    166166    die(); 
    167167} 
     
    203203 
    204204function edd_get_ajax_url() { 
    205     $site_url = get_site_url(); 
    206     $admin_url = admin_url( 'admin-ajax.php' ); 
    207     if( preg_match( '/^https/', $admin_url ) && ! preg_match( '/^https/', $site_url ) ) { 
    208         $admin_url = preg_replace( '/^https/', 'http', $admin_url ); 
    209     } else if( preg_match( '/^https/', $site_url ) && ! preg_match( '/^https/', $admin_url ) ) { 
    210         $admin_url = preg_replace( '/^http/', 'https', $admin_url ); 
    211     } 
    212     return $admin_url; 
    213 } 
     205     
     206    $current_url = edd_get_current_page_url(); 
     207    $ajax_url = admin_url( 'admin-ajax.php' ); 
     208 
     209    if( preg_match( '/^https/', $ajax_url ) && ! preg_match( '/^https/', $current_url ) ) { 
     210        $ajax_url = preg_replace( '/^https/', 'http', $ajax_url ); 
     211    } else if( preg_match( '/^https/', $current_url ) && ! preg_match( '/^https/', $ajax_url ) ) { 
     212        $ajax_url = preg_replace( '/^http/', 'https', $ajax_url ); 
     213    } 
     214    return apply_filters( 'edd_ajax_url', $ajax_url ); 
     215} 
  • easy-digital-downloads/trunk/includes/cart-functions.php

    r619594 r621490  
    258258 * @access      public 
    259259 * @since       1.0 
    260  * @return      string - the name of the price option 
     260 * @return     float 
    261261*/ 
    262262 
     
    279279} 
    280280 
     281 
     282/** 
     283 * Get Total Cart Amount 
     284 * 
     285 * Gets the fully formatted total price amount in the cart. 
     286 * uses edd_get_cart_amount(). 
     287 * 
     288 * @access      public 
     289 * @since       1.3.3 
     290 * @return      string - the cart amount 
     291*/ 
     292 
     293function edd_cart_total( $echo = true ) { 
     294 
     295    $total = apply_filters( 'edd_cart_total', edd_currency_filter( edd_format_amount( edd_get_cart_amount() ) ) ); 
     296 
     297    if( $echo ) 
     298        echo $total; 
     299    return $total; 
     300} 
    281301 
    282302 
  • easy-digital-downloads/trunk/includes/checkout-template.php

    r619594 r621490  
    2222 
    2323    global $edd_options, $user_ID, $post; 
    24      
    25     if( is_user_logged_in() ) : 
    26         $user_data = get_userdata( $user_ID ); 
    27     endif; 
    2824     
    2925    ob_start(); ?> 
     
    4541 
    4642                    <form id="edd_purchase_form" action="<?php echo esc_url( edd_get_current_page_url() ); ?>" method="POST">                    
    47                      
    48                         <?php do_action( 'edd_purchase_form_top' ); ?> 
    49                      
     43                                         
    5044                        <?php  
    5145                         
     46                        do_action( 'edd_purchase_form_top' ); 
     47 
    5248                        if( edd_can_checkout() ) { ?> 
    5349                             
    5450                            <?php if( isset( $edd_options['show_register_form'] ) && !is_user_logged_in() && !isset( $_GET['login'] ) ) { ?> 
    55                                 <div id="edd_checkout_login_register"><?php echo edd_get_register_fields(); ?></div> 
     51                                <div id="edd_checkout_login_register"><?php do_action( 'edd_purchase_form_register_fields' ); ?></div> 
    5652                            <?php } elseif( isset( $edd_options['show_register_form'] ) && !is_user_logged_in() && isset( $_GET['login'] ) ) { ?> 
    57                                 <div id="edd_checkout_login_register"><?php echo edd_get_login_fields(); ?></div> 
     53                                <div id="edd_checkout_login_register"><?php do_action( 'edd_purchase_form_login_fields' ); ?></div> 
    5854                            <?php } ?> 
    5955 
    60                             <?php if( ( !isset( $_GET['login'] ) && is_user_logged_in() ) || !isset( $edd_options['show_register_form'] ) ) { ?> 
    61                                 <fieldset id="edd_checkout_user_info"> 
    62                                     <legend><?php _e('Personal Info', 'edd'); ?></legend> 
    63                                     <?php do_action( 'edd_purchase_form_before_email' ); ?> 
    64                                     <p id="edd-email-wrap"> 
    65                                         <input class="edd-input required" type="email" name="edd_email" placeholder="<?php _e('Email address', 'edd'); ?>" id="edd-email" value="<?php echo is_user_logged_in() ? $user_data->user_email : ''; ?>"/> 
    66                                         <label class="edd-label" for="edd-email"><?php _e('Email Address', 'edd'); ?></label> 
    67                                     </p> 
    68                                     <?php do_action( 'edd_purchase_form_after_email' ); ?> 
    69                                     <p id="edd-first-name-wrap"> 
    70                                         <input class="edd-input required" type="text" name="edd_first" placeholder="<?php _e('First Name', 'edd'); ?>" id="edd-first" value="<?php echo is_user_logged_in() ? $user_data->first_name : ''; ?>"/> 
    71                                         <label class="edd-label" for="edd-first"><?php _e('First Name', 'edd'); ?></label> 
    72                                     </p> 
    73                                     <p id="edd-last-name-wrap"> 
    74                                         <input class="edd-input" type="text" name="edd_last" id="edd-last" placeholder="<?php _e('Last name', 'edd'); ?>" value="<?php echo is_user_logged_in() ? $user_data->last_name : ''; ?>"/> 
    75                                         <label class="edd-label" for="edd-last"><?php _e('Last Name', 'edd'); ?></label> 
    76                                     </p>     
    77                                     <?php do_action( 'edd_purchase_form_user_info' ); ?> 
    78                                 </fieldset>  
     56                            <?php if( ( !isset( $_GET['login'] ) && is_user_logged_in() ) || !isset( $edd_options['show_register_form'] ) ) { 
    7957                                 
    80                                 <?php do_action( 'edd_purchase_form_after_user_info' ); 
     58                                do_action( 'edd_purchase_form_after_user_info' ); 
    8159                            } 
    8260 
     
    9472                            do_action( 'edd_purchase_form_after_cc_form' ); 
    9573 
    96                             ?> 
    97  
    98                             <fieldset id="edd_purchase_submit"> 
    99                                 <p> 
    100                                     <?php do_action( 'edd_purchase_form_before_submit' ); ?> 
    101                                      
    102                                     <?php edd_checkout_hidden_fields(); ?> 
    103                                      
    104                                     <?php echo edd_checkout_button_purchase(); ?> 
    105                                      
    106                                     <?php do_action( 'edd_purchase_form_after_submit' ); ?> 
    107                                 </p> 
    108  
    109                                 <?php if( !edd_is_ajax_enabled() ) { ?> 
    110                                     <p class="edd-cancel"><a href="javascript:history.go(-1)"><?php _e('Go back', 'edd'); ?></a></p> 
    111                                 <?php } ?> 
    112  
    113                             </fieldset> 
    114                         <?php } else { ?> 
    115                             <p><?php _e('You must be logged in to complete your purchase', 'edd'); ?></p> 
    116                         <?php } ?> 
    117  
    118                         <?php do_action( 'edd_purchase_form_bottom' ); ?> 
     74                        } else { 
     75                            // can't checkout 
     76                            do_action( 'edd_purchase_form_no_access' ); 
     77                        } 
     78 
     79                        do_action( 'edd_purchase_form_bottom' ); ?> 
    11980 
    12081                    </form> 
    121                     <?php do_action( 'edd_after_purchase_form' ); ?> 
    122             <?php } ?> 
    123         </div><!--end #edd_checkout_form_wrap--> 
     82                    <?php do_action( 'edd_after_purchase_form' ); 
     83                }  
     84                do_action( 'edd_checkout_form_bottom' ); ?> 
     85            </div><!--end #edd_checkout_form_wrap--> 
    12486        <?php 
    12587        else: 
     
    13092 
    13193 
     94 
     95/** 
     96 * Determines if a user can checkout or not 
     97 * 
     98 * @access      private 
     99 * @since       1.3.3 
     100 * @return      bool 
     101*/ 
     102 
    132103function edd_can_checkout() { 
    133104 
     
    136107    $can_checkout = true; // always true for now 
    137108 
    138     return apply_filters( 'edd_can_checkout', $can_checkout ); 
    139  
    140 } 
     109    return (bool) apply_filters( 'edd_can_checkout', $can_checkout ); 
     110 
     111} 
     112 
     113 
     114 
     115/** 
     116 * Shows the User Info Fields 
     117 * 
     118 * @access      private 
     119 * @since       1.3.3 
     120 * @return      void 
     121*/ 
     122 
     123function edd_user_info_fields() { 
     124    if( is_user_logged_in() ) : 
     125        $user_data = get_userdata( get_current_user_id() ); 
     126    endif; 
     127    ?> 
     128    <fieldset id="edd_checkout_user_info"> 
     129        <legend><?php _e('Personal Info', 'edd'); ?></legend> 
     130        <?php do_action( 'edd_purchase_form_before_email' ); ?> 
     131        <p id="edd-email-wrap"> 
     132            <input class="edd-input required" type="email" name="edd_email" placeholder="<?php _e('Email address', 'edd'); ?>" id="edd-email" value="<?php echo is_user_logged_in() ? $user_data->user_email : ''; ?>"/> 
     133            <label class="edd-label" for="edd-email"><?php _e('Email Address', 'edd'); ?></label> 
     134        </p> 
     135        <?php do_action( 'edd_purchase_form_after_email' ); ?> 
     136        <p id="edd-first-name-wrap"> 
     137            <input class="edd-input required" type="text" name="edd_first" placeholder="<?php _e('First Name', 'edd'); ?>" id="edd-first" value="<?php echo is_user_logged_in() ? $user_data->first_name : ''; ?>"/> 
     138            <label class="edd-label" for="edd-first"><?php _e('First Name', 'edd'); ?></label> 
     139        </p> 
     140        <p id="edd-last-name-wrap"> 
     141            <input class="edd-input" type="text" name="edd_last" id="edd-last" placeholder="<?php _e('Last name', 'edd'); ?>" value="<?php echo is_user_logged_in() ? $user_data->last_name : ''; ?>"/> 
     142            <label class="edd-label" for="edd-last"><?php _e('Last Name', 'edd'); ?></label> 
     143        </p>     
     144        <?php do_action( 'edd_purchase_form_user_info' ); ?> 
     145    </fieldset>  
     146    <?php 
     147} 
     148add_action( 'edd_purchase_form_after_user_info', 'edd_user_info_fields' ); 
    141149 
    142150 
     
    310318    </fieldset> 
    311319    <?php 
    312     return ob_get_clean(); 
    313 } 
     320 
     321    $fields = ob_get_clean(); 
     322 
     323    echo $fields; 
     324 
     325} 
     326add_action( 'edd_purchase_form_register_fields', 'edd_get_register_fields' ); 
    314327 
    315328 
     
    336349                <input type="hidden" name="edd-purchase-var" value="needs-to-login"/> 
    337350            </p> 
    338             <?php do_action('edd_purchase_form_login_fields'); // deprecated ?> 
    339351            <?php do_action('edd_checkout_login_fields_after'); ?>   
    340352        </fieldset><!--end #edd_login_fields--> 
     
    346358        </p>     
    347359    <?php 
    348     return ob_get_clean(); 
    349 } 
     360 
     361    $fields = ob_get_clean(); 
     362 
     363    echo $fields; 
     364} 
     365add_action( 'edd_purchase_form_login_fields', 'edd_get_login_fields' ); 
    350366 
    351367 
     
    452468 
    453469/** 
     470 * The checkout submit section 
     471 * 
     472 * @access      public 
     473 * @since       1.3.3 
     474 * @return      void 
     475 */ 
     476function edd_checkout_submit() { 
     477?> 
     478    <fieldset id="edd_purchase_submit"> 
     479        <p> 
     480            <?php do_action( 'edd_purchase_form_before_submit' ); ?> 
     481             
     482            <?php edd_checkout_hidden_fields(); ?> 
     483             
     484            <?php echo edd_checkout_button_purchase(); ?> 
     485             
     486            <?php do_action( 'edd_purchase_form_after_submit' ); ?> 
     487        </p> 
     488 
     489        <?php if( ! edd_is_ajax_enabled() ) { ?> 
     490            <p class="edd-cancel"><a href="javascript:history.go(-1)"><?php _e( 'Go back', 'edd' ); ?></a></p> 
     491        <?php } ?> 
     492 
     493    </fieldset> 
     494<?php    
     495} 
     496add_action( 'edd_purchase_form_after_cc_form', 'edd_checkout_submit', 100 ); 
     497 
     498 
     499/** 
    454500 * The checkout Next button 
    455501 * 
  • easy-digital-downloads/trunk/includes/css/colorbox.css

    r579820 r621490  
    11/* 
    2     ColorBox Core Style: 
    3     The following CSS is consistent between example themes and should not be altered. 
     2    ColorBox Core Style: 
     3    The following CSS is consistent between example themes and should not be altered. 
    44*/ 
    55#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} 
     
    1616 
    1717/*  
    18     User Style: 
    19     Change the following styles to modify the appearance of ColorBox.  They are 
    20     ordered & tabbed in a way that represents the nesting of the generated HTML. 
     18    User Style: 
     19    Change the following styles to modify the appearance of ColorBox.  They are 
     20    ordered & tabbed in a way that represents the nesting of the generated HTML. 
    2121*/ 
    22 #cboxOverlay{background:#000;} 
     22#cboxOverlay{background:url(../../images/colorbox/overlay.png) repeat 0 0;} 
    2323#colorbox{} 
    24     #cboxTopLeft{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat 0 0;} 
    25     #cboxTopCenter{height:14px; background:url(../images/colorbox/border.png) repeat-x top left;} 
    26     #cboxTopRight{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat -36px 0;} 
    27     #cboxBottomLeft{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat 0 -32px;} 
    28     #cboxBottomCenter{height:43px; background:url(../images/colorbox/border.png) repeat-x bottom left;} 
    29     #cboxBottomRight{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat -36px -32px;} 
    30     #cboxMiddleLeft{width:14px; background:url(../images/colorbox/controls.png) repeat-y -175px 0;} 
    31     #cboxMiddleRight{width:14px; background:url(../images/colorbox/controls.png) repeat-y -211px 0;} 
    32     #cboxContent{background:#fff; overflow:visible;} 
    33         .cboxIframe{background:#fff;} 
    34         #cboxError{padding:50px; border:1px solid #ccc;} 
    35         #cboxLoadedContent{margin-bottom:5px;} 
    36         #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;} 
    37         #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;} 
    38         #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} 
    39         #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} 
    40          
    41         #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(../images/colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;} 
    42         #cboxPrevious{left:0px; background-position: -51px -25px;} 
    43         #cboxPrevious:hover{background-position:-51px 0px;} 
    44         #cboxNext{left:27px; background-position:-75px -25px;} 
    45         #cboxNext:hover{background-position:-75px 0px;} 
    46         #cboxClose{right:0; background-position:-100px -25px;} 
    47         #cboxClose:hover{background-position:-100px 0px;} 
    48          
    49         .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} 
    50         .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;} 
    51         .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} 
    52         .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;} 
     24    #cboxTopLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -101px 0;} 
     25    #cboxTopRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -130px 0;} 
     26    #cboxBottomLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -101px -29px;} 
     27    #cboxBottomRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) no-repeat -130px -29px;} 
     28    #cboxMiddleLeft{width:21px; background:url(../images/colorbox/controls.png) left top repeat-y;} 
     29    #cboxMiddleRight{width:21px; background:url(../images/colorbox/controls.png) right top repeat-y;} 
     30    #cboxTopCenter{height:21px; background:url(../images/colorbox/border.png) 0 0 repeat-x;} 
     31    #cboxBottomCenter{height:21px; background:url(../images/colorbox/border.png) 0 -29px repeat-x;} 
     32    #cboxContent{background:#fff; overflow:hidden;} 
     33        .cboxIframe{background:#fff;} 
     34        #cboxError{padding:50px; border:1px solid #ccc;} 
     35        #cboxLoadedContent{margin-bottom:28px;} 
     36        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} 
     37        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} 
     38        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} 
     39        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(../images/colorbox/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;} 
     40        #cboxPrevious:hover{background-position:-75px -25px;} 
     41        #cboxNext{position:absolute; bottom:0; left:27px; background:url(../images/colorbox/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;} 
     42        #cboxNext:hover{background-position:-50px -25px;} 
     43        #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;} 
     44        #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;} 
     45        #cboxClose{position:absolute; bottom:0; right:0; background:url(../images/colorbox/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;} 
     46        #cboxClose:hover{background-position:-25px -25px;} 
     47 
     48/* 
     49  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill 
     50  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9. 
     51  See: http://jacklmoore.com/notes/ie-transparency-problems/ 
     52*/ 
     53.cboxIE #cboxTopLeft, 
     54.cboxIE #cboxTopCenter, 
     55.cboxIE #cboxTopRight, 
     56.cboxIE #cboxBottomLeft, 
     57.cboxIE #cboxBottomCenter, 
     58.cboxIE #cboxBottomRight, 
     59.cboxIE #cboxMiddleLeft, 
     60.cboxIE #cboxMiddleRight { 
     61    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); 
     62} 
     63 
     64/* 
     65  The following provides PNG transparency support for IE6 
     66  Feel free to remove this and the /ie6/ directory if you have dropped IE6 support. 
     67*/ 
     68.cboxIE6 #cboxTopLeft{background:url(../images/colorbox/ie6/borderTopLeft.png);} 
     69.cboxIE6 #cboxTopCenter{background:url(../images/colorbox/ie6/borderTopCenter.png);} 
     70.cboxIE6 #cboxTopRight{background:url(../images/colorbox/ie6/borderTopRight.png);} 
     71.cboxIE6 #cboxBottomLeft{background:url(../images/colorbox/ie6/borderBottomLeft.png);} 
     72.cboxIE6 #cboxBottomCenter{background:url(../images/colorbox/ie6/borderBottomCenter.png);} 
     73.cboxIE6 #cboxBottomRight{background:url(../images/colorbox/ie6/borderBottomRight.png);} 
     74.cboxIE6 #cboxMiddleLeft{background:url(../images/colorbox/ie6/borderMiddleLeft.png);} 
     75.cboxIE6 #cboxMiddleRight{background:url(../images/colorbox/ie6/borderMiddleRight.png);} 
     76 
     77.cboxIE6 #cboxTopLeft, 
     78.cboxIE6 #cboxTopCenter, 
     79.cboxIE6 #cboxTopRight, 
     80.cboxIE6 #cboxBottomLeft, 
     81.cboxIE6 #cboxBottomCenter, 
     82.cboxIE6 #cboxBottomRight, 
     83.cboxIE6 #cboxMiddleLeft, 
     84.cboxIE6 #cboxMiddleRight { 
     85    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')"); 
     86} 
  • easy-digital-downloads/trunk/includes/discount-functions.php

    r619594 r621490  
    492492    } else {  
    493493        // percentage discount 
    494         $discounted_price = $base_price - ( $base_price * ( $rate / 100 ) ); 
     494        $discounted_price = number_format( $base_price - ( $base_price * ( $rate / 100 ) ), 2 ); 
    495495    } 
    496496    return apply_filters( 'edd_discounted_amount', $discounted_price ); 
  • easy-digital-downloads/trunk/includes/email-functions.php

    r611052 r621490  
    7575        $admin_message .= $download_list . "\n"; 
    7676        $admin_message .= __('Purchased by: ', 'edd') . " " . html_entity_decode( $name, ENT_COMPAT, 'UTF-8' ) . "\n"; 
    77         $admin_message .= __('Amount: ', 'edd') . " " . html_entity_decode( edd_currency_filter( $payment_data['amount'] ), ENT_COMPAT, 'UTF-8' ) . "\n\n"; 
     77        $admin_message .= __('Amount: ', 'edd') . " " . html_entity_decode( edd_currency_filter( edd_format_amount( $payment_data['amount'] ) ), ENT_COMPAT, 'UTF-8' ) . "\n\n"; 
    7878        $admin_message .= __('Payment Method: ', 'edd') . " " . $gateway . "\n\n"; 
    7979        $admin_message .= __('Thank you', 'edd'); 
  • easy-digital-downloads/trunk/includes/formatting.php

    r619594 r621490  
    3636 
    3737        $amount = str_replace( $decimal_sep, '.', $amount ); 
     38         
     39        // make sure we don't have more than 2 decimals 
     40        $amount = number_format( $amount, 2 ); 
    3841    } 
    3942 
  • easy-digital-downloads/trunk/includes/js/jquery.colorbox-min.js

    r579815 r621490  
    1 // ColorBox v1.3.19.3 - jQuery lightbox plugin 
    2 // (c) 2011 Jack Moore - jacklmoore.com 
     1// ColorBox v1.3.20.1 - jQuery lightbox plugin 
     2// (c) 2012 Jack Moore - jacklmoore.com 
    33// License: http://www.opensource.org/licenses/mit-license.php 
    4 (function(a,b,c){function Z(c,d,e){var g=b.createElement(c);return d&&(g.id=f+d),e&&(g.style.cssText=e),a(g)}function $(a){var b=y.length,c=(Q+a)%b;return c<0?b+c:c}function _(a,b){return Math.round((/%/.test(a)?(b==="x"?z.width():z.height())/100:1)*parseInt(a,10))}function ab(a){return K.photo||/\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(a)}function bb(){var b,c=a.data(P,e);c==null?(K=a.extend({},d),console&&console.log&&console.log("Error: cboxElement missing settings object")):K=a.extend({},c);for(b in K)a.isFunction(K[b])&&b.slice(0,2)!=="on"&&(K[b]=K[b].call(P));K.rel=K.rel||P.rel||"nofollow",K.href=K.href||a(P).attr("href"),K.title=K.title||P.title,typeof K.href=="string"&&(K.href=a.trim(K.href))}function cb(b,c){a.event.trigger(b),c&&c.call(P)}function db(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;K.slideshow&&y[1]?(d=function(){F.text(K.slideshowStop).unbind(c).bind(j,function(){if(K.loop||y[Q+1])a=setTimeout(W.next,K.slideshowSpeed)}).bind(i,function(){clearTimeout(a)}).one(c+" "+k,e),r.removeClass(b+"off").addClass(b+"on"),a=setTimeout(W.next,K.slideshowSpeed)},e=function(){clearTimeout(a),F.text(K.slideshowStart).unbind([j,i,k,c].join(" ")).one(c,function(){W.next(),d()}),r.removeClass(b+"on").addClass(b+"off")},K.slideshowAuto?d():e()):r.removeClass(b+"off "+b+"on")}function eb(b){U||(P=b,bb(),y=a(P),Q=0,K.rel!=="nofollow"&&(y=a("."+g).filter(function(){var b=a.data(this,e),c;return b&&(c=b.rel||this.rel),c===K.rel}),Q=y.index(P),Q===-1&&(y=y.add(P),Q=y.length-1)),S||(S=T=!0,r.show(),K.returnFocus&&a(P).blur().one(l,function(){a(this).focus()}),q.css({opacity:+K.opacity,cursor:K.overlayClose?"pointer":"auto"}).show(),K.w=_(K.initialWidth,"x"),K.h=_(K.initialHeight,"y"),W.position(),o&&z.bind("resize."+p+" scroll."+p,function(){q.css({width:z.width(),height:z.height(),top:z.scrollTop(),left:z.scrollLeft()})}).trigger("resize."+p),cb(h,K.onOpen),J.add(D).hide(),I.html(K.close).show()),W.load(!0))}function fb(){!r&&b.body&&(Y=!1,z=a(c),r=Z(X).attr({id:e,"class":n?f+(o?"IE6":"IE"):""}).hide(),q=Z(X,"Overlay",o?"position:absolute":"").hide(),s=Z(X,"Wrapper"),t=Z(X,"Content").append(A=Z(X,"LoadedContent","width:0; height:0; overflow:hidden"),C=Z(X,"LoadingOverlay").add(Z(X,"LoadingGraphic")),D=Z(X,"Title"),E=Z(X,"Current"),G=Z(X,"Next"),H=Z(X,"Previous"),F=Z(X,"Slideshow").bind(h,db),I=Z(X,"Close")),s.append(Z(X).append(Z(X,"TopLeft"),u=Z(X,"TopCenter"),Z(X,"TopRight")),Z(X,!1,"clear:left").append(v=Z(X,"MiddleLeft"),t,w=Z(X,"MiddleRight")),Z(X,!1,"clear:left").append(Z(X,"BottomLeft"),x=Z(X,"BottomCenter"),Z(X,"BottomRight"))).find("div div").css({"float":"left"}),B=Z(X,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),J=G.add(H).add(E).add(F),a(b.body).append(q,r.append(s,B)))}function gb(){return r?(Y||(Y=!0,L=u.height()+x.height()+t.outerHeight(!0)-t.height(),M=v.width()+w.width()+t.outerWidth(!0)-t.width(),N=A.outerHeight(!0),O=A.outerWidth(!0),r.css({"padding-bottom":L,"padding-right":M}),G.click(function(){W.next()}),H.click(function(){W.prev()}),I.click(function(){W.close()}),q.click(function(){K.overlayClose&&W.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;S&&K.escKey&&b===27&&(a.preventDefault(),W.close()),S&&K.arrowKey&&y[1]&&(b===37?(a.preventDefault(),H.click()):b===39&&(a.preventDefault(),G.click()))}),a("."+g,b).live("click",function(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||(a.preventDefault(),eb(this))})),!0):!1}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},e="colorbox",f="cbox",g=f+"Element",h=f+"_open",i=f+"_load",j=f+"_complete",k=f+"_cleanup",l=f+"_closed",m=f+"_purge",n=!a.support.opacity&&!a.support.style,o=n&&!c.XMLHttpRequest,p=f+"_IE6",q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X="div",Y;if(a.colorbox)return;a(fb),W=a.fn[e]=a[e]=function(b,c){var f=this;b=b||{},fb();if(gb()){if(!f[0]){if(f.selector)return f;f=a("<a/>"),b.open=!0}c&&(b.onComplete=c),f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b))}).addClass(g),(a.isFunction(b.open)&&b.open.call(f)||b.open)&&eb(f[0])}return f},W.position=function(a,b){function i(a){u[0].style.width=x[0].style.width=t[0].style.width=a.style.width,t[0].style.height=v[0].style.height=w[0].style.height=a.style.height}var c=0,d=0,e=r.offset(),g,h;z.unbind("resize."+f),r.css({top:-9e4,left:-9e4}),g=z.scrollTop(),h=z.scrollLeft(),K.fixed&&!o?(e.top-=g,e.left-=h,r.css({position:"fixed"})):(c=g,d=h,r.css({position:"absolute"})),K.right!==!1?d+=Math.max(z.width()-K.w-O-M-_(K.right,"x"),0):K.left!==!1?d+=_(K.left,"x"):d+=Math.round(Math.max(z.width()-K.w-O-M,0)/2),K.bottom!==!1?c+=Math.max(z.height()-K.h-N-L-_(K.bottom,"y"),0):K.top!==!1?c+=_(K.top,"y"):c+=Math.round(Math.max(z.height()-K.h-N-L,0)/2),r.css({top:e.top,left:e.left}),a=r.width()===K.w+O&&r.height()===K.h+N?0:a||0,s[0].style.width=s[0].style.height="9999px",r.dequeue().animate({width:K.w+O,height:K.h+N,top:c,left:d},{duration:a,complete:function(){i(this),T=!1,s[0].style.width=K.w+O+M+"px",s[0].style.height=K.h+N+L+"px",K.reposition&&setTimeout(function(){z.bind("resize."+f,W.position)},1),b&&b()},step:function(){i(this)}})},W.resize=function(a){S&&(a=a||{},a.width&&(K.w=_(a.width,"x")-O-M),a.innerWidth&&(K.w=_(a.innerWidth,"x")),A.css({width:K.w}),a.height&&(K.h=_(a.height,"y")-N-L),a.innerHeight&&(K.h=_(a.innerHeight,"y")),!a.innerHeight&&!a.height&&(A.css({height:"auto"}),K.h=A.height()),A.css({height:K.h}),W.position(K.transition==="none"?0:K.speed))},W.prep=function(b){function g(){return K.w=K.w||A.width(),K.w=K.mw&&K.mw<K.w?K.mw:K.w,K.w}function h(){return K.h=K.h||A.height(),K.h=K.mh&&K.mh<K.h?K.mh:K.h,K.h}if(!S)return;var c,d=K.transition==="none"?0:K.speed;A.remove(),A=Z(X,"LoadedContent").append(b),A.hide().appendTo(B.show()).css({width:g(),overflow:K.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(t),B.hide(),a(R).css({"float":"none"}),o&&a("select").not(r.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(k,function(){this.style.visibility="inherit"}),c=function(){function s(){n&&r[0].style.removeAttribute("filter")}var b,c,g=y.length,h,i="frameBorder",k="allowTransparency",l,o,p,q;if(!S)return;l=function(){clearTimeout(V),C.hide(),cb(j,K.onComplete)},n&&R&&A.fadeIn(100),D.html(K.title).add(A).show();if(g>1){typeof K.current=="string"&&E.html(K.current.replace("{current}",Q+1).replace("{total}",g)).show(),G[K.loop||Q<g-1?"show":"hide"]().html(K.next),H[K.loop||Q?"show":"hide"]().html(K.previous),K.slideshow&&F.show();if(K.preloading){b=[$(-1),$(1)];while(c=y[b.pop()])q=a.data(c,e),q&&q.href?(o=q.href,a.isFunction(o)&&(o=o.call(c))):o=c.href,ab(o)&&(p=new Image,p.src=o)}}else J.hide();K.iframe?(h=Z("iframe")[0],i in h&&(h[i]=0),k in h&&(h[k]="true"),h.name=f+ +(new Date),K.fastIframe?l():a(h).one("load",l),h.src=K.href,K.scrolling||(h.scrolling="no"),a(h).addClass(f+"Iframe").appendTo(A).one(m,function(){h.src="//about:blank"})):l(),K.transition==="fade"?r.fadeTo(d,1,s):s()},K.transition==="fade"?r.fadeTo(d,0,function(){W.position(0,c)}):W.position(d,c)},W.load=function(b){var c,d,e=W.prep;T=!0,R=!1,P=y[Q],b||bb(),cb(m),cb(i,K.onLoad),K.h=K.height?_(K.height,"y")-N-L:K.innerHeight&&_(K.innerHeight,"y"),K.w=K.width?_(K.width,"x")-O-M:K.innerWidth&&_(K.innerWidth,"x"),K.mw=K.w,K.mh=K.h,K.maxWidth&&(K.mw=_(K.maxWidth,"x")-O-M,K.mw=K.w&&K.w<K.mw?K.w:K.mw),K.maxHeight&&(K.mh=_(K.maxHeight,"y")-N-L,K.mh=K.h&&K.h<K.mh?K.h:K.mh),c=K.href,V=setTimeout(function(){C.show()},100),K.inline?(Z(X).hide().insertBefore(a(c)[0]).one(m,function(){a(this).replaceWith(A.children())}),e(a(c))):K.iframe?e(" "):K.html?e(K.html):ab(c)?(a(R=new Image).addClass(f+"Photo").error(function(){K.title=!1,e(Z(X,"Error").html(K.imgError))}).load(function(){var a;R.onload=null,K.scalePhotos&&(d=function(){R.height-=R.height*a,R.width-=R.width*a},K.mw&&R.width>K.mw&&(a=(R.width-K.mw)/R.width,d()),K.mh&&R.height>K.mh&&(a=(R.height-K.mh)/R.height,d())),K.h&&(R.style.marginTop=Math.max(K.h-R.height,0)/2+"px"),y[1]&&(K.loop||y[Q+1])&&(R.style.cursor="pointer",R.onclick=function(){W.next()}),n&&(R.style.msInterpolationMode="bicubic"),setTimeout(function(){e(R)},1)}),setTimeout(function(){R.src=c},1)):c&&B.load(c,K.data,function(b,c,d){e(c==="error"?Z(X,"Error").html(K.xhrError):a(this).contents())})},W.next=function(){!T&&y[1]&&(K.loop||y[Q+1])&&(Q=$(1),W.load())},W.prev=function(){!T&&y[1]&&(K.loop||Q)&&(Q=$(-1),W.load())},W.close=function(){S&&!U&&(U=!0,S=!1,cb(k,K.onCleanup),z.unbind("."+f+" ."+p),q.fadeTo(200,0),r.stop().fadeTo(300,0,function(){r.add(q).css({opacity:1,cursor:"auto"}).hide(),cb(m),A.remove(),setTimeout(function(){U=!1,cb(l,K.onClosed)},1)}))},W.remove=function(){a([]).add(r).add(q).remove(),r=null,a("."+g).removeData(e).removeClass(g).die()},W.element=function(){return a(P)},W.settings=d})(jQuery,document,this); 
     4(function(e,t,n){function G(n,r,i){var o=t.createElement(n);return r&&(o.id=s+r),i&&(o.style.cssText=i),e(o)}function Y(e){var t=T.length,n=(U+e)%t;return n<0?t+n:n}function Z(e,t){return Math.round((/%/.test(e)?(t==="x"?tt():nt())/100:1)*parseInt(e,10))}function et(e){return B.photo||/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i.test(e)}function tt(){return n.innerWidth||N.width()}function nt(){return n.innerHeight||N.height()}function rt(){var t,n=e.data(R,i);n==null?(B=e.extend({},r),console&&console.log&&console.log("Error: cboxElement missing settings object")):B=e.extend({},n);for(t in B)e.isFunction(B[t])&&t.slice(0,2)!=="on"&&(B[t]=B[t].call(R));B.rel=B.rel||R.rel||"nofollow",B.href=B.href||e(R).attr("href"),B.title=B.title||R.title,typeof B.href=="string"&&(B.href=e.trim(B.href))}function it(t,n){e.event.trigger(t),n&&n.call(R)}function st(){var e,t=s+"Slideshow_",n="click."+s,r,i,o;B.slideshow&&T[1]?(r=function(){M.text(B.slideshowStop).unbind(n).bind(f,function(){if(B.loop||T[U+1])e=setTimeout(J.next,B.slideshowSpeed)}).bind(a,function(){clearTimeout(e)}).one(n+" "+l,i),g.removeClass(t+"off").addClass(t+"on"),e=setTimeout(J.next,B.slideshowSpeed)},i=function(){clearTimeout(e),M.text(B.slideshowStart).unbind([f,a,l,n].join(" ")).one(n,function(){J.next(),r()}),g.removeClass(t+"on").addClass(t+"off")},B.slideshowAuto?r():i()):g.removeClass(t+"off "+t+"on")}function ot(t){V||(R=t,rt(),T=e(R),U=0,B.rel!=="nofollow"&&(T=e("."+o).filter(function(){var t=e.data(this,i),n;return t&&(n=t.rel||this.rel),n===B.rel}),U=T.index(R),U===-1&&(T=T.add(R),U=T.length-1)),W||(W=X=!0,g.show(),B.returnFocus&&e(R).blur().one(c,function(){e(this).focus()}),m.css({opacity:+B.opacity,cursor:B.overlayClose?"pointer":"auto"}).show(),B.w=Z(B.initialWidth,"x"),B.h=Z(B.initialHeight,"y"),J.position(),d&&N.bind("resize."+v+" scroll."+v,function(){m.css({width:tt(),height:nt(),top:N.scrollTop(),left:N.scrollLeft()})}).trigger("resize."+v),it(u,B.onOpen),H.add(A).hide(),P.html(B.close).show()),J.load(!0))}function ut(){!g&&t.body&&(Q=!1,N=e(n),g=G(K).attr({id:i,"class":p?s+(d?"IE6":"IE"):""}).hide(),m=G(K,"Overlay",d?"position:absolute":"").hide(),L=G(K,"LoadingOverlay").add(G(K,"LoadingGraphic")),y=G(K,"Wrapper"),b=G(K,"Content").append(C=G(K,"LoadedContent","width:0; height:0; overflow:hidden"),A=G(K,"Title"),O=G(K,"Current"),_=G(K,"Next"),D=G(K,"Previous"),M=G(K,"Slideshow").bind(u,st),P=G(K,"Close")),y.append(G(K).append(G(K,"TopLeft"),w=G(K,"TopCenter"),G(K,"TopRight")),G(K,!1,"clear:left").append(E=G(K,"MiddleLeft"),b,S=G(K,"MiddleRight")),G(K,!1,"clear:left").append(G(K,"BottomLeft"),x=G(K,"BottomCenter"),G(K,"BottomRight"))).find("div div").css({"float":"left"}),k=G(K,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),H=_.add(D).add(O).add(M),e(t.body).append(m,g.append(y,k)))}function at(){return g?(Q||(Q=!0,j=w.height()+x.height()+b.outerHeight(!0)-b.height(),F=E.width()+S.width()+b.outerWidth(!0)-b.width(),I=C.outerHeight(!0),q=C.outerWidth(!0),g.css({"padding-bottom":j,"padding-right":F}),_.click(function(){J.next()}),D.click(function(){J.prev()}),P.click(function(){J.close()}),m.click(function(){B.overlayClose&&J.close()}),e(t).bind("keydown."+s,function(e){var t=e.keyCode;W&&B.escKey&&t===27&&(e.preventDefault(),J.close()),W&&B.arrowKey&&T[1]&&(t===37?(e.preventDefault(),D.click()):t===39&&(e.preventDefault(),_.click()))}),e("."+o,t).live("click",function(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||(e.preventDefault(),ot(this))})),!0):!1}var r={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},i="colorbox",s="cbox",o=s+"Element",u=s+"_open",a=s+"_load",f=s+"_complete",l=s+"_cleanup",c=s+"_closed",h=s+"_purge",p=!e.support.opacity&&!e.support.style,d=p&&!n.XMLHttpRequest,v=s+"_IE6",m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K="div",Q;if(e.colorbox)return;e(ut),J=e.fn[i]=e[i]=function(t,n){var s=this;t=t||{},ut();if(at()){if(!s[0]){if(s.selector)return s;s=e("<a/>"),t.open=!0}n&&(t.onComplete=n),s.each(function(){e.data(this,i,e.extend({},e.data(this,i)||r,t))}).addClass(o),(e.isFunction(t.open)&&t.open.call(s)||t.open)&&ot(s[0])}return s},J.position=function(e,t){function f(e){w[0].style.width=x[0].style.width=b[0].style.width=e.style.width,b[0].style.height=E[0].style.height=S[0].style.height=e.style.height}var n,r=0,i=0,o=g.offset(),u,a;N.unbind("resize."+s),g.css({top:-9e4,left:-9e4}),u=N.scrollTop(),a=N.scrollLeft(),B.fixed&&!d?(o.top-=u,o.left-=a,g.css({position:"fixed"})):(r=u,i=a,g.css({position:"absolute"})),B.right!==!1?i+=Math.max(tt()-B.w-q-F-Z(B.right,"x"),0):B.left!==!1?i+=Z(B.left,"x"):i+=Math.round(Math.max(tt()-B.w-q-F,0)/2),B.bottom!==!1?r+=Math.max(nt()-B.h-I-j-Z(B.bottom,"y"),0):B.top!==!1?r+=Z(B.top,"y"):r+=Math.round(Math.max(nt()-B.h-I-j,0)/2),g.css({top:o.top,left:o.left}),e=g.width()===B.w+q&&g.height()===B.h+I?0:e||0,y[0].style.width=y[0].style.height="9999px",n={width:B.w+q,height:B.h+I,top:r,left:i},e===0&&g.css(n),g.dequeue().animate(n,{duration:e,complete:function(){f(this),X=!1,y[0].style.width=B.w+q+F+"px",y[0].style.height=B.h+I+j+"px",B.reposition&&setTimeout(function(){N.bind("resize."+s,J.position)},1),t&&t()},step:function(){f(this)}})},J.resize=function(e){W&&(e=e||{},e.width&&(B.w=Z(e.width,"x")-q-F),e.innerWidth&&(B.w=Z(e.innerWidth,"x")),C.css({width:B.w}),e.height&&(B.h=Z(e.height,"y")-I-j),e.innerHeight&&(B.h=Z(e.innerHeight,"y")),!e.innerHeight&&!e.height&&(C.css({height:"auto"}),B.h=C.height()),C.css({height:B.h}),J.position(B.transition==="none"?0:B.speed))},J.prep=function(t){function o(){return B.w=B.w||C.width(),B.w=B.mw&&B.mw<B.w?B.mw:B.w,B.w}function u(){return B.h=B.h||C.height(),B.h=B.mh&&B.mh<B.h?B.mh:B.h,B.h}if(!W)return;var n,r=B.transition==="none"?0:B.speed;C.remove(),C=G(K,"LoadedContent").append(t),C.hide().appendTo(k.show()).css({width:o(),overflow:B.scrolling?"auto":"hidden"}).css({height:u()}).prependTo(b),k.hide(),e(z).css({"float":"none"}),d&&e("select").not(g.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(l,function(){this.style.visibility="inherit"}),n=function(){function y(){p&&g[0].style.removeAttribute("filter")}var t,n,o=T.length,u,a="frameBorder",l="allowTransparency",c,d,v,m;if(!W)return;c=function(){clearTimeout($),L.detach().hide(),it(f,B.onComplete)},p&&z&&C.fadeIn(100),A.html(B.title).add(C).show();if(o>1){typeof B.current=="string"&&O.html(B.current.replace("{current}",U+1).replace("{total}",o)).show(),_[B.loop||U<o-1?"show":"hide"]().html(B.next),D[B.loop||U?"show":"hide"]().html(B.previous),B.slideshow&&M.show();if(B.preloading){t=[Y(-1),Y(1)];while(n=T[t.pop()])m=e.data(n,i),m&&m.href?(d=m.href,e.isFunction(d)&&(d=d.call(n))):d=n.href,et(d)&&(v=new Image,v.src=d)}}else H.hide();B.iframe?(u=G("iframe")[0],a in u&&(u[a]=0),l in u&&(u[l]="true"),u.name=s+ +(new Date),B.fastIframe?c():e(u).one("load",c),u.src=B.href,B.scrolling||(u.scrolling="no"),e(u).addClass(s+"Iframe").appendTo(C).one(h,function(){u.src="//about:blank"})):c(),B.transition==="fade"?g.fadeTo(r,1,y):y()},B.transition==="fade"?g.fadeTo(r,0,function(){J.position(0,n)}):J.position(r,n)},J.load=function(t){var n,r,i=J.prep;X=!0,z=!1,R=T[U],t||rt(),it(h),it(a,B.onLoad),B.h=B.height?Z(B.height,"y")-I-j:B.innerHeight&&Z(B.innerHeight,"y"),B.w=B.width?Z(B.width,"x")-q-F:B.innerWidth&&Z(B.innerWidth,"x"),B.mw=B.w,B.mh=B.h,B.maxWidth&&(B.mw=Z(B.maxWidth,"x")-q-F,B.mw=B.w&&B.w<B.mw?B.w:B.mw),B.maxHeight&&(B.mh=Z(B.maxHeight,"y")-I-j,B.mh=B.h&&B.h<B.mh?B.h:B.mh),n=B.href,$=setTimeout(function(){L.show().appendTo(b)},100),B.inline?(G(K).hide().insertBefore(e(n)[0]).one(h,function(){e(this).replaceWith(C.children())}),i(e(n))):B.iframe?i(" "):B.html?i(B.html):et(n)?(e(z=new Image).addClass(s+"Photo").error(function(){B.title=!1,i(G(K,"Error").html(B.imgError))}).load(function(){var e;z.onload=null,B.scalePhotos&&(r=function(){z.height-=z.height*e,z.width-=z.width*e},B.mw&&z.width>B.mw&&(e=(z.width-B.mw)/z.width,r()),B.mh&&z.height>B.mh&&(e=(z.height-B.mh)/z.height,r())),B.h&&(z.style.marginTop=Math.max(B.h-z.height,0)/2+"px"),T[1]&&(B.loop||T[U+1])&&(z.style.cursor="pointer",z.onclick=function(){J.next()}),p&&(z.style.msInterpolationMode="bicubic"),setTimeout(function(){i(z)},1)}),setTimeout(function(){z.src=n},1)):n&&k.load(n,B.data,function(t,n,r){i(n==="error"?G(K,"Error").html(B.xhrError):e(this).contents())})},J.next=function(){!X&&T[1]&&(B.loop||T[U+1])&&(U=Y(1),J.load())},J.prev=function(){!X&&T[1]&&(B.loop||U)&&(U=Y(-1),J.load())},J.close=function(){W&&!V&&(V=!0,W=!1,it(l,B.onCleanup),N.unbind("."+s+" ."+v),m.fadeTo(200,0),g.stop().fadeTo(300,0,function(){g.add(m).css({opacity:1,cursor:"auto"}).hide(),it(h),C.remove(),setTimeout(function(){V=!1,it(c,B.onClosed)},1)}))},J.remove=function(){e([]).add(g).add(m).remove(),g=null,e("."+o).removeData(i).removeClass(o).die()},J.element=function(){return e(R)},J.settings=r})(jQuery,document,this); 
  • easy-digital-downloads/trunk/includes/misc-functions.php

    r619594 r621490  
    732732        } 
    733733        // CHANGE __FILE__ PATH IF LOCATED OUTSIDE MAIN PLUGIN FILE 
    734         $plugin_data         = get_plugin_data( __FILE__ ); 
     734        $plugin_data         = get_plugin_data( EDD_PLUGIN_FILE ); 
    735735        $posts_with_comments = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type='post' AND comment_count > 0" ); 
    736736        $data                = array( 
  • easy-digital-downloads/trunk/includes/scripts.php

    r619594 r621490  
    8484        $edd_css = str_replace( ABSPATH, '/', $edd_css ); 
    8585 
    86         wp_enqueue_style('edd-styles', $edd_css, EDD_VERSION); 
     86        wp_enqueue_style( 'edd-styles', $edd_css, EDD_VERSION ); 
    8787    } 
    8888} 
     
    121121    } 
    122122    if( $hook == $edd_settings_page ) { 
    123         wp_enqueue_style( 'colorbox', EDD_PLUGIN_URL . 'includes/css/colorbox.css'); 
    124         wp_enqueue_script( 'colorbox', EDD_PLUGIN_URL . 'includes/js/jquery.colorbox-min.js', array('jquery'), '1.3.19.3'); 
     123        wp_enqueue_style( 'colorbox', EDD_PLUGIN_URL . 'includes/css/colorbox.css', array(  ), '1.3.20' ); 
     124        wp_enqueue_script( 'colorbox', EDD_PLUGIN_URL . 'includes/js/jquery.colorbox-min.js', array( 'jquery' ), '1.3.20'); 
    125125    } 
    126126    wp_enqueue_script( 'media-upload' ); 
    127127    wp_enqueue_script( 'thickbox' ); 
    128     wp_enqueue_script( 'edd-admin-scripts', EDD_PLUGIN_URL . 'includes/js/admin-scripts.js' ); 
     128    wp_enqueue_script( 'edd-admin-scripts', EDD_PLUGIN_URL . 'includes/js/admin-scripts.js', array( 'jquery' ), EDD_VERSION, false ); 
    129129    wp_localize_script( 'edd-admin-scripts', 'edd_vars', array( 
    130130        'post_id'           => isset( $post->ID ) ? $post->ID : null, 
     
    141141    wp_enqueue_style( 'thickbox' ); 
    142142 
    143     wp_enqueue_style( 'edd-admin', EDD_PLUGIN_URL . 'includes/css/edd-admin.css' ); 
     143    wp_enqueue_style( 'edd-admin', EDD_PLUGIN_URL . 'includes/css/edd-admin.css', EDD_VERSION ); 
    144144} 
    145145add_action( 'admin_enqueue_scripts', 'edd_load_admin_scripts', 100 ); 
  • easy-digital-downloads/trunk/includes/shortcodes.php

    r619594 r621490  
    277277    } 
    278278 
     279    $query['paged'] = get_query_var('paged'); 
     280 
     281 
    279282    switch( intval( $columns ) ) : 
    280283     
     
    333336                <?php if( $i % $columns == 0 ) { ?><div style="clear:both;"></div><?php } ?> 
    334337            <?php $i++; endwhile; ?> 
     338 
     339            <div style="clear:both;"></div> 
     340 
     341            <div id="edd_download_pagination" class="navigation"> 
     342                <?php 
     343                $big = 999999; 
     344                echo paginate_links( array( 
     345                    'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 
     346                    'format' => '?paged=%#%', 
     347                    'current' => max( 1, get_query_var('paged') ), 
     348                    'total' => $downloads->max_num_pages 
     349                ) ); 
     350                ?> 
     351            </div> 
    335352            <?php wp_reset_postdata(); ?> 
    336             <div style="clear:both;"></div> 
    337353        </div> 
    338354        <?php 
  • easy-digital-downloads/trunk/includes/widgets.php

    r619594 r621490  
    282282} 
    283283add_action('widgets_init', 'edd_register_widgets'); 
    284  
    285  
    286 /** 
    287  * Register Dashboard Widgets 
    288  * 
    289  * Registers the dashboard widgets. 
    290  * 
    291  * @access      private 
    292  * @author      Sunny Ratilal 
    293  * @since       1.2.2 
    294 */ 
    295  
    296 function edd_register_dashboard_widgets() { 
    297  
    298     if ( current_user_can( apply_filters( 'edd_dashboard_stats_cap', 'edit_pages' ) ) ) { 
    299         wp_add_dashboard_widget( 'edd_dashboard_sales', __('Easy Digital Downloads Sales Summary', 'edd'), 'edd_dashboard_sales_widget' ); 
    300     } 
    301  
    302 } 
    303 add_action('wp_dashboard_setup', 'edd_register_dashboard_widgets' );  
    304  
    305  
    306 /** 
    307  * Sales Summary Dashboard Widget 
    308  * 
    309  * 
    310  * @access      private 
    311  * @author      Sunny Ratilal 
    312  * @since       1.2.2 
    313 */ 
    314  
    315 function edd_dashboard_sales_widget() { 
    316  
    317     $top_selling_args = array( 
    318         'post_type'              => 'download', 
    319         'posts_per_page'         => 1, 
    320         'post_status'            => 'publish', 
    321         'meta_key'               => '_edd_download_sales', 
    322         'meta_compare'           => '>', 
    323         'meta_value'             => 0, 
    324         'orderby'                => 'meta_value_num', 
    325         'cache_results'          => false, 
    326         'update_post_term_cache' => false, 
    327         'no_found_rows'          => true, 
    328         'order'                  => 'DESC' 
    329     ); 
    330  
    331     $top_selling_30_days_args = array( 
    332         'post_type'              => 'download', 
    333         'posts_per_page'         => 1, 
    334         'post_status'            => 'publish', 
    335         'meta_key'               => '_edd_download_sales', 
    336         'meta_compare'           => '>', 
    337         'meta_value'             => 0, 
    338         'orderby'                => 'meta_value_num', 
    339         'cache_results'          => false, 
    340         'update_post_term_cache' => false, 
    341         'no_found_rows'          => true, 
    342         'year'                   => date('Y'), 
    343         'monthnum'               => date('n'), 
    344         'order'                  => 'DESC' 
    345     ); 
    346  
    347     $top_selling = get_posts( $top_selling_args ); 
    348     $top_selling_30_days = get_posts( $top_selling_30_days_args ); 
    349  
    350     ?> 
    351     <div class="table table_current_month"> 
    352         <p class="sub"><?php _e('Current Month', 'edd') ?></p> 
    353         <table> 
    354             <tbody> 
    355                 <tr class="first"> 
    356                     <td class="first b"><?php echo edd_currency_filter( edd_format_amount( edd_get_earnings_by_date( null, date('n'), date('Y')) ) ); ?></td> 
    357                     <td class="t monthly_earnings"><?php _e('Earnings', 'edd'); ?></td> 
    358                 </tr> 
    359                 <tr> 
    360                     <td class="first b"><?php echo edd_get_sales_by_date( null, date('n'), date('Y') ); ?></td> 
    361                     <td class="t monthly_sales"><?php echo _n('Sale', 'Sales', edd_get_sales_by_date( null, date('n'), date('Y') ), 'edd'); ?></td> 
    362                 </tr> 
    363             </tbody> 
    364         </table> 
    365         <?php if ( $top_selling_30_days ) { 
    366             foreach( $top_selling_30_days as $list ) { ?> 
    367         <p class="best_selling_30_days label_heading"><?php _e('Best Selling in Last 30 Days', 'edd') ?></p> 
    368         <p><span class="best_selling_30_days_label"><?php echo edd_get_download_sales_stats( $list->ID ); ?></span> <a href="<?php echo get_permalink( $list->ID ) ?>"><?php echo get_the_title( $list->ID ); ?></a></p> 
    369         <?php } } ?> 
    370     </div> 
    371     <div class="table table_totals"> 
    372         <p class="sub"><?php _e('Totals', 'edd') ?></p> 
    373         <table> 
    374             <tbody> 
    375                 <tr class="first"> 
    376                     <td class="b b-earnings"><?php echo edd_get_total_earnings(); ?></td> 
    377                     <td class="last t earnings"><?php _e('Total Earnings', 'edd'); ?></td> 
    378                 </tr> 
    379                 <tr> 
    380                     <td class="b b-sales"><?php echo edd_get_total_sales(); ?></td> 
    381                     <td class="last t sales"><?php _e('Total Sales', 'edd'); ?></td> 
    382                 </tr> 
    383             </tbody> 
    384         </table> 
    385         <?php if ( $top_selling ) { 
    386             foreach( $top_selling as $list ) { ?> 
    387         <p class="lifetime_best_selling label_heading"><?php _e('Lifetime Best Selling', 'edd') ?></p> 
    388         <p><span class="lifetime_best_selling_label"><?php echo edd_get_download_sales_stats( $list->ID ); ?></span> <a href="<?php echo get_permalink( $list->ID ); ?>"><?php echo get_the_title( $list->ID ); ?></a></p> 
    389         <?php } } ?>         
    390     </div> 
    391     <div style="clear: both"></div> 
    392     <p class="edd_dashboard_widget_subheading"><?php _e( 'Recent Purchases', 'edd' ); ?></p> 
    393     <div class="table recent_purchases"> 
    394         <table> 
    395             <tbody> 
    396                 <?php 
    397                 $payments = edd_get_payments( array( 
    398                     'number'   => 5,  
    399                     'mode'     => 'live',  
    400                     'orderby'  => 'post_date',  
    401                     'order'    => 'DESC',  
    402                     'user'     => null,  
    403                     'status'   => 'completed',  
    404                     'meta_key' => null 
    405                 ) ); 
    406  
    407                 if ( $payments ) { 
    408                     foreach ( $payments as $payment ) { 
    409                         $payment_meta = edd_get_payment_meta( $payment->ID ); 
    410                 ?> 
    411                 <tr> 
    412                     <td><?php echo get_the_title( $payment->ID ) ?> - (<?php echo $payment_meta['email'] ?>) - <span class="edd_price_label"><?php echo edd_currency_filter( edd_format_amount( edd_get_payment_amount( $payment->ID ) ) ); ?></span> - <a href="#TB_inline?width=640&amp;inlineId=purchased-files-<?php echo $payment->ID; ?>" class="thickbox" title="<?php printf( __( 'Purchase Details for Payment #%s', 'edd' ), $payment->ID ); ?> "><?php _e( 'View Order Details', 'edd' ); ?></a> 
    413                         <div id="purchased-files-<?php echo $payment->ID; ?>" style="display:none;"> 
    414                             <?php  
    415                                 $cart_items = edd_get_payment_meta_cart_details( $payment->ID ); 
    416                                 if( empty( $cart_items ) || !$cart_items ) { 
    417                                     $cart_items = maybe_unserialize( $payment_meta['downloads'] ); 
    418                                 } 
    419                             ?> 
    420                             <h4><?php echo _n( __( 'Purchased File', 'edd' ), __( 'Purchased Files', 'edd' ), count( $cart_items ) ); ?></h4> 
    421                             <ul class="purchased-files-list"> 
    422                             <?php  
    423                                 if( $cart_items ) { 
    424                                     foreach( $cart_items as $key => $cart_item ) { 
    425                                         echo '<li>'; 
    426                                             $id = isset( $payment_meta['cart_details'] ) ? $cart_item['id'] : $cart_item; 
    427                                             $price_override = isset( $payment_meta['cart_details'] ) ? $cart_item['price'] : null;  
    428                                             $user_info = edd_get_payment_meta_user_info( $payment->ID ); 
    429                                             $price = edd_get_download_final_price( $id, $user_info, $price_override ); 
    430                                             echo '<a href="' . admin_url( 'post.php?post=' . $id . '&action=edit' ) . '" target="_blank">' . get_the_title( $id ) . '</a>'; 
    431                                             echo  ' - '; 
    432                                             if( isset( $cart_items[ $key ]['item_number'])) { 
    433                                                 $price_options = $cart_items[ $key ]['item_number']['options']; 
    434                                                 if( isset( $price_options['price_id'] ) ) { 
    435                                                     echo edd_get_price_option_name( $id, $price_options['price_id'] ); 
    436                                                     echo ' - '; 
    437                                                 } 
    438                                             }    
    439                                             echo edd_currency_filter( edd_format_amount( $price ) ); 
    440                                         echo '</li>'; 
    441                                     } 
    442                                 } 
    443                             ?> 
    444                             </ul> 
    445                             <?php $payment_date = strtotime( $payment->post_date ); ?> 
    446                             <p><?php echo __( 'Date and Time:', 'edd' ) . ' ' . date_i18n( get_option( 'date_format' ), $payment_date ) . ' ' . date_i18n( get_option( 'time_format' ), $payment_date ) ?> 
    447                             <p><?php echo __( 'Discount used:', 'edd' ) . ' '; if( isset( $user_info['discount'] ) && $user_info['discount'] != 'none' ) { echo $user_info['discount']; } else { _e( 'none', 'edd' ); } ?> 
    448                             <p><?php echo __( 'Total:', 'edd' ) . ' ' . edd_currency_filter( edd_format_amount( edd_get_payment_amount( $payment->ID ) ) ); ?></p> 
    449                              
    450                             <div class="purcase-personal-details"> 
    451                                 <h4><?php _e( 'Buyer\'s Personal Details:', 'edd' ); ?></h4> 
    452                                 <ul> 
    453                                     <li><?php echo __( 'Name:', 'edd' ) . ' ' . $user_info['first_name'] . ' ' . $user_info['last_name']; ?></li> 
    454                                     <li><?php echo __( 'Email:', 'edd' ) . ' ' . $payment_meta['email']; ?></li> 
    455                                     <?php do_action( 'edd_payment_personal_details_list', $payment_meta, $user_info ); ?> 
    456                                 </ul> 
    457                             </div> 
    458                             <?php 
    459                             $gateway = edd_get_payment_gateway( $payment->ID ); 
    460                             if( $gateway ) { ?> 
    461                             <div class="payment-method"> 
    462                                 <h4><?php _e('Payment Method:', 'edd'); ?></h4> 
    463                                 <span class="payment-method-name"><?php echo edd_get_gateway_admin_label( $gateway ); ?></span> 
    464                             </div> 
    465                             <?php } ?> 
    466                             <div class="purchase-key-wrap"> 
    467                                 <h4><?php _e('Purchase Key', 'edd'); ?></h4> 
    468                                 <span class="purchase-key"><?php echo $payment_meta['key']; ?></span> 
    469                             </div> 
    470                             <p><a id="edd-close-purchase-details" class="button-secondary" onclick="tb_remove();" title="<?php _e('Close', 'edd'); ?>"><?php _e('Close', 'edd'); ?></a></p> 
    471                         </div> 
    472                     </td> 
    473                 </tr> 
    474                 <?php } 
    475                 } ?> 
    476             </tbody> 
    477         </table> 
    478     </div> 
    479     <?php 
    480 } 
  • easy-digital-downloads/trunk/languages/edd-fr_FR.po

    r619594 r621490  
    33"Project-Id-Version: Easy Digital Downloads v1.1.5.2\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2012-10-31 11:57+0100\n" 
    6 "PO-Revision-Date: 2012-10-31 12:00+0100\n" 
     5"POT-Creation-Date: 2012-11-05 15:28+0100\n" 
     6"PO-Revision-Date: 2012-11-05 15:30+0100\n" 
    77"Last-Translator: FxB <fx@fxbenard.com>\n" 
    88"Language-Team: FxB <fx@fxbenard.com>\n" 
     
    1414"X-Poedit-SourceCharset: UTF-8\n" 
    1515"X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_n;" 
    16 "_x;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
     16"_x;_n:1,2;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
    1717"X-Poedit-Basepath: ../\n" 
    1818"X-Textdomain-Support: yes\n" 
     
    2121 
    2222# @ edd 
     23#: easy-digital-downloads.php:28 includes/admin/reporting/pdf-reports.php:40 
     24#: includes/admin/reporting/pdf-reports.php:41 
     25msgid "Easy Digital Downloads" 
     26msgstr "Easy Digital Downloads" 
     27 
     28# @ edd 
     29#: easy-digital-downloads.php:29 
     30msgid "Serve Digital Downloads Through WordPress" 
     31msgstr "Offrir des Téléchargements Numériques dans WordPress" 
     32 
     33#: easy-digital-downloads.php:30 
     34msgid "Pippin Williamson" 
     35msgstr "Pippin Williamson" 
     36 
     37# @ edd 
     38#: easy-digital-downloads.php:31 
     39msgid "http://easydigitaldownloads.com/" 
     40msgstr "http://easydigitaldownloads.com/" 
     41 
     42# @ edd 
    2343#: includes/ajax-functions.php:103 
    2444msgid "This discount code has been used already" 
     
    3151 
    3252# @ edd 
    33 #: includes/cart-functions.php:408 
     53#: includes/cart-functions.php:428 
    3454#, php-format 
    3555msgid "You have successfully added %s to your shopping cart." 
     
    3757 
    3858# @ edd 
    39 #: includes/cart-functions.php:409 
     59#: includes/cart-functions.php:429 
    4060msgid "Checkout." 
    4161msgstr "Commander." 
     
    5878 
    5979# @ edd 
    60 #: includes/checkout-template.php:62 
     80#: includes/checkout-template.php:129 
    6181msgid "Personal Info" 
    6282msgstr "Info personnelle" 
    6383 
    6484# @ edd 
    65 #: includes/checkout-template.php:65 
     85#: includes/checkout-template.php:132 
    6686msgid "Email address" 
    6787msgstr "Adresse e-mail" 
    6888 
    6989# @ edd 
    70 #: includes/checkout-template.php:66 
     90#: includes/checkout-template.php:133 
    7191msgid "Email Address" 
    7292msgstr "Adresse e-mail" 
    7393 
    7494# @ edd 
    75 #: includes/checkout-template.php:70 includes/checkout-template.php:71 
    76 #: includes/checkout-template.php:301 includes/checkout-template.php:302 
     95#: includes/checkout-template.php:137 includes/checkout-template.php:138 
     96#: includes/checkout-template.php:309 includes/checkout-template.php:310 
    7797#: includes/admin/export-functions.php:23 
    7898msgid "First Name" 
     
    80100 
    81101# @ edd 
    82 #: includes/checkout-template.php:74 includes/checkout-template.php:305 
     102#: includes/checkout-template.php:141 includes/checkout-template.php:313 
    83103msgid "Last name" 
    84104msgstr "Nom" 
    85105 
    86106# @ edd 
    87 #: includes/checkout-template.php:75 includes/checkout-template.php:306 
     107#: includes/checkout-template.php:142 includes/checkout-template.php:314 
    88108#: includes/admin/export-functions.php:24 
    89109msgid "Last Name" 
     
    91111 
    92112# @ edd 
    93 #: includes/checkout-template.php:110 
    94 msgid "Go back" 
    95 msgstr "Retour" 
    96  
    97 # @ edd 
    98 #: includes/checkout-template.php:115 
    99 msgid "You must be logged in to complete your purchase" 
    100 msgstr "Vous devez être connecté afin de poursuivre l'achat" 
    101  
    102 # @ edd 
    103 #: includes/checkout-template.php:157 
     113#: includes/checkout-template.php:165 
    104114msgid "Credit Card Info" 
    105115msgstr "Infos carte de crédit" 
    106116 
    107117# @ edd 
    108 #: includes/checkout-template.php:159 
     118#: includes/checkout-template.php:167 
    109119msgid "Card name" 
    110120msgstr "Nom de la carte" 
    111121 
    112122# @ edd 
    113 #: includes/checkout-template.php:160 
     123#: includes/checkout-template.php:168 
    114124msgid "Name on the Card" 
    115125msgstr "Nom sur la carte" 
    116126 
    117127# @ edd 
    118 #: includes/checkout-template.php:163 
     128#: includes/checkout-template.php:171 
    119129msgid "Card number" 
    120130msgstr "Numéro de la carte" 
    121131 
    122132# @ edd 
    123 #: includes/checkout-template.php:164 
     133#: includes/checkout-template.php:172 
    124134msgid "Card Number" 
    125135msgstr "Numéro de la carte" 
    126136 
    127137# @ edd 
    128 #: includes/checkout-template.php:167 
     138#: includes/checkout-template.php:175 
    129139msgid "Security code" 
    130140msgstr "Code de sécurité" 
    131141 
    132142# @ edd 
    133 #: includes/checkout-template.php:168 
     143#: includes/checkout-template.php:176 
    134144msgid "CVC" 
    135145msgstr "CVC" 
    136146 
    137147# @ edd 
    138 #: includes/checkout-template.php:174 
     148#: includes/checkout-template.php:182 
    139149msgid "Month" 
    140150msgstr "Mois" 
    141151 
    142152# @ edd 
    143 #: includes/checkout-template.php:176 
     153#: includes/checkout-template.php:184 
    144154msgid "Year" 
    145155msgstr "Année" 
    146156 
    147157# @ edd 
    148 #: includes/checkout-template.php:177 
     158#: includes/checkout-template.php:185 
    149159msgid "Expiration (MM/YYYY)" 
    150160msgstr "Expiration (MM/AAAA)" 
    151161 
    152162# @ edd 
    153 #: includes/checkout-template.php:207 
     163#: includes/checkout-template.php:215 
    154164msgid "Address line 1" 
    155165msgstr "Adresse ligne 1" 
    156166 
    157167# @ edd 
    158 #: includes/checkout-template.php:208 
     168#: includes/checkout-template.php:216 
    159169msgid "Billing Address" 
    160170msgstr "Adresse de facturation" 
    161171 
    162172# @ edd 
    163 #: includes/checkout-template.php:211 
     173#: includes/checkout-template.php:219 
    164174msgid "Address line 2" 
    165175msgstr "Adresse ligne 2" 
    166176 
    167177# @ edd 
    168 #: includes/checkout-template.php:212 
     178#: includes/checkout-template.php:220 
    169179msgid "Billing Address Line 2" 
    170180msgstr "Adresse de facturation ligne 2" 
    171181 
    172182# @ edd 
    173 #: includes/checkout-template.php:215 
     183#: includes/checkout-template.php:223 
    174184msgid "City" 
    175185msgstr "Ville" 
    176186 
    177187# @ edd 
    178 #: includes/checkout-template.php:216 
     188#: includes/checkout-template.php:224 
    179189msgid "Billing City" 
    180190msgstr "Ville de facturation" 
    181191 
    182192# @ edd 
    183 #: includes/checkout-template.php:227 
     193#: includes/checkout-template.php:235 
    184194msgid "Billing Country" 
    185195msgstr "Pays de facturation" 
    186196 
    187197# @ edd 
    188 #: includes/checkout-template.php:230 
     198#: includes/checkout-template.php:238 
    189199msgid "State / Province" 
    190200msgstr "État / Province" 
    191201 
    192202# @ edd 
    193 #: includes/checkout-template.php:247 
     203#: includes/checkout-template.php:255 
    194204msgid "Billing State / Province" 
    195205msgstr "État / Province de facturation" 
    196206 
    197207# @ edd 
    198 #: includes/checkout-template.php:250 
     208#: includes/checkout-template.php:258 
    199209msgid "Zip / Postal code" 
    200210msgstr "Code postal" 
    201211 
    202212# @ edd 
    203 #: includes/checkout-template.php:251 
     213#: includes/checkout-template.php:259 
    204214msgid "Billing Zip / Postal Code" 
    205215msgstr "Code Postal" 
    206216 
    207217# @ edd 
    208 #: includes/checkout-template.php:278 
     218#: includes/checkout-template.php:286 
    209219msgid "Already have an account?" 
    210220msgstr "Vous avez déjà un compte ?" 
    211221 
    212222# @ edd 
    213 #: includes/checkout-template.php:278 includes/login-register.php:50 
     223#: includes/checkout-template.php:286 includes/login-register.php:50 
    214224msgid "Login" 
    215225msgstr "Se connecter" 
    216226 
    217227# @ edd 
    218 #: includes/checkout-template.php:280 
     228#: includes/checkout-template.php:288 
    219229msgid "Create an account" 
    220230msgstr "Créer un compte" 
    221231 
    222232# @ edd 
    223 #: includes/checkout-template.php:280 
     233#: includes/checkout-template.php:288 
    224234msgid "(optional)" 
    225235msgstr "(facultatif)" 
    226236 
    227237# @ edd 
    228 #: includes/checkout-template.php:283 includes/checkout-template.php:284 
    229 #: includes/checkout-template.php:331 includes/login-register.php:39 
     238#: includes/checkout-template.php:291 includes/checkout-template.php:292 
     239#: includes/checkout-template.php:344 includes/login-register.php:39 
    230240#: includes/login-register.php:40 
    231241msgid "Username" 
     
    233243 
    234244# @ edd 
    235 #: includes/checkout-template.php:287 includes/checkout-template.php:288 
    236 #: includes/checkout-template.php:335 includes/login-register.php:43 
     245#: includes/checkout-template.php:295 includes/checkout-template.php:296 
     246#: includes/checkout-template.php:348 includes/login-register.php:43 
    237247msgid "Password" 
    238248msgstr "Mot de passe" 
    239249 
    240250# @ edd 
    241 #: includes/checkout-template.php:291 
     251#: includes/checkout-template.php:299 
    242252msgid "Confirm password" 
    243253msgstr "Confirmer le mot de passe" 
    244254 
    245255# @ edd 
    246 #: includes/checkout-template.php:292 
     256#: includes/checkout-template.php:300 
    247257msgid "Password Again" 
    248258msgstr "Mot de passe à nouveau" 
    249259 
    250260# @ edd 
    251 #: includes/checkout-template.php:297 includes/checkout-template.php:298 
     261#: includes/checkout-template.php:305 includes/checkout-template.php:306 
    252262#: includes/admin/export-functions.php:22 
    253263#: includes/admin/payments/payments-history.php:138 
     
    258268 
    259269# @ edd 
    260 #: includes/checkout-template.php:327 
     270#: includes/checkout-template.php:340 
    261271msgid "Login to your account" 
    262272msgstr "Se connecter au compte" 
    263273 
    264274# @ edd 
    265 #: includes/checkout-template.php:330 
     275#: includes/checkout-template.php:343 
    266276msgid "Your username" 
    267277msgstr "Votre nom d'utilisateur" 
    268278 
    269279# @ edd 
    270 #: includes/checkout-template.php:334 
     280#: includes/checkout-template.php:347 
    271281msgid "Your password" 
    272282msgstr "Votre mot de passe" 
    273283 
    274284# @ edd 
    275 #: includes/checkout-template.php:342 
     285#: includes/checkout-template.php:354 
    276286msgid "Need to create an account?" 
    277287msgstr "Besoin de créer un compte ?" 
    278288 
    279289# @ edd 
    280 #: includes/checkout-template.php:344 
     290#: includes/checkout-template.php:356 
    281291msgid "Register" 
    282292msgstr "Enregistrer" 
    283293 
    284 #: includes/checkout-template.php:344 
     294#: includes/checkout-template.php:356 
    285295msgid "or checkout as a guest." 
    286296msgstr "ou commander en tant qu'invité." 
    287297 
    288298# @ edd 
    289 #: includes/checkout-template.php:370 
     299#: includes/checkout-template.php:386 
    290300msgid "Select payment method" 
    291301msgstr "Selectionner la méthode de paiement" 
    292302 
    293303# @ edd 
    294 #: includes/checkout-template.php:403 
     304#: includes/checkout-template.php:419 
    295305msgid "Enter discount" 
    296306msgstr "Entrer code de remise" 
    297307 
    298308# @ edd 
    299 #: includes/checkout-template.php:405 
     309#: includes/checkout-template.php:421 
    300310msgid "Discount" 
    301311msgstr "Remise" 
    302312 
    303313# @ edd 
    304 #: includes/checkout-template.php:407 
     314#: includes/checkout-template.php:423 
    305315msgid "Apply Discount" 
    306316msgstr "Appliquer la remise" 
    307317 
    308 #: includes/checkout-template.php:440 
     318#: includes/checkout-template.php:456 
    309319msgid "Show Terms" 
    310320msgstr "Afficher les conditions" 
    311321 
    312 #: includes/checkout-template.php:441 
     322#: includes/checkout-template.php:457 
    313323msgid "Hide Terms" 
    314324msgstr "Cacher les conditions" 
    315325 
    316 #: includes/checkout-template.php:444 
     326#: includes/checkout-template.php:460 
    317327msgid "Agree to Terms?" 
    318328msgstr "Accepter les conditions ?" 
    319329 
    320330# @ edd 
    321 #: includes/checkout-template.php:468 includes/admin/downloads/metabox.php:630 
     331#: includes/checkout-template.php:490 
     332msgid "Go back" 
     333msgstr "Retour" 
     334 
     335# @ edd 
     336#: includes/checkout-template.php:514 includes/admin/downloads/metabox.php:630 
    322337#: includes/admin/downloads/metabox.php:735 
    323338#: includes/admin/payments/payments-history.php:318 
     
    326341 
    327342# @ edd 
    328 #: includes/checkout-template.php:487 includes/shortcodes.php:28 
     343#: includes/checkout-template.php:533 includes/shortcodes.php:28 
    329344#: includes/template-functions.php:54 includes/admin/thickbox.php:61 
    330345#: includes/admin/downloads/dashboard-columns.php:55 
     
    15831598 
    15841599# @ edd 
    1585 #: includes/shortcodes.php:341 
     1600#: includes/shortcodes.php:357 
    15861601#, php-format 
    15871602msgctxt "download post type name" 
     
    16951710 
    16961711# @ edd 
    1697 #: includes/widgets.php:299 
     1712#: includes/admin/add-ons.php:43 
     1713msgid "Add Ons for Easy Digital Downloads" 
     1714msgstr "Modules complémentaires pour Easy Digital Downloads" 
     1715 
     1716#: includes/admin/add-ons.php:44 
     1717msgid "These add-ons extend the functionality of Easy Digital Downloads." 
     1718msgstr "" 
     1719"Ces modules complémentaires étendent les fonctionnalités d'Easy Digital " 
     1720"Downloads." 
     1721 
     1722#: includes/admin/add-ons.php:47 
     1723msgid "Browse All Extensions" 
     1724msgstr "Parcourir toutes les extensions" 
     1725 
     1726#: includes/admin/add-ons.php:74 
     1727msgid "" 
     1728"There was an error retrieving the extensions list from the server. Please " 
     1729"try again later." 
     1730msgstr "" 
     1731"Il semble y avoir une erreur lors de la récupération de la liste des " 
     1732"extensions sur le serveur. S'il vous plaît essayez de nouveau dans quelques " 
     1733"minutes." 
     1734 
     1735# @ edd 
     1736#: includes/admin/admin-notices.php:29 
     1737msgid "Discount code updated." 
     1738msgstr "Code de remise mis à jour." 
     1739 
     1740# @ edd 
     1741#: includes/admin/admin-notices.php:32 
     1742msgid "There was a problem updating your discount code, please try again." 
     1743msgstr "" 
     1744"Une erreur s'est produite lors de la mise à jour de votre code de remise, " 
     1745"veuillez réessayer." 
     1746 
     1747#: includes/admin/admin-notices.php:35 
     1748msgid "The payment has been deleted." 
     1749msgstr "Le paiement a été supprimé." 
     1750 
     1751#: includes/admin/admin-notices.php:38 
     1752msgid "The purchase receipt has been resent." 
     1753msgstr "La facture d'achat a été renvoyée." 
     1754 
     1755#: includes/admin/admin-notices.php:54 
     1756msgid "" 
     1757"There seems to be an issue with the server. Please try again in a few " 
     1758"minutes." 
     1759msgstr "" 
     1760"Il semble y avoir un problème avec le serveur. S'il vous plaît essayez de " 
     1761"nouveau dans quelques minutes." 
     1762 
     1763# @ edd 
     1764#: includes/admin/admin-pages.php:27 
     1765#: includes/admin/discounts/discount-codes.php:34 
     1766msgid "Discount Codes" 
     1767msgstr "Codes de remise" 
     1768 
     1769# @ edd 
     1770#: includes/admin/admin-pages.php:28 
     1771msgid "Earnings and Sales Reports" 
     1772msgstr "Rapports de revenus et de ventes" 
     1773 
     1774# @ edd 
     1775#: includes/admin/admin-pages.php:28 includes/admin/reporting/reports.php:35 
     1776msgid "Reports" 
     1777msgstr "Rapports" 
     1778 
     1779# @ edd 
     1780#: includes/admin/admin-pages.php:29 
     1781msgid "Easy Digital Download Settings" 
     1782msgstr "Réglages Easy Digital Download" 
     1783 
     1784# @ edd 
     1785#: includes/admin/admin-pages.php:29 
     1786msgid "Settings" 
     1787msgstr "Réglages" 
     1788 
     1789# @ edd 
     1790#: includes/admin/admin-pages.php:30 
     1791msgid "Easy Digital Download Add Ons" 
     1792msgstr "Modules Easy Digital Downloads" 
     1793 
     1794#: includes/admin/admin-pages.php:30 
     1795msgid "Add Ons" 
     1796msgstr "Modules complémentaires" 
     1797 
     1798#: includes/admin/admin-pages.php:31 
     1799msgid "EDD Upgrades" 
     1800msgstr "EDD Mises à jour" 
     1801 
     1802# @ edd 
     1803#: includes/admin/dashboard-widgets.php:27 
    16981804msgid "Easy Digital Downloads Sales Summary" 
    16991805msgstr "Résumé des ventes d'Easy Digital Downloads" 
    17001806 
    17011807# @ edd 
    1702 #: includes/widgets.php:352 
     1808#: includes/admin/dashboard-widgets.php:80 
    17031809msgid "Current Month" 
    17041810msgstr "Mois en cours" 
    17051811 
    17061812# @ edd 
    1707 #: includes/widgets.php:357 includes/admin/downloads/dashboard-columns.php:31 
     1813#: includes/admin/dashboard-widgets.php:85 
     1814#: includes/admin/downloads/dashboard-columns.php:31 
    17081815#: includes/admin/reporting/class-download-reports-table.php:40 
    1709 #: includes/admin/reporting/graphing.php:131 
     1816#: includes/admin/reporting/graphing.php:134 
    17101817#: includes/admin/reporting/pdf-reports.php:195 
    17111818#: includes/admin/reporting/reports.php:92 
     
    17141821 
    17151822# @ edd 
    1716 #: includes/widgets.php:361 
     1823#: includes/admin/dashboard-widgets.php:89 
    17171824msgid "Sale" 
    1718 msgstr "Vente" 
    1719  
    1720 #: includes/widgets.php:367 
    1721 msgid "Best Selling in Last 30 Days" 
    1722 msgstr "Meilleure vente des 30 derniers jours" 
    1723  
    1724 # @ edd 
    1725 #: includes/widgets.php:372 
     1825msgid_plural "Sales" 
     1826msgstr[0] "Vente" 
     1827msgstr[1] "Ventes" 
     1828 
     1829# @ edd 
     1830#: includes/admin/dashboard-widgets.php:104 
    17261831msgid "Totals" 
    17271832msgstr "Totaux" 
    17281833 
    17291834# @ edd 
    1730 #: includes/widgets.php:377 
     1835#: includes/admin/dashboard-widgets.php:109 
    17311836msgid "Total Earnings" 
    17321837msgstr "Total des gains" 
    17331838 
    17341839# @ edd 
    1735 #: includes/widgets.php:381 
     1840#: includes/admin/dashboard-widgets.php:113 
    17361841msgid "Total Sales" 
    17371842msgstr "Total des ventes" 
    17381843 
    1739 #: includes/widgets.php:387 
     1844#: includes/admin/dashboard-widgets.php:119 
    17401845msgid "Lifetime Best Selling" 
    1741 msgstr "Meilleures ventes" 
    1742  
    1743 # @ edd 
    1744 #: includes/widgets.php:392 
     1846msgstr "La meilleure vente de tous les temps" 
     1847 
     1848# @ edd 
     1849#: includes/admin/dashboard-widgets.php:124 
    17451850msgid "Recent Purchases" 
    17461851msgstr "Achats récents" 
    17471852 
    17481853# @ edd 
    1749 #: includes/widgets.php:412 includes/admin/payments/payments-history.php:196 
     1854#: includes/admin/dashboard-widgets.php:144 
     1855#: includes/admin/payments/payments-history.php:196 
    17501856#, php-format 
    17511857msgid "Purchase Details for Payment #%s" 
     
    17531859 
    17541860# @ edd 
    1755 #: includes/widgets.php:412 includes/admin/payments/payments-history.php:196 
     1861#: includes/admin/dashboard-widgets.php:144 
     1862#: includes/admin/payments/payments-history.php:196 
    17561863msgid "View Order Details" 
    17571864msgstr "Afficher les détails de la commande" 
    17581865 
    17591866# @ edd 
    1760 #: includes/widgets.php:420 includes/admin/payments/payments-history.php:204 
     1867#: includes/admin/dashboard-widgets.php:152 
     1868#: includes/admin/payments/payments-history.php:204 
    17611869msgid "Purchased File" 
    17621870msgstr "Fichier acheté" 
    17631871 
    17641872# @ edd 
    1765 #: includes/widgets.php:420 includes/admin/payments/payments-history.php:204 
     1873#: includes/admin/dashboard-widgets.php:152 
     1874#: includes/admin/payments/payments-history.php:204 
    17661875msgid "Purchased Files" 
    17671876msgstr "Fichiers achetés" 
    17681877 
    1769 #: includes/widgets.php:446 includes/admin/payments/payments-history.php:248 
     1878#: includes/admin/dashboard-widgets.php:178 
     1879#: includes/admin/payments/payments-history.php:248 
    17701880msgid "Date and Time:" 
    17711881msgstr "Date et Heure :" 
    17721882 
    17731883# @ edd 
    1774 #: includes/widgets.php:447 includes/admin/payments/payments-history.php:249 
     1884#: includes/admin/dashboard-widgets.php:179 
     1885#: includes/admin/payments/payments-history.php:249 
    17751886msgid "Discount used:" 
    17761887msgstr "Code de remise utilisé :" 
    17771888 
    17781889# @ edd 
    1779 #: includes/widgets.php:447 includes/admin/export-functions.php:93 
     1890#: includes/admin/dashboard-widgets.php:179 
     1891#: includes/admin/export-functions.php:93 
    17801892#: includes/admin/export-functions.php:101 
    17811893#: includes/admin/payments/payments-history.php:249 
     
    17841896 
    17851897# @ edd 
    1786 #: includes/widgets.php:448 includes/admin/payments/payments-history.php:250 
     1898#: includes/admin/dashboard-widgets.php:180 
     1899#: includes/admin/payments/payments-history.php:250 
    17871900msgid "Total:" 
    17881901msgstr "Total :" 
    17891902 
    17901903# @ edd 
    1791 #: includes/widgets.php:451 includes/admin/payments/payments-history.php:253 
     1904#: includes/admin/dashboard-widgets.php:183 
     1905#: includes/admin/payments/payments-history.php:253 
    17921906msgid "Buyer's Personal Details:" 
    17931907msgstr "Données personnelles de l'acheteur :" 
    17941908 
    17951909# @ edd 
    1796 #: includes/widgets.php:453 includes/admin/payments/payments-history.php:255 
     1910#: includes/admin/dashboard-widgets.php:185 
     1911#: includes/admin/payments/payments-history.php:255 
    17971912msgid "Name:" 
    17981913msgstr "Nom :" 
    17991914 
    18001915# @ edd 
    1801 #: includes/widgets.php:454 includes/admin/payments/payments-history.php:256 
     1916#: includes/admin/dashboard-widgets.php:186 
     1917#: includes/admin/payments/payments-history.php:256 
    18021918msgid "Email:" 
    18031919msgstr "E-mail :" 
    18041920 
    18051921# @ edd 
    1806 #: includes/widgets.php:462 includes/admin/payments/payments-history.php:265 
     1922#: includes/admin/dashboard-widgets.php:194 
     1923#: includes/admin/payments/payments-history.php:265 
    18071924msgid "Payment Method:" 
    18081925msgstr "Méthode de Paiement :" 
    18091926 
    18101927# @ edd 
    1811 #: includes/widgets.php:467 includes/admin/payments/payments-history.php:270 
     1928#: includes/admin/dashboard-widgets.php:199 
     1929#: includes/admin/payments/payments-history.php:270 
    18121930msgid "Purchase Key" 
    18131931msgstr "Clef d'achat" 
    18141932 
    18151933# @ edd 
    1816 #: includes/widgets.php:470 includes/admin/payments/edit-payment.php:92 
     1934#: includes/admin/dashboard-widgets.php:202 
     1935#: includes/admin/payments/edit-payment.php:92 
    18171936#: includes/admin/payments/payments-history.php:273 
    18181937msgid "Close" 
    18191938msgstr "Fermer" 
    1820  
    1821 # @ edd 
    1822 #: includes/admin/add-ons.php:43 
    1823 msgid "Add Ons for Easy Digital Downloads" 
    1824 msgstr "Modules complémentaires pour Easy Digital Downloads" 
    1825  
    1826 #: includes/admin/add-ons.php:44 
    1827 msgid "These add-ons extend the functionality of Easy Digital Downloads." 
    1828 msgstr "" 
    1829 "Ces modules complémentaires étendent les fonctionnalités d'Easy Digital " 
    1830 "Downloads." 
    1831  
    1832 #: includes/admin/add-ons.php:47 
    1833 msgid "Browse All Extensions" 
    1834 msgstr "Parcourir toutes les extensions" 
    1835  
    1836 #: includes/admin/add-ons.php:74 
    1837 msgid "" 
    1838 "There was an error retrieving the extensions list from the server. Please " 
    1839 "try again later." 
    1840 msgstr "" 
    1841 "Il semble y avoir une erreur lors de la récupération de la liste des " 
    1842 "extensions sur le serveur. S'il vous plaît essayez de nouveau dans quelques " 
    1843 "minutes." 
    1844  
    1845 # @ edd 
    1846 #: includes/admin/admin-notices.php:29 
    1847 msgid "Discount code updated." 
    1848 msgstr "Code de remise mis à jour." 
    1849  
    1850 # @ edd 
    1851 #: includes/admin/admin-notices.php:32 
    1852 msgid "There was a problem updating your discount code, please try again." 
    1853 msgstr "" 
    1854 "Une erreur s'est produite lors de la mise à jour de votre code de remise, " 
    1855 "veuillez réessayer." 
    1856  
    1857 #: includes/admin/admin-notices.php:35 
    1858 msgid "The payment has been deleted." 
    1859 msgstr "Le paiement a été supprimé." 
    1860  
    1861 #: includes/admin/admin-notices.php:38 
    1862 msgid "The purchase receipt has been resent." 
    1863 msgstr "La facture d'achat a été renvoyée." 
    1864  
    1865 #: includes/admin/admin-notices.php:54 
    1866 msgid "" 
    1867 "There seems to be an issue with the server. Please try again in a few " 
    1868 "minutes." 
    1869 msgstr "" 
    1870 "Il semble y avoir un problème avec le serveur. S'il vous plaît essayez de " 
    1871 "nouveau dans quelques minutes." 
    1872  
    1873 # @ edd 
    1874 #: includes/admin/admin-pages.php:27 
    1875 #: includes/admin/discounts/discount-codes.php:34 
    1876 msgid "Discount Codes" 
    1877 msgstr "Codes de remise" 
    1878  
    1879 # @ edd 
    1880 #: includes/admin/admin-pages.php:28 
    1881 msgid "Earnings and Sales Reports" 
    1882 msgstr "Rapports de revenus et de ventes" 
    1883  
    1884 # @ edd 
    1885 #: includes/admin/admin-pages.php:28 includes/admin/reporting/reports.php:35 
    1886 msgid "Reports" 
    1887 msgstr "Rapports" 
    1888  
    1889 # @ edd 
    1890 #: includes/admin/admin-pages.php:29 
    1891 msgid "Easy Digital Download Settings" 
    1892 msgstr "Réglages Easy Digital Download" 
    1893  
    1894 # @ edd 
    1895 #: includes/admin/admin-pages.php:29 
    1896 msgid "Settings" 
    1897 msgstr "Réglages" 
    1898  
    1899 # @ edd 
    1900 #: includes/admin/admin-pages.php:30 
    1901 msgid "Easy Digital Download Add Ons" 
    1902 msgstr "Modules Easy Digital Downloads" 
    1903  
    1904 #: includes/admin/admin-pages.php:30 
    1905 msgid "Add Ons" 
    1906 msgstr "Modules complémentaires" 
    1907  
    1908 #: includes/admin/admin-pages.php:31 
    1909 msgid "EDD Upgrades" 
    1910 msgstr "EDD Mises à jour" 
    19111939 
    19121940# @ edd 
     
    19461974# @ edd 
    19471975#: includes/admin/export-functions.php:30 
     1976#: includes/admin/export-functions.php:185 
    19481977#: includes/admin/downloads/dashboard-columns.php:33 
    19491978#: includes/admin/payments/payments-history.php:144 
     
    19842013 
    19852014#: includes/admin/export-functions.php:152 
     2015#: includes/admin/export-functions.php:245 
    19862016msgid "Export not allowed for non-administrators." 
    19872017msgstr "L'exportation n'est pas autorisé pour les non-administrateurs." 
     2018 
     2019# @ edd 
     2020#: includes/admin/export-functions.php:186 
     2021msgid "Downloaded by" 
     2022msgstr "Téléchargé par" 
     2023 
     2024# @ edd 
     2025#: includes/admin/export-functions.php:187 
     2026msgid "IP Address" 
     2027msgstr "Adresse IP" 
     2028 
     2029# @ edd 
     2030#: includes/admin/export-functions.php:188 
     2031msgid "File" 
     2032msgstr "Fichier" 
    19882033 
    19892034#: includes/admin/thickbox.php:29 includes/admin/thickbox.php:123 
     
    25492594#: includes/admin/downloads/dashboard-columns.php:30 
    25502595#: includes/admin/reporting/class-download-reports-table.php:39 
    2551 #: includes/admin/reporting/graphing.php:102 
     2596#: includes/admin/reporting/graphing.php:105 
    25522597#: includes/admin/reporting/pdf-reports.php:212 
    25532598msgid "Sales" 
     
    29152960msgstr "Bénéfice au fil du temps" 
    29162961 
    2917 #: includes/admin/reporting/graphing.php:203 
     2962#: includes/admin/reporting/graphing.php:206 
    29182963msgid "Total earnings for period shown: " 
    29192964msgstr "Total des gains pour la période choisie :" 
    29202965 
    29212966# @ edd 
    2922 #: includes/admin/reporting/graphing.php:220 
     2967#: includes/admin/reporting/graphing.php:223 
    29232968msgid "This Month" 
    29242969msgstr "Ce mois-ci" 
    29252970 
    29262971# @ edd 
    2927 #: includes/admin/reporting/graphing.php:221 
     2972#: includes/admin/reporting/graphing.php:224 
    29282973msgid "Last Month" 
    29292974msgstr "Le mois dernier" 
    29302975 
    2931 #: includes/admin/reporting/graphing.php:222 
     2976#: includes/admin/reporting/graphing.php:225 
    29322977msgid "This Quarter" 
    29332978msgstr "Ce trimestre" 
    29342979 
    29352980# @ edd 
    2936 #: includes/admin/reporting/graphing.php:223 
     2981#: includes/admin/reporting/graphing.php:226 
    29372982msgid "Last Quarter" 
    29382983msgstr "Le dernier trimestre" 
    29392984 
    29402985# @ edd 
    2941 #: includes/admin/reporting/graphing.php:224 
     2986#: includes/admin/reporting/graphing.php:227 
    29422987msgid "This Year" 
    29432988msgstr "Cette année" 
    29442989 
    29452990# @ edd 
    2946 #: includes/admin/reporting/graphing.php:225 
     2991#: includes/admin/reporting/graphing.php:228 
    29472992msgid "Last Year" 
    29482993msgstr "L'année dernière" 
    29492994 
    2950 #: includes/admin/reporting/graphing.php:226 
     2995#: includes/admin/reporting/graphing.php:229 
    29512996msgid "Other" 
    29522997msgstr "Autre" 
    29532998 
    29542999# @ edd 
    2955 #: includes/admin/reporting/graphing.php:254 
     3000#: includes/admin/reporting/graphing.php:257 
    29563001msgid "From" 
    29573002msgstr "De" 
    29583003 
    2959 #: includes/admin/reporting/graphing.php:260 
     3004#: includes/admin/reporting/graphing.php:263 
    29603005msgid "To" 
    29613006msgstr "À" 
    29623007 
    2963 #: includes/admin/reporting/graphing.php:274 
     3008#: includes/admin/reporting/graphing.php:277 
    29643009msgid "Filter" 
    29653010msgstr "Filtrer" 
     
    29763021"produits" 
    29773022 
    2978 # @ edd 
    2979 #: includes/admin/reporting/pdf-reports.php:40 
    2980 #: includes/admin/reporting/pdf-reports.php:41 
    2981 msgid "Easy Digital Downloads" 
    2982 msgstr "Easy Digital Downloads" 
    2983  
    29843023#: includes/admin/reporting/pdf-reports.php:55 
    29853024msgid "Date Range: " 
     
    31083147#: includes/admin/reporting/reports.php:206 
    31093148#: includes/admin/reporting/reports.php:218 
     3149#: includes/admin/reporting/reports.php:230 
    31103150msgid "Generate CSV" 
    31113151msgstr "Générer le CSV" 
     
    31193159msgstr "Télécharger la liste CSV de vos clients" 
    31203160 
     3161#: includes/admin/reporting/reports.php:225 
     3162msgid "Export Download History in CSV" 
     3163msgstr "Exporter l'historique des téléchargements au format CSV" 
     3164 
     3165#: includes/admin/reporting/reports.php:227 
     3166msgid "Download a CSV of all file downloads for the current month." 
     3167msgstr "" 
     3168"Télécharger un fichier CSV de tous les téléchargements de fichiers pour le " 
     3169"mois en cours." 
     3170 
    31213171# @ edd 
    31223172#: includes/admin/settings/settings.php:34 
  • easy-digital-downloads/trunk/languages/edd.pot

    r619594 r621490  
    33"Project-Id-Version: Easy Digital Downloads\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2012-10-31 12:01+0100\n" 
    6 "PO-Revision-Date: 2012-10-31 12:01+0100\n" 
     5"POT-Creation-Date: 2012-11-02 12:30+0100\n" 
     6"PO-Revision-Date: 2012-11-02 12:31+0100\n" 
    77"Last-Translator: FxB <fx@fxbenard.com>\n" 
    88"Language-Team: Easy Digital Downloads <pippin@pippinsplugins.com>\n" 
     
    1212"Content-Transfer-Encoding: 8bit\n" 
    1313"X-Poedit-KeywordsList: __;_e;_x;_n;esc_attr__;esc_attr_e;esc_html__;" 
    14 "esc_html_e;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c\n" 
     14"esc_html_e;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 
    1515"X-Poedit-Basepath: ../\n" 
    1616"Plural-Forms: nplurals=2; plural=n != 1;\n" 
     
    6262 
    6363#: includes/checkout-template.php:70 includes/checkout-template.php:71 
    64 #: includes/checkout-template.php:301 includes/checkout-template.php:302 
     64#: includes/checkout-template.php:303 includes/checkout-template.php:304 
    6565#: includes/admin/export-functions.php:23 
    6666msgid "First Name" 
    6767msgstr "" 
    6868 
    69 #: includes/checkout-template.php:74 includes/checkout-template.php:305 
     69#: includes/checkout-template.php:74 includes/checkout-template.php:307 
    7070msgid "Last name" 
    7171msgstr "" 
    7272 
    73 #: includes/checkout-template.php:75 includes/checkout-template.php:306 
     73#: includes/checkout-template.php:75 includes/checkout-template.php:308 
    7474#: includes/admin/export-functions.php:24 
    7575msgid "Last Name" 
     
    8484msgstr "" 
    8585 
    86 #: includes/checkout-template.php:157 
     86#: includes/checkout-template.php:159 
    8787msgid "Credit Card Info" 
    8888msgstr "" 
    8989 
    90 #: includes/checkout-template.php:159 
     90#: includes/checkout-template.php:161 
    9191msgid "Card name" 
    9292msgstr "" 
    9393 
    94 #: includes/checkout-template.php:160 
     94#: includes/checkout-template.php:162 
    9595msgid "Name on the Card" 
    9696msgstr "" 
    9797 
    98 #: includes/checkout-template.php:163 
     98#: includes/checkout-template.php:165 
    9999msgid "Card number" 
    100100msgstr "" 
    101101 
    102 #: includes/checkout-template.php:164 
     102#: includes/checkout-template.php:166 
    103103msgid "Card Number" 
    104104msgstr "" 
    105105 
    106 #: includes/checkout-template.php:167 
     106#: includes/checkout-template.php:169 
    107107msgid "Security code" 
    108108msgstr "" 
    109109 
    110 #: includes/checkout-template.php:168 
     110#: includes/checkout-template.php:170 
    111111msgid "CVC" 
    112112msgstr "" 
    113113 
    114 #: includes/checkout-template.php:174 
     114#: includes/checkout-template.php:176 
    115115msgid "Month" 
    116116msgstr "" 
    117117 
    118 #: includes/checkout-template.php:176 
     118#: includes/checkout-template.php:178 
    119119msgid "Year" 
    120120msgstr "" 
    121121 
    122 #: includes/checkout-template.php:177 
     122#: includes/checkout-template.php:179 
    123123msgid "Expiration (MM/YYYY)" 
    124124msgstr "" 
    125125 
    126 #: includes/checkout-template.php:207 
     126#: includes/checkout-template.php:209 
    127127msgid "Address line 1" 
    128128msgstr "" 
    129129 
    130 #: includes/checkout-template.php:208 
     130#: includes/checkout-template.php:210 
    131131msgid "Billing Address" 
    132132msgstr "" 
    133133 
    134 #: includes/checkout-template.php:211 
     134#: includes/checkout-template.php:213 
    135135msgid "Address line 2" 
    136136msgstr "" 
    137137 
    138 #: includes/checkout-template.php:212 
     138#: includes/checkout-template.php:214 
    139139msgid "Billing Address Line 2" 
    140140msgstr "" 
    141141 
    142 #: includes/checkout-template.php:215 
     142#: includes/checkout-template.php:217 
    143143msgid "City" 
    144144msgstr "" 
    145145 
    146 #: includes/checkout-template.php:216 
     146#: includes/checkout-template.php:218 
    147147msgid "Billing City" 
    148148msgstr "" 
    149149 
    150 #: includes/checkout-template.php:227 
     150#: includes/checkout-template.php:229 
    151151msgid "Billing Country" 
    152152msgstr "" 
    153153 
    154 #: includes/checkout-template.php:230 
     154#: includes/checkout-template.php:232 
    155155msgid "State / Province" 
    156156msgstr "" 
    157157 
    158 #: includes/checkout-template.php:247 
     158#: includes/checkout-template.php:249 
    159159msgid "Billing State / Province" 
    160160msgstr "" 
    161161 
    162 #: includes/checkout-template.php:250 
     162#: includes/checkout-template.php:252 
    163163msgid "Zip / Postal code" 
    164164msgstr "" 
    165165 
    166 #: includes/checkout-template.php:251 
     166#: includes/checkout-template.php:253 
    167167msgid "Billing Zip / Postal Code" 
    168168msgstr "" 
    169169 
    170 #: includes/checkout-template.php:278 
     170#: includes/checkout-template.php:280 
    171171msgid "Already have an account?" 
    172172msgstr "" 
    173173 
    174 #: includes/checkout-template.php:278 includes/login-register.php:50 
     174#: includes/checkout-template.php:280 includes/login-register.php:50 
    175175msgid "Login" 
    176176msgstr "" 
    177177 
    178 #: includes/checkout-template.php:280 
     178#: includes/checkout-template.php:282 
    179179msgid "Create an account" 
    180180msgstr "" 
    181181 
    182 #: includes/checkout-template.php:280 
     182#: includes/checkout-template.php:282 
    183183msgid "(optional)" 
    184184msgstr "" 
    185185 
    186 #: includes/checkout-template.php:283 includes/checkout-template.php:284 
    187 #: includes/checkout-template.php:331 includes/login-register.php:39 
     186#: includes/checkout-template.php:285 includes/checkout-template.php:286 
     187#: includes/checkout-template.php:338 includes/login-register.php:39 
    188188#: includes/login-register.php:40 
    189189msgid "Username" 
    190190msgstr "" 
    191191 
    192 #: includes/checkout-template.php:287 includes/checkout-template.php:288 
    193 #: includes/checkout-template.php:335 includes/login-register.php:43 
     192#: includes/checkout-template.php:289 includes/checkout-template.php:290 
     193#: includes/checkout-template.php:342 includes/login-register.php:43 
    194194msgid "Password" 
    195195msgstr "" 
    196196 
    197 #: includes/checkout-template.php:291 
     197#: includes/checkout-template.php:293 
    198198msgid "Confirm password" 
    199199msgstr "" 
    200200 
    201 #: includes/checkout-template.php:292 
     201#: includes/checkout-template.php:294 
    202202msgid "Password Again" 
    203203msgstr "" 
    204204 
    205 #: includes/checkout-template.php:297 includes/checkout-template.php:298 
     205#: includes/checkout-template.php:299 includes/checkout-template.php:300 
    206206#: includes/admin/export-functions.php:22 
    207207#: includes/admin/payments/payments-history.php:138 
     
    211211msgstr "" 
    212212 
    213 #: includes/checkout-template.php:327 
     213#: includes/checkout-template.php:334 
    214214msgid "Login to your account" 
    215215msgstr "" 
    216216 
    217 #: includes/checkout-template.php:330 
     217#: includes/checkout-template.php:337 
    218218msgid "Your username" 
    219219msgstr "" 
    220220 
    221 #: includes/checkout-template.php:334 
     221#: includes/checkout-template.php:341 
    222222msgid "Your password" 
    223223msgstr "" 
    224224 
    225 #: includes/checkout-template.php:342 
     225#: includes/checkout-template.php:348 
    226226msgid "Need to create an account?" 
    227227msgstr "" 
    228228 
    229 #: includes/checkout-template.php:344 
     229#: includes/checkout-template.php:350 
    230230msgid "Register" 
    231231msgstr "" 
    232232 
    233 #: includes/checkout-template.php:344 
     233#: includes/checkout-template.php:350 
    234234msgid "or checkout as a guest." 
    235235msgstr "" 
    236236 
    237 #: includes/checkout-template.php:370 
     237#: includes/checkout-template.php:380 
    238238msgid "Select payment method" 
    239239msgstr "" 
    240240 
    241 #: includes/checkout-template.php:403 
     241#: includes/checkout-template.php:413 
    242242msgid "Enter discount" 
    243243msgstr "" 
    244244 
    245 #: includes/checkout-template.php:405 
     245#: includes/checkout-template.php:415 
    246246msgid "Discount" 
    247247msgstr "" 
    248248 
    249 #: includes/checkout-template.php:407 
     249#: includes/checkout-template.php:417 
    250250msgid "Apply Discount" 
    251251msgstr "" 
    252252 
    253 #: includes/checkout-template.php:440 
     253#: includes/checkout-template.php:450 
    254254msgid "Show Terms" 
    255255msgstr "" 
    256256 
    257 #: includes/checkout-template.php:441 
     257#: includes/checkout-template.php:451 
    258258msgid "Hide Terms" 
    259259msgstr "" 
    260260 
    261 #: includes/checkout-template.php:444 
     261#: includes/checkout-template.php:454 
    262262msgid "Agree to Terms?" 
    263263msgstr "" 
    264264 
    265 #: includes/checkout-template.php:468 includes/admin/downloads/metabox.php:630 
     265#: includes/checkout-template.php:478 includes/admin/downloads/metabox.php:630 
    266266#: includes/admin/downloads/metabox.php:735 
    267267#: includes/admin/payments/payments-history.php:318 
     
    269269msgstr "" 
    270270 
    271 #: includes/checkout-template.php:487 includes/shortcodes.php:28 
     271#: includes/checkout-template.php:497 includes/shortcodes.php:28 
    272272#: includes/template-functions.php:54 includes/admin/thickbox.php:61 
    273273#: includes/admin/downloads/dashboard-columns.php:55 
     
    13931393#: includes/widgets.php:357 includes/admin/downloads/dashboard-columns.php:31 
    13941394#: includes/admin/reporting/class-download-reports-table.php:40 
    1395 #: includes/admin/reporting/graphing.php:131 
     1395#: includes/admin/reporting/graphing.php:134 
    13961396#: includes/admin/reporting/pdf-reports.php:195 
    13971397#: includes/admin/reporting/reports.php:92 
     
    14011401#: includes/widgets.php:361 
    14021402msgid "Sale" 
    1403 msgstr "" 
     1403msgid_plural "Sales" 
     1404msgstr[0] "" 
     1405msgstr[1] "" 
    14041406 
    14051407#: includes/widgets.php:367 
     
    15891591 
    15901592#: includes/admin/export-functions.php:30 
     1593#: includes/admin/export-functions.php:185 
    15911594#: includes/admin/downloads/dashboard-columns.php:33 
    15921595#: includes/admin/payments/payments-history.php:144 
     
    16231626 
    16241627#: includes/admin/export-functions.php:152 
     1628#: includes/admin/export-functions.php:245 
    16251629msgid "Export not allowed for non-administrators." 
     1630msgstr "" 
     1631 
     1632#: includes/admin/export-functions.php:186 
     1633msgid "Downloaded by" 
     1634msgstr "" 
     1635 
     1636#: includes/admin/export-functions.php:187 
     1637msgid "IP Address" 
     1638msgstr "" 
     1639 
     1640#: includes/admin/export-functions.php:188 
     1641msgid "File" 
    16261642msgstr "" 
    16271643 
     
    20672083#: includes/admin/downloads/dashboard-columns.php:30 
    20682084#: includes/admin/reporting/class-download-reports-table.php:39 
    2069 #: includes/admin/reporting/graphing.php:102 
     2085#: includes/admin/reporting/graphing.php:105 
    20702086#: includes/admin/reporting/pdf-reports.php:212 
    20712087msgid "Sales" 
     
    23682384msgstr "" 
    23692385 
    2370 #: includes/admin/reporting/graphing.php:203 
     2386#: includes/admin/reporting/graphing.php:206 
    23712387msgid "Total earnings for period shown: " 
    23722388msgstr "" 
    23732389 
    2374 #: includes/admin/reporting/graphing.php:220 
     2390#: includes/admin/reporting/graphing.php:223 
    23752391msgid "This Month" 
    23762392msgstr "" 
    23772393 
    2378 #: includes/admin/reporting/graphing.php:221 
     2394#: includes/admin/reporting/graphing.php:224 
    23792395msgid "Last Month" 
    23802396msgstr "" 
    23812397 
    2382 #: includes/admin/reporting/graphing.php:222 
     2398#: includes/admin/reporting/graphing.php:225 
    23832399msgid "This Quarter" 
    23842400msgstr "" 
    23852401 
    2386 #: includes/admin/reporting/graphing.php:223 
     2402#: includes/admin/reporting/graphing.php:226 
    23872403msgid "Last Quarter" 
    23882404msgstr "" 
    23892405 
    2390 #: includes/admin/reporting/graphing.php:224 
     2406#: includes/admin/reporting/graphing.php:227 
    23912407msgid "This Year" 
    23922408msgstr "" 
    23932409 
    2394 #: includes/admin/reporting/graphing.php:225 
     2410#: includes/admin/reporting/graphing.php:228 
    23952411msgid "Last Year" 
    23962412msgstr "" 
    23972413 
    2398 #: includes/admin/reporting/graphing.php:226 
     2414#: includes/admin/reporting/graphing.php:229 
    23992415msgid "Other" 
    24002416msgstr "" 
    24012417 
    2402 #: includes/admin/reporting/graphing.php:254 
     2418#: includes/admin/reporting/graphing.php:257 
    24032419msgid "From" 
    24042420msgstr "" 
    24052421 
    2406 #: includes/admin/reporting/graphing.php:260 
     2422#: includes/admin/reporting/graphing.php:263 
    24072423msgid "To" 
    24082424msgstr "" 
    24092425 
    2410 #: includes/admin/reporting/graphing.php:274 
     2426#: includes/admin/reporting/graphing.php:277 
    24112427msgid "Filter" 
    24122428msgstr "" 
     
    25432559#: includes/admin/reporting/reports.php:206 
    25442560#: includes/admin/reporting/reports.php:218 
     2561#: includes/admin/reporting/reports.php:230 
    25452562msgid "Generate CSV" 
    25462563msgstr "" 
     
    25542571msgstr "" 
    25552572 
     2573#: includes/admin/reporting/reports.php:225 
     2574msgid "Export Download History in CSV" 
     2575msgstr "" 
     2576 
     2577#: includes/admin/reporting/reports.php:227 
     2578msgid "Download a CSV of all file downloads for the current month." 
     2579msgstr "" 
     2580 
    25562581#: includes/admin/settings/settings.php:34 
    25572582msgid "Emails" 
  • easy-digital-downloads/trunk/readme.txt

    r619594 r621490  
    77Requires at least: 3.2 
    88Tested up to: 3.5 
    9 Stable Tag: 1.3.2 
     9Stable Tag: 1.3.2.1 
    1010 
    1111 
     
    139139 
    140140== Changelog == 
     141 
     142= 1.3.2.1 = 
     143 
     144* Fixed a problem with discount code amount formatting 
     145* Added basic pagination to the [downloads] short code 
     146* Fixed a bug with PressTrends integration 
     147* Improved the checkout template to make it easier to customize 
     148* Added new edd_ajax_url filter 
     149* Moved user info (email, first / last name) fields to a function connected via a hook to allow them to be changed 
     150* Added new edd_cart_total() function for showing fully formatted cart amount 
     151* Updated French language files 
     152* Fixed price formats in the admin sales notification 
     153* Updated login/register ajax actions to use do_action() instead of calling functions directly 
     154* Updated checkout login/register fields to be attached via actions 
     155* Upgraded Colorbox to v1.3.20 
     156* Added new "edd_checkout_form_bottom" hook 
     157* Added version numbers to scripts and styles to ensure proper display on upgrades 
     158* Fixed a problem with upgrade routines 
     159* Fixed a bug with edd_get_sales_by_date() 
    141160 
    142161= 1.3.2 = 
     
    724743== Upgrade Notice == 
    725744 
     745= 1.3.2.1 = 
     746 
     747* Fixed a problem with discount code amount formatting 
     748* Added basic pagination to the [downloads] short code 
     749* Fixed a bug with PressTrends integration 
     750* Improved the checkout template to make it easier to customize 
     751* Added new edd_ajax_url filter 
     752* Moved user info (email, first / last name) fields to a function connected via a hook to allow them to be changed 
     753* Added new edd_cart_total() function for showing fully formatted cart amount 
     754* Updated French language files 
     755* Fixed price formats in the admin sales notification 
     756* Updated login/register ajax actions to use do_action() instead of calling functions directly 
     757* Updated checkout login/register fields to be attached via actions 
     758* Upgraded Colorbox to v1.3.20 
     759* Added new "edd_checkout_form_bottom" hook 
     760* Added version numbers to scripts and styles to ensure proper display on upgrades 
     761* Fixed a problem with upgrade routines 
     762* Fixed a bug with edd_get_sales_by_date() 
     763 
    726764= 1.3.2 = 
    727765 
  • easy-digital-downloads/trunk/templates/checkout_cart.php

    r619594 r621490  
    4646        <tr class="edd_cart_footer_row"> 
    4747            <?php do_action( 'edd_checkout_table_footer_first' ); ?> 
    48             <th colspan="3" class="edd_cart_total"><?php _e( 'Total', 'edd' ); ?>: <span class="edd_cart_amount"><?php echo esc_html( edd_currency_filter( edd_format_amount( edd_get_cart_amount() ) ) ); ?></span></th> 
     48            <th colspan="3" class="edd_cart_total"><?php _e( 'Total', 'edd' ); ?>: <span class="edd_cart_amount"><?php edd_cart_total(); ?></span></th> 
    4949            <?php do_action( 'edd_checkout_table_footer_last' ); ?> 
    5050        </tr> 
Note: See TracChangeset for help on using the changeset viewer.