IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

WordPress PHP Discussion :

Encodage résultat formulaire


Sujet :

WordPress PHP

  1. #1
    Nouveau Candidat au Club
    Femme Profil pro
    Webmaster
    Inscrit en
    Juin 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 59
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Webmaster
    Secteur : Associations - ONG

    Informations forums :
    Inscription : Juin 2017
    Messages : 3
    Points : 1
    Points
    1
    Par défaut Encodage résultat formulaire
    Bonjour à tous,

    J'utilise Wordpress et le plugin wp-crowdfunding.
    Je pense avoir un problème d'encodage sur ce plugin.

    Quand je rentre ceci dans le champ "description de la contrepartie":

    L'avion
    La voiture
    étendard
    évènement

    J'obtiens ce résultat en frontend et backend:

    L'avionrnLa voiturernétendardrnévènement.

    Voici le fichier "rewards" si cela peut aider:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    <?php
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
     
    $user_id = get_current_user_id();
     
    $args = array(
    	'post_type'  => 'shop_order',
    	'post_status'	=> 'wc-completed',
    	'meta_query' => array(
    		array(
    			'key' => 'wpneo_selected_reward',
    			'value'   => array('', null),
    			'compare' => 'NOT IN'
    		),
    		array(
    			'key' => '_cf_product_author_id',
    			'value'   => $user_id,
    			'compare' => '='
    		)
    	)
    );
    $rewards_query = new WP_Query($args);
    ?>
     
    <div class="wpneo-content">
    	<div class="wpneo-form">
     
     
     
    		<?php
    		if ($rewards_query->have_posts()){
    			?>
     
    			<table class="stripe-table reward_table_dashboard">
    				<thead>
    				<tr>
    					<th>#<?php _e('Order', 'wp-crowdfunding'); ?></th>
    					<th>#<?php _e('Campaign Name / Reward Amount', 'wp-crowdfunding'); ?></th>
    					<th>#<?php _e('Action', 'wp-crowdfunding'); ?></th>
    				</tr>
    				</thead>
     
    				<tbody>
    				<?php
    				while ($rewards_query->have_posts()){
    					$rewards_query->the_post();
     
    					$reward = get_post_meta(get_the_ID(), 'wpneo_selected_reward', true);
    					$order = new WC_Order(get_the_ID());
    					?>
     
    					<tr>
    						<td>#<?php the_ID(); ?></td>
    						<td>
    							<?php
    							foreach ($order->get_items() as $key => $item){
    								echo $item['name'];
    							}
    							if ( ! empty($reward['wpneo_rewards_pladge_amount'])){
    								echo ' / '.wc_price($reward['wpneo_rewards_pladge_amount']);
    							}
    							?>
    							<div class="reward_description" style="display: none;">
     
    								<?php
     
    								if ( ! empty($reward['wpneo_rewards_endmonth'])){
    									echo '<p><strong>'. __('Estimated Delivery', 'wp-crowdfunding')."</strong><br />";
    									echo $reward['wpneo_rewards_endmonth'].' '.$reward['wpneo_rewards_endyear'].'</p>';
    								}
    								if ( ! empty($reward['wpneo_rewards_description'])){
    									echo '<p><strong>'. __('Description', 'wp-crowdfunding')."</strong><br />";
    									echo $reward['wpneo_rewards_description'].'</p>';
    								}
     
    								echo '<p><strong>'.__('Backer info', 'wp-crowdfunding').'</strong> <br />';
    								echo $order->billing_first_name.' '.$order->billing_last_name.'<br />';
    								echo $order->billing_email.'<br />';
    								echo $order->billing_phone.'<br />';
    								echo $order->billing_address_1.' '.$order->billing_address_2.' '.$order->billing_city.' '.$order->billing_country;
    								echo '</p>';
    								?>
    							</div>
    						</td>
     
    						<td>
    							<a href="javascript:;" class="reward_tr_slide_inout"><?php _e('View Details', 'wp-crowdfunding'); ?></a>
    						</td>
    					</tr>
    					<?php
    				}
    				wp_reset_postdata();
    				?>
    				</tbody>
    			</table>
     
    			<?php
    		}else{
    			echo '<div class="wpneocf-alert-info"> '.__('Aucune contrepartie sélectionnée par un contributeur ', 'wp-crowdfunding').' </div>';
    		}
    		?>
     
     
     
     
     
    	</div>
    </div>

    Qui peut me sauver s'il vous plait ?

    Merci beaucoup

  2. #2
    Expert éminent sénior
    Avatar de mathieu
    Profil pro
    Inscrit en
    Juin 2003
    Messages
    10 235
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 10 235
    Points : 15 532
    Points
    15 532
    Par défaut
    si c'est seulement les sauts de ligne qui manquent, vous pouvez améliorer l'affichage comme cela :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    echo nl2br($reward['wpneo_rewards_description']);
    cet affichage me semble bizarre, est ce que les caractères comme "<>&" s'affichent de la même façon dont ils sont saisis ?

  3. #3
    Nouveau Candidat au Club
    Femme Profil pro
    Webmaster
    Inscrit en
    Juin 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 59
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Webmaster
    Secteur : Associations - ONG

    Informations forums :
    Inscription : Juin 2017
    Messages : 3
    Points : 1
    Points
    1
    Par défaut
    Salut Mathieu,

    Merci pour ta réponse, je viens d'essayer et ceci:

    L'avion
    La voiture
    étendard
    évènement
    <>&

    devient cela:

    L'avionrnLa voiturernétendardrnévènementrn&lt;&gt;&amp;

    Est-ce que le fichier du formulaire t'aiderait ?

  4. #4
    Expert éminent sénior
    Avatar de mathieu
    Profil pro
    Inscrit en
    Juin 2003
    Messages
    10 235
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 10 235
    Points : 15 532
    Points
    15 532
    Par défaut
    en fait c'est un soucis dans l'extension qui fait que les sauts de ligne ne sont pas gardés

    donc même si vous arrivez à modifier le code pour régler cela, contactez le développeur de l'extension pour lui indiquer le soucis avec le saut à la ligne pour que cela serve à tous les utilisateurs de l'extension
    https://wordpress.org/support/plugin/wp-crowdfunding

  5. #5
    Nouveau Candidat au Club
    Femme Profil pro
    Webmaster
    Inscrit en
    Juin 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 59
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Webmaster
    Secteur : Associations - ONG

    Informations forums :
    Inscription : Juin 2017
    Messages : 3
    Points : 1
    Points
    1
    Par défaut
    Et comment modifier le code pour régler ce problème ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    <?php
    /*
    * WooCommerce Reward Section Backend
    */
    if ( ! defined( 'ABSPATH' ) ) {
        exit; // Exit if accessed directly
    }
     
    if (! class_exists('WPNEO_WC_Reward')) {
     
        class WPNEO_WC_Reward{
     
            protected static $_instance;
            public static function instance(){
                if (is_null(self::$_instance)) {
                    self::$_instance = new self();
                }
                return self::$_instance;
            }
     
            public function __construct(){
                add_filter('woocommerce_product_data_tabs',     array($this, 'wpneo_reward_tabs'));
                add_action('woocommerce_product_data_panels',   array($this, 'wpneo_reward_options_tab_content'));
                add_action('woocommerce_process_product_meta',  array($this, 'wpneo_reward_options_field_save'));
     
                //Show reward in woocommerce order details
                add_action('woocommerce_order_details_after_order_table', array($this, 'wpneo_selected_reward_in_order_view'));
     
                add_filter('the_content', array($this, 'wpneo_show_reward_in_general_tab'));
            }
     
            /*
            * Add Reward tab (Woocommerce).
            * Only show if type "Crowdfunding" Selected
            */
            function wpneo_reward_tabs($tabs){
                $tabs['reward'] = array(
                    'label'     => __('Reward', 'wp-crowdfunding'),
                    'target'    => 'reward_options',
                    'class'     => array('show_if_neo_crowdfunding_options', 'show_if_neo_crowdfunding_options'),
                );
                return $tabs;
            }
     
            /*
            * Add Reward tab Content(Woocommerce).
            * Only show the fields under Reward Tab
            */
            function wpneo_reward_options_tab_content($post_id){
                global $post;
     
                $var = get_post_meta($post->ID, 'wpneo_reward', true);
                $var = stripslashes($var);
                $data_array = json_decode($var, true);
     
                $woocommerce_meta_field = array(
                    // Pledge Amount
                    array(
                        'id'            => 'wpneo_rewards_pladge_amount[]',
                        'label'         => __('Pledge Amount', 'wp-crowdfunding'),
                        'desc_tip'      => 'true',
                        'type'          => 'text',
                        'placeholder'   => __('Pledge Amount', 'wp-crowdfunding'),
                        'value'         => '',
                        'class'         => 'wc_input_price',
                        'field_type'    => 'textfield'
                    ),
                    // Reward Image
                    array(
                        'id'            => 'wpneo_rewards_image_field[]',
                        'label'         => __('Image Field', 'wp-crowdfunding'),
                        'desc_tip'      => 'true',
                        'type'          => 'image',
                        'placeholder'   => __('Image Field', 'wp-crowdfunding'),
                        'value'         => '',
                        'class'         => '',
                        'field_type'    => 'image'
                    ),
                    // Reward Description
                    array(
                        'id'            => 'wpneo_rewards_description[]',
                        'label'         => __('Reward', 'wp-crowdfunding'),
                        'desc_tip'      => 'true',
                        'type'          => 'text',
                        'placeholder'   => __('Reward Description', 'wp-crowdfunding'),
                        'value'         => '',
                        'field_type'    => 'textareafield',
                    ),
                    // Reward Month
                    array(
                        'id'            => 'wpneo_rewards_endmonth[]',
                        'label'         => __('Estimated Delivery Month', 'wp-crowdfunding'),
                        'type'          => 'text',
                        'value'         => '',
                        'options'       => array(
                            ''    => __('- Select -', 'wp-crowdfunding'),
                            'jan' => __('January', 'wp-crowdfunding'),
                            'feb' => __('February', 'wp-crowdfunding'),
                            'mar' => __('March', 'wp-crowdfunding'),
                            'apr' => __('April', 'wp-crowdfunding'),
                            'may' => __('May', 'wp-crowdfunding'),
                            'jun' => __('June', 'wp-crowdfunding'),
                            'jul' => __('July', 'wp-crowdfunding'),
                            'aug' => __('August', 'wp-crowdfunding'),
                            'sep' => __('September', 'wp-crowdfunding'),
                            'oct' => __('October', 'wp-crowdfunding'),
                            'nov' => __('November', 'wp-crowdfunding'),
                            'dec' => __('December', 'wp-crowdfunding'),
                        ),
                        'field_type'    => 'selectfield',
                    ),
                    // Reward Year
                    array(
                        'id'            => 'wpneo_rewards_endyear[]',
                        'label'         => __('Estimated Delivery Year', 'wp-crowdfunding'),
                        'type'          => 'text',
                        'value'         => '',
                        'options'       => array(
                            ''     => __('- Select -', 'wp-crowdfunding'),
                            '2016' => __('2016', 'wp-crowdfunding'),
                            '2017' => __('2017', 'wp-crowdfunding'),
                            '2018' => __('2018', 'wp-crowdfunding'),
                            '2019' => __('2019', 'wp-crowdfunding'),
                            '2020' => __('2020', 'wp-crowdfunding'),
                            '2021' => __('2021', 'wp-crowdfunding'),
                        ),
                        'field_type'    => 'selectfield',
                    ),
                    // Quantity (Number of Pledge Items)
                    array(
                        'id'            => 'wpneo_rewards_item_limit[]',
                        'label'         => __('Quantity', 'wp-crowdfunding'),
                        'desc_tip'      => 'true',
                        'type'          => 'text',
                        'placeholder'   => __('Number of Rewards(Physical Product)', 'wp-crowdfunding'),
                        'value'         => '',
                        'class'         => 'wc_input_price',
                        'field_type'    => 'textfield'
                    ),
     
                );
                ?>
     
                <div id='reward_options' class='panel woocommerce_options_panel'>
                    <?php
                    $display = 'block';
                    $meta_count = count($data_array);
                    $field_count = count($woocommerce_meta_field);
                    if ( $meta_count > 0 ){ $display = 'none'; }
     
                    /*
                    * Print without value of Reward System for clone group
                    */
                    echo "<div class='reward_group' style='display:" . $display . ";'>";
                    echo "<div class='campaign_rewards_field_copy'>";
     
                    foreach ($woocommerce_meta_field as $value) {
                        switch ($value['field_type']) {
     
                            case 'textareafield':
                                woocommerce_wp_textarea_input($value);
                                break;
     
                            case 'selectfield':
                                woocommerce_wp_select($value);
                                break;
     
                            case 'image':
                                echo '<p class="form-field">';
                                echo '<label for="wpneo_rewards_image_field">'.$value["label"].'</label>';
                                echo '<input type="hidden" class="wpneo_rewards_image_field" name="'.$value["id"].'" value="" placeholder="'.$value["label"].'"/>';
                                echo '<span class="wpneo-image-container"></span>';
                                echo '<button class="wpneo-image-upload-btn shorter">'.__("Upload","wp-crowdfunding").'</button>';
                                echo '</p>';
                                break;
     
                            default:
                                woocommerce_wp_text_input($value);
                                break;
                        }
                    }
     
                    echo '<input name="remove_rewards" type="button" class="button tagadd removeCampaignRewards" value="' . __('- Remove', 'wp-crowdfunding') . '" />';
                    echo "</div>";
                    echo "</div>";
     
     
                    /*
                    * Print with value of Reward System
                    */
                    if ($meta_count > 0) {
                        if (is_array($data_array) && !empty($data_array)) {
                            foreach ($data_array as $k => $v) {
                                echo "<div class='reward_group'>";
                                echo "<div class='campaign_rewards_field_copy'>";
                                foreach ($woocommerce_meta_field as $value) {
                                    if(isset( $v[str_replace('[]', '', $value['id'])] )){
                                        $value['value'] = $v[str_replace('[]', '', $value['id'])];
                                    }else{
                                        $value['value'] = '';
                                    }
                                    switch ($value['field_type']) {
     
                                        case 'textareafield':
                                            woocommerce_wp_textarea_input($value);
                                            break;
     
                                        case 'selectfield':
                                            woocommerce_wp_select($value);
                                            break;
     
                                        case 'image':
                                            $image_id = $value['value'];
                                            $raw_id = $image_id;
                                            if( $image_id!=0 && $image_id!='' ){
                                                $image_id = wp_get_attachment_url( $image_id );
                                                $image_id = '<img width="100" src="'.$image_id.'"><span class="wpneo-image-remove">x</span>';
                                            }else{
                                                $image_id = '';
                                            }
                                            echo '<p class="form-field">';
                                            echo '<label for="wpneo_rewards_image_field">'.$value["label"].'</label>';
                                            echo '<input type="hidden" class="wpneo_rewards_image_field" name="'.$value["id"].'" value="'.$raw_id.'" placeholder="'.$value["label"].'"/>';
                                            echo '<span class="wpneo-image-container">'.$image_id.'</span>';
                                            echo '<button class="wpneo-image-upload-btn shorter">'.__("Upload","wp-crowdfunding").'</button>';
                                            echo '</p>';
                                            break;
     
                                        default:
                                            woocommerce_wp_text_input($value);
                                            break;
                                    }
                                }
                                echo '<input name="remove_rewards" type="button" class="button tagadd removeCampaignRewards" value="' . __('- Remove', 'wp-crowdfunding') . '" />';
                                echo "</div>";
                                echo "</div>";
                            }
                        }
                    }
     
                    if (WPNEO_CROWDFUNDING_TYPE == 'free'){
                        ?>
                        <p class="description"><?php _e('pro version is required to add more than 1 reward', 'wp-crowdfunding') ?>. <a href="https://wpneo.com/wp-crowdfunding" target="_blank"> <?php _e('click here to get pro version', 'wp-crowdfunding') ?></a></p>
                        <?php
                    } else {
                        ?>
                        <div id="rewards_addon_fields"></div>
                        <input name="save" type="button" class="button button-primary tagadd" id="addreward" value="<?php _e('+ Add Reward', 'wp-crowdfunding'); ?>">
                    <?php } ?>
                </div>
     
                <?php
            }
     
            /*
            * Save Reward tab Data(Woocommerce).
            * Update Post Meta for Reward Tab
            */
            function wpneo_reward_options_field_save($post_id){
                if (!empty($_POST['wpneo_rewards_pladge_amount'])) {
     
                    $wpneo_rewards_pladge_amount    = $_POST['wpneo_rewards_pladge_amount'];
                    $wpneo_rewards_image_field      = $_POST['wpneo_rewards_image_field'];
                    $wpneo_rewards_description      = $_POST['wpneo_rewards_description'];
                    $wpneo_rewards_endmonth         = $_POST['wpneo_rewards_endmonth'];
                    $wpneo_rewards_endyear          = $_POST['wpneo_rewards_endyear'];
                    $wpneo_rewards_item_limit       = $_POST['wpneo_rewards_item_limit'];
     
                    $total_update_field = count($wpneo_rewards_pladge_amount);
     
                    $data = array();
                    for ($i = 0; $i < $total_update_field; $i++) {
                        if (!empty($wpneo_rewards_pladge_amount[$i])) {
                            $data[] = array(
                                'wpneo_rewards_pladge_amount'   => intval($wpneo_rewards_pladge_amount[$i]),
                                'wpneo_rewards_image_field'     => intval($wpneo_rewards_image_field[$i]),
                                'wpneo_rewards_description'     => esc_textarea($wpneo_rewards_description[$i]),
                                'wpneo_rewards_endmonth'        => esc_html($wpneo_rewards_endmonth[$i]),
                                'wpneo_rewards_endyear'         => esc_html($wpneo_rewards_endyear[$i]),
                                'wpneo_rewards_item_limit'      => esc_html($wpneo_rewards_item_limit[$i]),
                            );
                        }
                    }
                    $data_json = json_encode( $data,JSON_UNESCAPED_UNICODE );
                    update_post_meta($post_id, 'wpneo_reward', $data_json);
                }
            }
     
            /**
             * @param $order
             *
             * Show selected reward
             */
            public function wpneo_selected_reward_in_order_view($order){
                $order_id = $order->get_id();
                $html = '';
     
                $r = get_post_meta($order_id, 'wpneo_selected_reward', true);
                if ( ! empty($r) && is_array($r) ){
                    $html .="<h2>".__('Selected Reward', 'wp-crowdfunding')."</h2>";
                    if ( ! empty($r['wpneo_rewards_description'])){
                        $html .= "<p>{$r['wpneo_rewards_description']}</p>";
                    }
                    if ( ! empty($r['wpneo_rewards_pladge_amount'])){
                        $html .= "<p><abbr>".sprintf('Amount : %s, Delivery : %s', wc_price($r['wpneo_rewards_pladge_amount']), $r['wpneo_rewards_endmonth'].', '.$r['wpneo_rewards_endyear'] ) ."</abbr></p>";
                    }
     
                }
                echo $html;
            }
     
     
            public function wpneo_show_reward_in_general_tab($content){
                if (is_product()) {
     
                    global $post;
                    $product = wc_get_product($post->ID);
     
                    if ($product->get_type() === 'crowdfunding') {
     
                        $col_9 = '';
                        $col_3 = '';
                        $campaign_rewards = get_post_meta($post->ID, 'wpneo_reward', true);
                        $campaign_rewards = stripslashes($campaign_rewards);
                        $campaign_rewards_a = json_decode($campaign_rewards, true);
                        if (is_array($campaign_rewards_a)) {
                            if (count($campaign_rewards_a) > 0) {
     
                                $col_9 = 'tab_col_9';
                                $col_3 = 'tab_col_3';
                            }
                        }
     
                        $html = '';
     
                        $html .= "<div class='tab-description-wrap'>";
     
                        $html .= "<div class='tab-description {$col_9} '>";
                        $html .= $content;
                        $html .= '</div>';
     
                        $html .= "<div class='tab-rewards {$col_3} '>";
                        ob_start();
                        wpneo_campaign_story_right_sidebar();
                        $html .= ob_get_clean();
                        $html .= '</div>';
     
                        $html .= '</div>';
     
                        return $html;
                    }
                }
                return $content;
     
     
            }
     
        }
    }
    WPNEO_WC_Reward::instance();

Discussions similaires

  1. Réponses: 4
    Dernier message: 11/06/2008, 13h38
  2. problème encodage avec formulaire ajax
    Par gyome314 dans le forum Ruby on Rails
    Réponses: 2
    Dernier message: 21/06/2007, 13h14
  3. Probleme d'encodage du formulaire
    Par qdqdfqfdqdxcwcrzsdfw dans le forum Struts 1
    Réponses: 1
    Dernier message: 09/05/2007, 16h48
  4. Débutant : résultat formulaire pleine page si case cochée
    Par Julien_B dans le forum Général JavaScript
    Réponses: 11
    Dernier message: 11/08/2006, 14h30
  5. Affichage résultat formulaire
    Par boo64 dans le forum Langage
    Réponses: 12
    Dernier message: 17/05/2006, 10h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo