This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.custom-select { | |
-webkit-appearance: none; | |
-moz-appearance: window; | |
appearance: none; | |
border-radius: 0; | |
background: transparent; | |
text-indent: 0.01px; | |
text-overflow: ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.tw-share-button { | |
white-space: nowrap; | |
position: relative; | |
background-color: #eee; | |
background-image: -webkit-linear-gradient(#fff,#dedede); | |
background-image: linear-gradient(#fff,#dedede); | |
border: #ccc solid 1px; | |
border-radius: 3px; | |
color: #333; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.fb-share-button { | |
background: #4c69ba; | |
background: -webkit-gradient(linear, center top, center bottom, from(#4c69ba), to(#3b55a0)); | |
background: -webkit-linear-gradient(#4c69ba, #3b55a0); | |
background: gradient(linear, center top, center bottom, from(#4c69ba), to(#3b55a0)); | |
background: linear-gradient(#4c69ba, #3b55a0); | |
border: none; | |
-webkit-border-radius: 2px; | |
color: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function sendPush($token, $collapseKey, $title, $messageText) { | |
if(!is_array($token)) { | |
$token = array($token); | |
} | |
App::uses('HttpSocket', 'Network/Http'); | |
$HttpSocket = new HttpSocket(); | |
$data = array( | |
'registration_ids' => $token, |
NewerOlder