Changeset 1700632
- Timestamp:
- 07/22/2017 05:27:23 AM (9 years ago)
- Location:
- chimpmate
- Files:
-
- 114 added
- 13 edited
-
tags/1.3.1 (added)
-
tags/1.3.1/LICENSE.txt (added)
-
tags/1.3.1/README.txt (added)
-
tags/1.3.1/admin (added)
-
tags/1.3.1/admin/assets (added)
-
tags/1.3.1/admin/assets/css (added)
-
tags/1.3.1/admin/assets/css/admin.css (added)
-
tags/1.3.1/admin/assets/css/index.php (added)
-
tags/1.3.1/admin/assets/css/multi-select.png (added)
-
tags/1.3.1/admin/assets/js (added)
-
tags/1.3.1/admin/assets/js/admin.js (added)
-
tags/1.3.1/admin/assets/js/index.php (added)
-
tags/1.3.1/admin/class-chimpmate-wpmc-assistant-admin.php (added)
-
tags/1.3.1/admin/includes (added)
-
tags/1.3.1/admin/includes/ChimpMate.png (added)
-
tags/1.3.1/admin/includes/addon0.php (added)
-
tags/1.3.1/admin/includes/addon1.php (added)
-
tags/1.3.1/admin/includes/addon8.php (added)
-
tags/1.3.1/admin/includes/addon9.php (added)
-
tags/1.3.1/admin/includes/freddie.png (added)
-
tags/1.3.1/admin/includes/lightbox0.php (added)
-
tags/1.3.1/admin/includes/lightbox1.php (added)
-
tags/1.3.1/admin/includes/lightbox8.php (added)
-
tags/1.3.1/admin/includes/lightbox9.php (added)
-
tags/1.3.1/admin/includes/slider0.php (added)
-
tags/1.3.1/admin/includes/slider1.php (added)
-
tags/1.3.1/admin/includes/slider8.php (added)
-
tags/1.3.1/admin/includes/slider9.php (added)
-
tags/1.3.1/admin/includes/widget0.php (added)
-
tags/1.3.1/admin/includes/widget1.php (added)
-
tags/1.3.1/admin/includes/widget8.php (added)
-
tags/1.3.1/admin/includes/widget9.php (added)
-
tags/1.3.1/admin/views (added)
-
tags/1.3.1/admin/views/admin.php (added)
-
tags/1.3.1/admin/views/admin_addon.php (added)
-
tags/1.3.1/admin/views/admin_advanced.php (added)
-
tags/1.3.1/admin/views/admin_general.php (added)
-
tags/1.3.1/admin/views/admin_lightbox.php (added)
-
tags/1.3.1/admin/views/admin_slider.php (added)
-
tags/1.3.1/admin/views/admin_theme.php (added)
-
tags/1.3.1/admin/views/admin_theme_opt.php (added)
-
tags/1.3.1/admin/views/admin_widget.php (added)
-
tags/1.3.1/admin/views/index.php (added)
-
tags/1.3.1/assets (added)
-
tags/1.3.1/assets/fonts (added)
-
tags/1.3.1/assets/fonts/vapanel_fonts.eot (added)
-
tags/1.3.1/assets/fonts/vapanel_fonts.svg (added)
-
tags/1.3.1/assets/fonts/vapanel_fonts.ttf (added)
-
tags/1.3.1/assets/fonts/vapanel_fonts.woff (added)
-
tags/1.3.1/assets/index.php (added)
-
tags/1.3.1/assets/ms-oauth.php (added)
-
tags/1.3.1/chimpmate.php (added)
-
tags/1.3.1/index.php (added)
-
tags/1.3.1/languages (added)
-
tags/1.3.1/languages/chimpmate.pot (added)
-
tags/1.3.1/languages/index.php (added)
-
tags/1.3.1/public (added)
-
tags/1.3.1/public/assets (added)
-
tags/1.3.1/public/assets/css (added)
-
tags/1.3.1/public/assets/css/index.php (added)
-
tags/1.3.1/public/assets/icon (added)
-
tags/1.3.1/public/assets/icon/chimpmate.png (added)
-
tags/1.3.1/public/assets/index.php (added)
-
tags/1.3.1/public/assets/js (added)
-
tags/1.3.1/public/assets/js/index.php (added)
-
tags/1.3.1/public/assets/js/public.js (added)
-
tags/1.3.1/public/class-chimpmate-wpmc-assistant.php (added)
-
tags/1.3.1/public/includes (added)
-
tags/1.3.1/public/includes/addon0.php (added)
-
tags/1.3.1/public/includes/addon1.php (added)
-
tags/1.3.1/public/includes/addon8.php (added)
-
tags/1.3.1/public/includes/addon9.php (added)
-
tags/1.3.1/public/includes/bottom_content.php (added)
-
tags/1.3.1/public/includes/flipbox0.php (added)
-
tags/1.3.1/public/includes/flipbox1.php (added)
-
tags/1.3.1/public/includes/flipbox8.php (added)
-
tags/1.3.1/public/includes/flipbox9.php (added)
-
tags/1.3.1/public/includes/flipbox_content.php (added)
-
tags/1.3.1/public/includes/index.php (added)
-
tags/1.3.1/public/includes/litebox0.php (added)
-
tags/1.3.1/public/includes/litebox1.php (added)
-
tags/1.3.1/public/includes/litebox8.php (added)
-
tags/1.3.1/public/includes/litebox9.php (added)
-
tags/1.3.1/public/includes/litebox_content.php (added)
-
tags/1.3.1/public/includes/slide0.php (added)
-
tags/1.3.1/public/includes/slide1.php (added)
-
tags/1.3.1/public/includes/slide8.php (added)
-
tags/1.3.1/public/includes/slide9.php (added)
-
tags/1.3.1/public/includes/slide_content.php (added)
-
tags/1.3.1/public/includes/topbar0.php (added)
-
tags/1.3.1/public/includes/topbar1.php (added)
-
tags/1.3.1/public/includes/topbar8.php (added)
-
tags/1.3.1/public/includes/topbar9.php (added)
-
tags/1.3.1/public/includes/topbar_content.php (added)
-
tags/1.3.1/public/views (added)
-
tags/1.3.1/public/views/index.php (added)
-
tags/1.3.1/src (added)
-
tags/1.3.1/src/Batch.php (added)
-
tags/1.3.1/src/MailChimp.php (added)
-
tags/1.3.1/src/default.json (added)
-
tags/1.3.1/src/google_fonts.json (added)
-
tags/1.3.1/uninstall.php (added)
-
tags/1.3.1/widget (added)
-
tags/1.3.1/widget/class-chimpmate-wpmc-assistant-widget.php (added)
-
tags/1.3.1/widget/lang (added)
-
tags/1.3.1/widget/lang/plugin.po (added)
-
tags/1.3.1/widget/views (added)
-
tags/1.3.1/widget/views/admin.php (added)
-
tags/1.3.1/widget/views/widget.php (added)
-
tags/1.3.1/widget/views/widget0.php (added)
-
tags/1.3.1/widget/views/widget1.php (added)
-
tags/1.3.1/widget/views/widget8.php (added)
-
tags/1.3.1/widget/views/widget9.php (added)
-
tags/1.3.1/wpml-config.xml (added)
-
trunk/README.txt (modified) (5 diffs)
-
trunk/admin/assets/css/admin.css (modified) (3 diffs)
-
trunk/admin/assets/js/admin.js (modified) (8 diffs)
-
trunk/admin/class-chimpmate-wpmc-assistant-admin.php (modified) (2 diffs)
-
trunk/admin/views/admin_addon.php (modified) (6 diffs)
-
trunk/admin/views/admin_general.php (modified) (2 diffs)
-
trunk/admin/views/admin_lightbox.php (modified) (2 diffs)
-
trunk/admin/views/admin_slider.php (modified) (2 diffs)
-
trunk/admin/views/admin_theme.php (modified) (2 diffs)
-
trunk/admin/views/admin_theme_opt.php (modified) (1 diff)
-
trunk/admin/views/admin_widget.php (modified) (2 diffs)
-
trunk/chimpmate.php (modified) (1 diff)
-
trunk/public/class-chimpmate-wpmc-assistant.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chimpmate/trunk/README.txt
r1683239 r1700632 6 6 Tags: mailchimp, mailchimp integration, MailChimp plugin, mailchimp signup, mailchimp wordpress, newsletter, newsletter signup, checkbox, newsletter, optin, registration form, shortcode, sign-up form, subscribe, widget, analytics, automatic, collect email, double optin, email, exit popup, exit-intent, getresponse, growth, hellobar, lightbox, links, mail, newsletters, optin forms, popover, popup, popup domination, popupdomination, posts, subscribe, subscribers, subscription, referrer, search engine, social sharing, cookie, customizable, responsive 7 7 Requires at least: 3.8 8 Tested up to: 4. 9 Stable tag: 1.3 8 Tested up to: 4.8 9 Stable tag: 1.3.1 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 * Light Box Open Delay 42 42 * Inactivity based events 43 * Visual Composer Support 44 * WPML support 43 45 * One Click Backup and Restore 44 46 * Easy to Configure (No coding required!) … … 48 50 > [ChimpMate Pro](http://voltroid.com/chimpmate) offers special features. 49 51 > 50 > * Premium Themes 52 > * Premium Templates 53 > * Multiple Themes 51 54 > * Multiple Forms 52 55 > * Custom Fields … … 66 69 > * Targeting Specific URLs 67 70 > * Custom CSS editor 71 > * Preselected Hidden Groups for Forms 72 > * Scrollable Lightbox for long forms 73 > * WooCommerce Integration 68 74 > * Premium Support 24x7 69 75 … … 120 126 == Changelog == 121 127 128 = 1.3.1 = 129 * Added edit Button Shortcuts for easy access 130 * Fixed minor bugs 131 122 132 = 1.3 = 123 133 * New Polished Backend Interface -
chimpmate/trunk/admin/assets/css/admin.css
r1656873 r1700632 3582 3582 background-repeat: no-repeat; 3583 3583 margin-top: 5px; 3584 position: relative; 3584 3585 } 3585 3586 .mul_copy{ … … 3597 3598 } 3598 3599 3600 .mul_ico:after{ 3601 position: absolute; 3602 top: -25px; 3603 left: -50%; 3604 line-height: 16px; 3605 background: rgba(0,0,0,0.75); 3606 color: #fff; 3607 border-radius: 3px; 3608 padding: 3px 10px; 3609 } 3610 .mul_copy.mul_ico:hover:after{ 3611 content: 'Clone'; 3612 } 3613 .mul_edit.mul_ico:hover:after{ 3614 content: 'Edit'; 3615 } 3616 .mul_del.mul_ico:hover:after{ 3617 content: 'Delete'; 3618 } 3619 .mul_req.mul_ico:hover:after{ 3620 content: 'Required'; 3621 } 3599 3622 /* table */ 3600 3623 .chimpmate_table_cont{ … … 3920 3943 position: relative; 3921 3944 top: 5px; 3945 } 3946 .chimpmate_group.chimpmate_dropc .chimpmate_drop + .chimpmate_button{ 3947 margin-left: 20px; 3922 3948 } 3923 3949 /*icons*/ -
chimpmate/trunk/admin/assets/js/admin.js
r1656873 r1700632 50 50 (function (document, window, angular) {'use strict';angular.module('googlechart', []).value('googleChartApiConfig', {version: '1',optionalSettings: {packages: ['corechart']}}).provider('googleJsapiUrl', function () {var protocol = 'https:';var url = '//www.google.com/jsapi';this.setProtocol = function (newProtocol) {protocol = newProtocol;};this.setUrl = function (newUrl) {url = newUrl;};this.$get = function () {return (protocol ? protocol : '') + url;};}).factory('googleChartApiPromise', ['$rootScope', '$q', 'googleChartApiConfig', 'googleJsapiUrl', function ($rootScope, $q, apiConfig, googleJsapiUrl) {var apiReady = $q.defer();var onLoad = function () {var settings = {callback: function () {var oldCb = apiConfig.optionalSettings.callback;$rootScope.$apply(function () {apiReady.resolve();});if (angular.isFunction(oldCb)) {oldCb.call(this);}}};settings = angular.extend({}, apiConfig.optionalSettings, settings);window.google.load('visualization', apiConfig.version, settings);};var head = document.getElementsByTagName('head')[0];var script = document.createElement('script');script.setAttribute('type', 'text/javascript');script.src = googleJsapiUrl;if (script.addEventListener) { script.addEventListener('load', onLoad, false);} else { script.onreadystatechange = function () {if (script.readyState === 'loaded' || script.readyState === 'complete') {script.onreadystatechange = null;onLoad();}};}head.appendChild(script);return apiReady.promise;}]).directive('googleChart', ['$timeout', '$window', '$rootScope', 'googleChartApiPromise', function ($timeout, $window, $rootScope, googleChartApiPromise) {return {restrict: 'A',scope: {beforeDraw: '&',chart: '=chart',onReady: '&',onSelect: '&',select: '&'},link: function ($scope, $elm, $attrs) {$scope.$watch(function () {if ($scope.chart) {return {customFormatters: $scope.chart.customFormatters,data: $scope.chart.data,formatters: $scope.chart.formatters,options: $scope.chart.options,type: $scope.chart.type,view: $scope.chart.view};}return $scope.chart;}, function () {drawAsync();}, true); var resizeHandler = $rootScope.$on('resizeMsg', function () {$timeout(function () {if ($scope.chartWrapper) {drawAsync();}});});$scope.$on('$destroy', function () {resizeHandler();});$scope.oldChartFormatters = {};function applyFormat(formatType, formatClass, dataTable) {var i;if (typeof ($scope.chart.formatters[formatType]) !== 'undefined') {if (!angular.equals($scope.chart.formatters[formatType], $scope.oldChartFormatters[formatType])) {$scope.oldChartFormatters[formatType] = $scope.chart.formatters[formatType];$scope.formatters[formatType] = [];if (formatType === 'color') {for (var cIdx = 0; cIdx < $scope.chart.formatters[formatType].length; cIdx++) {var colorFormat = new formatClass();for (i = 0; i < $scope.chart.formatters[formatType][cIdx].formats.length; i++) {var data = $scope.chart.formatters[formatType][cIdx].formats[i];if (typeof (data.fromBgColor) !== 'undefined' && typeof (data.toBgColor) !== 'undefined')colorFormat.addGradientRange(data.from, data.to, data.color, data.fromBgColor, data.toBgColor);elsecolorFormat.addRange(data.from, data.to, data.color, data.bgcolor);}$scope.formatters[formatType].push(colorFormat);}} else {for (i = 0; i < $scope.chart.formatters[formatType].length; i++) {$scope.formatters[formatType].push(new formatClass($scope.chart.formatters[formatType][i]));}}}for (i = 0; i < $scope.formatters[formatType].length; i++) {if ($scope.chart.formatters[formatType][i].columnNum < dataTable.getNumberOfColumns())$scope.formatters[formatType][i].format(dataTable, $scope.chart.formatters[formatType][i].columnNum);}if (formatType === 'arrow' || formatType === 'bar' || formatType === 'color')$scope.chart.options.allowHtml = true;}}function draw() {if (!draw.triggered && ($scope.chart !== undefined)) {draw.triggered = true;$timeout(function () {if (typeof ($scope.chartWrapper) === 'undefined') {var chartWrapperArgs = {chartType: $scope.chart.type,dataTable: $scope.chart.data,view: $scope.chart.view,options: $scope.chart.options,containerId: $elm[0]};$scope.chartWrapper = new google.visualization.ChartWrapper(chartWrapperArgs);google.visualization.events.addListener($scope.chartWrapper, 'ready', function () {$scope.chart.displayed = true;$scope.$apply(function (scope) {scope.onReady({ chartWrapper: scope.chartWrapper });});});google.visualization.events.addListener($scope.chartWrapper, 'error', function (err) {/* console.log("Chart not displayed due to error: " + err.message + ". Full error object follows.");console.log(err);*/});google.visualization.events.addListener($scope.chartWrapper, 'select', function () {var selectEventRetParams = { selectedItems: $scope.chartWrapper.getChart().getSelection() };selectEventRetParams.selectedItem = selectEventRetParams.selectedItems[0];$scope.$apply(function () {if ($attrs.select) {$scope.select(selectEventRetParams);}else {$scope.onSelect(selectEventRetParams);}});});}else {$scope.chartWrapper.setChartType($scope.chart.type);$scope.chartWrapper.setDataTable($scope.chart.data);$scope.chartWrapper.setView($scope.chart.view);$scope.chartWrapper.setOptions($scope.chart.options);}if (typeof ($scope.formatters) === 'undefined')$scope.formatters = {};if (typeof ($scope.chart.formatters) !== 'undefined') {applyFormat("number", google.visualization.NumberFormat, $scope.chartWrapper.getDataTable());applyFormat("arrow", google.visualization.ArrowFormat, $scope.chartWrapper.getDataTable());applyFormat("date", google.visualization.DateFormat, $scope.chartWrapper.getDataTable());applyFormat("bar", google.visualization.BarFormat, $scope.chartWrapper.getDataTable());applyFormat("color", google.visualization.ColorFormat, $scope.chartWrapper.getDataTable());}var customFormatters = $scope.chart.customFormatters;if (typeof (customFormatters) !== 'undefined') {for (var name in customFormatters) {applyFormat(name, customFormatters[name], $scope.chartWrapper.getDataTable());}}$timeout(function () {$scope.beforeDraw({ chartWrapper: $scope.chartWrapper });$scope.chartWrapper.draw();draw.triggered = false;});}, 0, true);} else if ($scope.chart !== undefined) {$timeout.cancel(draw.recallTimeout);draw.recallTimeout = $timeout(draw, 10);}}function drawAsync() {googleChartApiPromise.then(function () {draw();});}}};}]).run(['$rootScope', '$window', function ($rootScope, $window) {angular.element($window).bind('resize', function () {$rootScope.$emit('resizeMsg');});}]);})(document, window, window.angular); 51 51 var chimpmate = angular.module("chimpmate",['ngAnimate', 'ngRoute','minicolors', 'googlechart','timer','as.sortable','ngMultiSelect.directive','ngQuill']); 52 chimpmate.controller("chimpmatectlr", function($scope,$rootScope,$route,$ filter,$compile,$http) {52 chimpmate.controller("chimpmatectlr", function($scope,$rootScope,$route,$location,$filter,$compile,$http) { 53 53 $scope.$route = $route; 54 54 $scope.data=wpmchimpa; … … 95 95 $scope.gettheme = function(i){return $filter('filter')($scope.data.themes, function (d) {return parseInt(d.id) === parseInt(i);})[0];} 96 96 $scope.getformbyid = function(i){return $filter('filter')($scope.data.cforms, function (d) {return parseInt(d.id) === parseInt(i);})[0];} 97 $scope.getformibyid = function(i){return $scope.data.cforms.indexOf($filter('filter')($scope.data.cforms, function (d) {return parseInt(d.id) === parseInt(i);})[0]);} 97 98 98 99 $rootScope.$on('$includeContentRequested', function() { … … 118 119 } 119 120 } 121 122 $scope.foredit = { 123 theme:false, 124 form:false, 125 run:function(i,id){ 126 if(i==0){ 127 $scope.foredit.form = id; 128 $location.path( "/general" ); 129 } 130 else { 131 $scope.foredit.theme = id; 132 $location.path( "/theme" ); 133 } 134 } 135 }; 136 120 137 $scope.sup_button = function(){ 121 138 window.open("http://wordpress.org/support/plugin/chimpmate","_blank"); … … 127 144 }); 128 145 chimpmate.controller("chimpmatethe", function($scope,$sce,$filter) { 146 147 148 $scope.$on('$viewContentLoaded', function() { 149 if($scope.foredit.theme){ 150 $scope.theme_ctrl.edit($scope.foredit.theme); 151 $scope.foredit.theme = false; 152 setTimeout(function() { 153 $("html, body").stop().animate({ 154 scrollTop: $('.chimpmate_edit').first().offset().top - 100 155 }, '500', 'linear'); 156 }, 10); 157 } 158 }); 159 129 160 $scope.getSpin = function(spin,pre,color){ 130 161 if(!isset(spin))return ''; … … 165 196 econ: wpmchimpa_script.ajaxurl+'?action=chimpmate_tab&tab=theme_opt', 166 197 edit: function(id){ 167 $scope.theme_ctrl.esel = $scope.tnav.cp*$scope.tnav.ps +id;198 $scope.theme_ctrl.esel = id; 168 199 $scope.theme_ctrl.sel = -1; 169 $scope.theme = $scope. data.themes[$scope.tnav.cp*$scope.tnav.ps + id].options;200 $scope.theme = $scope.gettheme(id).options; 170 201 //refresh 171 202 if(isset(msg_edit)){ … … 219 250 }); 220 251 chimpmate.controller("chimpmategen", function($scope,$sce,$filter,$http) { 252 253 $scope.$on('$viewContentLoaded', function() { 254 if($scope.foredit.form){ 255 $scope.form.edit($scope.foredit.form); 256 $scope.foredit.form = false; 257 setTimeout(function() { 258 $("html, body").stop().animate({ 259 scrollTop: $('.chimpmate_edit').first().offset().top - 200 260 }, '500', 'linear'); 261 }, 10); 262 } 263 }); 264 221 265 $scope.mailserv = { 222 266 connect: function(){ … … 304 348 if($scope.remote.chk())return; 305 349 if(!isset($scope.data.mailserv)){$scope.addErr('Configure Connection Settings');return;} 306 if(!isset($scope. data.cforms[i].list)){$scope.addErr('Select list');return;}350 if(!isset($scope.getformbyid(i).list)){$scope.addErr('Select list');return;} 307 351 $scope.form.step=1; 308 352 $scope.form.ed = i; 309 $scope.form.tform = angular.copy($scope. data.cforms[i]);353 $scope.form.tform = angular.copy($scope.getformbyid(i)); 310 354 $scope.remote.lock(); 311 355 $scope.edform.getfield(); … … 390 434 }, 391 435 ok:function(){ 392 $scope.data.cforms[$scope. form.ed] = angular.copy($scope.form.tform);436 $scope.data.cforms[$scope.getformibyid($scope.form.ed)] = angular.copy($scope.form.tform); 393 437 $scope.form.step = 1; 394 438 $scope.form.tform = {}; -
chimpmate/trunk/admin/class-chimpmate-wpmc-assistant-admin.php
r1656943 r1700632 65 65 } 66 66 function update_notice($a=null) { 67 // echo $this->settings['db_change']; 68 if(!isset($this->settings['db_change']) || $this->settings['db_change']==0)return; 67 69 global $pagenow; 68 70 if ( $pagenow != 'admin.php' ) … … 85 87 if (isset($_GET['chimpmate-dbchange-notice'])) { 86 88 add_user_meta($user_id, 'chimpmate_dbchange_notice', 'true', true); 89 $this->settings['db_change']=0; 90 update_option('wpmchimpa_options',$this->settings); 91 if ( wp_get_referer() ){ 92 wp_safe_redirect( wp_get_referer() ); 93 } 94 else{ 95 wp_safe_redirect( get_home_url() ); 96 } 87 97 } 88 98 } -
chimpmate/trunk/admin/views/admin_addon.php
r1656873 r1700632 21 21 </div> 22 22 </div> 23 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.addon_form)" ng-show="data.addon_form">Edit Form</button> 23 24 </div> 24 25 <div class="chimpmate_group chimpmate_dropc"> … … 32 33 </div> 33 34 </div> 35 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.addon_theme)" ng-show="data.addon_theme">Edit Theme</button> 34 36 </div> 35 37 </div> … … 55 57 </div> 56 58 </div> 59 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.topbar_form)" ng-show="data.topbar_form">Edit Form</button> 57 60 </div> 58 61 <div class="chimpmate_group chimpmate_dropc"> … … 66 69 </div> 67 70 </div> 71 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.topbar_theme)" ng-show="data.topbar_theme">Edit Theme</button> 68 72 </div> 69 73 </div> … … 89 93 </div> 90 94 </div> 95 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.flipbox_form)" ng-show="data.flipbox_form">Edit Form</button> 91 96 </div> 92 97 <div class="chimpmate_group chimpmate_dropc"> … … 100 105 </div> 101 106 </div> 107 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.flipbox_theme)" ng-show="data.flipbox_theme">Edit Theme</button> 102 108 </div> 103 109 </div> -
chimpmate/trunk/admin/views/admin_general.php
r1656873 r1700632 61 61 </div> 62 62 <div> 63 <div class="mul_ico mul_edit" ng-click="form.edit( $index)"></div>63 <div class="mul_ico mul_edit" ng-click="form.edit(cform.id)"></div> 64 64 </div> 65 65 <div></div> … … 73 73 </div> 74 74 </div> 75 <div class="chimpmate_edit"></div> 75 76 <div class="chimpmate_formbox" ng-if="form.step==2"> 76 77 <div class="itemhead"> -
chimpmate/trunk/admin/views/admin_lightbox.php
r1656873 r1700632 21 21 </div> 22 22 </div> 23 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.lite_form)" ng-show="data.lite_form">Edit Form</button> 23 24 </div> 24 25 <div class="chimpmate_group chimpmate_dropc"> … … 32 33 </div> 33 34 </div> 35 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.lite_theme)" ng-show="data.lite_theme">Edit Theme</button> 34 36 </div> 35 37 </div> -
chimpmate/trunk/admin/views/admin_slider.php
r1656873 r1700632 21 21 </div> 22 22 </div> 23 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.slider_form)" ng-show="data.slider_form">Edit Form</button> 23 24 </div> 24 25 <div class="chimpmate_group chimpmate_dropc"> … … 32 33 </div> 33 34 </div> 35 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.slider_theme)" ng-show="data.slider_theme">Edit Theme</button> 34 36 </div> 35 37 </div> -
chimpmate/trunk/admin/views/admin_theme.php
r1656873 r1700632 26 26 </div> 27 27 <div> 28 <div class="mul_ico mul_edit" ng-click="theme_ctrl.edit( $index)"></div>28 <div class="mul_ico mul_edit" ng-click="theme_ctrl.edit(th.id)"></div> 29 29 </div> 30 30 <div></div> … … 42 42 </div> 43 43 </div> 44 <div class="chimpmate_edit"></div> 44 45 <div ng-if="theme_ctrl.esel > -1" ng-include="theme_ctrl.econ"></div> 45 46 </div> -
chimpmate/trunk/admin/views/admin_theme_opt.php
r1656873 r1700632 2 2 <div class="chimpmate_item"> 3 3 <div class="itemhead"> 4 <h2>Edit : {{ data.themes[theme_ctrl.esel].name}}</h2>4 <h2>Edit : {{gettheme(theme_ctrl.esel).name}}</h2> 5 5 <span class="chimpmate_hint headhint" data-hint="Edit your Theme"></span> 6 6 </div> -
chimpmate/trunk/admin/views/admin_widget.php
r1656873 r1700632 21 21 </div> 22 22 </div> 23 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(0,data.widget_form)" ng-show="data.widget_form">Edit Form</button> 23 24 </div> 24 25 <div class="chimpmate_group chimpmate_dropc"> … … 32 33 </div> 33 34 </div> 35 <button class="chimpmate_button orange material-design ng-binding" ng-click="foredit.run(1,data.widget_theme)" ng-show="data.widget_theme">Edit Theme</button> 34 36 </div> 35 37 </div> -
chimpmate/trunk/chimpmate.php
r1656873 r1700632 12 12 * Plugin URI: http://voltroid.com/chimpmate 13 13 * Description: Easy to Use MailChimp Plugin 14 * Version: 1.3 14 * Version: 1.3.1 15 15 * Author: Voltroid 16 16 * Author URI: http://voltroid.com -
chimpmate/trunk/public/class-chimpmate-wpmc-assistant.php
r1656944 r1700632 21 21 * @var string 22 22 */ 23 const VERSION = '1.3 ';23 const VERSION = '1.3.1'; 24 24 25 25 /** … … 509 509 public static function update_db_check(){ 510 510 $wpmchimpa=get_option('wpmchimpa_options'); 511 $dbc=false; 511 512 512 513 if(!is_array($wpmchimpa)){ 514 $dbc=true; 513 515 514 516 $wpmchimpa=json_decode($wpmchimpa,true); … … 554 556 } 555 557 if(isset($wpmchimpa['slider_behave_movein'])){ 558 $dbc=true; 556 559 $wpmchimpa['slider_transit'] = 2; 557 560 unset($wpmchimpa['slider_behave_movein']); 558 561 } 559 562 if(!isset($wpmchimpa['slider_transit'])){ 563 $dbc=true; 560 564 $wpmchimpa['slider_transit'] = 1; 561 565 } 562 566 if(isset($wpmchimpa['theme'])){ 567 $dbc=true; 563 568 564 569 if(isset($wpmchimpa['api_key'])){ … … 664 669 } 665 670 666 } 667 update_option('wpmchimpa_options',$wpmchimpa); 671 $wpmchimpa['db_change']=1; 672 673 } 674 if($dbc) 675 update_option('wpmchimpa_options',$wpmchimpa); 668 676 } 669 677 /**
Note: See TracChangeset
for help on using the changeset viewer.