diff --git a/public/config-sample.php b/public/config-sample.php index 6d65a38..6376739 100644 --- a/public/config-sample.php +++ b/public/config-sample.php @@ -36,7 +36,8 @@ ISQ::$social = array( 'facebook' => TRUE, 'linkedin' => TRUE, 'tumblr' => TRUE, - 'googleplus' => TRUE + 'googleplus' => TRUE, + 'vk' => TRUE, ); // reCAPTCHA API KEYS diff --git a/public/images/vk.svg b/public/images/vk.svg new file mode 100644 index 0000000..a110a7f --- /dev/null +++ b/public/images/vk.svg @@ -0,0 +1,40 @@ + + + + + + + + \ No newline at end of file diff --git a/public/style.css b/public/style.css index ae6c78c..b19e2ce 100644 --- a/public/style.css +++ b/public/style.css @@ -304,6 +304,10 @@ input[type=submit] { background-color: #DD4B39; } +.social-button.vk { + background-color: #4D7198; +} + svg#url-qr-code { width: 50%; height: 50%; diff --git a/result.php b/result.php index 2b19b29..837230a 100644 --- a/result.php +++ b/result.php @@ -132,7 +132,9 @@ $encoded_title = urlencode($title); if ( ISQ::$social['linkedin'] ) { echo '' . file_get_contents('public/images/linkedin.svg') . ''; } - if ( ISQ::$social['googleplus'] ) { echo '' . file_get_contents('public/images/googleplus.svg') . ''; } + if ( ISQ::$social['googleplus'] ) { echo '' . file_get_contents('public/images/googleplus.svg') . ''; } + + if ( ISQ::$social['vk'] ) { echo '' . file_get_contents('public/images/vk.svg') . ''; } ?>