diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/arbenta/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/arbenta/google.png index 0d76a75d538c36d2f9dca4d78ef441d45f54a96a..cd8cf6fa246eb08e623a6df85f8f12efb5eaf576 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/arbenta/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/arbenta/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/metal/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/metal/google.png index 5dbb6a7332b06e0753db3c220dce9c18ca966428..682e820c1554e661bbda4df1ada420ab0cb62598 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/metal/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/metal/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/metal/vk.png b/wp-content/plugins/simple-share-buttons-adder/buttons/metal/vk.png index 3069fdc09c0b15bbb773bed77e41f661e8738f6f..f83ec8346a5e2c2002bdbde1f45873d47b08619d 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/metal/vk.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/metal/vk.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/pagepeel/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/pagepeel/google.png index 04b07889dbebb353af0431aaff6e0feeeddd7532..786749fba8f5bde5b4084aa336003eaed81ba425 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/pagepeel/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/pagepeel/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/plain/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/plain/google.png index b5557a44e611e0ff75fd5289da7e8f29452a5d55..e26aaf8cd2763326f795c067b3667fde412a1ef1 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/plain/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/plain/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/retro/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/retro/google.png index 08411a7c4062af050dd5bd9899f817af839076d3..6f6aa6a4f57884a6d2dd1dfc70b5622ebfded447 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/retro/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/retro/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/ribbons/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/ribbons/google.png index 095e15bf9f2438a1f4cef721c5560de47950f3a4..297043692ef5306d3e296f224c4bc0aa7a6a79b6 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/ribbons/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/ribbons/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/simple/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/simple/google.png index a971a2b65f3ec95bf1d61384461422c4f70cf1f8..8da7d8a358fcbd5f27ae4a6a7e25029b7ea476a0 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/simple/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/simple/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/buttons/somacro/google.png b/wp-content/plugins/simple-share-buttons-adder/buttons/somacro/google.png index cbc3fe297686b23cffb378d42c61da5f36224213..e27e337efa963804adfab8b0b049415e48393489 100644 Binary files a/wp-content/plugins/simple-share-buttons-adder/buttons/somacro/google.png and b/wp-content/plugins/simple-share-buttons-adder/buttons/somacro/google.png differ diff --git a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.eot b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.eot index 84852cc920cdd86ca4791936dc9d2a10f5d19653..016c15ed857c914ec07b23284dce340963fe6ee2 100755 Binary files a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.eot and b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.eot differ diff --git a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.svg b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.svg index fb4ece8aa5eaf510309608f8c375c0ee2bd2d86d..8db5d8426ddd78442712b70da9742725c238a600 100755 --- a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.svg +++ b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.svg @@ -6,32 +6,30 @@ <font id="ssbp" horiz-adv-x="1024"> <font-face units-per-em="1024" ascent="960" descent="-64" /> <missing-glyph horiz-adv-x="1024" /> -<glyph unicode=" " d="" horiz-adv-x="512" /> -<glyph unicode="" d="M1095.429 653.714q13.143-36.571-85.714-168-13.714-18.286-37.143-48.571-44.571-57.143-51.429-74.857-9.714-23.429 8-46.286 9.714-12 46.286-46.857h0.571l2.286-2.286q80.571-74.857 109.143-126.286 1.714-2.857 3.714-7.143t4-15.143-0.286-19.429-14.286-15.714-33.714-7.143l-146.286-2.286q-13.714-2.857-32 2.857t-29.714 12.571l-11.429 6.857q-17.143 12-40 36.571t-39.143 44.286-34.857 33.143-32.286 8.857q-1.714-0.571-4.571-2t-9.714-8.286-12.286-16.857-9.714-29.714-3.714-44.286q0-8.571-2-15.714t-4.286-10.571l-2.286-2.857q-10.286-10.857-30.286-12.571h-65.714q-40.571-2.286-83.429 9.429t-75.143 30.286-58.857 37.714-40.286 32.857l-14.286 13.714q-5.714 5.714-15.714 17.143t-40.857 52-60.571 86.286-70 120.571-74.571 155.429q-3.429 9.143-3.429 15.429t1.714 9.143l2.286 3.429q8.571 10.857 32.571 10.857l156.571 1.143q6.857-1.143 13.143-3.714t9.143-4.857l2.857-1.714q9.143-6.286 13.714-18.286 11.429-28.571 26.286-59.143t23.429-46.571l9.143-16.571q16.571-34.286 32-59.429t27.714-39.143 23.714-22 19.429-8 15.429 2.857q1.143 0.571 2.857 2.857t6.857 12.571 7.714 26.857 5.429 46.286 0 71.429q-1.143 22.857-5.143 41.714t-8 26.286l-3.429 6.857q-14.286 19.429-48.571 24.571-7.429 1.143 2.857 13.714 9.714 10.857 21.714 17.143 30.286 14.857 136.571 13.714 46.857-0.571 77.143-7.429 11.429-2.857 19.143-7.714t11.714-13.714 6-18.286 2-26-0.571-31.429-1.429-40.286-0.857-47.143q0-6.286-0.571-24t-0.286-27.429 2-23.143 6.571-22.286 12.857-14q4.571-1.143 9.714-2.286t14.857 6.286 21.714 19.714 29.714 38.286 38.857 61.429q34.286 59.429 61.143 128.571 2.286 5.714 5.714 10t6.286 6l2.286 1.714 2.857 1.429t7.429 1.714 11.429 0.286l164.571 1.143q22.286 2.857 36.571-1.429t17.714-9.429z" horiz-adv-x="1097" /> -<glyph unicode="" d="M606.857 544v67.429q0 24-17.143 41.143t-41.143 17.143-41.143-17.143-17.143-41.143v-349.714q0-100-72-170.857t-173.143-70.857q-101.714 0-173.429 71.714t-71.714 173.429v152h187.429v-149.714q0-24.571 17.143-41.429t41.143-16.857 41.143 16.857 17.143 41.429v354.286q0 97.714 72.286 166.857t172.286 69.143q100.571 0 172.571-69.714t72-168v-77.714l-111.429-33.143zM909.714 417.143h187.429v-152q0-101.714-71.714-173.429t-173.429-71.714q-101.143 0-173.143 71.143t-72 171.714v153.143l74.857-34.857 111.429 33.143v-154.286q0-24 17.143-40.857t41.143-16.857 41.143 16.857 17.143 40.857v157.143z" horiz-adv-x="1097" /> -<glyph unicode="" d="M0 21.334c0-47.146 38.186-85.334 85.334-85.334h853.334c47.146 0 85.334 38.186 85.334 85.334l-0.002 512c0 47.146-38.186 85.334-85.334 85.334h-64v255.998c0 47.146-38.186 85.334-85.334 85.334h-554.666c-47.146 0-85.332-38.186-85.332-85.334v-256h-64c-47.146 0-85.334-38.186-85.334-85.334v-511.998zM768 806.4v-247.466c0-26.026-20.906-46.934-46.934-46.934h-418.132c-26.026 0-46.934 20.906-46.934 46.934v247.466c0 26.026 20.906 46.934 46.934 46.934h418.134c26.026 0 46.932-20.908 46.932-46.934zM832 42.666h-640c-23.466 0-42.666 19.2-42.666 42.666s19.2 42.666 42.666 42.666h640c23.466 0 42.666-19.2 42.666-42.666s-19.2-42.666-42.666-42.666zM149.334 266.666c0 29.44 23.892 53.334 53.332 53.334s53.334-23.894 53.334-53.334-23.894-53.332-53.334-53.332-53.332 23.892-53.332 53.332z" /> -<glyph unicode="" d="M441.19 295.578c-26.931-141.005-59.75-276.173-157.082-346.778-30.003 213.094 44.083 373.094 78.541 542.976-58.726 98.816 7.066 297.574 130.816 248.576 152.32-60.211-131.891-367.206 58.88-405.606 199.219-39.987 280.525 345.6 156.979 470.989-178.432 181.146-519.475 4.25-477.491-255.078 10.189-63.386 75.674-82.586 26.163-170.086-114.227 25.293-148.326 115.405-143.923 235.52 7.066 196.608 176.589 334.182 346.675 353.28 215.091 24.115 416.973-79.002 444.877-281.293 31.386-228.403-97.075-475.802-327.117-457.984-62.362 4.864-88.474 35.789-137.318 65.485z" /> -<glyph unicode="" d="M896 800h-768c-70.688 0-128-57.344-128-128v-416c0-70.688 57.312-128 128-128h768c70.688 0 128 57.312 128 128v416c0 70.656-57.312 128-128 128zM64 632l223.968-168-223.968-168v336zM960 256c0-35.328-28.736-64-64-64h-768c-35.296 0-64 28.672-64 64l250.624 188 139.776-104.864c17.056-12.736 37.312-19.2 57.6-19.2 20.256 0 40.512 6.432 57.568 19.2l139.808 104.864 250.624-188zM960 296l-224 168 224 168v-336zM550.368 364.736c-11.168-8.384-24.416-12.8-38.368-12.8s-27.232 4.448-38.4 12.8l-409.6 307.264c0 35.296 28.704 64 64 64h768c35.264 0 64-28.704 64-64l-409.632-307.264z" /> -<glyph unicode="" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" /> -<glyph unicode="" d="M256 320c0 35.346 28.654 64 64 64s64-28.654 64-64c0-35.346-28.654-64-64-64s-64 28.654-64 64zM640 320c0 35.346 28.654 64 64 64s64-28.654 64-64c0-35.346-28.654-64-64-64s-64 28.654-64 64zM643.112 183.222c16.482 12.986 40.376 10.154 53.364-6.332s10.152-40.378-6.334-53.366c-45.896-36.158-115.822-59.524-178.142-59.524-62.322 0-132.248 23.366-178.144 59.522-16.486 12.99-19.32 36.882-6.332 53.368 12.99 16.482 36.882 19.318 53.366 6.332 26.422-20.818 78.722-43.222 131.11-43.222s104.688 22.404 131.112 43.222zM1024 448c0 70.692-57.308 128-128 128-48.116 0-89.992-26.57-111.852-65.82-65.792 35.994-145.952 59.246-233.28 64.608l76.382 171.526 146.194-42.2c13.152-37.342 48.718-64.114 90.556-64.114 53.020 0 96 42.98 96 96s-42.98 96-96 96c-36.56 0-68.342-20.442-84.554-50.514l-162.906 47.024c-18.224 5.258-37.538-3.722-45.252-21.052l-103.77-233.026c-85.138-5.996-163.262-29.022-227.636-64.236-21.864 39.25-63.766 65.804-111.882 65.804-70.692 0-128-57.308-128-128 0-52.312 31.402-97.254 76.372-117.102-8.070-24.028-12.372-49.104-12.372-74.898 0-176.73 200.576-320 448-320 247.422 0 448 143.27 448 320 0 25.792-4.3 50.862-12.368 74.886 44.97 19.85 76.368 64.802 76.368 117.114zM864 772c19.882 0 36-16.118 36-36s-16.118-36-36-36-36 16.118-36 36 16.118 36 36 36zM64 448c0 35.29 28.71 64 64 64 25.508 0 47.572-15.004 57.846-36.646-33.448-25.366-61.166-54.626-81.666-86.738-23.524 9.47-40.18 32.512-40.18 59.384zM512 12c-205.45 0-372 109.242-372 244s166.55 244 372 244c205.45 0 372-109.242 372-244s-166.55-244-372-244zM919.82 388.616c-20.5 32.112-48.218 61.372-81.666 86.738 10.276 21.642 32.338 36.646 57.846 36.646 35.29 0 64-28.71 64-64 0-26.872-16.656-49.914-40.18-59.384z" /> -<glyph unicode="" d="M367.562 960c-243.358 0-367.562-140.162-367.562-401.856v0-549.034l238.39 238.628v278.896c0 108.416 28.73 177.406 125.118 192.894v0c33.672 6.584 103.75 4.278 148.306 4.278v0-165.596c0-1.51 0.208-4.206 0.594-5.586v0c1.87-6.704 7.93-11.616 15.116-11.63v0c4.062-0.008 7.868 2.104 11.79 5.97v0l413.122 412.974-584.874 0.062zM785.61 648.254v-278.89c0-108.414-28.736-177.414-125.116-192.894v0c-33.672-6.582-103.756-4.278-148.312-4.278v0 165.594c0 1.5-0.206 4.204-0.594 5.582v0c-1.864 6.712-7.922 11.622-15.112 11.63v0c-4.064 0.008-7.866-2.112-11.79-5.966v0l-413.124-412.966 584.874-0.066c243.354 0 367.564 140.168 367.564 401.852v0 549.028l-238.39-238.626z" /> -<glyph unicode="" d="M576.032 512l-0.002-234.184c0-59.418-0.77-93.656 5.53-110.5 6.25-16.754 21.918-34.146 38.99-44.202 22.684-13.588 48.542-20.376 77.708-20.376 51.854 0 82.478 6.848 133.742 40.54v-153.944c-43.7-20.552-81.866-32.594-117.324-40.922-35.5-8.242-73.86-12.406-115.064-12.406-46.828 0-74.456 5.886-110.41 17.656-35.958 11.868-66.66 28.806-92.020 50.54-25.45 21.922-43.022 45.208-52.848 69.832-9.826 24.636-14.716 60.414-14.716 107.244v359.1h-137.426v145.006c40.208 13.042 85.164 31.788 113.78 56.152 28.754 24.45 51.766 53.706 69.106 87.944 17.392 34.146 29.348 77.712 35.872 130.516h165.084l-0.002-255.996h255.968v-192h-255.968z" /> -<glyph unicode="" d="M384 576h177.106v-90.782h2.532c24.64 44.194 84.958 90.782 174.842 90.782 186.946 0 221.52-116.376 221.52-267.734v-308.266h-184.61v273.278c0 65.184-1.334 149.026-96.028 149.026-96.148 0-110.82-70.986-110.82-144.292v-278.012h-184.542v576zM64 576h192v-576h-192v576zM256 736c0-53.019-42.981-96-96-96s-96 42.981-96 96c0 53.019 42.981 96 96 96s96-42.981 96-96z" /> -<glyph unicode="" d="M559.066 896c0 0-200.956 0-267.94 0-120.12 0-233.17-91.006-233.17-196.422 0-107.726 81.882-194.666 204.088-194.666 8.498 0 16.756 0.17 24.842 0.752-7.93-15.186-13.602-32.288-13.602-50.042 0-29.938 16.104-54.21 36.468-74.024-15.386 0-30.242-0.448-46.452-0.448-148.782 0.002-263.3-94.758-263.3-193.020 0-96.778 125.542-157.314 274.334-157.314 169.624 0 263.306 96.244 263.306 193.028 0 77.6-22.896 124.072-93.686 174.134-24.216 17.144-70.53 58.836-70.53 83.344 0 28.72 8.196 42.868 51.428 76.646 44.312 34.624 75.672 83.302 75.672 139.916 0 67.406-30.020 133.098-86.372 154.772h84.954l59.96 43.344zM465.48 240.542c2.126-8.972 3.284-18.206 3.284-27.628 0-78.2-50.392-139.31-194.974-139.31-102.842 0-177.116 65.104-177.116 143.3 0 76.642 92.126 140.444 194.964 139.332 24-0.254 46.368-4.116 66.67-10.69 55.826-38.826 95.876-60.762 107.172-105.004zM300.818 532.224c-69.038 2.064-134.636 77.226-146.552 167.86-11.916 90.666 34.37 160.042 103.388 157.99 69.010-2.074 134.638-74.814 146.558-165.458 11.906-90.66-34.39-162.458-103.394-160.392zM832 704v192h-64v-192h-192v-64h192v-192h64v192h192v64z" /> -<glyph unicode="" d="M310.909 705.023c18.562 12.937 62.293 18.169 74.267-1.727 6.818-11.329 3.21-35.258 0-53.54-19.941-113.531-43.798-244.244-62.179-350.607 100.739-10.269 206.112-32.519 314.337-48.36 121.619-17.801 266.81-25.201 354.058 34.541 15.836-12.075 32.691-28.155 31.092-53.538-1.958-31.003-47.862-47.411-77.723-56.996-36.47-11.706-75.527-17.405-117.443-17.273-186.82 0.602-341.378 72.731-512.956 81.176-18.475-82.673-56.465-182.378-162.348-177.894-45.624 1.935-83.57 30.375-86.357 79.449-2.847 50.147 27.856 90.086 56.996 112.261 34.2 26.030 74.933 38.733 124.353 44.909 2.225 18.495 6.849 34.598 8.636 53.538-8.178 1.49-16.234-4.847-24.178-8.641-32.41-15.45-101.937-36.512-143.351-12.087-60.167 35.487-14.78 134.791 0 189.984 5.338 19.939 10.44 41.235 15.544 60.447 5.021 18.901 14.488 41.718 1.727 58.723-21.839 4.765-39.728-6.393-53.542-17.271-4.287-3.376-5.779-11.682-12.088-8.636-14.285 11.334-32.961 25.185-31.089 48.36 1.882 23.277 42.708 41.129 63.903 48.358 66.239 22.593 124.698-3.316 117.444-81.174-3.169-34.014-17.29-72.653-25.907-105.354-9.305-35.308-24.347-69.784-18.999-108.807 15.596-18.314 46.718-9.308 67.359-3.453 22.746 6.449 45.52 15.379 58.723 25.904 8.284 38.014 13.826 75.626 20.724 113.992 8.849 49.213 23.229 95.345 18.997 153.716zM157.194 140.254c58.354-8.762 65.801 48.126 77.72 91.539-51.84-0.937-107.691-50.43-77.72-91.539zM751.324 575.488c-10.685 23.716-58.813 23.149-77.722 6.909 7.555-30.379-1.379-51.598-6.907-82.901-3.367-19.072-5.193-39.48-8.636-58.723-6.91-38.617-23.741-88.448-13.819-112.261 8.458-20.303 59.015-21.059 74.267-3.456-3.323 61.36 17.881 125.285 25.905 186.528 12.735 5.040 35.311 22.707 50.089 10.363 15.602-13.036-2.35-70.692-6.909-98.446-5.731-34.901-20.975-81.94-6.909-100.173 9.928-12.868 51.666-15.392 72.537 0-6.567 64.754 17.853 125.213 24.18 188.256 13.128 4.673 35.077 22.905 50.089 10.363 8.841-7.385 4.929-31.094 1.727-50.086-3.18-18.845-5.77-33.241-8.636-50.086-6.033-35.461-21.33-83.048-5.181-100.173 10.786-11.441 51.357-12.86 70.811 1.727-3.7 48.147 5.42 84.332 13.819 131.261 6.139 34.324 16.428 67.937 13.814 94.991-6.979 72.255-98.601 46.592-138.168 20.727-19.041 43.709-93.162 24.912-124.353 5.178zM476.713 485.678c5.702 32.468 18.188 69.53 10.363 91.539-8.127 22.861-58.093 20.499-75.993 5.181 7.052-36.431-3.326-65.297-10.363-105.354-4.862-27.686-11.988-57.073-13.817-81.174-7.084-93.387 73.929-89.324 131.261-58.72 6.42-7.578 6.465-15.575 17.271-20.727 19.238-9.175 51.5-2.313 63.901 8.636-6.354 50.848 4.893 88.924 15.546 146.806 5.82 31.643 25.288 89.989 10.361 110.536-12.582 17.319-58.276 15.305-72.538-1.729 5.076-59.885-16.836-120.827-24.18-179.62-14.437-8.253-44.276-19.048-60.448-5.181-5.996 23.323 2.611 55.511 8.636 89.808z" /> -<glyph unicode="" d="M164 733.667h102v-491.5h-266v348.5h164v143zM164 324.167v184.5h-61.5v-184.5h61.5zM307 590.667v-348.5h102.5v348.5h-102.5zM307 733.667v-102h102.5v102h-102.5zM450.5 590.667h266.5v-471h-266.5v81.5h164v41h-164v348.5zM614.5 324.167v184.5h-61.5v-184.5h61.5zM758 590.667h266v-471h-266v81.5h163.5v41h-163.5v348.5zM921.5 324.167v184.5h-61.5v-184.5h61.5z" /> -<glyph unicode="" d="M970.282 196.808l-111.191 51.080c-9.534 4.381-25.138 4.381-34.676 0l-318.361-146.253c-9.534-4.381-25.142-4.381-34.676 0l-318.361 146.253c-9.538 4.381-25.142 4.381-34.676 0l-111.191-51.080c-9.534-4.381-9.534-11.547 0-15.928l464.227-213.261c9.534-4.381 25.142-4.381 34.676 0l464.227 213.261c9.534 4.381 9.534 11.547 0 15.928zM970.282 459.467l-111.191 51.076c-9.534 4.381-25.138 4.381-34.676 0l-318.361-146.249c-9.534-4.381-25.142-4.381-34.676 0l-318.361 146.249c-9.538 4.381-25.142 4.381-34.676 0l-111.191-51.076c-9.534-4.381-9.534-11.551 0-15.932l464.227-213.257c9.534-4.381 25.142-4.381 34.676 0l464.227 213.257c9.534 4.381 9.534 11.551 0 15.932zM7.151 706.194l464.227-213.261c9.534-4.381 25.142-4.381 34.676 0l464.227 213.261c9.534 4.381 9.534 11.547 0 15.928l-464.227 213.261c-9.534 4.381-25.142 4.381-34.676 0l-464.227-213.261c-9.534-4.381-9.534-11.547 0-15.928z" /> -<glyph unicode="" d="M548 944v-150.857h-89.714q-49.143 0-66.286-20.571t-17.143-61.714v-108h167.429l-22.286-169.143h-145.143v-433.714h-174.857v433.714h-145.714v169.143h145.714v124.571q0 106.286 59.429 164.857t158.286 58.571q84 0 130.286-6.857z" horiz-adv-x="585" /> -<glyph unicode="" d="M1024 439.854c0-275.49-225.041-498.813-502.693-498.813-88.144 0-170.951 22.528-242.995 62.066l-278.312-88.439 90.738 267.628c-45.773 75.162-72.135 163.317-72.135 257.559 0 275.49 225.064 498.813 502.704 498.813 277.675 0 502.693-223.323 502.693-498.813zM521.307 859.227c-233.062 0-422.639-188.132-422.639-419.374 0-91.762 29.912-176.742 80.509-245.874l-52.804-155.75 162.418 51.621c66.731-43.816 146.671-69.37 232.528-69.37 233.028 0 422.639 188.109 422.639 419.351s-189.599 419.396-422.65 419.396zM775.157 324.972c-3.106 5.086-11.31 8.158-23.62 14.268-12.334 6.11-72.932 35.703-84.196 39.765-11.298 4.073-19.536 6.121-27.739-6.11-8.203-12.242-31.824-39.765-39.026-47.923-7.191-8.181-14.37-9.205-26.704-3.083-12.311 6.11-52.008 19.035-99.078 60.678-36.625 32.404-61.36 72.408-68.551 84.662-7.179 12.231-0.751 18.842 5.404 24.929 5.552 5.484 12.334 14.279 18.489 21.413 6.178 7.145 8.226 12.231 12.311 20.4 4.13 8.158 2.071 15.292-1.024 21.424-3.072 6.11-27.739 66.276-38.002 90.761-10.263 24.462-20.514 20.389-27.716 20.389-7.179 0-15.406 1.024-23.62 1.024s-21.572-3.061-32.87-15.292c-11.287-12.242-43.11-41.825-43.11-101.979 0-60.166 44.134-118.295 50.313-126.441 6.155-8.146 85.22-135.623 210.489-184.582 125.281-48.936 125.281-32.609 147.877-30.561 22.574 2.037 72.886 29.571 83.194 58.106 10.24 28.581 10.24 53.055 7.179 58.152z" /> -<glyph unicode="" d="M341.143 569.714q-5.714-10.286-146.857-260.571-15.429-26.286-37.143-26.286h-136.571q-12 0-17.714 9.714t0 20.571l144.571 256q0.571 0 0 0.571l-92 159.429q-6.857 12.571-0.571 21.143 5.143 8.571 18.286 8.571h136.571q22.857 0 37.714-25.714zM801.714 936.571q6.286-9.143 0-21.143l-301.714-533.714v-0.571l192-351.429q6.286-11.429 0.571-21.143-5.714-8.571-18.286-8.571h-136.571q-24 0-37.714 25.714l-193.714 355.429q10.286 18.286 303.429 538.286 14.286 25.714 36.571 25.714h137.714q12.571 0 17.714-8.571z" horiz-adv-x="805" /> -<glyph unicode="" d="M894.529 456.58c-148.647 0-269.15-120.503-269.15-269.15 0-148.651 120.503-269.154 269.15-269.154 148.651 0 269.159 120.503 269.159 269.154-0.005 148.647-120.512 269.15-269.159 269.15zM1015.749 186.6c0-16.524-13.407-29.931-29.931-29.931h-59.261v-59.261c0-16.528-13.398-29.931-29.931-29.931h-1.647c-16.533 0-29.931 13.402-29.931 29.931v59.261h-59.261c-16.528 0-29.931 13.407-29.931 29.931v1.651c0 16.528 13.402 29.931 29.931 29.931h59.261v59.261c0 16.533 13.398 29.931 29.931 29.931h1.647c16.533 0 29.931-13.398 29.931-29.931v-59.261h59.261c16.528 0 29.931-13.402 29.931-29.931v-1.651zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM446.148 924.502c-247.88 0-449.522-201.687-449.522-449.568s201.642-449.568 449.522-449.568c60.538 0 118.324 12.044 171.058 33.833-8.12 17.367-14.571 35.592-19.262 54.538-46.689-19.758-97.979-30.63-151.796-30.63-216.032 0-391.782 175.794-391.782 391.827s175.749 391.827 391.782 391.827c211.792 0 384.88-168.892 391.601-379.060 18.405 3.519 37.396 5.323 56.794 5.323h0.767c-9.469 239.535-207.281 431.478-449.162 431.478zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM800.488 478.183c-1.714 194.244-159.69 351.137-354.34 351.137-195.688 0-354.34-158.652-354.34-354.385 0-195.737 158.652-354.39 354.34-354.39 51.606 0 100.686 11.007 144.894 30.905-1.398 11.819-2.12 23.814-2.12 35.993 0 135.696 88.912 251.042 211.567 290.739zM357.056 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM357.056 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 336.221c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621zM535.241 514.406c-27.382 0-49.621 22.194-49.621 49.621s22.239 49.621 49.621 49.621c27.427 0 49.621-22.194 49.621-49.621s-22.194-49.621-49.621-49.621z" horiz-adv-x="1166" /> -<glyph unicode="" d="M597.333 768q18 0 30.333-12.333l298.667-298.667q12.333-12.333 12.333-30.333t-12.333-30.333l-298.667-298.667q-12.333-12.333-30.333-12.333-18.333 0-30.5 12.167t-12.167 30.5q0 18 12.333 30.333l226 225.667h-665q-17.667 0-30.167 12.5t-12.5 30.167 12.5 30.167 30.167 12.5h665l-226 225.667q-12.333 12.333-12.333 30.333 0 18.333 12.167 30.5t30.5 12.167z" /> -<glyph unicode="" d="M426.667 768q17.667 0 30.167-12.5t12.5-30.167q0-18-12.667-30.333l-225.667-225.667h665q17.667 0 30.167-12.5t12.5-30.167-12.5-30.167-30.167-12.5h-665l225.667-225.667q12.667-12.333 12.667-30.333 0-17.667-12.5-30.167t-30.167-12.5q-18 0-30.333 12.333l-298.667 298.667q-12.333 13-12.333 30.333t12.333 30.333l298.667 298.667q12.667 12.333 30.333 12.333z" /> -<glyph unicode="" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 32c-229.75 0-416 186.25-416 416s186.25 416 416 416 416-186.25 416-416-186.25-416-416-416zM672 704l-160-160-160 160-96-96 160-160-160-160 96-96 160 160 160-160 96 96-160 160 160 160z" /> -<glyph unicode="" d="M702.293 280.96l-195.627 195.627-195.627-195.627-60.373 60.373 256 256 256-256z" /> -<glyph unicode="" d="M366.293 236.374l195.627 195.627-195.627 195.627 60.373 60.373 256-256-256-256z" /> -<glyph unicode="" d="M657.707 241.707l-195.627 195.627 195.627 195.627-60.373 60.373-256-256 256-256z" /> -<glyph unicode="" d="M321.707 572.374l195.627-195.627 195.627 195.627 60.373-60.373-256-256-256 256z" /> -<glyph unicode="" d="M512 853.334q17.667 0 30.167-12.5t12.5-30.167v-665l225.667 226q12.333 12.333 30.333 12.333 18.333 0 30.5-12.167t12.167-30.5q0-18-12.333-30.333l-298.667-298.667q-12.333-12.333-30.333-12.333t-30.333 12.333l-298.667 298.667q-12.333 12.333-12.333 30.333 0 18.333 12.167 30.5t30.5 12.167q18 0 30.333-12.333l225.667-226v665q0 17.667 12.5 30.167t30.167 12.5z" /> -<glyph unicode="" d="M512 853.334q18 0 30.333-12.333l298.667-298.667q12.333-12.333 12.333-30.333 0-18.333-12.167-30.5t-30.5-12.167q-18 0-30.333 12.333l-225.667 226v-665q0-17.667-12.5-30.167t-30.167-12.5-30.167 12.5-12.5 30.167v665l-225.667-226q-12.333-12.333-30.333-12.333-18.333 0-30.5 12.167t-12.167 30.5q0 18 12.333 30.333l298.667 298.667q12.333 12.333 30.333 12.333z" /> +<glyph unicode=" " horiz-adv-x="512" d="" /> +<glyph unicode="" glyph-name="vk" horiz-adv-x="1097" d="M1095.429 653.714q13.143-36.571-85.714-168-13.714-18.286-37.143-48.571-44.571-57.143-51.429-74.857-9.714-23.429 8-46.286 9.714-12 46.286-46.857h0.571l2.286-2.286q80.571-74.857 109.143-126.286 1.714-2.857 3.714-7.143t4-15.143-0.286-19.429-14.286-15.714-33.714-7.143l-146.286-2.286q-13.714-2.857-32 2.857t-29.714 12.571l-11.429 6.857q-17.143 12-40 36.571t-39.143 44.286-34.857 33.143-32.286 8.857q-1.714-0.571-4.571-2t-9.714-8.286-12.286-16.857-9.714-29.714-3.714-44.286q0-8.571-2-15.714t-4.286-10.571l-2.286-2.857q-10.286-10.857-30.286-12.571h-65.714q-40.571-2.286-83.429 9.429t-75.143 30.286-58.857 37.714-40.286 32.857l-14.286 13.714q-5.714 5.714-15.714 17.143t-40.857 52-60.571 86.286-70 120.571-74.571 155.429q-3.429 9.143-3.429 15.429t1.714 9.143l2.286 3.429q8.571 10.857 32.571 10.857l156.571 1.143q6.857-1.143 13.143-3.714t9.143-4.857l2.857-1.714q9.143-6.286 13.714-18.286 11.429-28.571 26.286-59.143t23.429-46.571l9.143-16.571q16.571-34.286 32-59.429t27.714-39.143 23.714-22 19.429-8 15.429 2.857q1.143 0.571 2.857 2.857t6.857 12.571 7.714 26.857 5.429 46.286 0 71.429q-1.143 22.857-5.143 41.714t-8 26.286l-3.429 6.857q-14.286 19.429-48.571 24.571-7.429 1.143 2.857 13.714 9.714 10.857 21.714 17.143 30.286 14.857 136.571 13.714 46.857-0.571 77.143-7.429 11.429-2.857 19.143-7.714t11.714-13.714 6-18.286 2-26-0.571-31.429-1.429-40.286-0.857-47.143q0-6.286-0.571-24t-0.286-27.429 2-23.143 6.571-22.286 12.857-14q4.571-1.143 9.714-2.286t14.857 6.286 21.714 19.714 29.714 38.286 38.857 61.429q34.286 59.429 61.143 128.571 2.286 5.714 5.714 10t6.286 6l2.286 1.714 2.857 1.429t7.429 1.714 11.429 0.286l164.571 1.143q22.286 2.857 36.571-1.429t17.714-9.429z" /> +<glyph unicode="" glyph-name="stumbleupon" horiz-adv-x="1097" d="M606.857 544v67.429q0 24-17.143 41.143t-41.143 17.143-41.143-17.143-17.143-41.143v-349.714q0-100-72-170.857t-173.143-70.857q-101.714 0-173.429 71.714t-71.714 173.429v152h187.429v-149.714q0-24.571 17.143-41.429t41.143-16.857 41.143 16.857 17.143 41.429v354.286q0 97.714 72.286 166.857t172.286 69.143q100.571 0 172.571-69.714t72-168v-77.714l-111.429-33.143zM909.714 417.143h187.429v-152q0-101.714-71.714-173.429t-173.429-71.714q-101.143 0-173.143 71.143t-72 171.714v153.143l74.857-34.857 111.429 33.143v-154.286q0-24 17.143-40.857t41.143-16.857 41.143 16.857 17.143 40.857v157.143z" /> +<glyph unicode="" glyph-name="print" d="M0 21.334c0-47.146 38.186-85.334 85.334-85.334h853.334c47.146 0 85.334 38.186 85.334 85.334l-0.002 512c0 47.146-38.186 85.334-85.334 85.334h-64v255.998c0 47.146-38.186 85.334-85.334 85.334h-554.666c-47.146 0-85.332-38.186-85.332-85.334v-256h-64c-47.146 0-85.334-38.186-85.334-85.334v-511.998zM768 806.4v-247.466c0-26.026-20.906-46.934-46.934-46.934h-418.132c-26.026 0-46.934 20.906-46.934 46.934v247.466c0 26.026 20.906 46.934 46.934 46.934h418.134c26.026 0 46.932-20.908 46.932-46.934zM832 42.666h-640c-23.466 0-42.666 19.2-42.666 42.666s19.2 42.666 42.666 42.666h640c23.466 0 42.666-19.2 42.666-42.666s-19.2-42.666-42.666-42.666zM149.334 266.666c0 29.44 23.892 53.334 53.332 53.334s53.334-23.894 53.334-53.334-23.894-53.332-53.334-53.332-53.332 23.892-53.332 53.332z" /> +<glyph unicode="" glyph-name="pinterest" d="M441.19 295.578c-26.931-141.005-59.75-276.173-157.082-346.778-30.003 213.094 44.083 373.094 78.541 542.976-58.726 98.816 7.066 297.574 130.816 248.576 152.32-60.211-131.891-367.206 58.88-405.606 199.219-39.987 280.525 345.6 156.979 470.989-178.432 181.146-519.475 4.25-477.491-255.078 10.189-63.386 75.674-82.586 26.163-170.086-114.227 25.293-148.326 115.405-143.923 235.52 7.066 196.608 176.589 334.182 346.675 353.28 215.091 24.115 416.973-79.002 444.877-281.293 31.386-228.403-97.075-475.802-327.117-457.984-62.362 4.864-88.474 35.789-137.318 65.485z" /> +<glyph unicode="" glyph-name="email" d="M896 800h-768c-70.688 0-128-57.344-128-128v-416c0-70.688 57.312-128 128-128h768c70.688 0 128 57.312 128 128v416c0 70.656-57.312 128-128 128zM64 632l223.968-168-223.968-168v336zM960 256c0-35.328-28.736-64-64-64h-768c-35.296 0-64 28.672-64 64l250.624 188 139.776-104.864c17.056-12.736 37.312-19.2 57.6-19.2 20.256 0 40.512 6.432 57.568 19.2l139.808 104.864 250.624-188zM960 296l-224 168 224 168v-336zM550.368 364.736c-11.168-8.384-24.416-12.8-38.368-12.8s-27.232 4.448-38.4 12.8l-409.6 307.264c0 35.296 28.704 64 64 64h768c35.264 0 64-28.704 64-64l-409.632-307.264z" /> +<glyph unicode="" glyph-name="twitter" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" /> +<glyph unicode="" glyph-name="reddit" d="M256 320c0 35.346 28.654 64 64 64s64-28.654 64-64c0-35.346-28.654-64-64-64s-64 28.654-64 64zM640 320c0 35.346 28.654 64 64 64s64-28.654 64-64c0-35.346-28.654-64-64-64s-64 28.654-64 64zM643.112 183.222c16.482 12.986 40.376 10.154 53.364-6.332s10.152-40.378-6.334-53.366c-45.896-36.158-115.822-59.524-178.142-59.524-62.322 0-132.248 23.366-178.144 59.522-16.486 12.99-19.32 36.882-6.332 53.368 12.99 16.482 36.882 19.318 53.366 6.332 26.422-20.818 78.722-43.222 131.11-43.222s104.688 22.404 131.112 43.222zM1024 448c0 70.692-57.308 128-128 128-48.116 0-89.992-26.57-111.852-65.82-65.792 35.994-145.952 59.246-233.28 64.608l76.382 171.526 146.194-42.2c13.152-37.342 48.718-64.114 90.556-64.114 53.020 0 96 42.98 96 96s-42.98 96-96 96c-36.56 0-68.342-20.442-84.554-50.514l-162.906 47.024c-18.224 5.258-37.538-3.722-45.252-21.052l-103.77-233.026c-85.138-5.996-163.262-29.022-227.636-64.236-21.864 39.25-63.766 65.804-111.882 65.804-70.692 0-128-57.308-128-128 0-52.312 31.402-97.254 76.372-117.102-8.070-24.028-12.372-49.104-12.372-74.898 0-176.73 200.576-320 448-320 247.422 0 448 143.27 448 320 0 25.792-4.3 50.862-12.368 74.886 44.97 19.85 76.368 64.802 76.368 117.114zM864 772c19.882 0 36-16.118 36-36s-16.118-36-36-36-36 16.118-36 36 16.118 36 36 36zM64 448c0 35.29 28.71 64 64 64 25.508 0 47.572-15.004 57.846-36.646-33.448-25.366-61.166-54.626-81.666-86.738-23.524 9.47-40.18 32.512-40.18 59.384zM512 12c-205.45 0-372 109.242-372 244s166.55 244 372 244c205.45 0 372-109.242 372-244s-166.55-244-372-244zM919.82 388.616c-20.5 32.112-48.218 61.372-81.666 86.738 10.276 21.642 32.338 36.646 57.846 36.646 35.29 0 64-28.71 64-64 0-26.872-16.656-49.914-40.18-59.384z" /> +<glyph unicode="" glyph-name="flattr" d="M367.562 960c-243.358 0-367.562-140.162-367.562-401.856v0-549.034l238.39 238.628v278.896c0 108.416 28.73 177.406 125.118 192.894v0c33.672 6.584 103.75 4.278 148.306 4.278v0-165.596c0-1.51 0.208-4.206 0.594-5.586v0c1.87-6.704 7.93-11.616 15.116-11.63v0c4.062-0.008 7.868 2.104 11.79 5.97v0l413.122 412.974-584.874 0.062zM785.61 648.254v-278.89c0-108.414-28.736-177.414-125.116-192.894v0c-33.672-6.582-103.756-4.278-148.312-4.278v0 165.594c0 1.5-0.206 4.204-0.594 5.582v0c-1.864 6.712-7.922 11.622-15.112 11.63v0c-4.064 0.008-7.866-2.112-11.79-5.966v0l-413.124-412.966 584.874-0.066c243.354 0 367.564 140.168 367.564 401.852v0 549.028l-238.39-238.626z" /> +<glyph unicode="" glyph-name="tumblr" d="M576.032 512l-0.002-234.184c0-59.418-0.77-93.656 5.53-110.5 6.25-16.754 21.918-34.146 38.99-44.202 22.684-13.588 48.542-20.376 77.708-20.376 51.854 0 82.478 6.848 133.742 40.54v-153.944c-43.7-20.552-81.866-32.594-117.324-40.922-35.5-8.242-73.86-12.406-115.064-12.406-46.828 0-74.456 5.886-110.41 17.656-35.958 11.868-66.66 28.806-92.020 50.54-25.45 21.922-43.022 45.208-52.848 69.832-9.826 24.636-14.716 60.414-14.716 107.244v359.1h-137.426v145.006c40.208 13.042 85.164 31.788 113.78 56.152 28.754 24.45 51.766 53.706 69.106 87.944 17.392 34.146 29.348 77.712 35.872 130.516h165.084l-0.002-255.996h255.968v-192h-255.968z" /> +<glyph unicode="" glyph-name="linkedin" d="M384 576h177.106v-90.782h2.532c24.64 44.194 84.958 90.782 174.842 90.782 186.946 0 221.52-116.376 221.52-267.734v-308.266h-184.61v273.278c0 65.184-1.334 149.026-96.028 149.026-96.148 0-110.82-70.986-110.82-144.292v-278.012h-184.542v576zM64 576h192v-576h-192v576zM256 736c0-53.019-42.981-96-96-96s-96 42.981-96 96c0 53.019 42.981 96 96 96s96-42.981 96-96z" /> +<glyph unicode="" glyph-name="google" horiz-adv-x="1280" d="M188.486 759.861c142.799 104.322 354.773 91.93 484.256-28.67-34.405-33.664-68.811-67.33-103.397-100.809-96.37 83.977-256.185 74.356-337.573-25.711-100.068-109.317-68.622-303.539 62.335-373.822 123.191-76.395 309.273-12.949 341.088 133.92-74.172 2.035-148.532 0.74-222.708 1.11-0.185 44.392-0.185 88.786-0.185 133.179 123.006-0.185 246.014 0.74 369.203-0.74 11.837-112.276-9.804-233.988-86.011-321.292-94.705-111.352-259.143-145.202-396.025-104.137-132.438 38.845-238.427 154.083-265.989 289.296-33.48 148.162 30.151 311.487 155.006 397.689zM991.996 623.054c42.666 0 85.335 0 128.002 0 0-42.666 0-85.335 0-127.786 42.666-0.212 85.335-0.212 128.002-0.212 0-42.666 0-85.335 0-128.002-42.666 0-85.335 0-127.786 0-0.212-42.666-0.212-85.335-0.212-128.002-42.666 0-85.335 0-128.002 0 0 42.666 0 85.335 0 127.786-42.666 0.212-85.335 0.212-128.002 0.212 0 42.666 0 85.335 0 128.002 42.666 0 85.335 0 128.002 0 0 42.666 0 85.335 0 128.002z" /> +<glyph unicode="" glyph-name="yummly" d="M310.909 705.023c18.562 12.937 62.293 18.169 74.267-1.727 6.818-11.329 3.21-35.258 0-53.54-19.941-113.531-43.798-244.244-62.179-350.607 100.739-10.269 206.112-32.519 314.337-48.36 121.619-17.801 266.81-25.201 354.058 34.541 15.836-12.075 32.691-28.155 31.092-53.538-1.958-31.003-47.862-47.411-77.723-56.996-36.47-11.706-75.527-17.405-117.443-17.273-186.82 0.602-341.378 72.731-512.956 81.176-18.475-82.673-56.465-182.378-162.348-177.894-45.624 1.935-83.57 30.375-86.357 79.449-2.847 50.147 27.856 90.086 56.996 112.261 34.2 26.030 74.933 38.733 124.353 44.909 2.225 18.495 6.849 34.598 8.636 53.538-8.178 1.49-16.234-4.847-24.178-8.641-32.41-15.45-101.937-36.512-143.351-12.087-60.167 35.487-14.78 134.791 0 189.984 5.338 19.939 10.44 41.235 15.544 60.447 5.021 18.901 14.488 41.718 1.727 58.723-21.839 4.765-39.728-6.393-53.542-17.271-4.287-3.376-5.779-11.682-12.088-8.636-14.285 11.334-32.961 25.185-31.089 48.36 1.882 23.277 42.708 41.129 63.903 48.358 66.239 22.593 124.698-3.316 117.444-81.174-3.169-34.014-17.29-72.653-25.907-105.354-9.305-35.308-24.347-69.784-18.999-108.807 15.596-18.314 46.718-9.308 67.359-3.453 22.746 6.449 45.52 15.379 58.723 25.904 8.284 38.014 13.826 75.626 20.724 113.992 8.849 49.213 23.229 95.345 18.997 153.716zM157.194 140.254c58.354-8.762 65.801 48.126 77.72 91.539-51.84-0.937-107.691-50.43-77.72-91.539zM751.324 575.488c-10.685 23.716-58.813 23.149-77.722 6.909 7.555-30.379-1.379-51.598-6.907-82.901-3.367-19.072-5.193-39.48-8.636-58.723-6.91-38.617-23.741-88.448-13.819-112.261 8.458-20.303 59.015-21.059 74.267-3.456-3.323 61.36 17.881 125.285 25.905 186.528 12.735 5.040 35.311 22.707 50.089 10.363 15.602-13.036-2.35-70.692-6.909-98.446-5.731-34.901-20.975-81.94-6.909-100.173 9.928-12.868 51.666-15.392 72.537 0-6.567 64.754 17.853 125.213 24.18 188.256 13.128 4.673 35.077 22.905 50.089 10.363 8.841-7.385 4.929-31.094 1.727-50.086-3.18-18.845-5.77-33.241-8.636-50.086-6.033-35.461-21.33-83.048-5.181-100.173 10.786-11.441 51.357-12.86 70.811 1.727-3.7 48.147 5.42 84.332 13.819 131.261 6.139 34.324 16.428 67.937 13.814 94.991-6.979 72.255-98.601 46.592-138.168 20.727-19.041 43.709-93.162 24.912-124.353 5.178zM476.713 485.678c5.702 32.468 18.188 69.53 10.363 91.539-8.127 22.861-58.093 20.499-75.993 5.181 7.052-36.431-3.326-65.297-10.363-105.354-4.862-27.686-11.988-57.073-13.817-81.174-7.084-93.387 73.929-89.324 131.261-58.72 6.42-7.578 6.465-15.575 17.271-20.727 19.238-9.175 51.5-2.313 63.901 8.636-6.354 50.848 4.893 88.924 15.546 146.806 5.82 31.643 25.288 89.989 10.361 110.536-12.582 17.319-58.276 15.305-72.538-1.729 5.076-59.885-16.836-120.827-24.18-179.62-14.437-8.253-44.276-19.048-60.448-5.181-5.996 23.323 2.611 55.511 8.636 89.808z" /> +<glyph unicode="" glyph-name="diggit" d="M164 733.667h102v-491.5h-266v348.5h164v143zM164 324.167v184.5h-61.5v-184.5h61.5zM307 590.667v-348.5h102.5v348.5h-102.5zM307 733.667v-102h102.5v102h-102.5zM450.5 590.667h266.5v-471h-266.5v81.5h164v41h-164v348.5zM614.5 324.167v184.5h-61.5v-184.5h61.5zM758 590.667h266v-471h-266v81.5h163.5v41h-163.5v348.5zM921.5 324.167v184.5h-61.5v-184.5h61.5z" /> +<glyph unicode="" glyph-name="buffer" d="M970.282 196.808l-111.191 51.080c-9.534 4.381-25.138 4.381-34.676 0l-318.361-146.253c-9.534-4.381-25.142-4.381-34.676 0l-318.361 146.253c-9.538 4.381-25.142 4.381-34.676 0l-111.191-51.080c-9.534-4.381-9.534-11.547 0-15.928l464.227-213.261c9.534-4.381 25.142-4.381 34.676 0l464.227 213.261c9.534 4.381 9.534 11.547 0 15.928zM970.282 459.467l-111.191 51.076c-9.534 4.381-25.138 4.381-34.676 0l-318.361-146.249c-9.534-4.381-25.142-4.381-34.676 0l-318.361 146.249c-9.538 4.381-25.142 4.381-34.676 0l-111.191-51.076c-9.534-4.381-9.534-11.551 0-15.932l464.227-213.257c9.534-4.381 25.142-4.381 34.676 0l464.227 213.257c9.534 4.381 9.534 11.551 0 15.932zM7.151 706.194l464.227-213.261c9.534-4.381 25.142-4.381 34.676 0l464.227 213.261c9.534 4.381 9.534 11.547 0 15.928l-464.227 213.261c-9.534 4.381-25.142 4.381-34.676 0l-464.227-213.261c-9.534-4.381-9.534-11.547 0-15.928z" /> +<glyph unicode="" glyph-name="facebook" horiz-adv-x="585" d="M548 944v-150.857h-89.714q-49.143 0-66.286-20.571t-17.143-61.714v-108h167.429l-22.286-169.143h-145.143v-433.714h-174.857v433.714h-145.714v169.143h145.714v124.571q0 106.286 59.429 164.857t158.286 58.571q84 0 130.286-6.857z" /> +<glyph unicode="" glyph-name="whatsapp" d="M1024 439.854c0-275.49-225.041-498.813-502.693-498.813-88.144 0-170.951 22.528-242.995 62.066l-278.312-88.439 90.738 267.628c-45.773 75.162-72.135 163.317-72.135 257.559 0 275.49 225.064 498.813 502.704 498.813 277.675 0 502.693-223.323 502.693-498.813zM521.307 859.227c-233.062 0-422.639-188.132-422.639-419.374 0-91.762 29.912-176.742 80.509-245.874l-52.804-155.75 162.418 51.621c66.731-43.816 146.671-69.37 232.528-69.37 233.028 0 422.639 188.109 422.639 419.351s-189.599 419.396-422.65 419.396zM775.157 324.972c-3.106 5.086-11.31 8.158-23.62 14.268-12.334 6.11-72.932 35.703-84.196 39.765-11.298 4.073-19.536 6.121-27.739-6.11-8.203-12.242-31.824-39.765-39.026-47.923-7.191-8.181-14.37-9.205-26.704-3.083-12.311 6.11-52.008 19.035-99.078 60.678-36.625 32.404-61.36 72.408-68.551 84.662-7.179 12.231-0.751 18.842 5.404 24.929 5.552 5.484 12.334 14.279 18.489 21.413 6.178 7.145 8.226 12.231 12.311 20.4 4.13 8.158 2.071 15.292-1.024 21.424-3.072 6.11-27.739 66.276-38.002 90.761-10.263 24.462-20.514 20.389-27.716 20.389-7.179 0-15.406 1.024-23.62 1.024s-21.572-3.061-32.87-15.292c-11.287-12.242-43.11-41.825-43.11-101.979 0-60.166 44.134-118.295 50.313-126.441 6.155-8.146 85.22-135.623 210.489-184.582 125.281-48.936 125.281-32.609 147.877-30.561 22.574 2.037 72.886 29.571 83.194 58.106 10.24 28.581 10.24 53.055 7.179 58.152z" /> +<glyph unicode="" glyph-name="xing" horiz-adv-x="805" d="M341.143 569.714q-5.714-10.286-146.857-260.571-15.429-26.286-37.143-26.286h-136.571q-12 0-17.714 9.714t0 20.571l144.571 256q0.571 0 0 0.571l-92 159.429q-6.857 12.571-0.571 21.143 5.143 8.571 18.286 8.571h136.571q22.857 0 37.714-25.714zM801.714 936.571q6.286-9.143 0-21.143l-301.714-533.714v-0.571l192-351.429q6.286-11.429 0.571-21.143-5.714-8.571-18.286-8.571h-136.571q-24 0-37.714 25.714l-193.714 355.429q10.286 18.286 303.429 538.286 14.286 25.714 36.571 25.714h137.714q12.571 0 17.714-8.571z" /> +<glyph unicode="" glyph-name="facebook-messenger" horiz-adv-x="1018" d="M508.84 960c-281.025 0-508.84-212.249-508.84-474.074 0-149.191 73.993-282.267 189.63-369.168v-180.758l173.255 95.678c46.238-12.876 95.223-19.826 145.955-19.826 281.025 0 508.84 212.249 508.84 474.074s-227.815 474.074-508.84 474.074zM559.407 321.58l-129.58 139.062-252.84-139.062 278.123 297.086 132.741-139.062 249.679 139.062-278.123-297.086z" /> +<glyph unicode="" glyph-name="ellipsis" horiz-adv-x="805" d="M219.429 530.286v-109.714q0-22.857-16-38.857t-38.857-16h-109.714q-22.857 0-38.857 16t-16 38.857v109.714q0 22.857 16 38.857t38.857 16h109.714q22.857 0 38.857-16t16-38.857zM512 530.286v-109.714q0-22.857-16-38.857t-38.857-16h-109.714q-22.857 0-38.857 16t-16 38.857v109.714q0 22.857 16 38.857t38.857 16h109.714q22.857 0 38.857-16t16-38.857zM804.571 530.286v-109.714q0-22.857-16-38.857t-38.857-16h-109.714q-22.857 0-38.857 16t-16 38.857v109.714q0 22.857 16 38.857t38.857 16h109.714q22.857 0 38.857-16t16-38.857z" /> +<glyph unicode="" glyph-name="x" d="M983.072 743.232l-294.304-296.096 294.304-294.336c12.32-12.288 12.32-32.224 0-44.544l-133.632-133.6c-12.256-12.32-32.192-12.32-44.512 0l-293.824 293.824-292.064-293.824c-12.288-12.32-32.224-12.32-44.544 0l-133.6 133.6c-12.288 12.32-12.288 32.256 0 44.544l292.064 293.824-292.032 292.032c-12.288 12.288-12.288 32.224 0 44.544l133.6 133.6c12.288 12.32 32.224 12.32 44.544 0l291.52-291.52 294.368 296.096c12.32 12.32 32.256 12.32 44.512 0l133.632-133.6c12.256-12.32 12.256-32.256-0.032-44.544z" /> +<glyph unicode="" glyph-name="spinner" d="M512 960c-278.748 0-505.458-222.762-511.848-499.974 5.92 241.864 189.832 435.974 415.848 435.974 229.75 0 416-200.576 416-448 0-53.020 42.98-96 96-96s96 42.98 96 96c0 282.77-229.23 512-512 512zM512-64c278.748 0 505.458 222.762 511.848 499.974-5.92-241.864-189.832-435.974-415.848-435.974-229.75 0-416 200.576-416 448 0 53.020-42.98 96-96 96s-96-42.98-96-96c0-282.77 229.23-512 512-512z" /> +<glyph unicode="" glyph-name="chevron-up" d="M702.293 280.96l-195.627 195.627-195.627-195.627-60.373 60.373 256 256 256-256z" /> +<glyph unicode="" glyph-name="chevron-right" d="M366.293 236.374l195.627 195.627-195.627 195.627 60.373 60.373 256-256-256-256z" /> +<glyph unicode="" glyph-name="chevron-left" d="M657.707 241.707l-195.627 195.627 195.627 195.627-60.373 60.373-256-256 256-256z" /> +<glyph unicode="" glyph-name="chevron-down" d="M321.707 572.374l195.627-195.627 195.627 195.627 60.373-60.373-256-256-256 256z" /> </font></defs></svg> \ No newline at end of file diff --git a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.ttf b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.ttf index 7b12851c776c15c9a052e698241f5f2f81b84bd4..6fa33a56e23102744f537fa03af311db00c76a45 100755 Binary files a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.ttf and b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.ttf differ diff --git a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff index 6ee10795b61935783df3f72be6428a8c61982a69..bac23a77f103e40cf74c369a77406466ad1398ef 100755 Binary files a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff and b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff differ diff --git a/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff2 b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..104910f1f9a092195e08770198975845db51c0b3 Binary files /dev/null and b/wp-content/plugins/simple-share-buttons-adder/fonts/ssbp.woff2 differ diff --git a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_bits.php b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_bits.php index 9fa34b2a64a2c6b969e58d034f37722ed57747d5..7e194b9acc147f6688d9a2106f11f4bbe968f43a 100644 --- a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_bits.php +++ b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_bits.php @@ -70,11 +70,16 @@ function ssba_menu() { // query the db for current ssba settings $arrSettings = get_ssba_settings(); - // check if not updated to current version - if ($arrSettings['ssba_version'] != SSBA_VERSION) { - - // run the upgrade function - upgrade_ssba($arrSettings); + // get the current version + $version = get_option('ssba_version'); + + // there was a version set + if ($version !== false) { + // check if not updated to current version + if ($version < SSBA_VERSION) { + // run the upgrade function + upgrade_ssba($arrSettings, $version); + } } } @@ -96,69 +101,81 @@ function ssba_settings() { parse_str($ssbaPost, $ssbaPost); // if the nonce doesn't check out... - if ( ! isset($ssbaPost['ssba_save_nonce']) || ! wp_verify_nonce($ssbaPost['ssba_save_nonce'], 'ssba_save_settings')) - { + if ( ! isset($ssbaPost['ssba_save_nonce']) || ! wp_verify_nonce($ssbaPost['ssba_save_nonce'], 'ssba_save_settings')) { die('There was no nonce provided, or the one provided did not verify.'); } - // update existing ssba settings - update_option('ssba_image_set', $ssbaPost['ssba_image_set']); - update_option('ssba_size', $ssbaPost['ssba_size']); - update_option('ssba_pages', (isset($ssbaPost['ssba_pages']) ? $ssbaPost['ssba_pages'] : NULL)); - update_option('ssba_posts', (isset($ssbaPost['ssba_posts']) ? $ssbaPost['ssba_posts'] : NULL)); - update_option('ssba_cats_archs', (isset($ssbaPost['ssba_cats_archs']) ? $ssbaPost['ssba_cats_archs'] : NULL)); - update_option('ssba_homepage', (isset($ssbaPost['ssba_homepage']) ? $ssbaPost['ssba_homepage'] : NULL)); - update_option('ssba_excerpts', (isset($ssbaPost['ssba_excerpts']) ? $ssbaPost['ssba_excerpts'] : NULL)); - update_option('ssba_align', (isset($ssbaPost['ssba_align']) ? $ssbaPost['ssba_align'] : NULL)); - update_option('ssba_padding', $ssbaPost['ssba_padding']); - update_option('ssba_before_or_after', $ssbaPost['ssba_before_or_after']); - update_option('ssba_additional_css', $ssbaPost['ssba_additional_css']); - update_option('ssba_custom_styles', $ssbaPost['ssba_custom_styles']); - update_option('ssba_custom_styles_enabled', $ssbaPost['ssba_custom_styles_enabled']); - update_option('ssba_email_message', stripslashes_deep($ssbaPost['ssba_email_message'])); - update_option('ssba_twitter_text', stripslashes_deep($ssbaPost['ssba_twitter_text'])); - update_option('ssba_buffer_text', stripslashes_deep($ssbaPost['ssba_buffer_text'])); - update_option('ssba_flattr_user_id', stripslashes_deep($ssbaPost['ssba_flattr_user_id'])); - update_option('ssba_flattr_url', stripslashes_deep($ssbaPost['ssba_flattr_url'])); - update_option('ssba_share_new_window', (isset($ssbaPost['ssba_share_new_window']) ? $ssbaPost['ssba_share_new_window'] : NULL)); - update_option('ssba_link_to_ssb', (isset($ssbaPost['ssba_link_to_ssb']) ? $ssbaPost['ssba_link_to_ssb'] : NULL)); - update_option('ssba_show_share_count', (isset($ssbaPost['ssba_show_share_count']) ? $ssbaPost['ssba_show_share_count'] : NULL)); - update_option('ssba_share_count_style', $ssbaPost['ssba_share_count_style']); - update_option('ssba_share_count_css', $ssbaPost['ssba_share_count_css']); - update_option('ssba_share_count_once', (isset($ssbaPost['ssba_share_count_once']) ? $ssbaPost['ssba_share_count_once'] : NULL)); - update_option('ssba_widget_text', $ssbaPost['ssba_widget_text']); - update_option('ssba_rel_nofollow', (isset($ssbaPost['ssba_rel_nofollow']) ? $ssbaPost['ssba_rel_nofollow'] : NULL)); - update_option('ssba_default_pinterest', (isset($ssbaPost['ssba_default_pinterest']) ? $ssbaPost['ssba_default_pinterest'] : NULL)); - update_option('ssba_pinterest_featured', (isset($ssbaPost['ssba_pinterest_featured']) ? $ssbaPost['ssba_pinterest_featured'] : NULL)); - update_option('ssba_content_priority', (isset($ssbaPost['ssba_content_priority']) ? $ssbaPost['ssba_content_priority'] : NULL)); - - // share container - update_option('ssba_div_padding', $ssbaPost['ssba_div_padding']); - update_option('ssba_div_rounded_corners', (isset($ssbaPost['ssba_div_rounded_corners']) ? $ssbaPost['ssba_div_rounded_corners'] : NULL)); - update_option('ssba_border_width', $ssbaPost['ssba_border_width']); - update_option('ssba_div_border', $ssbaPost['ssba_div_border']); - update_option('ssba_div_background', $ssbaPost['ssba_div_background']); - - // text - update_option('ssba_share_text', stripslashes_deep($ssbaPost['ssba_share_text'])); - update_option('ssba_text_placement', $ssbaPost['ssba_text_placement']); - update_option('ssba_font_family', $ssbaPost['ssba_font_family']); - update_option('ssba_font_color', $ssbaPost['ssba_font_color']); - update_option('ssba_font_size', $ssbaPost['ssba_font_size']); - update_option('ssba_font_weight', $ssbaPost['ssba_font_weight']); - - // include - update_option('ssba_selected_buttons', $ssbaPost['ssba_selected_buttons']); - - // prepare array of buttons + // prepare array + $arrOptions = array( + 'ssba_image_set' => $ssbaPost['ssba_image_set'], + 'ssba_size' => $ssbaPost['ssba_size'], + 'ssba_pages' => (isset($ssbaPost['ssba_pages']) ? $ssbaPost['ssba_pages'] : NULL), + 'ssba_posts' => (isset($ssbaPost['ssba_posts']) ? $ssbaPost['ssba_posts'] : NULL), + 'ssba_cats_archs' => (isset($ssbaPost['ssba_cats_archs']) ? $ssbaPost['ssba_cats_archs'] : NULL), + 'ssba_homepage' => (isset($ssbaPost['ssba_homepage']) ? $ssbaPost['ssba_homepage'] : NULL), + 'ssba_excerpts' => (isset($ssbaPost['ssba_excerpts']) ? $ssbaPost['ssba_excerpts'] : NULL), + 'ssba_align' => (isset($ssbaPost['ssba_align']) ? $ssbaPost['ssba_align'] : NULL), + 'ssba_padding' => $ssbaPost['ssba_padding'], + 'ssba_before_or_after' => $ssbaPost['ssba_before_or_after'], + 'ssba_additional_css' => $ssbaPost['ssba_additional_css'], + 'ssba_custom_styles' => $ssbaPost['ssba_custom_styles'], + 'ssba_custom_styles_enabled' => $ssbaPost['ssba_custom_styles_enabled'], + 'ssba_email_message' => stripslashes_deep($ssbaPost['ssba_email_message']), + 'ssba_twitter_text' => stripslashes_deep($ssbaPost['ssba_twitter_text']), + 'ssba_buffer_text' => stripslashes_deep($ssbaPost['ssba_buffer_text']), + 'ssba_flattr_user_id' => stripslashes_deep($ssbaPost['ssba_flattr_user_id']), + 'ssba_flattr_url' => stripslashes_deep($ssbaPost['ssba_flattr_url']), + 'ssba_share_new_window' => (isset($ssbaPost['ssba_share_new_window']) ? $ssbaPost['ssba_share_new_window'] : NULL), + 'ssba_link_to_ssb' => (isset($ssbaPost['ssba_link_to_ssb']) ? $ssbaPost['ssba_link_to_ssb'] : NULL), + 'ssba_show_share_count' => (isset($ssbaPost['ssba_show_share_count']) ? $ssbaPost['ssba_show_share_count'] : NULL), + 'ssba_share_count_style' => $ssbaPost['ssba_share_count_style'], + 'ssba_share_count_css' => $ssbaPost['ssba_share_count_css'], + 'ssba_share_count_once' => (isset($ssbaPost['ssba_share_count_once']) ? $ssbaPost['ssba_share_count_once'] : NULL), + 'ssba_widget_text' => $ssbaPost['ssba_widget_text'], + 'ssba_rel_nofollow' => (isset($ssbaPost['ssba_rel_nofollow']) ? $ssbaPost['ssba_rel_nofollow'] : NULL), + 'ssba_default_pinterest' => (isset($ssbaPost['ssba_default_pinterest']) ? $ssbaPost['ssba_default_pinterest'] : NULL), + 'ssba_pinterest_featured' => (isset($ssbaPost['ssba_pinterest_featured']) ? $ssbaPost['ssba_pinterest_featured'] : NULL), + 'ssba_content_priority' => (isset($ssbaPost['ssba_content_priority']) ? $ssbaPost['ssba_content_priority'] : NULL), + + // share container + 'ssba_div_padding' => $ssbaPost['ssba_div_padding'], + 'ssba_div_rounded_corners' => (isset($ssbaPost['ssba_div_rounded_corners']) ? $ssbaPost['ssba_div_rounded_corners'] : NULL), + 'ssba_border_width' => $ssbaPost['ssba_border_width'], + 'ssba_div_border' => $ssbaPost['ssba_div_border'], + 'ssba_div_background' => $ssbaPost['ssba_div_background'], + + // text + 'ssba_share_text' => stripslashes_deep($ssbaPost['ssba_share_text']), + 'ssba_text_placement' => $ssbaPost['ssba_text_placement'], + 'ssba_font_family' => $ssbaPost['ssba_font_family'], + 'ssba_font_color' => $ssbaPost['ssba_font_color'], + 'ssba_font_size' => $ssbaPost['ssba_font_size'], + 'ssba_font_weight' => $ssbaPost['ssba_font_weight'], + + // included buttons + 'ssba_selected_buttons' => $ssbaPost['ssba_selected_buttons'], + + // sharedcount + 'sharedcount_enabled' => $ssbaPost['sharedcount_enabled'], + 'sharedcount_api_key' => $ssbaPost['sharedcount_api_key'], + 'sharedcount_plan' => $ssbaPost['sharedcount_plan'], + + // newsharecounts + 'twitter_newsharecounts' => $ssbaPost['twitter_newsharecounts'], + ); + + // prepare array of buttons $arrButtons = json_decode(get_option('ssba_buttons'), true); // loop through each button foreach ($arrButtons as $button => $arrButton) { - // update the option for the button - update_option('ssba_custom_'.$button, $ssbaPost['ssba_custom_'.$button]); + // add custom button to array of options + $arrOptions['ssba_custom_'.$button] = $ssbaPost['ssba_custom_'.$button]; } + // save the settings + ssba_update_options($arrOptions); + // return success return true; } diff --git a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php index d1dc30d623a5c476a4d91960afe3f8240db7dd46..ca96096b6883ab02c3d1346ef7e052d8f9aff347 100644 --- a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php +++ b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php @@ -611,6 +611,71 @@ function ssba_admin_panel($arrSettings) { ); $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts); + // newsharecounts.com enable + $opts = array( + 'form_group' => false, + 'type' => 'checkbox', + 'name' => 'twitter_newsharecounts', + 'label' => 'newsharecounts.com Counts for Twitter', + 'tooltip' => 'Switch on to enable the use of the newsharecounts.com API for Twitter share counts', + 'value' => 'Y', + 'checked' => ($arrSettings['twitter_newsharecounts'] == 'Y' ? 'checked' : null), + ); + $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts); + + // info + $htmlShareButtonsForm .= '<p>You shall need to follow the instructions here before enabling this feature - <a target="_blank" href="http://newsharecounts.com/">newsharecounts.com</a>'; + + // open sharedcount well + $htmlShareButtonsForm .= '<div class="well">'; + + // sharedcount heading + $htmlShareButtonsForm .= '<h3>sharedcount.com</h3>'; + $htmlShareButtonsForm .= '<p>Only necessary if you are experiencing issues with Facebook share counts. <a href="https://admin.sharedcount.com/admin/signup.php" target="_blank">Signup for your free account here</a>.</p>'; + + // sharedcount enable + $opts = array( + 'form_group' => false, + 'type' => 'checkbox', + 'name' => 'sharedcount_enabled', + 'label' => 'Enable sharedcount.com API', + 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API', + 'value' => 'Y', + 'checked' => ($arrSettings['sharedcount_enabled'] == 'Y' ? 'checked' : null), + ); + $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts); + + // sharedcount plan + $opts = array( + 'form_group' => false, + 'type' => 'select', + 'name' => 'sharedcount_plan', + 'label' => 'sharedcount.com plan', + 'tooltip' => 'Select your sharedcount.com plan', + 'selected' => $arrSettings['sharedcount_plan'], + 'options' => array( + 'Free' => 'free', + 'Plus' => 'plus', + 'Business' => 'business', + ), + ); + $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts); + + // sharedcount api key + $opts = array( + 'form_group' => false, + 'type' => 'text', + 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9', + 'name' => 'sharedcount_api_key', + 'label' => 'sharedcount.com API Key', + 'tooltip' => 'Add some text included in an email when people share that way', + 'value' => $arrSettings['sharedcount_api_key'], + ); + $htmlShareButtonsForm .= $ssbpForm->ssbp_input($opts); + + // close well + $htmlShareButtonsForm .= '</div>'; + // close col $htmlShareButtonsForm .= '</div>'; @@ -897,15 +962,13 @@ function ssba_admin_panel($arrSettings) { // get an html formatted of currently selected and ordered buttons function getSelectedSSBA($strSelectedSSBA) { + //variables + $htmlSelectedList = ''; - // variables - $htmlSelectedList = ''; - $arrSelectedSSBA = ''; - - // prepare array of buttons - $arrButtons = json_decode(get_option('ssba_buttons'), true); + // prepare array of buttons + $arrButtons = json_decode(get_option('ssba_buttons'), true); - // if there are some selected buttons + // if there are some selected buttons if ($strSelectedSSBA != '') { // explode saved include list and add to a new array @@ -918,7 +981,7 @@ function getSelectedSSBA($strSelectedSSBA) { foreach ($arrSelectedSSBA as $strSelected) { // add a list item for each selected option - $htmlSelectedList .= '<li class="ssbp-option-item" id="'.$strSelected.'"><a href="javascript:;" class="ssbp-btn ssbp-'.$strSelected.'"></a></li>'; + $htmlSelectedList .= '<li class="ssbp-option-item" id="'.$strSelected.'"><a title="'.$arrButtons[$strSelected]["full_name"].'" href="javascript:;" class="ssbp-btn ssbp-'.$strSelected.'"></a></li>'; } } } @@ -931,7 +994,6 @@ function getAvailableSSBA($strSelectedSSBA) { // variables $htmlAvailableList = ''; - $arrSelectedSSBA = ''; // prepare array of buttons $arrButtons = json_decode(get_option('ssba_buttons'), true); @@ -949,7 +1011,7 @@ function getAvailableSSBA($strSelectedSSBA) foreach($arrAvailableSSBA as $strAvailable) { // add a list item for each available option - $htmlAvailableList .= '<li class="ssbp-option-item" id="'.$strAvailable.'"><a href="javascript:;" class="ssbp-btn ssbp-'.$strAvailable.'"></a></li>'; + $htmlAvailableList .= '<li class="ssbp-option-item" id="'.$strAvailable.'"><a title="'.$arrButtons[$strAvailable]["full_name"].'" href="javascript:;" class="ssbp-btn ssbp-'.$strAvailable.'"></a></li>'; } } diff --git a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_buttons.php b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_buttons.php index 9b3558c9024bf17ac2ddd2cd292bc9905cb25fe5..4f7e30b794b6ee3f562bb2faead325f4a97aa92a 100644 --- a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_buttons.php +++ b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_buttons.php @@ -25,12 +25,10 @@ function show_share_buttons($content, $booShortCode = FALSE, $atts = '') { // variables $htmlContent = $content; - $htmlShareButtons = ''; - $strIsWhatFunction = ''; $pattern = get_shortcode_regex(); // ssba_hide shortcode is in the post content and instance is not called by shortcode ssba - if (preg_match_all( '/'. $pattern .'/s', $post->post_content, $matches ) + if (isset($post->post_content) && preg_match_all( '/'. $pattern .'/s', $post->post_content, $matches ) && array_key_exists( 2, $matches ) && in_array('ssba_hide', $matches[2]) && $booShortCode == FALSE) { @@ -281,8 +279,8 @@ function ssba_facebook($arrSettings, $urlCurrentPage, $strPageTitle, $booShowSha // if show share count is set to Y if ($arrSettings['ssba_show_share_count'] == 'Y' && $booShowShareCount == true) { - - $htmlShareButtons .= '<span class="ssba_sharecount">' . getFacebookShareCount($urlCurrentPage) . '</span>'; + // get and add facebook share count + $htmlShareButtons .= '<span class="ssba_sharecount">' . getFacebookShareCount($urlCurrentPage, $arrSettings) . '</span>'; } // return share buttons @@ -290,19 +288,36 @@ function ssba_facebook($arrSettings, $urlCurrentPage, $strPageTitle, $booShowSha } // get facebook share count -function getFacebookShareCount($urlCurrentPage) { - // get results from facebook - $htmlFacebookShareDetails = wp_remote_get('http://graph.facebook.com/'.$urlCurrentPage, array('timeout' => 6)); +function getFacebookShareCount($urlCurrentPage, $arrSettings) +{ + // if sharedcount.com is enabled + if ($arrSettings['sharedcount_enabled']) { + // request from sharedcount.com + $sharedcount = wp_remote_get('https://'.$arrSettings['sharedcount_plan'].'.sharedcount.com/url?url='.$urlCurrentPage.'&apikey='.$arrSettings['sharedcount_api_key'], array('timeout' => 6)); + + // if no error + if (is_wp_error($sharedcount)) { + return 0; + } - // if no error - if (is_wp_error($htmlFacebookShareDetails)) { - return 0; - } + // decode and return count + $sharedcount = json_decode($sharedcount['body'], true); + $sharedcount = (isset($sharedcount['Facebook']['share_count']) ? $sharedcount['Facebook']['share_count'] : 0); + return ($sharedcount) ? ssba_format_number($sharedcount) : '0'; + } else { + // get results from facebook + $htmlFacebookShareDetails = wp_remote_get('http://graph.facebook.com/'.$urlCurrentPage, array('timeout' => 6)); - // decode and return count - $arrFacebookShareDetails = json_decode($htmlFacebookShareDetails['body'], true); - $intFacebookShareCount = (isset($arrFacebookShareDetails['shares']) ? $arrFacebookShareDetails['shares'] : 0); - return ($intFacebookShareCount) ? ssba_format_number($intFacebookShareCount) : '0'; + // if no error + if (is_wp_error($htmlFacebookShareDetails)) { + return 0; + } + + // decode and return count + $arrFacebookShareDetails = json_decode($htmlFacebookShareDetails['body'], true); + $intFacebookShareCount = (isset($arrFacebookShareDetails['shares']) ? $arrFacebookShareDetails['shares'] : 0); + return ($intFacebookShareCount) ? ssba_format_number($intFacebookShareCount) : '0'; + } } // get twitter button @@ -333,8 +348,10 @@ function ssba_twitter($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShar // if show share count is set to Y if ($arrSettings['ssba_show_share_count'] == 'Y' && $booShowShareCount == true) { - - $htmlShareButtons .= '<span class="ssba_sharecount">' . getTwitterShareCount($urlCurrentPage) . '</span>'; + // newsharedcount needs to be enabled + if ($arrSettings['twitter_newsharecounts'] == 'Y') { + $htmlShareButtons .= '<span class="ssba_sharecount">' . ssba_twitter_count($urlCurrentPage) . '</span>'; + } } // return share buttons @@ -342,19 +359,22 @@ function ssba_twitter($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShar } // get twitter share count -function getTwitterShareCount($urlCurrentPage) { - // get results from twitter and return the number of shares - $htmlTwitterShareDetails = wp_remote_get('http://urls.api.twitter.com/1/urls/count.json?url='.$urlCurrentPage, array('timeout' => 6)); +function ssba_twitter_count($urlCurrentPage) +{ + // get results from newsharecounts and return the number of shares + $result = wp_remote_get('http://public.newsharecounts.com/count.json?url=' . $urlCurrentPage, array('timeout' => 6)); - // if error - if (is_wp_error($htmlTwitterShareDetails)) { + // check there was an error + if (is_wp_error($result)) { return 0; } - // get and decode count - $arrTwitterShareDetails = json_decode($htmlTwitterShareDetails['body'], true); - $intTwitterShareCount = $arrTwitterShareDetails['count']; - return ($intTwitterShareCount) ? ssba_format_number($intTwitterShareCount) : '0'; + // decode data + $result = json_decode($result['body'], true); + $count = (isset($result['count']) ? $result['count'] : 0); + + // return + return ssba_format_number($count); } // get google+ button @@ -780,23 +800,8 @@ function ssba_buffer($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShare // get tumblr button function ssba_tumblr($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShareCount) { - - // check if http:// is included - if (preg_match('[http://]', $urlCurrentPage)) { - - // remove http:// from URL - $urlCurrentPage = str_replace('http://', '', $urlCurrentPage); - } else if (preg_match('[https://]', $urlCurrentPage)) { // check if https:// is included - - // remove http:// from URL - $urlCurrentPage = str_replace('https://', '', $urlCurrentPage); - } - - // strip http:// or https:// from URL (tumblr doesn't work with this set) - $urlCurrentPage = str_replace("http://", '', $urlCurrentPage); - // tumblr share link - $htmlShareButtons = '<a data-site="tumblr" class="ssba_tumblr_share" href="http://www.tumblr.com/share/link?url=' . $urlCurrentPage . '&name=' . $strPageTitle . '" ' . ($arrSettings['ssba_share_new_window'] == 'Y' ? ' target="_blank" ' : NULL) . ($arrSettings['ssba_rel_nofollow'] == 'Y' ? ' rel="nofollow" ' : NULL) . '>'; + $htmlShareButtons = '<a data-site="tumblr" class="ssba_tumblr_share" href="http://www.tumblr.com/share/link?url=' . $urlCurrentPage . '" ' . ($arrSettings['ssba_share_new_window'] == 'Y' ? ' target="_blank" ' : NULL) . ($arrSettings['ssba_rel_nofollow'] == 'Y' ? ' rel="nofollow" ' : NULL) . '>'; // if image set is not custom if ($arrSettings['ssba_image_set'] != 'custom') { @@ -815,10 +820,36 @@ function ssba_tumblr($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShare // close href $htmlShareButtons .= '</a>'; + // if show share count is set to Y + if ($arrSettings['ssba_show_share_count'] == 'Y' && $booShowShareCount == true) { + + $htmlShareButtons .= '<span class="ssba_sharecount">' . getTumblrShareCount($urlCurrentPage) . '</span>'; + } + // return share buttons return $htmlShareButtons; } +// get tumblr share count +function getTumblrShareCount($urlCurrentPage) +{ + // get results from tumblr and return the number of shares + $result = wp_remote_get('http://api.tumblr.com/v2/share/stats?url=' . $urlCurrentPage, array('timeout' => 6)); + + // check there was an error + if (is_wp_error($result)) { + // return + return 0; + } + + // decode data + $array = json_decode($result['body'], true); + $count = (isset($array['response']['note_count']) ? $array['response']['note_count'] : 0); + + // return + return ($count) ? $count : '0'; +} + // get print button function ssba_print($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShareCount) { @@ -896,10 +927,36 @@ function ssba_yummly($arrSettings, $urlCurrentPage, $strPageTitle, $booShowShare // close href $htmlShareButtons .= '</a>'; + // if show share count is set to Y + if ($arrSettings['ssba_show_share_count'] == 'Y' && $booShowShareCount == true) { + + $htmlShareButtons .= '<span class="ssba_sharecount">' . getYummlyShareCount($urlCurrentPage) . '</span>'; + } + // return share buttons return $htmlShareButtons; } +// get yummly share count +function getYummlyShareCount($urlCurrentPage) +{ + // get results from yummly and return the number of shares + $result = wp_remote_get('http://www.yummly.com/services/yum-count?url=' . $urlCurrentPage, array('timeout' => 6)); + + // check there was an error + if (is_wp_error($result)) { + // return + return 0; + } + + // decode data + $array = json_decode($result['body'], true); + $count = (isset($array['count']) ? $array['count'] : 0); + + // return + return ($count) ? $count : '0'; +} + // register shortcode [ssba] to show [ssba_hide] add_shortcode( 'ssba', 'ssba_buttons' ); add_shortcode( 'ssba_hide', 'ssba_hide' ); diff --git a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_database.php b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_database.php index eebba5bb7e84b4f7c3579c4d8f98eb66fb92431f..75333ef237d2a9490d3805ca2df4b427143b10e6 100644 --- a/wp-content/plugins/simple-share-buttons-adder/inc/ssba_database.php +++ b/wp-content/plugins/simple-share-buttons-adder/inc/ssba_database.php @@ -1,84 +1,101 @@ <?php defined('ABSPATH') or die('No direct access permitted'); -// run the activation function upon acitvation of the plugin -register_activation_hook( __FILE__,'ssba_activate'); - -// register deactivation hook -register_uninstall_hook(__FILE__,'ssba_uninstall'); - // activate ssba function function ssba_activate() { - // insert default options for ssba - add_option('ssba_version', SSBA_VERSION); - add_option('ssba_image_set', 'somacro'); - add_option('ssba_size', '35'); - add_option('ssba_pages', ''); - add_option('ssba_posts', ''); - add_option('ssba_cats_archs', ''); - add_option('ssba_homepage', ''); - add_option('ssba_excerpts', ''); - add_option('ssba_align', 'left'); - add_option('ssba_padding', '6'); - add_option('ssba_before_or_after', 'after'); - add_option('ssba_additional_css', ''); - add_option('ssba_custom_styles', ''); - add_option('ssba_custom_styles_enabled',''); - add_option('ssba_email_message', ''); - add_option('ssba_twitter_text', ''); - add_option('ssba_buffer_text', ''); - add_option('ssba_flattr_user_id', ''); - add_option('ssba_flattr_url', ''); - add_option('ssba_share_new_window', 'Y'); - add_option('ssba_link_to_ssb', 'N'); - add_option('ssba_show_share_count', ''); - add_option('ssba_share_count_style', 'default'); - add_option('ssba_share_count_css', ''); - add_option('ssba_share_count_once', 'Y'); - add_option('ssba_widget_text', ''); - add_option('ssba_rel_nofollow', ''); - add_option('ssba_default_pinterest', ''); - add_option('ssba_pinterest_featured', ''); - add_option('ssba_content_priority', '10'); - - // share container - add_option('ssba_div_padding', ''); - add_option('ssba_div_rounded_corners', ''); - add_option('ssba_border_width', ''); - add_option('ssba_div_border', ''); - add_option('ssba_div_background', ''); - - // share text - add_option('ssba_share_text', "It's only fair to share..."); - add_option('ssba_text_placement', 'left'); - add_option('ssba_font_family', 'Indie Flower'); - add_option('ssba_font_color', ''); - add_option('ssba_font_size', '20'); - add_option('ssba_font_weight', ''); - - // include - add_option('ssba_selected_buttons', 'facebook,google,twitter,linkedin'); - - // custom images - add_option('ssba_custom_email', ''); - add_option('ssba_custom_google', ''); - add_option('ssba_custom_facebook', ''); - add_option('ssba_custom_twitter', ''); - add_option('ssba_custom_diggit', ''); - add_option('ssba_custom_linkedin', ''); - add_option('ssba_custom_reddit', ''); - add_option('ssba_custom_stumbleupon', ''); - add_option('ssba_custom_pinterest', ''); - add_option('ssba_custom_buffer', ''); - add_option('ssba_custom_flattr', ''); - add_option('ssba_custom_tumblr', ''); - add_option('ssba_custom_print', ''); - add_option('ssba_custom_vk', ''); - add_option('ssba_custom_yummly', ''); + // likely a reactivation, return doing nothing + if (get_option('ssba_version') !== false) { + return; + } + + // array ready with defaults + $ssba_settings = array( + 'ssba_image_set' => 'somacro', + 'ssba_size' => '35', + 'ssba_pages' => '', + 'ssba_posts' => '', + 'ssba_cats_archs' => '', + 'ssba_homepage' => '', + 'ssba_excerpts' => '', + 'ssba_align' => 'left', + 'ssba_padding' => '6', + 'ssba_before_or_after' => 'after', + 'ssba_additional_css' => '', + 'ssba_custom_styles' => '', + 'ssba_custom_styles_enabled' => '', + 'ssba_email_message' => '', + 'ssba_twitter_text' => '', + 'ssba_buffer_text' => '', + 'ssba_flattr_user_id' => '', + 'ssba_flattr_url' => '', + 'ssba_share_new_window' => 'Y', + 'ssba_link_to_ssb' => 'N', + 'ssba_show_share_count' => '', + 'ssba_share_count_style' => 'default', + 'ssba_share_count_css' => '', + 'ssba_share_count_once' => 'Y', + 'ssba_widget_text' => '', + 'ssba_rel_nofollow' => '', + 'ssba_default_pinterest' => '', + 'ssba_pinterest_featured' => '', + 'ssba_content_priority' => '10', + + // share container + 'ssba_div_padding' => '', + 'ssba_div_rounded_corners' => '', + 'ssba_border_width' => '', + 'ssba_div_border' => '', + 'ssba_div_background' => '', + + // share text + 'ssba_share_text' => "It's only fair to share...", + 'ssba_text_placement' => 'left', + 'ssba_font_family' => 'Indie Flower', + 'ssba_font_color' => '', + 'ssba_font_size' => '20', + 'ssba_font_weight' => '', + + // include + 'ssba_selected_buttons' => 'facebook,google,twitter,linkedin', + + // custom images + 'ssba_custom_email' => '', + 'ssba_custom_google' => '', + 'ssba_custom_facebook' => '', + 'ssba_custom_twitter' => '', + 'ssba_custom_diggit' => '', + 'ssba_custom_linkedin' => '', + 'ssba_custom_reddit' => '', + 'ssba_custom_stumbleupon' => '', + 'ssba_custom_pinterest' => '', + 'ssba_custom_buffer' => '', + 'ssba_custom_flattr' => '', + 'ssba_custom_tumblr' => '', + 'ssba_custom_print' => '', + 'ssba_custom_vk' => '', + 'ssba_custom_yummly' => '', + + // sharedcount + 'sharedcount_enabled' => '', + 'sharedcount_api_key' => '', + 'sharedcount_plan' => 'free', + + // newsharecounts + 'twitter_newsharecounts' => '', + ); + + // json encode + $jsonSettings = json_encode($ssba_settings); + + // insert default options for ssba + add_option('ssba_settings', $jsonSettings); // button helper array ssba_button_helper_array(); + + // ssba version + add_option('ssba_version', SSBA_VERSION); } // uninstall ssba @@ -89,124 +106,104 @@ function ssba_uninstall() { exit(); } - // delete all options - delete_option('ssba_version'); - delete_option('ssba_image_set'); - delete_option('ssba_size'); - delete_option('ssba_pages'); - delete_option('ssba_posts'); - delete_option('ssba_cats_archs'); - delete_option('ssba_homepage'); - delete_option('ssba_excerpts'); - delete_option('ssba_align'); - delete_option('ssba_padding'); - delete_option('ssba_before_or_after'); - delete_option('ssba_additional_css'); - delete_option('ssba_custom_styles'); - delete_option('ssba_custom_styles_enabled'); - delete_option('ssba_email_message'); - delete_option('ssba_buffer_text'); - delete_option('ssba_twitter_text'); - delete_option('ssba_flattr_user_id'); - delete_option('ssba_flattr_url'); - delete_option('ssba_share_new_window'); - delete_option('ssba_link_to_ssb'); - delete_option('ssba_show_share_count'); - delete_option('ssba_share_count_style'); - delete_option('ssba_share_count_css'); - delete_option('ssba_share_count_once'); - delete_option('ssba_widget_text'); - delete_option('ssba_rel_nofollow'); - delete_option('ssba_default_pinterest'); - delete_option('ssba_pinterest_featured'); - delete_option('ssba_content_priority'); - - // share container - delete_option('ssba_div_padding'); - delete_option('ssba_div_rounded_corners'); - delete_option('ssba_border_width'); - delete_option('ssba_div_border'); - delete_option('ssba_div_background'); - - // share text - delete_option('ssba_share_text'); - delete_option('ssba_text_placement'); - delete_option('ssba_font_family'); - delete_option('ssba_font_color'); - delete_option('ssba_font_size'); - delete_option('ssba_font_weight'); - - // include - delete_option('ssba_selected_buttons'); - - // custom images - delete_option('ssba_custom_email'); - delete_option('ssba_custom_google'); - delete_option('ssba_custom_facebook'); - delete_option('ssba_custom_twitter'); - delete_option('ssba_custom_diggit'); - delete_option('ssba_custom_linkedin'); - delete_option('ssba_custom_reddit'); - delete_option('ssba_custom_stumbleupon'); - delete_option('ssba_custom_pinterest'); - delete_option('ssba_custom_buffer'); - delete_option('ssba_custom_flattr'); - delete_option('ssba_custom_tumblr'); - delete_option('ssba_custom_print'); - delete_option('ssba_custom_vk'); - delete_option('ssba_custom_yummly'); + // delete options + delete_option('ssba_settings'); + delete_option('ssba_version'); } // the upgrade function -function upgrade_ssba($arrSettings) { - - // ensure excerpts are set - add_option('ssba_excerpts', ''); - - // add print button - add_option('ssba_custom_print', ''); - - // new for 3.8 - add_option('ssba_widget_text', ''); - add_option('ssba_rel_nofollow', ''); - - // added pre 4.5, added in 4.6 to fix notice - add_option('ssba_rel_nofollow', ''); - - // added in 5.0 - add_option('ssba_custom_vk', ''); - add_option('ssba_custom_yummly', ''); - - // added in 5.2 - add_option('ssba_default_pinterest', ''); - - // added in 5.5 - add_option('ssba_pinterest_featured', ''); - - // added in 5.7 - // additional CSS field - add_option('ssba_additional_css', ''); - - // empty custom CSS var and option - $customCSS = ''; - add_option('ssba_custom_styles_enabled', ''); - - // if some custom styles are in place - if ($arrSettings['ssba_custom_styles'] != '') { - $customCSS.= $arrSettings['ssba_custom_styles']; - update_option('ssba_custom_styles_enabled', 'Y'); - } - - // if some custom share count styles are in place - if ($arrSettings['ssba_share_count_css'] != '') { - $customCSS.= $arrSettings['ssba_share_count_css']; - update_option('ssba_custom_styles_enabled', 'Y'); - } - - // update custom CSS option - update_option('ssba_custom_styles', $customCSS); - - add_option('ssba_content_priority', '10'); +function upgrade_ssba($arrSettings, $version) { + + // if version is less than 6.0.5 + if ($version < '6.0.5') { + // ensure excerpts are set + add_option('ssba_excerpts', ''); + + // add print button + add_option('ssba_custom_print', ''); + + // new for 3.8 + add_option('ssba_widget_text', ''); + add_option('ssba_rel_nofollow', ''); + + // added pre 4.5, added in 4.6 to fix notice + add_option('ssba_rel_nofollow', ''); + + // added in 5.0 + add_option('ssba_custom_vk', ''); + add_option('ssba_custom_yummly', ''); + + // added in 5.2 + add_option('ssba_default_pinterest', ''); + + // added in 5.5 + add_option('ssba_pinterest_featured', ''); + + // added in 5.7 + // additional CSS field + add_option('ssba_additional_css', ''); + + // empty custom CSS var and option + $customCSS = ''; + add_option('ssba_custom_styles_enabled', ''); + + // if some custom styles are in place + if ($arrSettings['ssba_custom_styles'] != '') { + $customCSS.= $arrSettings['ssba_custom_styles']; + update_option('ssba_custom_styles_enabled', 'Y'); + } + + // if some custom share count styles are in place + if ($arrSettings['ssba_share_count_css'] != '') { + $customCSS.= $arrSettings['ssba_share_count_css']; + update_option('ssba_custom_styles_enabled', 'Y'); + } + + // update custom CSS option + update_option('ssba_custom_styles', $customCSS); + + // content priority + add_option('ssba_content_priority', '10'); + } + + // if version is less than 6.0.6 + if ($version < '6.0.6') { + // get old settings + $oldSettings = get_old_ssba_settings(); + + // json encode old settings + $jsonSettings = json_encode($oldSettings); + + // insert all options for ssba as json + add_option('ssba_settings', $jsonSettings); + + // delete old options + ssba_delete_old_options(); + } + + // if version is less than 6.1.3 + if ($version < '6.1.3') { + // new settings + $new = array( + 'sharedcount_enabled' => '', + 'sharedcount_api_key' => '', + 'sharedcount_plan' => 'free', + ); + + // update settings + ssba_update_options($new); + } + + // if version is less than 6.1.5 + if ($version < '6.1.5') { + // new settings + $new = array( + 'twitter_newsharecounts' => '', + ); + + // update settings + ssba_update_options($new); + } // button helper array ssba_button_helper_array(); @@ -267,3 +264,96 @@ function ssba_button_helper_array() ) ))); } + +// delete old options to move to json array +function ssba_delete_old_options() +{ + // delete all options + delete_option('ssba_version'); + delete_option('ssba_image_set'); + delete_option('ssba_size'); + delete_option('ssba_pages'); + delete_option('ssba_posts'); + delete_option('ssba_cats_archs'); + delete_option('ssba_homepage'); + delete_option('ssba_excerpts'); + delete_option('ssba_align'); + delete_option('ssba_padding'); + delete_option('ssba_before_or_after'); + delete_option('ssba_additional_css'); + delete_option('ssba_custom_styles'); + delete_option('ssba_custom_styles_enabled'); + delete_option('ssba_email_message'); + delete_option('ssba_buffer_text'); + delete_option('ssba_twitter_text'); + delete_option('ssba_flattr_user_id'); + delete_option('ssba_flattr_url'); + delete_option('ssba_share_new_window'); + delete_option('ssba_link_to_ssb'); + delete_option('ssba_show_share_count'); + delete_option('ssba_share_count_style'); + delete_option('ssba_share_count_css'); + delete_option('ssba_share_count_once'); + delete_option('ssba_widget_text'); + delete_option('ssba_rel_nofollow'); + delete_option('ssba_default_pinterest'); + delete_option('ssba_pinterest_featured'); + delete_option('ssba_content_priority'); + + // share container + delete_option('ssba_div_padding'); + delete_option('ssba_div_rounded_corners'); + delete_option('ssba_border_width'); + delete_option('ssba_div_border'); + delete_option('ssba_div_background'); + + // share text + delete_option('ssba_share_text'); + delete_option('ssba_text_placement'); + delete_option('ssba_font_family'); + delete_option('ssba_font_color'); + delete_option('ssba_font_size'); + delete_option('ssba_font_weight'); + + // include + delete_option('ssba_selected_buttons'); + + // custom images + delete_option('ssba_custom_email'); + delete_option('ssba_custom_google'); + delete_option('ssba_custom_facebook'); + delete_option('ssba_custom_twitter'); + delete_option('ssba_custom_diggit'); + delete_option('ssba_custom_linkedin'); + delete_option('ssba_custom_reddit'); + delete_option('ssba_custom_stumbleupon'); + delete_option('ssba_custom_pinterest'); + delete_option('ssba_custom_buffer'); + delete_option('ssba_custom_flattr'); + delete_option('ssba_custom_tumblr'); + delete_option('ssba_custom_print'); + delete_option('ssba_custom_vk'); + delete_option('ssba_custom_yummly'); +} + +// return old ssba settings (pre 6.0.6) +function get_old_ssba_settings() { + + // globals + global $wpdb; + + // query the db for current ssba settings + $arrSettings = $wpdb->get_results("SELECT option_name, option_value + FROM $wpdb->options + WHERE option_name LIKE 'ssba_%'"); + + // loop through each setting in the array + foreach ($arrSettings as $setting) { + + // add each setting to the array by name + $arrSettings[$setting->option_name] = $setting->option_value; + } + + // return + return $arrSettings; +} diff --git a/wp-content/plugins/simple-share-buttons-adder/readme.txt b/wp-content/plugins/simple-share-buttons-adder/readme.txt index 9db079d2a394d7bff4f5a7faa0b7fa9d6fdff056..72922a364e292630ec7bab67e7a1503e7bf995a0 100644 --- a/wp-content/plugins/simple-share-buttons-adder/readme.txt +++ b/wp-content/plugins/simple-share-buttons-adder/readme.txt @@ -2,8 +2,8 @@ Contributors: DavidoffNeal Tags: share buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk Requires at least: 3.9 -Tested up to: 4.3 -Stable tag: 6.0.4 +Tested up to: 4.4.1 +Stable tag: 6.1.5 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -62,6 +62,32 @@ A step by step guide on how to configure this plugin can be found <a href="http: == Changelog == += 6.1.5 = +* Feature: Add newsharecounts.com option and functionality to show Twitter share counts again + += 6.1.4 = +* Tweak: PHP notice + += 6.1.3 = +* Add sharedcount.com API functionality for Facebook share counts + += 6.1.2 = +* Reluctantly remove the twitter share count - https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform + += 6.1.1 = +* Fix: Custom images save fixed + += 6.1.0 = +* Feature: Add Yummly share counts +* Feature: Add Tumblr share counts +* Update: New Google+ branded buttons +* Update: Use JSON array in a single database entry to store all core settings +* Tweak: Add title attributes to the buttons on the network select option to assist recognition of each network +* Tweak: Remove PHP notice + += 6.0.5 = +* Fix: Re-include http/https for URL being shared to Tumblr (404 error) + = 6.0.4 = * Feature: Add popup-window feature when sharing * Feature: Add number formatting (e.g. 3,563 = 3.5k) diff --git a/wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php b/wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php index 21699d32420007c852e3389159284da3f9413b92..f31489b9f103be9be695849f33636d513199001a 100644 --- a/wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php +++ b/wp-content/plugins/simple-share-buttons-adder/simple-share-buttons-adder.php @@ -3,7 +3,7 @@ Plugin Name: Simple Share Buttons Adder Plugin URI: https://simplesharebuttons.com Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages. -Version: 6.0.4 +Version: 6.1.5 Author: Simple Share Buttons Author URI: https://simplesharebuttons.com License: GPLv2 @@ -33,7 +33,7 @@ GNU General Public License for more details. define('SSBA_FILE', __FILE__); define('SSBA_ROOT', dirname(__FILE__)); - define('SSBA_VERSION', '6.0.4'); + define('SSBA_VERSION', '6.1.5'); //====================================================================== // SSBA SETTINGS @@ -53,28 +53,57 @@ GNU General Public License for more details. include_once plugin_dir_path(__FILE__).'/inc/ssba_widget.php'; include_once plugin_dir_path(__FILE__).'/inc/ssba_database.php'; +//====================================================================== +// ACTIVATE/DEACTIVATE HOOKS +//====================================================================== + + // run the activation function upon acitvation of the plugin + register_activation_hook( __FILE__,'ssba_activate'); + + // register deactivation hook + register_uninstall_hook(__FILE__,'ssba_uninstall'); + //====================================================================== // GET SSBA SETTINGS //====================================================================== - // return ssba settings - function get_ssba_settings() { + // return ssba settings + function get_ssba_settings() + { + // get json array settings from DB + $jsonSettings = get_option('ssba_settings'); + + // decode and return settings + return json_decode($jsonSettings, true); + } + +//====================================================================== +// UPDATE SSBA SETTINGS +//====================================================================== + + // update an array of options + function ssba_update_options($arrOptions) + { + // if not given an array + if (! is_array($arrOptions)) { + die('Value parsed not an array'); + } - // globals - global $wpdb; + // get ssba settings + $jsonSettings = get_option('ssba_settings'); - // query the db for current ssba settings - $arrSettings = $wpdb->get_results("SELECT option_name, option_value - FROM $wpdb->options - WHERE option_name LIKE 'ssba_%'"); + // decode the settings + $ssba_settings = json_decode($jsonSettings, true); - // loop through each setting in the array - foreach ($arrSettings as $setting) { + // loop through array given + foreach ($arrOptions as $name => $value) { + // update/add the option in the array + $ssba_settings[$name] = $value; + } - // add each setting to the array by name - $arrSettings[$setting->option_name] = $setting->option_value; - } + // encode the options ready to save back + $jsonSettings = json_encode($ssba_settings); - // return - return $arrSettings; - } + // update the option in the db + update_option('ssba_settings', $jsonSettings); + }