Changeset 2761864
- Timestamp:
- 07/26/2022 02:10:08 PM (4 years ago)
- Location:
- genoo/trunk
- Files:
-
- 12 edited
-
Genoo.php (modified) (1 diff)
-
GenooInit.php (modified) (1 diff)
-
libs/Genoo/Admin.php (modified) (1 diff)
-
libs/WPME/Extensions/Clever/Plugins.php (modified) (2 diffs)
-
libs/WPMKTENGINE/CTA.php (modified) (1 diff)
-
libs/WPMKTENGINE/RepositoryPages.php (modified) (2 diffs)
-
libs/WPMKTENGINE/TablePages.php (modified) (1 diff)
-
libs/WPMKTENGINE/Utils/ArrayObject.php (modified) (1 diff)
-
libs/WPMKTENGINE/Utils/Strings.php (modified) (2 diffs)
-
libs/WPMKTENGINE/Wordpress/TableLite.php (modified) (1 diff)
-
libs/WPMKTENGINE/Wordpress/Utils.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genoo/trunk/Genoo.php
r2635149 r2761864 6 6 Author URI: http://www.genoo.com/ 7 7 Author Email: info@genoo.com 8 Version: 6.0. 58 Version: 6.0.8 9 9 License: GPLv2 10 10 Text Domain: genoo -
genoo/trunk/GenooInit.php
r2550147 r2761864 92 92 // helper constants 93 93 define('GENOO_PART_SETUP', $this->api->isSetup()); 94 if (!defined('GENOO_SETUP')){ 94 95 define('GENOO_SETUP', $this->api->isSetupFull()); 96 } 95 97 define('GENOO_LUMENS', $this->api->isLumensSetup()); 96 98 if(GENOO_SETUP){ -
genoo/trunk/libs/Genoo/Admin.php
r2420537 r2761864 365 365 $wpmkteMenu = $submenu['Genoo'][4]; 366 366 unset($submenu['Genoo'][4]); 367 $submenu['Genoo'] = \WPMKTENGINE\Utils\ArrayObject::appendTo($submenu['Genoo'], 2, $wpmkteMenu);367 $submenu['Genoo'] = \WPMKTENGINE\Utils\ArrayObject::appendTo($submenu['Genoo'], $wpmkteMenu, 2); 368 368 // Order game 369 369 \WPMKTENGINE\Utils\ArrayObject::moveFromPositionToPosition($submenu['Genoo'], 2, 1); -
genoo/trunk/libs/WPME/Extensions/Clever/Plugins.php
r2526949 r2761864 74 74 // On install 75 75 jQuery(document).on('wp-plugin-install-success', function(event, data){ 76 if (data.slug.indexOf("wpmktgengine") !== -1) {76 77 77 // Get container 78 78 var url = ajaxurl.replace(/[^\/]*$/, ''); … … 88 88 .removeClass('thickbox') 89 89 .removeClass('open-plugin-details-modal'); 90 }91 90 return; 92 91 }); -
genoo/trunk/libs/WPMKTENGINE/CTA.php
r1638966 r2761864 198 198 $this->formTheme = $i; 199 199 $this->isClasslist = $a == 'class' ? true : false; 200 $this->isLink = $this->isForm ? false : $this->isClasslist ? false : true;200 $this->isLink = $this->isForm ? false : ($this->isClasslist ? false : true); 201 201 $this->isNewWindow = ($c == 'true') ? true : false; 202 202 $this->isImage = $d == 'image' ? true : false; -
genoo/trunk/libs/WPMKTENGINE/RepositoryPages.php
r2195200 r2761864 259 259 $pagesTree = $this->explodeTree( 260 260 $pagesFromDatabase, 261 $searchQuery, 261 262 $pagesDependencies, 262 $searchQuery,263 263 function($leafPart, $returnedValue) use ($pagesDependencies) { 264 264 return array( … … 281 281 * but it is the fastest way this time. 282 282 */ 283 public function explodeTree($array, $ pagesDependencies = array(), $searchQuery, $valueGenerator = false)283 public function explodeTree($array, $searchQuery, $pagesDependencies = array(), $valueGenerator = false) 284 284 { 285 285 $delimiter = ' / '; -
genoo/trunk/libs/WPMKTENGINE/TablePages.php
r2419124 r2761864 557 557 $this->search_box( 558 558 $searchText, 559 __('Page name, URL or ID', 'wpmktengine'),560 'search-wpme-landing-pages'559 'search-wpme-landing-pages', 560 __('Page name, URL or ID', 'wpmktengine') 561 561 ); 562 562 } -
genoo/trunk/libs/WPMKTENGINE/Utils/ArrayObject.php
r1573225 r2761864 86 86 */ 87 87 88 public static function appendTo(&$array, $ position=null, $element)88 public static function appendTo(&$array, $element, $position=null) 89 89 { 90 90 if(count($array) == 0){ 91 91 $array[] = $element; 92 92 } elseif (is_numeric($position) && $position < 0){ 93 if((count($array)+ position) < 0) {93 if((count($array)+$position) < 0) { 94 94 $array = array_insert($array,$element,0); 95 95 } else { -
genoo/trunk/libs/WPMKTENGINE/Utils/Strings.php
r1573225 r2761864 208 208 $s = strtolower($s); 209 209 } 210 $charlist = isset($charlist) ? $charlist : ''; 210 211 $s = preg_replace('#[^a-z0-9' . preg_quote($charlist, '#') . ']+#i', '-', $s); 211 212 $s = trim($s, '-'); … … 591 592 throw new RegexpException("$message in pattern: " . implode(' or ', (array) $pattern)); 592 593 }); 594 $subject = isset($subject) ? $subject : ''; 593 595 $res = preg_replace($pattern, $replacement, $subject, $limit); 594 596 restore_error_handler(); -
genoo/trunk/libs/WPMKTENGINE/Wordpress/TableLite.php
r2191137 r2761864 314 314 * @param string $input_id The search input id 315 315 */ 316 public function search_box( $text, $ placeholder = '', $input_id) {316 public function search_box( $text, $input_id, $placeholder = '') { 317 317 $where = strtok(Utils::getRealUrl(), "&"); 318 318 if ( empty( $_REQUEST['s'] ) && !$this->has_items() ) -
genoo/trunk/libs/WPMKTENGINE/Wordpress/Utils.php
r1801692 r2761864 79 79 public static function getRealUrl($withPort = FALSE) 80 80 { 81 $s = empty($_SERVER["HTTPS"]) ? '' : ( $_SERVER["HTTPS"] == "on") ? "s" : "";81 $s = empty($_SERVER["HTTPS"]) ? '' : (($_SERVER["HTTPS"] == "on") ? "s" : ""); 82 82 $sp = strtolower($_SERVER["SERVER_PROTOCOL"]); 83 83 $protocol = substr($sp, 0, strpos($sp, "/")) . $s; -
genoo/trunk/readme.txt
r2635149 r2761864 3 3 Tags: marketing automation, email marketing, centralized lead database, lead capture forms 4 4 Requires at least: 4.6 5 Tested up to: 5.8.25 Tested up to: 6.0.1 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Stable tag: 6.0. 58 Stable tag: 6.0.6 9 9 10 10 Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
Note: See TracChangeset
for help on using the changeset viewer.