Dropifi_Dropificontactwidget - Version 1.0.0

Version Notes

*This is our first release. Please send bug reports to team@dropifi.com

* It works with a wide range of magento versions. If you experience any hiccups, email us at support@dropifi.com

Download this release

Release Info

Developer Dropifi Limited
Extension Dropifi_Dropificontactwidget
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/local/Dropifi/Dropificontactwidget/Block/Adminhtml/Dropifiblock.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Block_Adminhtml_Dropifiblock extends Mage_Core_Block_Template
3
+ {
4
+ public $storeName = "";
5
+ public $storeEmail = "";
6
+ public $storeDomain = "";
7
+ public $storeUrl = "";
8
+
9
+ public function NeededDetails(){
10
+ $website = null;
11
+ $websites = Mage::app()->getWebsites();
12
+ if(count($websites) > 0){
13
+ foreach($websites as $website){
14
+ $this->storeDomain = $website->getName();
15
+ $this->storeUrl = $website->getDefaultStore()->getBaseUrl();
16
+ $this->storeName = $website->getDefaultStore()->getName();
17
+ break;
18
+ }
19
+ }
20
+ }
21
+
22
+ public function getStoreName(){ return $this->storeName; }
23
+ public function getStoreEmail(){ return $this->storeEmail; }
24
+ public function getStoreDomain(){ return $this->storeDomain; }
25
+ public function getStoreUrl(){ return $this->storeUrl; }
26
+ }
27
+ ?>
app/code/local/Dropifi/Dropificontactwidget/Block/Html/Head.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Dropifi_Dropificontactwidget_Block_Html_Head extends Mage_Page_Block_Html_Head
4
+ {
5
+ protected function _construct()
6
+ {
7
+ $this->setTemplate('page/html/head.phtml');
8
+ }
9
+
10
+ public function addExternalItem($type, $name, $params=null, $if=null, $cond=null)
11
+ {
12
+ parent::addItem($type, $name, $params=null, $if=null, $cond=null);
13
+ }
14
+
15
+ public function removeExternalItem($type, $name)
16
+ {
17
+ parent::removeItem($type, $name);
18
+ }
19
+
20
+ protected function _separateOtherHtmlHeadElements(&$lines, $itemIf, $itemType, $itemParams, $itemName, $itemThe)
21
+ {
22
+ $params = $itemParams ? ' ' . $itemParams : '';
23
+ $href = $itemName;
24
+ switch ($itemType) {
25
+ case 'rss':
26
+ $lines[$itemIf]['other'][] = sprintf('<link href="%s"%s rel="alternate" type="application/rss+xml" />',
27
+ $href, $params
28
+ );
29
+ break;
30
+ case 'link_rel':
31
+ $lines[$itemIf]['other'][] = sprintf('<link%s href="%s" />', $params, $href);
32
+ break;
33
+
34
+ case 'external_js':
35
+ $lines[$itemIf]['other'][] = sprintf('<script type="text/javascript" src="%s" %s></script>', $href, $params);
36
+ break;
37
+
38
+ case 'external_css':
39
+ $lines[$itemIf]['other'][] = sprintf('<link rel="stylesheet" type="text/css" href="%s" %s/>', $href, $params);
40
+ break;
41
+ }
42
+ }
43
+
44
+ public function obtainStoreInformation(){
45
+ $store = Mage::app()->getStore();
46
+ }
47
+ }
app/code/local/Dropifi/Dropificontactwidget/Helper/Data.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Helper_Data extends Mage_Core_Helper_Abstract { }
3
+ ?>
app/code/local/Dropifi/Dropificontactwidget/Model/Dropificontactwidget.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Model_Dropificontactwidget extends Mage_Core_Model_Abstract
3
+ {
4
+ public function _construct(){
5
+ $this->_init('dropifi_dropificontactwidget/dropificontactwidget');
6
+ }
7
+
8
+ protected function _beforeSave()
9
+ {
10
+ parent::_beforeSave();
11
+ if ($this->isObjectNew()) {
12
+ $this->setData('created_at', Varien_Date::now());
13
+ }
14
+ return $this;
15
+ }
16
+ }
17
+ ?>
app/code/local/Dropifi/Dropificontactwidget/Model/Resource/Dropificontactwidget.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Model_Resource_Dropificontactwidget extends Mage_Core_Model_Resource_Db_Abstract
3
+ {
4
+ public function _construct(){
5
+ $this->_init('dropifi_dropificontactwidget/dropificontactwidget', 'dropificontactwidget_id');
6
+ }
7
+ }
8
+ ?>
app/code/local/Dropifi/Dropificontactwidget/Model/Resource/Dropificontactwidget/Collection.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Model_Resource_Dropificontactwidget_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract
3
+ {
4
+ public function _construct()
5
+ {
6
+ $this->_init('dropifi_dropificontactwidget/dropificontactwidget');
7
+ }
8
+ }
9
+ ?>
app/code/local/Dropifi/Dropificontactwidget/controllers/Adminhtml/DropifiController.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dropifi_Dropificontactwidget_Adminhtml_DropifiController extends Mage_Adminhtml_Controller_Action
3
+ {
4
+ public function indexAction(){
5
+ $this->loadLayout()
6
+ ->_setActiveMenu('dropificontactwidget/Dropifi Contact Widget');
7
+ $this->renderLayout();
8
+ }
9
+
10
+ public function signupAction()
11
+ {
12
+ $file = Mage::getModuleDir('','Dropifi_Dropificontactwidget').DS.'lib'.DS.'dropifi_install.php';
13
+ require_once($file);
14
+ $send = new DropifiMagento();
15
+
16
+ $data = $this->getRequest()->getPost();
17
+
18
+ if($data){
19
+ try{
20
+ $parameters = array(
21
+ 'displayName' => $data['fullname'],
22
+ 'user_email' => $data['email'],
23
+ 'user_domain' => $data['storeDomain'],
24
+ 'user_password' => $data['password'],
25
+ 'user_re_password' => $data['repassword'],
26
+ 'hostUrl' => $data['hostUrl'],
27
+ 'requestUrl' => $data['requestUrl'],
28
+ 'accessToken' => substr(str_shuffle(MD5($data['email'] . $data['storeDomain']. $data['password'])), 0, 10),
29
+ 'site_url' => $data['siteUrl']
30
+ );
31
+
32
+ $resData = $send->rest_helper('http://www.dropifi.com/ecommerce/magento/signup',$parameters,"POST");
33
+
34
+ if($resData->status == 200){
35
+ $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1);
36
+ if($model){
37
+ $model->setEmail($resData->userEmail)
38
+ ->setPassword($data['password'])
39
+ ->setDropifi_pkey($resData->publicKey)
40
+ ->setDropifi_lurl("http://www.dropifi.com/ecommerce/magento/login/?temToken=".$resData->temToken."&userEmail=".$resData->userEmail)
41
+ ->setCreated_at(Varien_Date::now())
42
+ ->save();
43
+ }
44
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index',array('response'=>$resData->msg));
45
+ }
46
+ else{
47
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index', array('response'=>$resData->msg));
48
+ }
49
+ }
50
+ catch(Mage_Core_Exception $e) {
51
+ $this->_getSession()->addError($e->getMessage());
52
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index');
53
+ }
54
+
55
+
56
+
57
+ }
58
+ }
59
+
60
+ public function loginAction()
61
+ {
62
+ $file = Mage::getModuleDir('','Dropifi_Dropificontactwidget').DS.'lib'.DS.'dropifi_install.php';
63
+ require_once($file);
64
+ $send = new DropifiMagento();
65
+
66
+ $data = $this->getRequest()->getPost();
67
+
68
+ if($data){
69
+ try{
70
+ $parameters = array(
71
+ 'login_email' => $data['login_email'],
72
+ 'accessKey' => MD5($data['password']),
73
+ 'requestUrl' => $data['requestUrl'],
74
+ 'accessToken' => substr(str_shuffle(MD5($data['login_email'] . $data['password'])), 0, 10),
75
+ 'site_url' => $data['siteUrl']
76
+ );
77
+
78
+ $resData = $send->rest_helper('http://www.dropifi.com/ecommerce/magento/loginToken',$parameters,"POST");
79
+
80
+ if($resData->status == 200){
81
+ $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1);
82
+ if($model){
83
+ $model->setEmail($resData->userEmail)
84
+ ->setPassword($data['password'])
85
+ ->setDropifi_pkey($resData->publicKey)
86
+ ->setDropifi_lurl("http://www.dropifi.com/ecommerce/magento/login/?temToken=".$resData->temToken."&userEmail=".$resData->userEmail)
87
+ ->setCreated_at(Varien_Date::now())
88
+ ->save();
89
+ }
90
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index',array('response'=>$resData->msg));
91
+ }
92
+ else{
93
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index',array('response'=>$resData->msg));
94
+ }
95
+ }
96
+ catch(Mage_Core_Exception $e) {
97
+ $this->_getSession()->addError($e->getMessage());
98
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index');
99
+ }
100
+ }
101
+ }
102
+
103
+ public function resetAction()
104
+ {
105
+ try{
106
+ $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1);
107
+ if($model){
108
+ $model->setEmail("")
109
+ ->setPassword("")
110
+ ->setDropifi_pkey("")
111
+ ->setDropifi_lurl("")
112
+ ->setCreated_at("")
113
+ ->save();
114
+ }
115
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index',array('response'=>'You have reset the account.'));
116
+ }
117
+ catch(Mage_Core_Exception $e){
118
+ $this->_redirect('dropificontactwidget/adminhtml_dropifi/index',array('response'=>$e->getMessage()));
119
+ }
120
+ }
121
+ }
122
+ ?>
app/code/local/Dropifi/Dropificontactwidget/etc/config.xml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Dropifi_Dropificontactwidget>
5
+ <version>1.0.0</version>
6
+ </Dropifi_Dropificontactwidget>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <dropificontactwidget>
12
+ <file>dropificontactwidget.xml</file>
13
+ </dropificontactwidget>
14
+ </updates>
15
+ </layout>
16
+ </frontend>
17
+ <admin>
18
+ <routers>
19
+ <dropificontactwidget>
20
+ <use>admin</use>
21
+ <args>
22
+ <module>Dropifi_Dropificontactwidget</module>
23
+ <frontName>admindropificontactwidget</frontName>
24
+ </args>
25
+ </dropificontactwidget>
26
+ </routers>
27
+ </admin>
28
+ <adminhtml>
29
+ <layout>
30
+ <updates>
31
+ <dropificontactwidget>
32
+ <file>dropificontactwidget.xml</file>
33
+ </dropificontactwidget>
34
+ </updates>
35
+ </layout>
36
+ <menu>
37
+ <dropificontactwidget translate="title" module="adminhtml">
38
+ <title>Dropifi Contact Widget</title>
39
+ <sort_order>100</sort_order>
40
+ <children>
41
+ <dropifi>
42
+ <title>Settings</title>
43
+ <action>admindropificontactwidget/adminhtml_dropifi</action>
44
+ </dropifi>
45
+ </children>
46
+ </dropificontactwidget>
47
+ </menu>
48
+ </adminhtml>
49
+ <global>
50
+ <models>
51
+ <dropifi_dropificontactwidget>
52
+ <class>Dropifi_Dropificontactwidget_Model</class>
53
+ <resourceModel>dropificontactwidget_resource</resourceModel>
54
+ </dropifi_dropificontactwidget>
55
+ <dropificontactwidget_resource>
56
+ <class>Dropifi_Dropificontactwidget_Model_Resource</class>
57
+ <entities>
58
+ <dropificontactwidget>
59
+ <table>dropifi_dropificontactwidget</table>
60
+ </dropificontactwidget>
61
+ </entities>
62
+ </dropificontactwidget_resource>
63
+ </models>
64
+ <helper>
65
+ <dropifi_dropificontactwidget>
66
+ <class>Dropifi_Dropificontactwidget_Helper</class>
67
+ </dropifi_dropificontactwidget>
68
+ </helper>
69
+ <blocks>
70
+ <dropificontactwidget>
71
+ <class>Dropifi_Dropificontactwidget_Block</class>
72
+ </dropificontactwidget>
73
+ <page>
74
+ <updates>
75
+ <html_head>Dropifi_Dropificontactwidget_Block_Html_Head</html_head>
76
+ </updates>
77
+ </page>
78
+ </blocks>
79
+ <resources>
80
+ <dropifi_dropificontactwidget_setup>
81
+ <setup>
82
+ <module>Dropifi_Dropificontactwidget</module>
83
+ <class>Mage_Core_Model_Resource_Setup</class>
84
+ </setup>
85
+ </dropifi_dropificontactwidget_setup>
86
+ </resources>
87
+ </global>
88
+ </config>
app/code/local/Dropifi/Dropificontactwidget/lib/dropifi_install.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class DropifiMagento{
3
+
4
+ function __construct(){}
5
+
6
+ public function rest_helper($url, $params = null, $verb = 'GET', $format = 'json')
7
+ {
8
+ $cparams = array(
9
+ 'http' => array(
10
+ 'method' => $verb,
11
+ 'ignore_errors' => true
12
+ )
13
+ );
14
+
15
+ if ($params !== null) {
16
+ $params = http_build_query($params);
17
+ if ($verb == 'POST') {
18
+ $cparams['http']['content'] = $params;
19
+ } else {
20
+ $url .= '?' . $params;
21
+ }
22
+ }
23
+
24
+ $context = stream_context_create($cparams);
25
+ $fp = fopen($url, 'rb', false, $context);
26
+ if (!$fp) {
27
+ $res = false;
28
+ } else {
29
+ // If you're trying to troubleshoot problems, try uncommenting the
30
+ // next two lines; it will show you the HTTP response headers across
31
+ // all the redirects:
32
+ // $meta = stream_get_meta_data($fp);
33
+ // var_dump($meta['wrapper_data']);
34
+ $res = stream_get_contents($fp);
35
+ }
36
+
37
+ if ($res === false) {
38
+ throw new Exception("$verb $url failed: $php_errormsg");
39
+ }
40
+
41
+ switch ($format) {
42
+ case 'json':
43
+ $r = json_decode($res);
44
+ if ($r === null) {
45
+ throw new Exception("failed to decode $res as json");
46
+ }
47
+ return $r;
48
+
49
+ case 'xml':
50
+ $r = simplexml_load_string($res);
51
+ if ($r === null) {
52
+ throw new Exception("failed to decode $res as xml");
53
+ }
54
+ return $r;
55
+ }
56
+ return $res;
57
+ }
58
+
59
+
60
+ }
61
+ $dropifiMagento = new DropifiMagento();
62
+ ?>
app/code/local/Dropifi/Dropificontactwidget/sql/dropifi_dropificontactwidget_setup/install-1.0.0.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*echo 'Running This Upgrade: '.get_class($this)."\n <br /> \n";
3
+ die("Exit for now");*/
4
+
5
+ $installer = $this;
6
+
7
+ $table = $installer->getConnection()
8
+ ->newTable($installer->getTable('dropifi_dropificontactwidget/dropificontactwidget'))
9
+ ->addColumn('dropificontactwidget_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array(
10
+ 'unsigned' => true,
11
+ 'identity' => true,
12
+ 'nullable' => false,
13
+ 'primary' => true,
14
+ ), 'Entity id')
15
+ ->addColumn('email', Varien_Db_Ddl_Table::TYPE_TEXT, 255, array(
16
+ 'nullable' => true,
17
+ 'default' => null,
18
+ ), 'Email')
19
+ ->addColumn('password', Varien_Db_Ddl_Table::TYPE_TEXT, 255, array(
20
+ 'nullable' => true,
21
+ 'default' => null,
22
+ ), 'Password')
23
+ ->addColumn('dropifi_pkey', Varien_Db_Ddl_Table::TYPE_TEXT, 255, array(
24
+ 'nullable' => true,
25
+ 'default' => null,
26
+ ), 'Dropifi Public Key')
27
+ ->addColumn('dropifi_lurl', Varien_Db_Ddl_Table::TYPE_TEXT, 255, array(
28
+ 'nullable' => true,
29
+ 'default' => null,
30
+ ), 'Dropifi Login Url')
31
+ ->addColumn('created_at', Varien_Db_Ddl_Table::TYPE_TIMESTAMP, null, array(
32
+ 'nullable' => true,
33
+ 'default' => null,
34
+ ), 'Creation Time')
35
+ ->setComment('Accounts Information');
36
+
37
+ $installer->getConnection()->createTable($table);
38
+ ?>
app/design/adminhtml/default/default/layout/dropificontactwidget.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layout version="1.0.0">
3
+ <dropificontactwidget_adminhtml_dropifi_index>
4
+ <reference name="head">
5
+ <action method="addCss"><stylesheet>css/dropificontactwidget/dropificss.css</stylesheet></action>
6
+ </reference>
7
+ <reference name="content">
8
+ <block type="dropificontactwidget/adminhtml_dropifiblock" name="dropifiwidget1" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
9
+ </reference>
10
+ </dropificontactwidget_adminhtml_dropifi_index>
11
+ </layout>
app/design/adminhtml/default/default/template/dropifi/dropificontactwidget/dropifiwidget.phtml ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $this->NeededDetails();
3
+ $surl = $this->getStoreUrl();
4
+
5
+ $paramsArray = Mage::app()->getRequest()->getParams();
6
+ $response = $paramsArray['response'];
7
+
8
+ $imgUrl = Mage::getDesign()->getSkinUrl('images/dropificontactwidget/dropifi_magento.png');
9
+ //$imgUrl = $this->getSkinUrl('images/dropificontactwidget/dropifi_magento.png') ;
10
+
11
+ $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1);
12
+ $v = $model->getDropifi_pkey();
13
+ $t = $model->getDropifi_lurl();
14
+
15
+ if($v == NULL || $v == ""){
16
+ dropifi_signupform($surl,$imgUrl, $response);
17
+ }
18
+ else{
19
+ dropifi_after_signup_page($t, $imgUrl, $response);
20
+ }
21
+ ?>
22
+
23
+ <?php function dropifi_signupform($surl, $imgurl, $response){
24
+ if($response !== ""){ ?>
25
+
26
+ <?php } ?>
27
+
28
+ <style type="text/css">
29
+ .widget, #widget-list .widget-top, .postbox, .menu-item-settings {
30
+ background-color: #F5F5F5;
31
+ background-image: -moz-linear-gradient(center top , #F9F9F9, #F5F5F5);
32
+ }
33
+
34
+ .widget, #widget-list .widget-top, .postbox, #titlediv, #poststuff .postarea, .stuffbox {
35
+ border-color: #DFDFDF;
36
+ border-radius: 3px 3px 3px 3px;
37
+ box-shadow: 0 1px 0 #FFFFFF inset;
38
+ }
39
+
40
+ .postbox {
41
+ min-width: 255px;
42
+ position: relative;
43
+ }
44
+
45
+ .widget, .postbox, .stuffbox {
46
+ border-style: solid;
47
+ border-width: 1px;
48
+ line-height: 1;
49
+ margin-bottom: 20px;
50
+ padding: 0;
51
+ }
52
+ .postbox .inside {
53
+ margin: 10px 0;
54
+ position: relative;
55
+ }
56
+ .postbox .inside, .stuffbox .inside {
57
+ line-height: 1.4em;
58
+ padding: 0 10px;
59
+ }
60
+
61
+ .postbox .hndle {
62
+ border-top-left-radius: 3px;
63
+ border-top-right-radius: 3px;
64
+ cursor: move;
65
+ }
66
+ .postbox h3 {
67
+ color: #464646;
68
+ }
69
+ .postbox table.form-table {
70
+ margin-bottom: 0;
71
+ }
72
+ .form-table {
73
+ border-collapse: collapse;
74
+ clear: both;
75
+ margin-bottom: -8px;
76
+ margin-top: 0.5em;
77
+ width: 100%;
78
+ }
79
+ .widget .widget-top, .postbox h3, .stuffbox h3 {
80
+ border-bottom-color: #DFDFDF;
81
+ box-shadow: 0 1px 0 #FFFFFF;
82
+ text-shadow: 0 1px 0 #FFFFFF;
83
+ }
84
+
85
+ .widget .widget-top, .postbox h3, .stuffbox h3, .widefat thead tr th, .widefat tfoot tr th, h3.dashboard-widget-title, h3.dashboard-widget-title span, h3.dashboard-widget-title small, .find-box-head, .sidebar-name, #nav-menu-header, #nav-menu-footer, .menu-item-handle {
86
+ background-color: #F1F1F1;
87
+ background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC);
88
+ }
89
+ #poststuff h3, .metabox-holder h3 {
90
+ font-size: 15px;
91
+ font-weight: normal;
92
+ line-height: 1;
93
+ margin: 0;
94
+ padding: 7px 10px;
95
+ }
96
+ .widget .widget-top, .postbox h3, .stuffbox h3 {
97
+ -moz-user-select: none;
98
+ border-bottom-style: solid;
99
+ border-bottom-width: 1px;
100
+ cursor: move;
101
+ margin-top: 1px;
102
+ }
103
+ .form-table td {
104
+ font-size: 12px;
105
+ line-height: 20px;
106
+ margin-bottom: 9px;
107
+ padding: 8px 10px;
108
+ }
109
+ td, textarea {
110
+ line-height: inherit;
111
+ }
112
+ td, textarea, input, select {
113
+ font-family: inherit;
114
+ font-size: inherit;
115
+ font-weight: inherit;
116
+ }
117
+ .form-table th, .form-wrap label {
118
+ color: #222222;
119
+ text-shadow: 0 1px 0 #FFFFFF;
120
+ }
121
+ .form-table th {
122
+ padding: 10px;
123
+ text-align: left;
124
+ vertical-align: top;
125
+ width: 200px;
126
+ }
127
+ .form-table th, .form-wrap label {
128
+ font-weight: normal;
129
+ text-shadow: 0 1px 0 #FFFFFF;
130
+ }
131
+ textarea, input[type="text"], input[type="password"], input[type="file"], input[type="button"], input[type="submit"], input[type="reset"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], select {
132
+ background-color: #FFFFFF;
133
+ border-color: #DFDFDF;
134
+ color: #333333;
135
+ }
136
+ .widefat, div.updated, div.error, .wrap .add-new-h2, textarea, input[type="text"], input[type="password"], input[type="file"], input[type="button"], input[type="submit"], input[type="reset"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], select, .tablenav .tablenav-pages a, .tablenav-pages span.current, #titlediv #title, .postbox, #postcustomstuff table, #postcustomstuff input, #postcustomstuff textarea, .imgedit-menu div, .plugin-update-tr .update-message, #poststuff .inside .the-tagcloud, .login form, #login_error, .login .message, #menu-management .menu-edit, .nav-menus-php .list-container, .menu-item-handle, .link-to-original, .nav-menus-php .major-publishing-actions .form-invalid, .press-this #message, #TB_window, .tbtitle, .highlight, .feature-filter, #widget-list .widget-top, .editwidget .widget-inside {
137
+ border-radius: 3px 3px 3px 3px;
138
+ border-style: solid;
139
+ border-width: 1px;
140
+ }
141
+ input[type="text"], input[type="password"], input[type="number"], input[type="search"], input[type="email"], input[type="url"], textarea {
142
+ -moz-box-sizing: border-box;
143
+ }
144
+ textarea, input, select {
145
+ margin: 1px;
146
+ padding: 3px;
147
+ }
148
+ a, input, select {
149
+ outline: 0 none;
150
+ }
151
+ input, select {
152
+ line-height: 15px;
153
+ }
154
+ td, textarea, input, select {
155
+ font-family: inherit;
156
+ font-size: inherit;
157
+ font-weight: inherit;
158
+ }
159
+ .wrap {
160
+ margin: 4px 15px 0 0;
161
+ }
162
+ .wrap h2 {
163
+ color: #464646;
164
+ }
165
+ h2 .nav-tab, .wrap h2, .subtitle, .login form .input {
166
+ font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
167
+ }
168
+ .wrap h2 {
169
+ font-size: 23px;
170
+ line-height: 29px;
171
+ padding: 9px 15px 4px 0;
172
+ }
173
+ .wrap h2, .subtitle {
174
+ font-weight: normal;
175
+ margin: 0;
176
+ text-shadow: 0 1px 0 #FFFFFF;
177
+ }
178
+ .postbox-container {
179
+ float: left;
180
+ }
181
+
182
+ .notification-dropifi {
183
+ background-color: #FFF9E9;
184
+ border-bottom: 1px solid #EEE2BE;
185
+ border-top: 1px solid #EEE2BE;
186
+ color: #444444;
187
+ font-size: 11px;
188
+ line-height: 16px;
189
+ margin: 0 0 -3px;
190
+ padding: 5px 27px 5px 47px;
191
+ position: relative;
192
+ }
193
+
194
+ </style>
195
+ <div class="wrap">
196
+ <div id="icon-options-general" class="icon32"></div>
197
+ <h2 class='content-header'>Dropifi Contact Widget Setup</h2>
198
+
199
+ <div class='notification-dropifi'><?php echo $response ?></div>
200
+ <div style="margin-right:40px; min-width:400px; width:45%;margin-top:10px;" class="postbox-container">
201
+ <div class="metabox-holder" id="dropifi_signup">
202
+ <div class="meta-box-sortables">
203
+ <div class="postbox">
204
+ <h3 class="hndle"><span>New to Dropifi ? Create An Account</span></h3>
205
+
206
+ <div class="inside">
207
+ <div style="background-size: 40px 40px;background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%,
208
+ transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%,transparent 75%, transparent);box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
209
+ width: 100%; border: 1px solid; color: #fff; padding: 15px;text-shadow: 0 1px 0 rgba(0,0,0,.5); animation: animate-bg 5s linear infinite; width:94%;
210
+ background-color: #4ea5cd; border-color: #3b8eb5;" class="" id="dropifi_s_message_status">Once you submit the details below, the Dropifi contact widget will be installed on your site. Login to your dropifi account to customize the look and feel of your widget.</div>
211
+ <hr>
212
+ <form id="dropifi_signup" action="<?php echo Mage::getUrl('dropificontactwidget/adminhtml_dropifi/signup'); ?>" method="post">
213
+ <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
214
+
215
+ <input type="hidden" id="hostUrl" name="hostUrl" value="<?php echo $surl ?>" />
216
+ <input type="hidden" id="requestUrl" name="requestUrl" value="<?php echo $surl ?>" />
217
+ <input type="hidden" id="siteUrl" name="siteUrl" value="<?php echo $surl ?>" />
218
+
219
+ <table class="form-table">
220
+
221
+ <tbody><tr valign="top">
222
+ <th style="width:100px" scope="row">Full Name </th>
223
+ <td><input type="text" class="dropifi_s_msg_error" style="width:100%" value="" id="fullname" name="fullname"></td>
224
+ </tr>
225
+
226
+ <tr valign="top">
227
+ <th style="width:100px" scope="row">Email</th>
228
+ <td><input type="text" class="dropifi_s_msg_error" style="width:100%" value="" id="email" name="email"></td>
229
+ </tr>
230
+ <tr valign="top">
231
+ <th style="width:100px" scope="row">Password</th>
232
+ <td><input type="password" class="dropifi_s_msg_error" style="width:100%" value="" id="password" name="password"></td>
233
+ </tr>
234
+
235
+ <tr valign="top">
236
+ <th style="width:80px" scope="row">Re-Password</th>
237
+ <td><input type="password" class="dropifi_s_msg_error" style="width:100%" value="" id="repassword" name="repassword"></td>
238
+ </tr>
239
+
240
+ <tr valign="top">
241
+ <th style="width:100px" scope="row">Shop Name</th>
242
+ <td><input type="text" title="your company name should not contain special characters" class="dropifi_s_msg_error" style="width:100%" value="" id="storeDomain" name="storeDomain"></td>
243
+ </tr>
244
+
245
+ <tr valign="top">
246
+ <th colspan="2">
247
+ By creating an account, you agree to Dropifi's <a class="" target="_blank" href="https://www.dropifi.com/legal_terms">Beta Terms and Conditions</a></th>
248
+ </tr>
249
+
250
+ <tr valign="top">
251
+
252
+ <th colspan="2"><input type="submit" id="dropifi_create_new_account" value="Create A New Account" class="form-button button-primary" style="float:right"></th>
253
+ </tr>
254
+ </tbody></table>
255
+
256
+ </form>
257
+ </div>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ </div>
262
+
263
+ <div style="min-width:400px; width:45%;margin-top:10px;" class="postbox-container">
264
+ <div class="metabox-holder" id="dropifi_login">
265
+ <div class="meta-box-sortables">
266
+ <div class="postbox">
267
+ <h3 class="hndle"><span>Already a Dropifi user ? Login with your Dropifi Account</span></h3>
268
+ <div class="inside">
269
+ <div style="background-size: 40px 40px;background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%,
270
+ transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%,transparent 75%, transparent);box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
271
+ width: 100%; border: 1px solid; color: #fff; padding: 15px;text-shadow: 0 1px 0 rgba(0,0,0,.5); animation: animate-bg 5s linear infinite; width:94%;
272
+ background-color: #4ea5cd; border-color: #3b8eb5;" class="" id="dropifi_l_message_status">Once you submit your login details below, the Dropifi contact widget will be installed on your site. Login to your dropifi account to customize the look and feel of your widget.</div>
273
+
274
+ <hr>
275
+ <form id="dropifi_login" name="dropifi_login" action="<?php echo Mage::getUrl('dropificontactwidget/adminhtml_dropifi/login'); ?>" method="post">
276
+ <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
277
+ <input type="hidden" id="requestUrl" name="requestUrl" value="<?php echo $surl ?>" />
278
+ <input type="hidden" id="siteUrl" name="siteUrl" value="<?php echo $surl ?>" />
279
+ <table class="form-table">
280
+
281
+ <tbody><tr valign="top">
282
+ <th style="width:60px" scope="row">Email</th>
283
+ <td><input type="text" style="width:100%" class="dropifi_l_msg_error" value="" id="login_email" name="login_email"></td>
284
+ </tr>
285
+
286
+ <tr valign="top">
287
+ <th style="width:60px" scope="row">Password</th>
288
+ <td><input type="password" style="width:100%" class="dropifi_l_msg_error" value="" id="password" name="password"></td>
289
+ </tr>
290
+
291
+ <tr valign="top">
292
+
293
+ <th colspan="2"><input type="submit" id="dropifi_login_account" value="Login" class="form-button button-primary" style="float:right"></th>
294
+ </tr>
295
+
296
+ </tbody></table>
297
+ </form>
298
+ </div>
299
+ </div>
300
+ </div>
301
+ </div>
302
+
303
+ </div>
304
+
305
+
306
+ <div class="clear"></div></div>
307
+
308
+
309
+ <?php
310
+ }
311
+
312
+ function dropifi_after_signup_page($tempLoginUrl, $imgurl, $response){
313
+ if($response !== ""){ ?>
314
+
315
+ <?php }?>
316
+
317
+ <div class="wrap">
318
+ <div id="icon-options-general" class="icon32"></div>
319
+ <!--<h2 class='content-header'>Dropifi Contact Widget</h2> /-->
320
+ <div style="width:100%;min-width:800px;margin-top:10px;" id="wordpress_dropifi">
321
+
322
+ <div style="width:100%;
323
+ background-color:#5AA9D3;
324
+ -webkit-border-radius: 5px 5px 0px 0px;
325
+ -moz-border-radius: 5px 5px 0px 0px;
326
+ border-radius: 5px 5px 0px 0px;
327
+ padding:10px 0px;" id="dropifi_header">
328
+ <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><img width="113" height="65" alt="Dropifi Contact Widget" src="<?php echo $imgurl ?>">
329
+ <span style="top:-7px; position:relative;color: #FFFFFF;
330
+ font-size: 2.0em;
331
+ font-weight: bold;
332
+ height: auto;
333
+ line-height: 0.95em;
334
+ margin-bottom: 5px;
335
+ padding-left: 20px;
336
+ width: auto;">Turn Your Site Visitors Into Loyal Customers </span>
337
+ </div>
338
+
339
+ <div style="min-height:50px;
340
+ background-color:#F9F9F9;
341
+ padding:10px;
342
+ -webkit-border-radius: 0px 0px 5px 5px;
343
+ -moz-border-radius: 0px 0px 5px 5px;
344
+ border-radius: 0px 0px 5px 5px;
345
+ border:1px solid #DADADA;" id="dropifi_after_header">
346
+ <p>
347
+ <span style=" margin-left:10px;margin-right:10px;" id="reset_dropifi_account" href="#" class="button-primary">
348
+ <form action="<?php echo Mage::getUrl('dropificontactwidget/adminhtml_dropifi/reset'); ?>" method="post">
349
+ <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
350
+ <input class="form-button" type="submit" value="Reset Your Account" id="reset_account" />
351
+ </form>
352
+ </span>
353
+ <span> OR </span>
354
+ <a style="margin-left:10px;" id="login_dropifi_account" href="<?php echo $tempLoginUrl ?>" target="_blank" class="button-primary"><button>Go to your Dropifi Dashboard</button></a></p>
355
+
356
+ </div>
357
+
358
+
359
+ <div style="-webkit-border-radius: 5px;
360
+ -moz-border-radius: 5px;
361
+ border-radius: 5px;
362
+ background-color:#F9F9F9;
363
+ height:300px;
364
+ margin-top:20px;
365
+ border:1px solid #DADADA;" id="dropifi_content">
366
+ <div style="padding:10px;font-size:14px;">
367
+ <p><strong>You have successfully installed your Dropifi contact widget. Your customer engagement is now simplified and more insightful. Best of all, getting you off to a good start is really easy!</strong></p>
368
+ <p><ol style='list-style-type: decimal; margin-left: 2em;padding:5px'>
369
+ <li style='margin-bottom: 6px;'>Customize the Dropifi contact widget from <span style="font-style:italic">Admin &gt;&gt; Mail Management &gt;&gt; Contact Widget</span> on your Dropifi dashboard. You can modify the content of the form, widget color and tab text to suit your preferences.</li>
370
+ <li style='margin-bottom: 6px;'>Add your customer support staff for easy collaboration to wow your customers.</li>
371
+ <li style='margin-bottom: 6px;'>Does your company use different email addresses to support your customers? Then consider adding mailboxes. This gives you the option anytime to select the email address from which to send a message.</li>
372
+ <li style='margin-bottom: 6px;'>Among the range of customizations that make your life flexible, you can also add quick response templates, add predefined subjects for your widget and add message recipients whom copies of all messages will be sent to.</li>
373
+ </ol></p>
374
+ <p>If you hit a stumbling block, reference our <a target="_blank" href="http://support.dropifi.com">support</a> page or get in touch with us through <a href="mailto:support@dropifi.com">support@dropifi.com</a>. We promise to get back to you within a couple of hours.</p>
375
+ </div>
376
+ </div>
377
+
378
+ </div>
379
+
380
+
381
+ </div>
382
+ <?php } ?>
383
+
app/design/frontend/default/default/layout/dropificontactwidget.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <layout version="1.0.0">
2
+ <default>
3
+ <reference name="head">
4
+ <block type="core/template" name="keyforHead" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
5
+ </reference>
6
+ </default>
7
+ </layout>
app/design/frontend/default/default/template/dropifi/dropificontactwidget/dropifiwidget.phtml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <!--start dropifi --><script type='text/javascript' src='https://s3.amazonaws.com/dropifi/js/widget/dropifi_widget.magento.js'></script>
2
+ <script type="text/javascript"><?php $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1); $dmpk = $model->getDropifi_pkey();
3
+ if(Mage::helper('core')->isModuleOutputEnabled('Dropifi_Dropificontactwidget')){ ?>document.renderDropifiWidget('<?php echo $dmpk ?>');<?php
4
+ }else{ ?>document.renderDropifiWidget(''); <?php } ?></script><!--end dropifi -->
5
+
6
+
7
+
app/etc/modules/Dropifi_Dropificontactwidget.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Dropifi_Dropificontactwidget>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Dropifi_Dropificontactwidget>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Dropifi_Dropificontactwidget</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">GNU General Public License (GPL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Spam-free contact form that delivers extensive visitor engagement insight</summary>
10
+ <description>Long, scary and hidden contact us forms deny businesses of valuable leads and feedback. They are also dump and do not offer any customer engagement insight for better business decision making. Dropifi seeks to clear out the era of long and scary contact forms that deny businesses of valuable feedback and leads, whiles delivering business insight and a spam-free experience to customer engagement.&#xD;
11
+ &#xD;
12
+ Using the Dropifi contact widget, companies can see incoming message trending data in relation to industry metrics, see the demographic and social media profiles of the message senders, analyze the real emotions behind the messages they receive and easily integrate with their existing CRMs, e-commerce and blogging platforms. Dropifi's anti-spam technology makes companies' experience interacting with customers spam-free and fun.&#xD;
13
+ &#xD;
14
+ With this tool, companies can generate more business leads, make better business decisions, offer a more personalized and better customer service experience, save time, increase productivity and boost their ROI.&#xD;
15
+ &#xD;
16
+ This is an offical Dropifi plugin which lets you embed the Dropifi javascript integration code in to your pages without touching code. Install the plugin once and you never have to touch it again to make any changes&#xD;
17
+ </description>
18
+ <notes>*This is our first release. Please send bug reports to team@dropifi.com&#xD;
19
+ &#xD;
20
+ * It works with a wide range of magento versions. If you experience any hiccups, email us at support@dropifi.com</notes>
21
+ <authors><author><name>Philips Effah</name><user>philipeffah</user><email>philips@dropifi.com</email></author></authors>
22
+ <date>2013-02-04</date>
23
+ <time>18:48:38</time>
24
+ <contents><target name="magelocal"><dir name="Dropifi"><dir name="Dropificontactwidget"><dir name="Block"><dir name="Adminhtml"><file name="Dropifiblock.php" hash="8496274dce13e75f6543a0925e5bf4a9"/></dir><dir name="Html"><file name="Head.php" hash="05aebd206c8211cc246d3defb2ea99b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="29c56be3badb5136e9b06c05dec6609f"/></dir><dir name="Model"><file name="Dropificontactwidget.php" hash="b533c2d300dc26b0ff2c2bf8ad1d0771"/><dir name="Resource"><dir name="Dropificontactwidget"><file name="Collection.php" hash="c5bbeff5490468d620cfaa8d578a8dc4"/></dir><file name="Dropificontactwidget.php" hash="08492397dc42d03682a0072159bc3171"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DropifiController.php" hash="213e6475d731b37d27d5bbf01e0a89d6"/></dir></dir><dir name="etc"><file name="config.xml" hash="8525567c8869dd23f5c878147180da2c"/></dir><dir name="lib"><file name="dropifi_install.php" hash="a60e92ec427c33fe5c18dcb2589d8761"/></dir><dir name="sql"><dir name="dropifi_dropificontactwidget_setup"><file name="install-1.0.0.php" hash="c41536115e1d036df640499717c6a5cc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dropifi_Dropificontactwidget.xml" hash="bdf74dc5ceafe7dd54cdb6f16d686516"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="07f5896051f4feebe40a90b8ed0e4bf0"/></dir><dir name="template"><dir name="dropifi"><dir name="dropificontactwidget"><file name="dropifiwidget.phtml" hash="bed2ca16deff8ff8a0f70cdd7b6452f0"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="551dd9d3e2f3ab3cac7f75f34da94360"/></dir><dir name="template"><dir name="dropifi"><dir name="dropificontactwidget"><file name="dropifiwidget.phtml" hash="b399442783256f3257008781714ae65e"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><dir name="dropificontactwidget"><file name="dropificss.css" hash="56d279ae63d24d36a8fef9db04383527"/></dir></dir><dir name="images"><dir name="dropificontactwidget"><file name="dropifi_magento.png" hash="5027c63ed0dbb0cd95c8af9614cda745"/></dir></dir></dir></dir></dir></target></contents>
25
+ <compatible/>
26
+ <dependencies><required><php><min>4.0.0</min><max>5.4.11</max></php></required></dependencies>
27
+ </package>
skin/adminhtml/default/default/css/dropificontactwidget/dropificss.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .dropifi_signup_form, .dropifi_login_form { font-size: 15px; line-height: 1.4; background-color: #fff000; }
2
+ .dropifi_success_form, .dropifi_response_div{font-family: 20px; background-color: lime;}
skin/adminhtml/default/default/images/dropificontactwidget/dropifi_magento.png ADDED
Binary file