Compare commits

..

No commits in common. "v3.0" and "3.16.1" have entirely different histories.
v3.0 ... 3.16.1

31 changed files with 85 additions and 98 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.16.2",
"version": "3.15.0",
"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.16.2",
"releaseDate": "2024-08-23",
"version": "3.15.0",
"releaseDate": "2023-07-15",
"license": "MIT",
"compatible": "3.16.2",
"compatible": "3.15.0",
"notes": ""
}

View file

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