Plugin Directory

Changeset 785116


Ignore:
Timestamp:
10/09/2013 08:53:23 AM (12 years ago)
Author:
ErtyGi
Message:

insert alert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • easy-split-test-tab/trunk/easy-split-test-tab.php

    r785102 r785116  
    321321               
    322322                if ($validData) {
    323                     $wpdb->insert($this->sqltable, $newdata);
    324                     $output .= '<span style="color:green;">'.__('Inserito aggiorna pagina.',EASY_SPLITTEST_TAB_DOMAIN).' </span>';
     323                    $wpdb->insert($this->sqltable, $newdata);                   
     324                    echo '<div id="message" class="updated fade"><p><strong>' . __( 'Your experiment have been saved.', 'EASY_SPLITTEST_TAB_DOMAIN' ) . '</strong></p></div>';
     325                }
     326           
     327            }
     328        }
     329       
    325330                   
    326                 }
    327            
    328             }
    329         }
    330        
    331331        return '<div class="updated" style="padding: 10px;">' . $output . '</div>';
    332332    }
Note: See TracChangeset for help on using the changeset viewer.