Updated extension, web browser updates

This commit is contained in:
markseu 2024-04-06 21:55:44 +02:00
parent c4f0c34e34
commit ccd8c46a79
3 changed files with 7 additions and 7 deletions

View file

@ -211,14 +211,14 @@ Status: available
system/workers/dutch.php: dutch.php, create, update
Extension: Edit
Version: 0.9.1
Version: 0.9.2
Description: Edit your website in a web browser.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-edit
DocumentationLanguage: en, de, sv
Published: 2024-04-04 14:52:31
Published: 2024-04-06 21:49:39
Status: available
system/workers/edit.php: edit.php, create, update
system/workers/edit.css: edit.css, create, update

View file

@ -19,14 +19,14 @@ system/layouts/navigation.html: navigation.html, create, update, careful
system/layouts/pagination.html: pagination.html, create, update, careful
Extension: Edit
Version: 0.9.1
Version: 0.9.2
Description: Edit your website in a web browser.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-edit
DocumentationLanguage: en, de, sv
Published: 2024-04-04 14:52:31
Published: 2024-04-06 21:49:39
Status: available
system/workers/edit.php: edit.php, create, update
system/workers/edit.css: edit.css, create, update

View file

@ -2,7 +2,7 @@
// Edit extension, https://github.com/annaesvensson/yellow-edit
class YellowEdit {
const VERSION = "0.9.1";
const VERSION = "0.9.2";
public $yellow; // access to API
public $response; // web response
public $merge; // text merge
@ -1347,8 +1347,8 @@ class YellowEditResponse {
$statusCode = 200;
$rawData = "";
if ($this->yellow->extension->isExisting("update")) {
list($statusCodeCurrent, $settingsCurrent) = $this->yellow->extension->get("update")->getExtensionSettings(false);
list($statusCodeLatest, $settingsLatest) = $this->yellow->extension->get("update")->getExtensionSettings(true);
list($statusCodeCurrent, $settingsCurrent) = $this->yellow->extension->get("update")->getExtensionSettings(true);
list($statusCodeLatest, $settingsLatest) = $this->yellow->extension->get("update")->getExtensionSettings(false);
$statusCode = max($statusCodeCurrent, $statusCodeLatest);
foreach ($settingsCurrent as $key=>$value) {
if ($settingsLatest->isExisting($key)) {