Version Notes
-Bug Fixes
Download this release
Release Info
Developer | Biztech |
Extension | easymaintanance_module |
Version | 0.1.4 |
Comparing to | |
See all releases |
Code changes from version 0.1.3 to 0.1.4
- app/code/local/Biztech/Easymaintanance/etc/config.xml +1 -1
- app/code/local/Biztech/Easymaintanance/sql/easymaintanance_setup/mysql4-upgrade-0.1.2-0.1.3.php +1 -1
- app/code/local/Biztech/Easymaintanance/sql/easymaintanance_setup/mysql4-upgrade-0.1.3-0.1.4.php +19 -0
- app/design/frontend/default/default/template/easymaintanance/Thumbs.db +0 -0
- app/design/frontend/default/default/template/easymaintanance/easymaintanance.phtml +165 -0
- app/design/frontend/default/default/template/easymaintanance/notify.phtml +54 -0
- app/design/frontend/default/default/template/easymaintanance/popup_html.phtml +58 -0
- package.xml +4 -4
app/code/local/Biztech/Easymaintanance/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Biztech_Easymaintanance>
|
13 |
-
<version>0.1.
|
14 |
</Biztech_Easymaintanance>
|
15 |
</modules>
|
16 |
<frontend>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Biztech_Easymaintanance>
|
13 |
+
<version>0.1.4</version>
|
14 |
</Biztech_Easymaintanance>
|
15 |
</modules>
|
16 |
<frontend>
|
app/code/local/Biztech/Easymaintanance/sql/easymaintanance_setup/mysql4-upgrade-0.1.2-0.1.3.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
|
7 |
$installer->run("
|
8 |
|
9 |
-
|
10 |
CREATE TABLE {$this->getTable('easysite_notify')} (
|
11 |
`notification_id` int(11) unsigned NOT NULL auto_increment,
|
12 |
`name` varchar(255) NOT NULL default '',
|
6 |
|
7 |
$installer->run("
|
8 |
|
9 |
+
DROP TABLE IF EXISTS {$this->getTable('easysite_notify')};
|
10 |
CREATE TABLE {$this->getTable('easysite_notify')} (
|
11 |
`notification_id` int(11) unsigned NOT NULL auto_increment,
|
12 |
`name` varchar(255) NOT NULL default '',
|
app/code/local/Biztech/Easymaintanance/sql/easymaintanance_setup/mysql4-upgrade-0.1.3-0.1.4.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$installer = $this;
|
4 |
+
|
5 |
+
$installer->startSetup();
|
6 |
+
|
7 |
+
$installer->run("
|
8 |
+
|
9 |
+
DROP TABLE IF EXISTS {$this->getTable('easysite_notify')};
|
10 |
+
CREATE TABLE {$this->getTable('easysite_notify')} (
|
11 |
+
`notification_id` int(11) unsigned NOT NULL auto_increment,
|
12 |
+
`name` varchar(255) NOT NULL default '',
|
13 |
+
`email` varchar(255) NOT NULL default '',
|
14 |
+
PRIMARY KEY (`notification_id`)
|
15 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
16 |
+
|
17 |
+
");
|
18 |
+
|
19 |
+
$installer->endSetup();
|
app/design/frontend/default/default/template/easymaintanance/Thumbs.db
ADDED
Binary file
|
app/design/frontend/default/default/template/easymaintanance/easymaintanance.phtml
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php /* ?>
|
2 |
+
<script language="javascript" type="text/javascript">setTimeout("location.reload();",20000);</script>
|
3 |
+
<?php */ ?>
|
4 |
+
<?php $storeId = Mage::app()->getStore()->getStoreId(); ?>
|
5 |
+
<html>
|
6 |
+
<head>
|
7 |
+
<title>
|
8 |
+
<?php
|
9 |
+
if(Mage::getStoreConfig('easymaintanance/general/page_title',$storeId) != ''){
|
10 |
+
echo strip_tags(Mage::getStoreConfig('easymaintanance/general/page_title',$storeId),NULL);
|
11 |
+
}
|
12 |
+
else{
|
13 |
+
echo $this->__('Store Maintenance');
|
14 |
+
}
|
15 |
+
?>
|
16 |
+
</title>
|
17 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("easymaintanance/css/easymaintanance.css") ?>">
|
18 |
+
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico'); ?>" type="image/x-icon" />
|
19 |
+
<?php if (Mage::getStoreConfig('easymaintanance/contactus/active', $storeId) == 1 || Mage::getStoreConfig('easymaintanance/notify/active', $storeId) == 1 ): ?>
|
20 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("easymaintanance/css/popup.css") ?>">
|
21 |
+
<script src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "prototype/prototype.js" ?>"></script>
|
22 |
+
<script src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "prototype/effects.js" ?>"></script>
|
23 |
+
<script src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "prototype/validation.js" ?>"></script>
|
24 |
+
<script src="<?php echo $this->getSkinUrl("easymaintanance/js/popup.js") ?>"></script>
|
25 |
+
<?php endif; ?>
|
26 |
+
</head>
|
27 |
+
<?php if(Mage::getStoreConfig('easymaintanance/timer/timer_enabled',$storeId) == 1): ?>
|
28 |
+
<body onLoad="countdown(year,month,day,hour,minute)" <?php if(isset($image_path)){ ?>style="background-image: url(<?php echo $image_path ?>); filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
|
29 |
+
src='<?php echo $image_path ?>', sizingMethod='scale'); -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $image_path ?>',sizingMethod='scale'); " <?php } ?>>
|
30 |
+
<?php else: ?>
|
31 |
+
<body <?php if(isset($image_path)){ ?>style="background-image: url(<?php echo $image_path ?>); filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
|
32 |
+
src='<?php echo $image_path ?>', sizingMethod='scale'); -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $image_path ?>',sizingMethod='scale') ;" <?php } ?>>
|
33 |
+
<?php endif; ?>
|
34 |
+
|
35 |
+
<div class="main-container">
|
36 |
+
<?php
|
37 |
+
if(Mage::getStoreConfig('easymaintanance/general/logo')){
|
38 |
+
$width = Mage::getStoreConfig('easymaintanance/general/logo_width');
|
39 |
+
if(!$width)
|
40 |
+
$width = 80;
|
41 |
+
$height = Mage::getStoreConfig('easymaintanance/general/logo_height');
|
42 |
+
if(!$height)
|
43 |
+
$height = 80;
|
44 |
+
?>
|
45 |
+
<div>
|
46 |
+
|
47 |
+
<img height="<?php echo $height; ?>px" width="<?php echo $width; ?>px" src="<?php echo Mage::getBaseUrl('media').'easysitemaintenance/'. Mage::getStoreConfig('easymaintanance/general/logo'); ?>" alt="Easysitemaintenance Logo">
|
48 |
+
</div>
|
49 |
+
<?php } ?>
|
50 |
+
<?php
|
51 |
+
$date = Mage::getStoreConfig('easymaintanance/timer/timer_date',$storeId);
|
52 |
+
$formatedDate = date('m/d/Y',strtotime($date));
|
53 |
+
$date = explode('/', $formatedDate);
|
54 |
+
$year = $date[2];
|
55 |
+
$month = $date[0];
|
56 |
+
$day = $date[1];
|
57 |
+
$hour = Mage::getStoreConfig('easymaintanance/timer/timer_hour',$storeId);
|
58 |
+
$min1 = Mage::getStoreConfig('easymaintanance/timer/timer_min',$storeId);
|
59 |
+
|
60 |
+
$day = floor ($min1 / 1440);
|
61 |
+
$hour1 = floor (($min1 - $day * 1440) / 60);
|
62 |
+
$min = $min1 - ($day * 1440) - ($hour1 * 60);
|
63 |
+
|
64 |
+
$finaldate = date('m/d/Y', strtotime($formatedDate. ' + '.$day.' days'));
|
65 |
+
$date = explode('/', $finaldate);
|
66 |
+
$year = $date[2];
|
67 |
+
$month = $date[0];
|
68 |
+
$day = $date[1];
|
69 |
+
$hour += $hour1;
|
70 |
+
?>
|
71 |
+
<?php
|
72 |
+
|
73 |
+
$helper = Mage::helper('cms');
|
74 |
+
$processor = $helper->getPageTemplateProcessor();
|
75 |
+
$maintenancePage = $processor->filter(trim(Mage::getStoreConfig('easymaintanance/general/maintenanceHtml',$storeId)));
|
76 |
+
// $maintenancePage = trim(Mage::getStoreConfig('easymaintanance/general/maintenanceHtml',$storeId));
|
77 |
+
echo $maintenancePage;
|
78 |
+
?>
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
<?php
|
83 |
+
$bg_image = Mage::getStoreConfig('easymaintanance/general/background_image',$storeId);
|
84 |
+
if(isset($bg_image) && $bg_image != null )
|
85 |
+
{
|
86 |
+
$image_path = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'easysitemaintenance/'.$bg_image;
|
87 |
+
}
|
88 |
+
?>
|
89 |
+
<?php if(Mage::getStoreConfig('easymaintanance/timer/timer_enabled',$storeId) == 1): ?>
|
90 |
+
<div class="message clearfix" id="timer-text">
|
91 |
+
<?php $text = Mage::getStoreConfig('easymaintanance/timer/timer_text',$storeId); ?>
|
92 |
+
<h2 id="launch-text"><?php echo $text; ?></h2>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
|
96 |
+
<script type="text/javascript">
|
97 |
+
|
98 |
+
var current="Time is over!";
|
99 |
+
var year='<?php echo $year; ?>';
|
100 |
+
var month='<?php echo $month; ?>';
|
101 |
+
var day='<?php echo $day; ?>';
|
102 |
+
var hour='<?php echo $hour; ?>';
|
103 |
+
var minute='<?php echo $min; ?>';
|
104 |
+
// DO NOT CHANGE THE CODE BELOW!
|
105 |
+
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
|
106 |
+
function countdown(yr,m,d,hr,min){
|
107 |
+
|
108 |
+
theyear=yr;themonth=m;theday=d;thehour=hr;theminute=min;
|
109 |
+
var today=new Date();
|
110 |
+
var todayy=today.getYear();
|
111 |
+
if (todayy < 1000)
|
112 |
+
todayy+=1900;
|
113 |
+
var todaym=today.getMonth();
|
114 |
+
var todayd=today.getDate();
|
115 |
+
var todayh=today.getHours();
|
116 |
+
var todaymin=today.getMinutes();
|
117 |
+
var todaysec=today.getSeconds();
|
118 |
+
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec;
|
119 |
+
var futurestring=montharray[m-1]+" "+d+", "+yr+" "+hr+":"+min+":"+"00";
|
120 |
+
var dd=Date.parse(futurestring)-Date.parse(todaystring);
|
121 |
+
var dday=Math.floor(dd/(60*60*1000*24)*1);
|
122 |
+
var dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1);
|
123 |
+
var dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);
|
124 |
+
var dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);
|
125 |
+
if (dday <= 0 && dhour <= 0 && dmin <= 0 && dsec <= 0) {
|
126 |
+
document.getElementById('timer-text').style.display = "none";
|
127 |
+
document.getElementById('timer-table').style.display = "none";
|
128 |
+
|
129 |
+
}
|
130 |
+
if(dday == 0 && dhour == 0 && dmin == 0 && dsec == 0)
|
131 |
+
{
|
132 |
+
var url = "<?php echo $this->getUrl('easymaintanance/index/checkTimer/'); ?>";
|
133 |
+
new Ajax.Request(url, {
|
134 |
+
onSuccess: function(data) {
|
135 |
+
if (data.responseText !== null) {
|
136 |
+
window.location.reload();
|
137 |
+
}
|
138 |
+
}
|
139 |
+
});
|
140 |
+
}
|
141 |
+
else {
|
142 |
+
document.getElementById('count2').style.display="none";
|
143 |
+
document.getElementById('dday').innerHTML=dday;
|
144 |
+
document.getElementById('dhour').innerHTML=dhour;
|
145 |
+
document.getElementById('dmin').innerHTML=dmin;
|
146 |
+
document.getElementById('dsec').innerHTML=dsec;
|
147 |
+
setTimeout("countdown(theyear,themonth,theday,thehour,theminute)",1000);
|
148 |
+
}
|
149 |
+
|
150 |
+
}
|
151 |
+
</script>
|
152 |
+
|
153 |
+
<div class="countdown" >
|
154 |
+
<div class="timer" id="timer-table">
|
155 |
+
<div class="numbers" id="count2" style="padding: 5px 0 0 0; "></div>
|
156 |
+
<div><strong id="dday"></strong>Days</div>
|
157 |
+
<div><strong id="dhour"></strong>Hours</div>
|
158 |
+
<div><strong id="dmin"></strong>Minutes</div>
|
159 |
+
<div class="last"><strong id="dsec"></strong>Seconds</div>
|
160 |
+
</div>
|
161 |
+
</div>
|
162 |
+
<?php endif; ?>
|
163 |
+
</div>
|
164 |
+
</body>
|
165 |
+
</html>
|
app/design/frontend/default/default/template/easymaintanance/notify.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$customer=Mage::helper('customer');
|
3 |
+
if($customer->isLoggedIn()){
|
4 |
+
$name=Mage::getSingleton('customer/session')->getCustomer()->getName();
|
5 |
+
$email=Mage::getSingleton('customer/session')->getCustomer()->getEmail();
|
6 |
+
}else{
|
7 |
+
$name = '';
|
8 |
+
$email = '';
|
9 |
+
}
|
10 |
+
?>
|
11 |
+
<div id="backgroundpopup" class="background-opacity" style="display: none; background: none repeat scroll 0% 0% rgb(0, 0, 0);"></div>
|
12 |
+
<div id="notify_information" class="notification-container">
|
13 |
+
|
14 |
+
<?php
|
15 |
+
$storeId = Mage::app()->getStore()->getStoreId();
|
16 |
+
$title = Mage::getStoreConfig('easymaintanance/notify/title',$storeId);
|
17 |
+
$message = Mage::getStoreConfig('easymaintanance/notify/message',$storeId);
|
18 |
+
|
19 |
+
isset($title) ? $title : 'Notify Me';
|
20 |
+
?>
|
21 |
+
<div class="notification-title"> <?php echo $title ?> <?php if(isset($message) && $message != null): ?>
|
22 |
+
<span class="notification-message"> <?php echo $message ?> </span>
|
23 |
+
<?php endif; ?></div>
|
24 |
+
|
25 |
+
<div class="notification-content">
|
26 |
+
<form action="<?php echo $this->getUrl("easymaintanance/index/postnotify") ?>" method="post" id="frm_notify">
|
27 |
+
<div id="success_message_notify" style="display: none;" class="message success-msg"></div>
|
28 |
+
<ul class="form-list" id="notify_options">
|
29 |
+
<li>
|
30 |
+
<label for="fname"><?php echo $this->__('Your Full Name').":" ?> <span class="required">*</span></label>
|
31 |
+
<input name="notifyuname" value="<?php echo $this->htmlEscape($name) ?>" title="<?php echo $this->__('Name') ?>" id="notifyfname" type="text" class="input-text required-entry" />
|
32 |
+
</li>
|
33 |
+
<li>
|
34 |
+
<label for="email"><?php echo $this->__('Your E-mail').":" ?> <span class="required">*</span></label>
|
35 |
+
<input name="notifymail" value="<?php echo $this->htmlEscape($email) ?>" title="<?php echo $this->__('Email Address') ?>" id="notifyemail" type="text" class="input-text required-entry validate-email" />
|
36 |
+
</li>
|
37 |
+
<li>
|
38 |
+
<button id="notifybtnsubmit" name="notifybtnsubmit" type="button" class="button-feedback" onclick="easysiteNotify('<?php echo $this->getUrl("easymaintanance/index/postnotify"); ?>')">
|
39 |
+
<span><span><?php echo $this->__('Submit') ?></span></span></button>
|
40 |
+
<span id="loader_notify" class="loader-feedback" style="display: none; ">
|
41 |
+
<img src="<?php echo $this->getSkinUrl('easymaintanance/images/loader.gif') ?>" alt='' title=''/></span>
|
42 |
+
</li>
|
43 |
+
</ul>
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
</form>
|
48 |
+
|
49 |
+
<script type="text/javascript">
|
50 |
+
var notify_form = new Validation($('frm_notify'));
|
51 |
+
</script>
|
52 |
+
</div>
|
53 |
+
|
54 |
+
</div>
|
app/design/frontend/default/default/template/easymaintanance/popup_html.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$config = Mage::getStoreConfig('easymaintanance/contactus/active');
|
3 |
+
$customer=Mage::helper('customer');
|
4 |
+
if($customer->isLoggedIn()){
|
5 |
+
$name=Mage::getSingleton('customer/session')->getCustomer()->getName();
|
6 |
+
$email=Mage::getSingleton('customer/session')->getCustomer()->getEmail();
|
7 |
+
}else{
|
8 |
+
$name = '';
|
9 |
+
$email = '';
|
10 |
+
}
|
11 |
+
?>
|
12 |
+
<?php if($config=="1") { ?>
|
13 |
+
<div class="side-feedback">
|
14 |
+
<a href="javascript:void(0)" onclick="openFeedbackWindow('feedback_information')" title="Feedback" id="link_feedback"></a>
|
15 |
+
</div>
|
16 |
+
<div id="backgroundpopup" class="background-opacity" style="display: none; background: none repeat scroll 0% 0% rgb(0, 0, 0);"></div>
|
17 |
+
<div style="display: none;" id="feedback_information" class="feedback-container">
|
18 |
+
<a class="feedback_close" title="close" href="#" onclick="closeFeedbackWindow('feedback_information'); return false;"></a>
|
19 |
+
<div class="feedback-popup-content">
|
20 |
+
<div class="feedback-title"> <?php echo $this->__('Contact Us') ?> </div>
|
21 |
+
<div class="feedback-content">
|
22 |
+
<form action="<?php echo $this->getUrl("easymaintanance/index/postFeedback") ?>" method="post" id="frm_feedback">
|
23 |
+
<div id="success_message" style="display: none;" class="feedback-success-msg"></div>
|
24 |
+
|
25 |
+
|
26 |
+
<ul class="form-list" id="feedback_options">
|
27 |
+
<li>
|
28 |
+
<label for="fname"><?php echo $this->__('Your Full Name').":" ?> <span class="required">*</span></label>
|
29 |
+
<input name="feedbackbuname" value="<?php echo $this->htmlEscape($name) ?>" title="<?php echo $this->__('Name') ?>" id="fname" type="text" class="input-text required-entry" />
|
30 |
+
</li>
|
31 |
+
<li>
|
32 |
+
<label for="email"><?php echo $this->__('Your E-mail').":" ?> <span class="required">*</span></label>
|
33 |
+
<input name="feedbackmail" value="<?php echo $this->htmlEscape($email) ?>" title="<?php echo $this->__('Email Address') ?>" id="email" type="text" class="input-text required-entry validate-email" />
|
34 |
+
</li>
|
35 |
+
<li>
|
36 |
+
<label for="heard_about_us"><?php echo $this->__('Where did you hear about us')."?" ?></label>
|
37 |
+
<input name="feedbackheard" value="" title="<?php echo $this->__('Email Address') ?>" id="heard_about_us" type="text" class="input-text" />
|
38 |
+
</li>
|
39 |
+
<li>
|
40 |
+
<label for="details"><?php echo $this->__('Details').":" ?> <span class="required">*</span></label>
|
41 |
+
<textarea id="details" class="input-text required-entry" name="feedbackdetails" rows="10" col="50"></textarea>
|
42 |
+
</li>
|
43 |
+
<li>
|
44 |
+
<button id="btnsubmit" name="btnsubmit" type="button" class="button-feedback" onclick="sendFeedback('<?php echo $this->getUrl("easymaintanance/index/postFeedback"); ?>')">
|
45 |
+
<span><span><?php echo $this->__('Submit') ?></span></span></button>
|
46 |
+
<span id="loader" class="loader-feedback" style="display: none;">
|
47 |
+
<img src="<?php echo $this->getSkinUrl('easymaintanance/images/loader.gif') ?>" alt='' title=''/></span>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
</form>
|
51 |
+
|
52 |
+
<script type="text/javascript">
|
53 |
+
var feedback_form = new Validation($('frm_feedback'));
|
54 |
+
</script>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<?php } ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easymaintanance_module</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -19,9 +19,9 @@ Features
|
|
19 |
</description>
|
20 |
<notes>-Bug Fixes</notes>
|
21 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
22 |
-
<date>2015-06-
|
23 |
-
<time>11:
|
24 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Biztech_Easymaintanance.xml" hash="bb1ccb318bbbe160a71018e503d10b9b"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Easymaintanance"><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><dir name="Edit"><file name="Form.php" hash="1f5938a0215bb518db8153c39337cb11"/><dir name="Tab"><file name="Form.php" hash="ed8af40e323fbadc783f8673cd4b7963"/></dir><file name="Tabs.php" hash="039e86181e626be2582605b658665f20"/></dir><file name="Edit.php" hash="18b110d04a96829e147fddcb38acf8d4"/><file name="Grid.php" hash="88e821c9010ee5e4f6aead535a941c16"/></dir><file name="Notification.php" hash="109032e325e5c4e4e4473e964a4eaeea"/><dir name="System"><dir name="Config"><file name="Date.php" hash="03c969990d1dcabae3645a59793cd50d"/><file name="Editor.php" hash="b1c1cdb34820495f0c811caa07ad4272"/></dir></dir></dir><file name="Feedback.php" hash="827f19a5a94483c876070312cdbe8e0f"/><file name="Notification.php" hash="889ddbf6db504e8fa10bb344b13d3850"/></dir><dir name="Helper"><file name="Data.php" hash="7dc793440c9cb5bbeab249471af0cea6"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Notification"><file name="Collection.php" hash="2629949da947bc6259fa5152c568a218"/></dir><file name="Notification.php" hash="4b166830cac8797e5101b8958a456e6f"/></dir><file name="Notification.php" hash="dc098194e853545378e9d2d95b819a73"/><file name="Observer.php" hash="631c5d6c0838cfac61b0f40cbf9d4361"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="NotificationController.php" hash="4c2a3da26d670f6b16141deefeb0f11c"/></dir><file name="IndexController.php" hash="d486a34ad8aa9ac902d9a74cfe965b97"/></dir><dir name="etc"><file name="config.xml" hash="
|
25 |
<compatible/>
|
26 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
27 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easymaintanance_module</name>
|
4 |
+
<version>0.1.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
19 |
</description>
|
20 |
<notes>-Bug Fixes</notes>
|
21 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
22 |
+
<date>2015-06-19</date>
|
23 |
+
<time>05:11:42</time>
|
24 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Biztech_Easymaintanance.xml" hash="bb1ccb318bbbe160a71018e503d10b9b"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Easymaintanance"><dir name="Block"><dir name="Adminhtml"><dir name="Notification"><dir name="Edit"><file name="Form.php" hash="1f5938a0215bb518db8153c39337cb11"/><dir name="Tab"><file name="Form.php" hash="ed8af40e323fbadc783f8673cd4b7963"/></dir><file name="Tabs.php" hash="039e86181e626be2582605b658665f20"/></dir><file name="Edit.php" hash="18b110d04a96829e147fddcb38acf8d4"/><file name="Grid.php" hash="88e821c9010ee5e4f6aead535a941c16"/></dir><file name="Notification.php" hash="109032e325e5c4e4e4473e964a4eaeea"/><dir name="System"><dir name="Config"><file name="Date.php" hash="03c969990d1dcabae3645a59793cd50d"/><file name="Editor.php" hash="b1c1cdb34820495f0c811caa07ad4272"/></dir></dir></dir><file name="Feedback.php" hash="827f19a5a94483c876070312cdbe8e0f"/><file name="Notification.php" hash="889ddbf6db504e8fa10bb344b13d3850"/></dir><dir name="Helper"><file name="Data.php" hash="7dc793440c9cb5bbeab249471af0cea6"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Notification"><file name="Collection.php" hash="2629949da947bc6259fa5152c568a218"/></dir><file name="Notification.php" hash="4b166830cac8797e5101b8958a456e6f"/></dir><file name="Notification.php" hash="dc098194e853545378e9d2d95b819a73"/><file name="Observer.php" hash="631c5d6c0838cfac61b0f40cbf9d4361"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="NotificationController.php" hash="4c2a3da26d670f6b16141deefeb0f11c"/></dir><file name="IndexController.php" hash="d486a34ad8aa9ac902d9a74cfe965b97"/></dir><dir name="etc"><file name="config.xml" hash="021dcf8ec1a2dae5faadde756330d45e"/><file name="system.xml" hash="2b56732d8390eb83a663602e3e425733"/></dir><dir name="sql"><dir name="easymaintanance_setup"><file name="mysql4-install-0.1.0.php" hash="74ea9846fddfa02d689d721530842bc7"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="6fef6eed753e41cd70f9cfc9268debff"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6564991641ba29cc88f57efda97ee635"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="6564991641ba29cc88f57efda97ee635"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="easymaintanance.xml" hash="a5fb50bbc8ab1584cf2041596ae105c9"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="easymaintanance.xml" hash="7e530ea686198bed24c40032b88a18f5"/></dir><dir name="template"><dir name="easymaintanance"><file name="Thumbs.db" hash="6afe2e5ff2d269395baac82a4ddd4313"/><file name="easymaintanance.phtml" hash="3786e6c081e01288c8bb49dcade90ae7"/><file name="notify.phtml" hash="ca3c925a4b720f9c6a2d8796f6eab93c"/><file name="popup_html.phtml" hash="b830926c60c935cc8f00d0b34b619ee9"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="easymaintanance"><dir name="css"><file name="easymaintanance.css" hash="d6386e1b7f531d459091ffbd1b8c11ff"/><file name="popup.css" hash="cfce607ed7cd7a94ce67321c3615d6c0"/></dir><dir name="images"><file name="Thumbs.db" hash="65fc2dfcc62a6343f8bcc57ddffcfc20"/><file name="ajax-loader-onestep.gif" hash="cf9953e0d5241b49c3dee9d0051cca3d"/><file name="bg-body.png" hash="2b8a442e1a4728207161a643ca1c75d2"/><file name="bg-header.gif" hash="571932485b33226c2a11f5100aa1f8ae"/><file name="bg-header.png" hash="eed1fe20e0db02cdba4c24425ede9adb"/><file name="body-bg.jpg" hash="5063bf47a76bde725e0756ef66e988f1"/><file name="closebox.png" hash="f2aace763cfcc4d6f3427a8a0842e55c"/><file name="feedbacktab.png" hash="d288691dbb16c7b73187f1e2e9e96ba0"/><file name="general-btn.gif" hash="d04f8bf3e7bc194a031bb5b2ac7433ba"/><file name="general-input-bg.jpg" hash="5a63d17240be2d5acdd8d432c4e1caff"/><file name="loader.gif" hash="afacd501feecb0b0f196952014aec797"/><file name="time-bg.gif" hash="4ed0b926562d76560fc1855022bdea14"/><file name="time-bg.png" hash="6831e69ad40ac8db863653166ce0ace8"/><file name="title-seperator.png" hash="2d8ba062d36339feb1cca920cadc61fe"/></dir><dir name="js"><file name="popup.js" hash="6cd74e0ad4618201b61bc86a39e04c2c"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="easymaintanance"><file name="contactus.html" hash="fad80bccd037f798f48fb4208bb8871a"/><file name="notification.html" hash="32f331ef1ba210f19d57b26bb7f1029f"/></dir></dir></dir><file name="Biztech_Easymaintanance.csv" hash="137a9fad5574a71471e008f15f061c54"/></dir><dir name="de_DE"><file name="Biztech_Easymaintanance.csv" hash="a3e7b748ff67994bb3d70b129f12ea11"/></dir><dir name="en_GB"><file name="Biztech_Easymaintanance.csv" hash="bbfbc1fd89f2c5de32b9d77d543a6588"/></dir><dir name="fr_FR"><file name="Biztech_Easymaintanance.csv" hash="99bef05b08798c87253c6f66a0c7cac6"/></dir><dir name="it_IT"><file name="Biztech_Easymaintanance.csv" hash="47f2d301a1610d4958bc54ac3832b286"/></dir><dir name="nl_NL"><file name="Biztech_Easymaintanance.csv" hash="90158980169e2e869ab7618ef5748380"/></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
27 |
</package>
|