Compare commits

...

2 commits
3.16.1 ... v3.0

Author SHA1 Message Date
Diego Najar
3c02c86498 feat: new bludit version with bug fix for php 5 2024-08-25 10:11:57 +02:00
Diego Najar
fa736d907b chore: fix versioning number 2024-08-06 22:48:54 +02:00
31 changed files with 98 additions and 85 deletions

View file

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.15.0');
define('BLUDIT_CODENAME', 'Krakow');
define('BLUDIT_RELEASE_DATE', '2023-07-15');
define('BLUDIT_BUILD', '20230715');
define('BLUDIT_VERSION', '3.16.2');
define('BLUDIT_CODENAME', 'Valencia');
define('BLUDIT_RELEASE_DATE', '2024-08-23');
define('BLUDIT_BUILD', '20240806');
// Change to TRUE for debugging
define('DEBUG_MODE', TRUE);

View file

@ -632,11 +632,24 @@ class Pages extends dbJSON
private function sortByPositionLowToHigh($a, $b)
{
return $a['position'] <=> $b['position'];
if ($a['position'] < $b['position']) {
return -1;
} elseif ($a['position'] > $b['position']) {
return 1;
} else {
return 0;
}
}
private function sortByPositionHighToLow($a, $b)
{
return $a['position'] < $b['position'];
if ($a['position'] > $b['position']) {
return -1;
} elseif ($a['position'] < $b['position']) {
return 1;
} else {
return 0;
}
}
// Sort pages by date

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,10 +2,10 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": "",
"type": "theme"
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -5,6 +5,6 @@
"version": "2.18.0",
"releaseDate": "2022-09-20",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,10 +2,10 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": "",
"type": "theme"
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com/plugin/remote-content",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,7 +2,7 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.15.0",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.15",

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.15.0",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,7 +2,7 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.15.0",
"version": "3.16.2",
"releaseDate": "2023-07-??",
"license": "MIT",
"compatible": "3.0",