FreeQuickContact - Version 1.1

Version Notes

Compatible with magento 1.2.x - 1.3.x

Download this release

Release Info

Developer Magento Core Team
Extension FreeQuickContact
Version 1.1
Comparing to
See all releases


Version 1.1

app/code/community/HM/QuickContact/Block/Info.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * aheadWorks Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the EULA
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://ecommerce.aheadworks.com/LICENSE-M1.txt
11
+ *
12
+ * @category AW
13
+ * @package AW_All
14
+ * @copyright Copyright (c) 2003-2009 aheadWorks Co. (http://www.aheadworks.com)
15
+ * @license http://ecommerce.aheadworks.com/LICENSE-M1.txt
16
+ */
17
+
18
+
19
+ class HM_QuickContact_Block_Info extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
20
+ {
21
+ public function render(Varien_Data_Form_Element_Abstract $element)
22
+ {
23
+
24
+ $html = $this->_getHeaderHtml($element);
25
+
26
+ $html.= $this->_getFieldHtml($element);
27
+
28
+ $html .= $this->_getFooterHtml($element);
29
+
30
+ return $html;
31
+ }
32
+
33
+
34
+
35
+ protected function _getFieldHtml($fieldset)
36
+ {
37
+ $content = 'Free Quick Contact v1.1. <a href="http://www.hello-magento.com/quick-contact-extension-for-magento">Click here</a> to purchase full features version.';
38
+ return $content;
39
+ }
40
+ }
app/code/community/HM/QuickContact/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class HM_QuickContact_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/community/HM/QuickContact/controllers/IndexController.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class HM_QuickContact_IndexController extends Mage_Core_Controller_Front_Action
4
+ {
5
+ const XML_PATH_EMAIL_RECIPIENT = 'contacts/email/recipient_email';
6
+ const XML_PATH_EMAIL_SENDER = 'contacts/email/sender_email_identity';
7
+ const XML_PATH_EMAIL_TEMPLATE = 'contacts/email/email_template';
8
+
9
+ public function indexAction()
10
+ {
11
+ $this->loadLayout();
12
+ $this->getLayout()->getBlock('quickcontactForm');
13
+ $this->renderLayout();
14
+ }
15
+
16
+ public function postAction()
17
+ {
18
+ $post = $this->getRequest()->getPost();
19
+ if(!$post) exit;
20
+ $translate = Mage::getSingleton('core/translate');
21
+ $translate->setTranslateInline(false);
22
+ try {
23
+ $postObject = new Varien_Object();
24
+ $postObject->setData($post);
25
+
26
+ if (!Zend_Validate::is(trim($post['name']) , 'NotEmpty')) {
27
+ echo '<div class="error-msg">'.Mage::helper('quickcontact')->__('Please fill in required fields.').'</div>';
28
+ exit;
29
+ }
30
+
31
+ if (!Zend_Validate::is(trim($post['content']) , 'NotEmpty')) {
32
+ echo '<div class="error-msg">'.Mage::helper('quickcontact')->__('Please fill in required fields.').'</div>';
33
+ exit;
34
+ }
35
+
36
+ if (!Zend_Validate::is(trim($post['email']), 'EmailAddress')) {
37
+ echo '<div class="error-msg">'.Mage::helper('quickcontact')->__('Please enter a valid email address. For example johndoe@domain.com.').'</div>';
38
+ exit;
39
+ }
40
+
41
+ if (!isset($postObject['phone']) || strlen($postObject['phone'])<1) {
42
+ $postObject['phone'] = '';
43
+ }
44
+
45
+
46
+ $mailTemplate = Mage::getModel('core/email_template');
47
+ $mailTemplate->setDesignConfig(array('area' => 'frontend'))
48
+ ->setReplyTo($post['email'])
49
+ ->sendTransactional(
50
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_TEMPLATE),
51
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_SENDER),
52
+ Mage::getStoreConfig(self::XML_PATH_EMAIL_RECIPIENT),
53
+ null,
54
+ array('data' => $postObject)
55
+ );
56
+
57
+ if (!$mailTemplate->getSentSuccess()) {
58
+ echo '<div class="error-msg">'.Mage::helper('quickcontact')->__('Unable to submit your request. Please, try again later.').'</div>';
59
+ exit;
60
+ }
61
+ $translate->setTranslateInline(true);
62
+
63
+ echo '<div class="success-msg">'.Mage::helper('quickcontact')->__('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.').'</div>';
64
+ } catch (Exception $e) {
65
+ $translate->setTranslateInline(true);
66
+ echo '<div class="error-msg">'.Mage::helper('quickcontact')->__('Unable to submit your request. Please, try again later.').$e.'</div>';
67
+ exit;
68
+ }
69
+ }
70
+ }
71
+ ?>
app/code/community/HM/QuickContact/etc/config.xml ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+ <HM_QuickContact>
6
+ <version>0.8.0</version>
7
+ </HM_QuickContact>
8
+ </modules>
9
+ <frontend>
10
+ <routers>
11
+ <quickcontact>
12
+ <use>standard</use>
13
+ <args>
14
+ <module>HM_QuickContact</module>
15
+ <frontName>quickcontact</frontName>
16
+ </args>
17
+ </quickcontact>
18
+ </routers>
19
+ <layout>
20
+ <updates>
21
+ <quickcontact>
22
+ <file>quickcontact.xml</file>
23
+ </quickcontact>
24
+ </updates>
25
+ </layout>
26
+ </frontend>
27
+ <global>
28
+ <blocks>
29
+ <quickcontact>
30
+ <class>HM_QuickContact_Block</class>
31
+ </quickcontact>
32
+ </blocks>
33
+ <models>
34
+ <quickcontact>
35
+ <class>HM_QuickContact_Model</class>
36
+ </quickcontact>
37
+ </models>
38
+ <helpers>
39
+ <quickcontact>
40
+ <class>HM_QuickContact_Helper</class>
41
+ </quickcontact>
42
+ </helpers>
43
+ <resources>
44
+ <quickcontact_setup>
45
+ <setup>
46
+ <module>HM_QuickContact</module>
47
+ </setup>
48
+ <connection>
49
+ <use>core_setup</use>
50
+ </connection>
51
+ </quickcontact_setup>
52
+ </resources>
53
+ <template>
54
+ <email>
55
+ <quickcontact_email_email_template translate="label" module="quickcontact">
56
+ <label>Contact Form</label>
57
+ <file>quickcontact_form.html</file>
58
+ <type>text</type>
59
+ </quickcontact_email_email_template>
60
+ </email>
61
+ </template>
62
+ </global>
63
+
64
+ <adminhtml>
65
+ <acl>
66
+ <resources>
67
+ <admin>
68
+ <children>
69
+ <system>
70
+ <children>
71
+ <config>
72
+ <children>
73
+ <quickcontact translate="title" module="quickcontact">
74
+ <title>Quick Contacts Section</title>
75
+ </quickcontact>
76
+ </children>
77
+ </config>
78
+ </children>
79
+ </system>
80
+ </children>
81
+ </admin>
82
+ </resources>
83
+ </acl>
84
+ </adminhtml>
85
+
86
+ <default>
87
+ <quickcontact>
88
+ <email>
89
+ <default_title>Contact Us</default_title>
90
+ <default_subject>Contact Us</default_subject>
91
+ <recipient_email><![CDATA[hello@example.com]]></recipient_email>
92
+ <sender_email_identity>custom2</sender_email_identity>
93
+ <email_template>quickcontact_email_email_template</email_template>
94
+ </email>
95
+ </quickcontact>
96
+ </default>
97
+ </config>
app/code/community/HM/QuickContact/etc/system.xml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category Mage
23
+ * @package Mage_Contacts
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <config>
29
+ <tabs>
30
+ <hellomagento translate="label">
31
+ <label>Hello Magento</label>
32
+ <sort_order>300</sort_order>
33
+ </hellomagento>
34
+ </tabs>
35
+ <sections>
36
+ <quickcontact translate="label" module="quickcontact">
37
+ <label>Quick Contact</label>
38
+ <tab>hellomagento</tab>
39
+ <frontend_type>text</frontend_type>
40
+ <sort_order>100</sort_order>
41
+ <show_in_default>1</show_in_default>
42
+ <show_in_website>1</show_in_website>
43
+ <show_in_store>1</show_in_store>
44
+ <groups>
45
+ <email translate="label">
46
+ <label>Options</label>
47
+ <frontend_type>text</frontend_type>
48
+ <sort_order>10</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ <fields>
53
+ <dock_link translate="label">
54
+ <label>Enable Dock Link</label>
55
+ <frontend_type>select</frontend_type>
56
+ <source_model>adminhtml/system_config_source_yesno</source_model>
57
+ <sort_order>50</sort_order>
58
+ <show_in_default>1</show_in_default>
59
+ <show_in_website>1</show_in_website>
60
+ <show_in_store>1</show_in_store>
61
+ </dock_link>
62
+ </fields>
63
+ </email>
64
+ <info translate="label">
65
+ <label>Info</label>
66
+ <frontend_type>text</frontend_type>
67
+ <frontend_model>quickcontact/info</frontend_model>
68
+ <sort_order>50</sort_order>
69
+ <show_in_default>1</show_in_default>
70
+ <show_in_website>1</show_in_website>
71
+ <show_in_store>1</show_in_store>
72
+ </info>
73
+ </groups>
74
+ </quickcontact>
75
+ </sections>
76
+ </config>
app/design/frontend/default/default/layout/quickcontact.xml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <quickcontact_index_index>
4
+ <reference name="root">
5
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
6
+ <action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
7
+ </reference>
8
+ <reference name="content">
9
+ <block type="core/template" name="quickcontactForm" as="quickcontactForm" template="quickcontact/form.phtml"/>
10
+ </reference>
11
+ </quickcontact_index_index>
12
+
13
+ <default>
14
+ <reference name="head">
15
+ <action method="addJs"><script>quickContact/jquery.js</script></action>
16
+ <action method="addJs"><script>quickContact/jquery_noconflict.js</script></action>
17
+ <action method="addJs"><script>quickContact/modalwindow.js</script></action>
18
+ <action method="addJs"><script>quickContact/quickContact.js</script></action>
19
+ </reference>
20
+
21
+ <reference name="content">
22
+ <block type="core/template" name="quickcontactForm" template="quickcontact/form.phtml"/>
23
+ </reference>
24
+ </default>
25
+ </layout>
app/design/frontend/default/default/template/quickcontact/form.phtml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ #mask {
3
+ position:absolute;
4
+ left:0;
5
+ top:0;
6
+ z-index:9000;
7
+ background-color:#000;
8
+ display:none;
9
+ }
10
+
11
+ #modalwindow .window {
12
+ position:absolute;
13
+ left:0;
14
+ top:0;
15
+ display:none;
16
+ z-index:9999;
17
+ }
18
+
19
+ #modalwindow .dialog_content {
20
+ padding:20px;
21
+ }
22
+
23
+ #modalwindow #dialog {
24
+ background-color: #FFF;
25
+ min-width:500px;
26
+ }
27
+ .docklink{
28
+ padding: 16px 43px 84px 0;
29
+ background:url('<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback.png')?>') no-repeat;
30
+ }
31
+ .bo_docklink a:hover{
32
+ background:url('<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback_hover.png')?>') no-repeat;
33
+ padding-right: 50px;
34
+ }
35
+ </style>
36
+ <link type="text/css" href="<?php echo $this->getSkinUrl('quickcontact/css/form-contact.css') ?>" rel="stylesheet">
37
+
38
+ <?php if(Mage::getStoreConfig('quickcontact/email/dock_link')): ?>
39
+ <div style="display:none;"><img src="<?php echo $this->getSkinUrl('quickcontact/images/btn_feedback_hover.png')?>"></div>
40
+ <div style="position:fixed; left:0px; top:200px;" class="bo_docklink"><a class="docklink" href="#dialog" name="modal"></a></div>
41
+ <?php endif; ?>
42
+
43
+ <div id="modalwindow">
44
+
45
+ <div id="dialog" class="window">
46
+
47
+ <script>$_SKIN_URL = '<?php echo $this->getSkinUrl();?>';</script>
48
+
49
+ <div class="form-quick-contact">
50
+ <div style="padding-right:30px;">
51
+
52
+ <div class="title"><h1 id="quick_contact_title"><?php echo Mage::getStoreConfig("quickcontact/email/default_title") ?></h1></div>
53
+ <form action="<?php echo $this->getUrl('quickcontact/index/post'); ?>" method="post" name="contactform" id="contactform">
54
+ <input type="hidden" id="page_title" name="page_title" value="<?php echo $this->getLayout()->getBlock('head')->getTitle(); ?>"/>
55
+ <input type="hidden" id="page_link" name="page_link" value="<?php echo Mage::helper('core/url')->getCurrentUrl() ;?>"/>
56
+
57
+ <?php $allows = Mage::getStoreConfig("quickcontact/email/allow_fields"); ?>
58
+
59
+ <input type="hidden" id="send_email_to" name="send_email_to" value="">
60
+ <input type="hidden" name="contact_type_title" id="contact_type_title" value="">
61
+ <script language="javascript">
62
+ function changeEmail(email,type){
63
+ document.getElementById('send_email_to').value = email;
64
+ document.getElementById('contact_type_title').value = type;
65
+ }
66
+ function changeTitle(value){
67
+ document.getElementById('quick_contact_title').innerHTML = value;
68
+ }
69
+ </script>
70
+ <?php
71
+ if (strstr($allows,'contact_type')!='' && Mage::getStoreConfig("quickcontact/email/contact_type_ua_regexp")):
72
+ $contact_types = unserialize(Mage::getStoreConfig("quickcontact/email/contact_type_ua_regexp"));
73
+ ?>
74
+
75
+ <div class="radio">
76
+ <ul>
77
+ <?php
78
+ $i=0; foreach ($contact_types as $contact_type):
79
+ if ($i==0):
80
+ ?>
81
+ <script>
82
+ em = '<?php echo $contact_type['email']?>';
83
+ tp = '<?php echo $contact_type['type']?>';
84
+ </script>
85
+ <?php endif; ?>
86
+ <li class="radio-box"><input class="radio-check" type="radio" id="contact_type<?php echo $i; ?>" name="contact_type" value="<?php echo $contact_type['title']?>" onchange="changeEmail('<?php echo $contact_type['email']?>','<?php echo $contact_type['type']?>');changeTitle(this.value);">
87
+ <label for="contact_type<?php echo $i; ?>"><?php echo $contact_type['type']?></label></li>
88
+ <?php
89
+ $i++;
90
+ endforeach;
91
+ ?>
92
+ </ul>
93
+ </div>
94
+ <br/>
95
+ <script language="javascript">
96
+ document.getElementById('contact_type0').checked = true;
97
+ changeEmail(em,tp);
98
+ changeTitle(document.getElementById('contact_type0').value);
99
+ </script>
100
+ <?php endif; ?>
101
+
102
+
103
+ <div class="text">
104
+ <div class="info-txt"> Your Name <span style="color:#ff0000;">*</span></div>
105
+ <div class="info-txt"> Your Email <span style="color:#ff0000;">*</span></div>
106
+ <div class="info-txt" <?php if (strstr($allows,'phone')=='') echo ' style="display:none; "' ?>> Your Phone </div>
107
+ <div class="info-txt" <?php if (strstr($allows,'subject')=='') echo ' style="display:none; "' ?>> Subject </div>
108
+ </div>
109
+
110
+ <div class="input">
111
+ <input class="input-text textbox" value="<?php if(Mage::helper('customer')->isLoggedIn()) echo Mage::getSingleton('customer/session', array('name'=>'frontend'))->getCustomer()->getName()?>" type="text" name="name" id="name"/>
112
+ <input class="input-text textbox" value="<?php if(Mage::helper('customer')->isLoggedIn()) echo Mage::getSingleton('customer/session', array('name'=>'frontend'))->getCustomer()->getEmail()?>" type="text" name="email" id="email"/>
113
+ <input class="input-text textbox" type="<?php echo strstr($allows,'phone')?'text':'hidden' ?>" name="phone" id="phone" value=""/>
114
+ <input class="input-text textbox" style="width:440px" type="<?php echo strstr($allows,'subject')?'text':'hidden' ?>" name="subject" id="subject" value=""/>
115
+ </div>
116
+ <div style="clear:both"><span></span></div>
117
+ <div class="text-area">
118
+ <p class="hm_content">Content <span style="color:#ff0000;">*</span></p>
119
+ <textarea name="content" id="content" class="input-text" rows="10" cols="64"></textarea>
120
+ </div>
121
+
122
+ <?php if (!Mage::helper('customer')->isLoggedIn()): ?>
123
+ <?php if (Mage::getStoreConfig("quickcontact/recaptcha/enabled")==true): ?>
124
+ <div class="capcha"><div class="label"><span>Security Code <span style="color:#ff0000;">*</span></span> <input class="input-text textbox" type="text" id="security_code" name="security_code"/></div>
125
+ <?php
126
+ $im = imagecreate(60, 20);
127
+ $bg = imagecolorallocate($im, 0 , 0, 0);
128
+ $textcolor = imagecolorallocate($im, 255, 255, 255);
129
+ $random=rand(1000,9999);
130
+ imagestring($im, 10, 10, 2, $random , $textcolor);
131
+ $filenametemp="gif".time().".gif";
132
+ ImageGIF($im, $filenametemp);
133
+ $ImageData = file_get_contents($filenametemp);
134
+ $ImageDataEnc = base64_encode($ImageData);
135
+ unlink($filenametemp);
136
+ ?>
137
+ <img id="security_image" src="data:image/gif;base64,<?php echo $ImageDataEnc?>">
138
+ <input type="hidden" name="codemd5" id="codemd5" value="<?php echo md5($random)?>"/>
139
+
140
+ </div>
141
+ <?php else: ?>
142
+ <input type="hidden" name="codemd5" id="codemd5" value=""/>
143
+ <?php endif; ?>
144
+ <?php else: ?>
145
+ <input type="hidden" name="codemd5" id="codemd5" value=""/>
146
+ <?php endif; ?>
147
+
148
+ <div class="submit">
149
+ <input id="submit" type="image" src="<?php echo $this->getSkinUrl('quickcontact/images/submit.jpg')?>"> <a href="#" class="close"><img src="<?php echo $this->getSkinUrl('quickcontact/images/close.jpg')?>" /></a> </div>
150
+
151
+ </form>
152
+ </div>
153
+ </div>
154
+
155
+ </div>
156
+ <div id="mask"></div>
157
+
158
+
159
+ </div>
160
+ <script type="text/javascript">
161
+ var contactform = new VarienForm('contactform', true);
162
+ </script>
163
+
164
+
165
+
166
+
167
+
app/etc/modules/HM_QuickContact.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <HM_QuickContact>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </HM_QuickContact>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>FreeQuickContact</name>
4
+ <version>1.1</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Quick Contact - Free Frontend Version</summary>
10
+ <description>Quick Contact allow customers send the feadback to your site in easiest and fastest way.</description>
11
+ <notes>Compatible with magento 1.2.x - 1.3.x</notes>
12
+ <authors><author><name>Hai NGUYEN</name><user>auto-converted</user><email>haint@hello-magento.com</email></author></authors>
13
+ <date>2009-09-18</date>
14
+ <time>02:53:56</time>
15
+ <contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="quickcontact.xml" hash="7b7bbb2a2b7cb7d5fc804db023b26709"/></dir><dir name="template"><dir name="quickcontact"><file name="form.phtml" hash="e63038eb61f791dbacafa75fb5c33b39"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="quickcontact"><dir name="css"><file name="form-contact.css" hash="61b86b3b0c1682884d12ee128e0103f0"/></dir><dir name="images"><file name="bg-form.jpg" hash="3362a2c545720e6d6d0046428837f113"/><file name="btn_feedback.png" hash="bc8c806af4349a12b8236272025c0cc7"/><file name="btn_feedback_hover.png" hash="28d7d7a5fc21f47b5280019e8c9a50f3"/><file name="close.jpg" hash="0b58262e22995510793e7e4c8388639c"/><file name="close1.jpg" hash="2877fee2bb8c694ce0a13c412c3ef185"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="submit.jpg" hash="55589899a7a6aa62dd7be7bc2b67da65"/><file name="submit1.jpg" hash="9dc8e40a7970bedae051539aa41c025a"/><file name="Thumbs.db" hash="03590ebd40f08c1f44a05647dc4f8782"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="HM"><dir name="QuickContact"><dir name="Block"><file name="Info.php" hash="27f102616b9db04ea8a8f7da42d8d579"/></dir><dir name="controllers"><file name="IndexController.php" hash="160dbf86275f06434f8a91bf4487f2c3"/></dir><dir name="etc"><file name="config.xml" hash="ac23ca861bba3f165e895685361929b5"/><file name="system.xml" hash="c91abd5e5052ff42219ae024fa1ee87d"/></dir><dir name="Helper"><file name="Data.php" hash="54740f25c2c9efb888534cf30e593762"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="HM_QuickContact.xml" hash="1229888af1f37ebd51af70e5a32f6deb"/></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies/>
18
+ </package>
skin/frontend/default/default/quickcontact/css/form-contact.css ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+
5
+ .form-quick-contact {background:#f8f8f8 url(../images/bg-form.jpg) no-repeat;width:578px;border:1px solid #c5c5c5;padding-left:45px;font-size:12px;}
6
+ .form-quick-contact .response {display:block; padding-top:20px;}
7
+ .form-quick-contact .title{margin-top:30px; padding-bottom:20px;}
8
+ .form-quick-contact .title h1{color:#0A263C; font-weight:800; padding-left:60px; font-size:2em;}
9
+ .form-quick-contact .radio{color:#5e8096; font-weight:bold; font-family:fantasy; font-size:13px; padding-bottom:20px;}
10
+ .form-quick-contact .radio .radio-box{width:135px; float:left;}
11
+ .form-quick-contact .radio .radio-check{}
12
+ .form-quick-contact .text{padding:0;float:left;width:90px;line-height:20px; font-size:13px;}
13
+ .form-quick-contact .input{float:left;width:300px;line-height:20px;}
14
+ .form-quick-contact .text .info-txt{width:100px;padding-bottom:12px;color:#666666;vertical-align:middle;}
15
+ .form-quick-contact .input .textbox{margin-bottom:12px;width:250px;border:1px solid #B6B6B6;}
16
+ .form-quick-contact .capcha .textbox{width:60px;border:1px solid #B6B6B6;}
17
+ .form-quick-contact .capcha .label{float:left;}
18
+ .form-quick-contact #security_image{margin-left:5px;margin-top:1px;}
19
+ .form-quick-contact .capcha{padding-top:10px;color:#5e8096;font-weight:bold;font-family:fantasy;margin-bottom:10px}
20
+ .form-quick-contact .hm_content{color:#5e8096;font-weight:bold;font-family:fantasy;margin-bottom:10px}
21
+ .form-quick-contact .text-area textarea {border:1px solid #B6B6B6; width: 530px;}
22
+ .form-quick-contact .submit {text-align:right;padding:10px 0 10px 10px;}
23
+ .form-quick-contact .submit input{vertical-align: top;}
24
+ .form-quick-contact .submit a{}
25
+ .form-quick-contact .submit a img{border:none}
26
+
skin/frontend/default/default/quickcontact/images/Thumbs.db ADDED
Binary file
skin/frontend/default/default/quickcontact/images/bg-form.jpg ADDED
Binary file
skin/frontend/default/default/quickcontact/images/btn_feedback.png ADDED
Binary file
skin/frontend/default/default/quickcontact/images/btn_feedback_hover.png ADDED
Binary file
skin/frontend/default/default/quickcontact/images/close.jpg ADDED
Binary file
skin/frontend/default/default/quickcontact/images/close1.jpg ADDED
Binary file
skin/frontend/default/default/quickcontact/images/opc-ajax-loader.gif ADDED
Binary file
skin/frontend/default/default/quickcontact/images/submit.jpg ADDED
Binary file
skin/frontend/default/default/quickcontact/images/submit1.jpg ADDED
Binary file