Changeset 1643226
- Timestamp:
- 04/23/2017 11:52:10 AM (9 years ago)
- Location:
- easy-amazon-product-information/trunk
- Files:
-
- 5 edited
-
eapi_amazon.php (modified) (4 diffs)
-
eapi_handler.php (modified) (22 diffs)
-
easy_amazon_product_information.css (modified) (1 diff)
-
easy_amazon_product_information.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-amazon-product-information/trunk/eapi_amazon.php
r1535312 r1643226 116 116 } 117 117 } 118 /* 119 if(isset($xmlItem->BrowseNodes->BrowseNode)){ 120 $category_arr = array(); 121 foreach($xmlItem->BrowseNodes->BrowseNode as $bn){ 122 $category_arr = recursive_category($bn, $category_arr); 123 } 124 $arr['category'] = $category_arr; 125 }else{ 126 $arr['category'] = ""; 127 } 128 */ 118 129 if(isset($xmlItem->CustomerReviews->IFrameURL)){ 119 130 $iframe_url = (String)$xmlItem->CustomerReviews->IFrameURL; … … 131 142 $arr['availability'] = 'now'; 132 143 } 133 check_for_actuality_notification($arr['asin'], $arr['availability']);134 144 if(($num_of_wanted_results == 1 AND $count_of_pushed_elemets < 1) OR 135 145 ($num_of_wanted_results > 1 AND sizeof($ret_elements) < $num_of_wanted_results) ){ … … 151 161 $asin = $xmlItem->ASIN; 152 162 } 153 eapi_send_notification_mail($asin,"no price available");154 163 } 155 164 } 156 165 return $ret_elements; 157 166 } 158 function check_for_actuality_notification($asin, $act){ 159 if($act == "now"){ 160 return true; 161 }else if($act == "futureDate"){ 162 eapi_send_notification_mail($asin, $act); 163 return true; 164 } 165 return true; 166 } 167 168 167 /* 168 function recursive_category($node, $cat_arr){ 169 if(isset($node->Ancestors)){ 170 array_push($cat_arr, (String)$node->Name); 171 $cat_arr = recursive_category($node->Ancestors->BrowseNode, $cat_arr); 172 } 173 array_push($cat_arr, (String)$node->Name); 174 return $cat_arr; 175 } 176 */ 169 177 //puts the parameters together to an array. 170 178 function eapi_amazon_keyword_search($searchString, $page, $affili_amazon_tag, $aws_access_key_id){ … … 179 187 'Keywords'=>$searchString, 180 188 'Operation'=>'ItemSearch', 181 'ResponseGroup'=>'Reviews,Images,ItemAttributes,OfferListings', 189 #'ResponseGroup'=>'Large', 190 'ResponseGroup'=>'BrowseNodes,Reviews,Images,ItemAttributes,OfferListings', 182 191 'SearchIndex' => 'All', 183 192 'Service'=> 'AWSECommerceService', -
easy-amazon-product-information/trunk/eapi_handler.php
r1569629 r1643226 12 12 if(isset($atts['typ'])){ 13 13 $typ = $atts['typ']; 14 if(! in_array($typ, array("standard", "sidebar", "small", "negative", "price", "button", "picture", "link", "stars", "reviews" ))){14 if(! in_array($typ, array("standard", "sidebar", "small", "negative", "price", "button", "picture", "link", "stars", "reviews", "prime"))){ 15 15 $typ = "standard"; 16 16 } … … 174 174 //'display_savings' will get true, if the savings are shown in the corner right on the top. 175 175 $display_savings = false; 176 177 176 if($typ_json->display_intext_price != ""){ 178 179 177 $ret .= eapi_build_price_output(array_shift($product_arr), $typ, $typ_json); 180 181 178 }else if($typ_json->display_intext_picture != ""){ 182 179 $prod = array_shift($product_arr); 183 180 $url = eapi_build_url($prod, $passed_parameters); 184 181 $ret .= eapi_build_picture_output($prod, $typ, $url, $passed_parameters, $typ_json, $increasing_number); 185 186 182 }else if($typ_json->display_intext_button != ""){ 187 188 183 $prod = array_shift($product_arr); 189 184 $url = eapi_build_url($prod, $passed_parameters); 190 185 $ret .= eapi_build_button_output($prod, $typ, $url, $passed_parameters, $typ_json); 191 192 186 }else if($typ_json->display_intext_link != ""){ 193 187 $prod = array_shift($product_arr); … … 202 196 $url = eapi_build_url($prod, $passed_parameters); 203 197 $ret .= eapi_build_number_ratings($prod, $typ, $url, $passed_parameters, $typ_json); 204 }else{ 198 }else if($typ_json->display_intext_prime != ""){ 199 $prod = array_shift($product_arr); 200 $ret .= eapi_build_prime_output($prod, $typ, $passed_parameters, $typ_json); 201 } 202 else{ 205 203 if($passed_parameters['head_text'] == ""){ 206 204 $head_text = $typ_json->head_text; … … 261 259 } 262 260 $ret .= " >"; 263 264 261 if(isset($sA->amount_saved) AND $sA->amount_saved != "" AND $typ_json->saving_display != ""){ 265 262 $saving = str_replace("EUR" ,"", $sA->amount_saved) + str_replace("EUR" ,"", $sA->new_price); … … 284 281 $ret .= "<h3"; 285 282 } 286 $ret .= " class='eapi_title_around'"; 283 $ret .= " class='"; 284 if($typ != "sidebar"){ 285 $ret .= "eapi_title_around_box"; 286 }else{ 287 $ret .= " eapi_title_around"; 288 } 289 $ret .= "'"; 287 290 if($display_savings OR $typ == "sidebar"){ 288 291 $ret .= "style='"; … … 480 483 if($typ == "sidebar"){ 481 484 $ret .= "eapi_prime_wrapper_center"; 482 }else{ 485 }else if($typ == "prime"){ 486 $ret .= "eapi_prime_intext"; 487 } 488 else{ 483 489 $ret .= "eapi_prime_wrapper"; 484 490 } … … 505 511 $ret .=" href='$url".'\#customerReviews'."' 506 512 $ret .=><span class='"; 507 if($typ != "sidebar" ){513 if($typ != "sidebar" AND $typ != "reviews"){ 508 514 $ret .= "eapi_number_rating_box"; 509 515 } 510 516 $ret .= "'"; 511 517 if($passed_parameters['review_float'] != ""){ 512 $ret .= " style='float:left!important' "; 518 if($passed_parameters['review_float'] == "left"){ 519 $ret .= " style='float:left!important' "; 520 } 513 521 } 514 522 $ret .= ">"; … … 543 551 if($passed_parameters['star_float'] == 'left'){ 544 552 $ret .= " style='float: left;' "; 545 } 553 } 546 554 $ret .="><a rel='nofollow' target='_blank' rel='nofollow' alt='".__('amazon product ratings', 'easy-amazon-product-information')."' title='".__('amazon product ratings', 'easy-amazon-product-information')."' "; 547 555 //set google analytics tag … … 802 810 if($passed_parameters['picture_float'] == "right"){ 803 811 $ret .= "float:right!important;"; 804 } 812 }else if($passed_parameters['picture_float'] == "center"){ 813 $ret .= "margin:auto!important;float:none!important;"; 814 } 805 815 if($typ == 'picture'){ 806 816 $ret .= "margin: 15px;"; … … 896 906 } 897 907 898 //notificiation alarm899 //is called, when a notification even occours900 function eapi_send_notification_mail($label, $text){901 date_default_timezone_set("Europe/Berlin");902 $timestamp = time();903 mktime($timestamp);904 strtotime($timestamp);905 $actual_date = $timestamp;906 907 $message = "";908 if($label == "test_label"){909 $message .= __('Successfully send the test mail!', 'easy-amazon-product-information') . "\n". "\n";910 $message .= date('d.m.Y H:i', $actual_date);911 }else{912 $message .= __('On your page', 'easy-amazon-product-information') . " " . get_bloginfo('name') ." ". __('was an error registered.', 'easy-amazon-product-information') . "\n". "\n";913 $message .= __('Problem with the following product: ', 'easy-amazon-product-information'). " " . "\n" . "http://amazon.de/dp/" . $label . " \n" . __('status', 'easy-amazon-product-information') . ": " . $text. "\n". "\n";914 $message .= __('visit your website directly: ', 'easy-amazon-product-information') . "\n" . get_option('siteurl')." \n". "\n";915 $message .= date('d.m.Y H:i', $actual_date) . "\n". "\n";916 $message .= __('information about this notification can be found on: ', 'easy-amazon-product-information') . "http://jensmueller.one/blog/amazon-verfuegbarkeitsalarm/ " . "\n". "\n";917 918 }919 if(get_option('eapi_email_notification') != ""){920 $can_send_mail = true;921 $notification_log = get_option("eapi_notification_log", "");922 //notification_log only if not test mail is send923 if($label != "test_label" and $notification_log != ""){924 $notification_log = json_decode($notification_log, true);925 if(array_key_exists((String)$label, $notification_log)){//key already exists in log926 $can_send_mail = false;927 }928 }929 //if not notification_log is not already an array, an array is created930 if($notification_log == ""){931 $notification_log = array();932 }933 if($can_send_mail){934 //switch between writing local and send per mail935 //writing local is for debugging936 if(0){937 file_put_contents( 'wp-content\plugins\easy-amazon-product-information\test.log',$message, FILE_APPEND);938 if($label != "test_label"){939 $notification_log[(String)$label] = array("text" => $text, "time" => $timestamp);940 update_option("eapi_notification_log", json_encode($notification_log));941 }942 }else{943 $subject = "EAPI Verfügbarkeitsalarm";944 $sender = get_option('eapi_mail_sender');945 if($sender != ""){946 $headers = array('From: EAPI '.get_bloginfo('name').' <'.$sender.'>');947 }else{948 $headers = array('');949 }950 $receiver = get_option('eapi_mail_receiver');951 if($receiver != ""){952 $temp = wp_mail($receiver, $subject, $message, $headers);953 if($label != "test_label"){954 $notification_log[(String)$label] = array("text" => $text, "time" => $timestamp);955 update_option("eapi_notification_log", json_encode($notification_log));956 }957 }else{958 $temp = false;959 }960 return $temp;961 }962 }963 }964 }965 966 908 //builds the ownsite var. 967 909 function eapi_get_own_site_url(){ … … 1020 962 update_option("eapi_analytics_tracking", $_POST['eapi_analytics_tracking']); 1021 963 } 1022 if(!isset($_POST['eapi_email_notification'])){1023 delete_option("eapi_email_notification");1024 }else{1025 update_option("eapi_email_notification", $_POST['eapi_email_notification']);1026 }1027 }1028 if(isset($_POST['eapi_mail_receiver'])){1029 update_option("eapi_mail_receiver", trim($_POST['eapi_mail_receiver']));1030 }1031 if(isset($_POST['eapi_mail_sender'])){1032 update_option("eapi_mail_sender", trim($_POST['eapi_mail_sender']));1033 964 } 1034 965 //checks the api key, with a sample request to the api. … … 1036 967 eapi_check_credentials(); 1037 968 } 1038 //deletes the notification cache1039 if(isset($_POST['eapi_clear_notification_cache'])){1040 delete_notification_cache();1041 }1042 1043 969 //delete cache 1044 970 if(isset($_POST['eapi_cache_clear'])){ 1045 971 delete_all_cached_data(); 1046 delete_notification_cache();1047 }1048 //send test mail1049 if(isset($_POST['eapi_mail_test'])){1050 $temp_return = eapi_send_notification_mail("test_label", "test_message");1051 if(!$temp_return){1052 update_option('eapi_personal_error', " problem with mail sending");1053 }1054 972 } 1055 973 //builds affiliate link test for amazon partner net … … 1057 975 $temp_obj->asin = "B0054PDOV8"; 1058 976 $link_for_affiliate_test = "https://partnernet.amazon.de/gp/associates/network/tools/link-checker/main.html?link=".eapi_build_url($temp_obj,array('product_link' => '', 'product_affiliate' => '')); 1059 1060 //reads the last send of a mail notification 1061 $notification_log = get_option("eapi_notification_log", ""); 1062 if($notification_log != ""){ 1063 $notification_log = json_decode($notification_log, true); 1064 $last_log = 0; 1065 foreach($notification_log as $log){ 1066 if($log['time'] > $last_log){ 1067 $last_log = $log['time']; 1068 } 1069 } 1070 date_default_timezone_set("Europe/Berlin"); 1071 $notification_log = date('d.m.Y H:i', $last_log); 1072 } 1073 977 1074 978 $typ_for_tabs = array("standard", "small", "sidebar", "negative", "price", "button", "picture", "link"); 1075 979 //checks for updates via $_POST submit. … … 1109 1013 } 1110 1014 echo "</tr><tr>"; 1111 echo "<td>".__('availability alarm', 'easy-amazon-product-information').":</td><td>1112 <input type='checkbox' value='on' name='eapi_email_notification' ";1113 if(get_option("eapi_email_notification") != ""){1114 echo "checked";1115 }1116 echo "></td><td></td>";1117 echo "<td>".__('mail sender address', 'easy-amazon-product-information').":</td><td><input name='eapi_mail_sender' type='text' value='".get_option("eapi_mail_sender")."' placeholder='[email protected]'></td><td></td>";1118 echo "<td>".__('mail receiver address', 'easy-amazon-product-information').":</td><td><input name='eapi_mail_receiver' type='text' value='".get_option("eapi_mail_receiver")."'></td>";1119 echo "</tr><tr>";1120 1015 echo "<td>".__('analytics tracking', 'easy-amazon-product-information').":</td><td> 1121 1016 <input type='checkbox' value='on' name='eapi_analytics_tracking' "; … … 1130 1025 echo "</table></form>"; 1131 1026 echo "<table><tr><td><form method='post' action=''><input type='hidden' value='1' name='eapi_cache_clear'><input type='submit' value='".__('delete cache', 'easy-amazon-product-information')."'></form></td> 1132 <td><form method='post' action=''><input type='hidden' value='1' name='eapi_mail_test'><input type='submit' title='".__('Sends a test mail with the parameters you inserted.', 'easy-amazon-product-information')."' value='".__('mail test', 'easy-amazon-product-information')."'></form></td>1133 1027 <td><form action='".$link_for_affiliate_test."' target='_blank' method='post' ><input type='hidden' value='1' name='eapi_affiliate_test'><input title='".__('Checks with the amazon link tester, if you have inserted your valid affiliat tag. Leads to an extern url where amazon login is required.', 'easy-amazon-product-information')."' type='submit' value='".__('affiliate link test', 'easy-amazon-product-information')."'></form></td> 1134 <td><form method='post' action=''><input type='hidden' value='1' name='eapi_clear_notification_cache'><input type='submit' title='".__('clears notification cache, so noticifications will be send again', 'easy-amazon-product-information')."' value='".__('clear notification cache', 'easy-amazon-product-information')."'></form></td>1135 1028 </tr>"; 1136 1029 echo "</table>"; … … 1192 1085 echo "<p>" . sprintf(__('version: %1$s | <a href='."'"."http://jensmueller.one"."'"." target="."'"."_blank"."'".'>jensmueller.one</a> |', 'easy-amazon-product-information'), EAPI_VERSION); 1193 1086 echo eapi_get_donate_button() ." | <a href='https://www.amazon.de/?tag=jensmueller-21' target='_blank' >".__('support me with your next amazon buy', 'easy-amazon-product-information') ."</a> | " . eapi_get_number_of_entries_in_db(). ' ' . __('entries in DB', 'easy-amazon-product-information') . ' | *'.__('Settings will consist.', 'easy-amazon-product-information') ; 1194 1195 if($notification_log != ""){ 1196 echo " | " . __('Last notification was send on', 'easy-amazon-product-information') . ": " . $notification_log; 1197 } 1087 1198 1088 echo '</p>'; 1199 1089 echo '</div>'; … … 1471 1361 $wpdb->query( "DELETE FROM $table_name WHERE 1 "); 1472 1362 } 1473 function delete_notification_cache(){1474 delete_option('eapi_notification_log');1475 }1476 1477 1363 1478 1364 //deletes all entries in db, with this keyword … … 1584 1470 if(! ($restriction)){ 1585 1471 $arr = array_merge($arr, array("display_intext_price", "display_intext_picture", "display_intext_button", 1586 "display_intext_stars", "display_intext_reviews" ));1472 "display_intext_stars", "display_intext_reviews", "display_intext_prime")); 1587 1473 } 1588 1474 return $arr; … … 1683 1569 } 1684 1570 if( version_compare(get_option('eapi_version'), "2.0.0")< 0){ 1685 preg_match( "#[a-zA-Z0-9\-äöüÄÖÜß]*\.[a-z0-9]*$#", get_bloginfo('url'), $matches);1571 /* preg_match( "#[a-zA-Z0-9\-äöüÄÖÜß]*\.[a-z0-9]*$#", get_bloginfo('url'), $matches); 1686 1572 if(isset($matches[0])){ 1687 1573 $domain_name = $matches[0]; … … 1692 1578 update_option("eapi_mail_sender", $domain_name); 1693 1579 update_option("eapi_mail_receiver", get_option('admin_email')); 1580 *///not needed any longer, old function for notification mail 1694 1581 } 1695 1582 if( version_compare(get_option('eapi_version'), "2.1.0")< 0){ … … 1704 1591 $all_start_options_in_one_array['reviews']['num_reviews_display'] = '1'; 1705 1592 $all_start_options_in_one_array['reviews']['display_intext_reviews'] = '1'; 1593 } 1594 if( version_compare(get_option('eapi_version'), "2.6.0") < 0){ 1595 $all_start_options_in_one_array['prime']['display_intext_prime'] = '1'; 1596 $all_start_options_in_one_array['prime']['prime_display'] = '1'; 1597 delete_option('eapi_notification_log'); 1598 delete_option("eapi_email_notification"); 1599 delete_option('eapi_mail_sender'); 1600 delete_option("eapi_mail_receiver"); 1706 1601 } 1707 1602 //saving all these options in db … … 1728 1623 keyword varchar(100) NOT NULL, 1729 1624 title text NOT NULL, 1730 small_image varchar( 1000),1731 medium_image varchar( 1000),1732 large_image varchar( 1000),1625 small_image varchar(2000), 1626 medium_image varchar(2000), 1627 large_image varchar(2000), 1733 1628 description text, 1734 1629 features text, -
easy-amazon-product-information/trunk/easy_amazon_product_information.css
r1459468 r1643226 1 .eapi_shadow{box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 39px rgba(0,0,0,.1) inset}.eapi_foot_text{font-size:.6em;float:right}.eapi_entire_border{border:1px solid;padding-left:10px}@media (max-width:600px){.eapi_display_box{float:none!important;width:99%!important;margin-left:0!important}}.eapi_display_box{float:right;width:50%;margin-left:10px}.eapi_saving_procent{right:0;top:0;position:absolute;background-color:green;color:#fff;padding:6px;border-radius:0 0 0 10px}.eapi_shipping_pic{max-height:15px;margin:-4px 7px 0 0!important;display:inline!important;border:none!important}.eapi_product_title{text-decoration:none!important;border-bottom:hidden!important;font-size:.9em}.eapi_product_image{width:50%;margin-right:25%;margin-left:25%;margin-bottom:5px}.eapi_product_image_box{float:left;width:auto;height:auto;max-width:15%;max-height:250px }.eapi_admin_input{float:left}.eapi_feature_list{float:left;width:80%;margin-left:2%;font-size:.9em}.eapi_price_field{margin-bottom:0!important}.eapi_price_field_center{margin-top:4px!important;display:inline-block}.eapi_price_field_box{float:right;margin-right:20px!important;margin-top:2px!important}.eapi_price_amount_saved{margin-top:3px!important;font-size:.8em}.eapi_price_amount_saved_box{float:right;margin-right:20px!important}.eapi_number_rating_box{float:right;margin-top:1px}.eapi_feature_div{overflow:hidden;max-height:200px;margin-bottom:10px}.eapi_around{overflow:hidden;padding:20px;margin-bottom:5px;position:relative}.eapi_title_around{margin-top:0!important}.eapi_amazon_button_individual{border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;font-style:italic;height:34px;line-height:34px;padding-left:10px;padding-right:10px;text-align:center;float:right;text-decoration:none!important}.eapi_amazon_button_style{-box-shadow:inset 0 1px 0 0 #f9eacf;-webkit-box-shadow:inset 0 1px 0 0 #f9eacf;box-shadow:inset 0 1px 0 0 #f9eacf;background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F6DD9F),color-stop(1,#F0C24D));background:-moz-linear-gradient(center top,#F6DD9F 5%,#F0C24D 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F6DD9F‘, endColorstr=’#F0C24D‘);background-color:#f5d78a;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;text-indent:0;border:1px solid #cbaa5c;display:inline-block;color:#111!important;font-size:13px;font-weight:400;font-style:normal;height:25px;line-height:25px;width:180px;text-decoration:none;text-align:center;padding:2px;float:right;-webkit-box-sizing:initial!important;-moz-box-sizing:initial!important;box-sizing:initial!important;-webkit-border-radius:3px;border-radius:3px}.eapi_rating_wrapper,.eapi_rating_wrapper_center{width:90px;overflow:hidden;position:relative;height:18px}.eapi_amazon_button_style:hover{background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F5D589),color-stop(1,#EEBA35));background:-moz-linear-gradient(center top,#F5D589 5%,#EEBA35 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F5D589′, endColorstr=’#EEBA35′);background-color:#eeba35!important}.eapi_amazon_button_style:active{position:relative;top:1px}.eapi_rating_wrapper{margin-top:6px;float:right;margin-left:20px}.eapi_rating_wrapper_center{margin:auto}.eapi_rating{height:36px;width:360px;position:absolute;max-width:none!important}.eapi_prime_wrapper,.eapi_prime_wrapper_center{position:relative;width:63px;overflow:hidden;height:18px}.eapi_prime_wrapper{margin-top:9px;float:right;margin-left:20px}.eapi_prime_wrapper_center{margin:9px auto 3px}.eapi_prime_logo{left:0;top:-20px;height:36px;width:360px;position:absolute;max-width:none!important;margin:auto!important;border:none!important}.eapi_custom_info{width:60%;display:inline-block;margin-bottom:20px;position:relative;float:right}.eapi_custom_info_center{width:50%;margin:auto auto 10px;text-align:center}.eapi_sidebar_button{width:100%;padding-right:0!important;padding-left:0!important}.eapi_rating_link{text-decoration:none!important}1 .eapi_shadow{box-shadow:0 1px 2px rgba(0,0,0,.25),0 0 39px rgba(0,0,0,.1) inset}.eapi_foot_text{font-size:.6em;float:right}.eapi_entire_border{border:1px solid;padding-left:10px}@media (max-width:600px){.eapi_display_box{float:none!important;width:99%!important;margin-left:0!important}}.eapi_display_box{float:right;width:50%;margin-left:10px}.eapi_saving_procent{right:0;top:0;position:absolute;background-color:green;color:#fff;padding:6px;border-radius:0 0 0 10px}.eapi_shipping_pic{max-height:15px;margin:-4px 7px 0 0!important;display:inline!important;border:none!important}.eapi_product_title{text-decoration:none!important;border-bottom:hidden!important;font-size:.9em}.eapi_product_image{width:50%;margin-right:25%;margin-left:25%;margin-bottom:5px}.eapi_product_image_box{float:left;width:auto;height:auto;max-width:15%;max-height:250px;margin-left:15px;margin-bottom:15px}.eapi_admin_input{float:left}.eapi_feature_list{float:left;width:80%;margin-left:2%;font-size:.9em}.eapi_price_field{margin-bottom:0!important}.eapi_price_field_center{margin-top:4px!important;display:inline-block}.eapi_price_field_box{float:right;margin-right:20px!important;margin-top:2px!important}.eapi_price_amount_saved{margin-top:3px!important;font-size:.8em}.eapi_price_amount_saved_box{float:right;margin-right:20px!important}.eapi_number_rating_box{float:right;margin-top:1px}.eapi_feature_div{overflow:hidden;max-height:200px;margin-bottom:10px}.eapi_around{overflow:hidden;padding:20px;margin-bottom:5px;position:relative}.eapi_title_around{margin-top:0!important}.eapi_title_around_box{margin-left:15px; margin-top:5px!important}.eapi_amazon_button_individual{border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;display:inline-block;font-family:Arial;font-size:14px;font-weight:700;font-style:italic;height:34px;line-height:34px;padding-left:10px;padding-right:10px;text-align:center;float:right;text-decoration:none!important}.eapi_amazon_button_style{-box-shadow:inset 0 1px 0 0 #f9eacf;-webkit-box-shadow:inset 0 1px 0 0 #f9eacf;box-shadow:inset 0 1px 0 0 #f9eacf;background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F6DD9F),color-stop(1,#F0C24D));background:-moz-linear-gradient(center top,#F6DD9F 5%,#F0C24D 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F6DD9F‘, endColorstr=’#F0C24D‘);background-color:#f5d78a;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:3px;text-indent:0;border:1px solid #cbaa5c;display:inline-block;color:#111!important;font-size:13px;font-weight:400;font-style:normal;height:25px;line-height:25px;width:180px;text-decoration:none;text-align:center;padding:2px;float:right;-webkit-box-sizing:initial!important;-moz-box-sizing:initial!important;box-sizing:initial!important;-webkit-border-radius:3px;border-radius:3px}.eapi_rating_wrapper,.eapi_rating_wrapper_center{width:90px;overflow:hidden;position:relative;height:18px}.eapi_amazon_button_style:hover{background:-webkit-gradient(linear,left top,left bottom,color-stop(.05,#F5D589),color-stop(1,#EEBA35));background:-moz-linear-gradient(center top,#F5D589 5%,#EEBA35 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#F5D589′, endColorstr=’#EEBA35′);background-color:#eeba35!important}.eapi_amazon_button_style:active{position:relative;top:1px}.eapi_rating_wrapper{margin-top:6px;float:right;margin-left:20px}.eapi_rating_wrapper_center{margin:auto}.eapi_rating{height:36px;width:360px;position:absolute;max-width:none!important}.eapi_prime_wrapper,.eapi_prime_wrapper_center{position:relative;width:63px;overflow:hidden;height:18px}.eapi_prime_wrapper{margin-top:9px;float:right;margin-left:20px}.eapi_prime_wrapper_center{margin:9px auto 3px}.eapi_prime_intext{position:relative;width:63px;overflow:hidden;height:18px;margin:auto}.eapi_prime_logo{left:0;top:-20px;height:36px;width:360px;position:absolute;max-width:none!important;margin:auto!important;border:none!important}.eapi_custom_info{width:60%;display:inline-block;margin-bottom:15px;margin-top:5px;margin-right:10px;position:relative;float:right}.eapi_custom_info_center{width:50%;margin:auto auto 10px;text-align:center}.eapi_sidebar_button{width:100%;padding-right:0!important;padding-left:0!important}.eapi_rating_link{text-decoration:none!important} -
easy-amazon-product-information/trunk/easy_amazon_product_information.php
r1535312 r1643226 4 4 * Plugin URI: http://jensmueller.one/easy-amazon-product-information/ 5 5 * Description: Mit EAPI können Sie aus der Amazon API zahlreiche Produktinformationen auslesen und in Ihre Webseite einbinden. Die Anzeige auf der Webseite kann individuell nach Ihren Bedürfnissen angepasst werden. 6 * Version: 2. 5.06 * Version: 2.6.0 7 7 * Author: Jens Müller 8 8 * Author URI: http://jensmueller.one 9 9 * Text Domain: easy-amazon-product-information 10 10 */ 11 define('EAPI_VERSION', '2. 5.0');11 define('EAPI_VERSION', '2.6.0'); 12 12 define('EAPI_PLUGIN_DIR', plugin_dir_path( __FILE__ )); 13 13 -
easy-amazon-product-information/trunk/readme.txt
r1569629 r1643226 7 7 Stable tag: trunk 8 8 Requires at least: 4.0 9 Tested up to: 4.7 9 Tested up to: 4.7.4 10 10 11 11 Mit diesem Plugin können Sie Produktdaten aus der Amazon-API auslesen und automatisiert in Ihre Webseite einbinden. … … 91 91 92 92 == Changelog == 93 94 2.6.0: 95 96 * Es kann nur das Prime-Logo alleine angezeigt werden, beispielsweise in einer Tabelle. | Only the prime sign can now be displayed. 97 * Design-Optimierungen. | Design optmiziations. 98 * Email-Benachrichtigungsfeature wurde entfernt. | Email notification is no longer available. 93 99 94 100
Note: See TracChangeset
for help on using the changeset viewer.