From 93c2422169ee75982644a6f396aa6cb318e19a8a Mon Sep 17 00:00:00 2001 From: markseu Date: Sun, 3 Dec 2023 03:35:10 +0100 Subject: [PATCH] Updated installer for Elon --- README-de.md | 4 ++-- README-sv.md | 4 ++-- README.md | 4 ++-- system/extensions/install.php | 5 ++++- system/extensions/update-current.ini | 4 ++-- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README-de.md b/README-de.md index 4a43da4..5797c24 100644 --- a/README-de.md +++ b/README-de.md @@ -10,11 +10,11 @@ Datenstrom Yellow herunterladen und der Installationsanleitung folgen. Das Insta ## Wie man Erweiterungen findet -Die vorhandenen Erweiterungen machen deine Webseite nützlicher. Hier findest du zusätzliche Funktionen, Sprachen und Themes. Es gibt praktische Beispiele die dir zeigen wie man die Funktionen benutzen kann. Schau dir Erweiterungen an und installiere welche auf deiner Webseite. [Erweiterungen für deine Webseite finden](https://datenstrom.se/de/yellow/extensions/). +Die vorhandenen Erweiterungen machen deine Webseite nützlicher. Hier findest du zusätzliche Funktionen, Sprachen und Themes. Es gibt praktische Beispiele die dir zeigen wie man die zusätzlichen Funktionen benutzen kann. Schau dir Erweiterungen an und installiere welche auf deiner Webseite. [Erweiterungen für deine Webseite finden](https://datenstrom.se/de/yellow/extensions/). ## Wie man Hilfe und Support findet -Die Hilfe zeigt dir wie man kleine Webseiten, Wikis und Blogs macht. Hier findest du Anleitungen wie man alles anpasst. Für Entwickler, Designer und Übersetzer gibt es Beschreibungen von Dateien, Verzeichnissen und was man mit der API machen kann. [Hilfe für deine Webseite finden](https://datenstrom.se/de/yellow/help/). +Die Hilfe zeigt dir wie man kleine Webseiten, Wikis und Blogs macht. Hier findest du Anleitungen wie man alles anpasst. Für Entwickler, Designer und Übersetzer gibt es Beschreibungen von Dateien, Verzeichnissen, Werkzeugen und was man mit der API machen kann. [Hilfe für deine Webseite finden](https://datenstrom.se/de/yellow/help/). ## Entwickler diff --git a/README-sv.md b/README-sv.md index 2c0b8b2..d24b027 100644 --- a/README-sv.md +++ b/README-sv.md @@ -10,11 +10,11 @@ Ladda ner Datenstrom Yellow och följ installationsanvisningarna. Installationsp ## Hur man får tillägg -Tillgängliga tilläggen gör din webbplats mer användbar. Här hittar du ytterligare funktioner, språk och teman. Det finns praktiska exempel som visar dig hur man använder funktionerna. Titta på tillägg och installera några på din webbplats. [Få tillägg för din webbplats](https://datenstrom.se/sv/yellow/extensions/). +Tillgängliga tilläggen gör din webbplats mer användbar. Här hittar du ytterligare funktioner, språk och teman. Det finns praktiska exempel som visar dig hur man använder ytterligare funktionerna. Titta på tillägg och installera några på din webbplats. [Få tillägg för din webbplats](https://datenstrom.se/sv/yellow/extensions/). ## Hur man får hjälp och support -Hjälpen visar dig hur man gör små webbsidor, wikier och bloggar. Här hittar du instruktioner om hur man anpassar allt. För utvecklare, formgivare och översättare finns beskrivningar av filer, mappar och vad som kan göras med API:et. [Få hjälp för din webbplats](https://datenstrom.se/sv/yellow/help/). +Hjälpen visar dig hur man gör små webbsidor, wikier och bloggar. Här hittar du instruktioner om hur man anpassar allt. För utvecklare, formgivare och översättare finns beskrivningar av filer, mappar, verktyg och vad som kan göras med API:et. [Få hjälp för din webbplats](https://datenstrom.se/sv/yellow/help/). ## Utvecklare diff --git a/README.md b/README.md index 8a0b711..2e7aee6 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ Download Datenstrom Yellow and follow the installation instructions. The install ## How to get extensions -The available extensions make your website more useful. Here you can find additional features, languages and themes. There are practical examples to show you how the features can be used. Have a look at extensions and install some on your website. [Get extensions for your website](https://datenstrom.se/yellow/extensions/). +The available extensions make your website more useful. Here you can find additional features, languages and themes. There are practical examples to show you how the additional features can be used. Have a look at extensions and install some on your website. [Get extensions for your website](https://datenstrom.se/yellow/extensions/). ## How to get help and support -The help shows you how to make small websites, wikis and blogs. Here you can find instructions on how to customise everything. For developers, designers and translators there are descriptions of files, folders and what can be done with the API. [Get help for your website](https://datenstrom.se/yellow/help/). +The help shows you how to make small websites, wikis and blogs. Here you can find instructions on how to customise everything. For developers, designers and translators there are descriptions of files, folders, tools and what can be done with the API. [Get help for your website](https://datenstrom.se/yellow/help/). ## Developer diff --git a/system/extensions/install.php b/system/extensions/install.php index 08eec27..63fe6cd 100755 --- a/system/extensions/install.php +++ b/system/extensions/install.php @@ -2,7 +2,7 @@ // Install extension, https://github.com/annaesvensson/yellow-install class YellowInstall { - const VERSION = "0.8.91"; + const VERSION = "0.8.92"; const PRIORITY = "1"; public $yellow; // access to API @@ -90,6 +90,9 @@ class YellowInstall { if ($statusCode>=400) { echo "ERROR installing files: ".$this->yellow->page->errorMessage."\n"; echo "The installation has not been completed. Please run command again.\n"; + } else { + $extensions = count($this->yellow->extension->data); + echo "Yellow $command: $extensions extension".($extensions!=1 ? "s" : "").", 0 errors.\n"; } } else { $statusCode = 500; diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini index aed875d..847b229 100755 --- a/system/extensions/update-current.ini +++ b/system/extensions/update-current.ini @@ -54,11 +54,11 @@ media/images/photo.jpg: photo.jpg, create, optional media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional Extension: Install -Version: 0.8.91 +Version: 0.8.92 Description: Install a brand new website. DocumentationUrl: https://github.com/annaesvensson/yellow-install DownloadUrl: https://github.com/annaesvensson/yellow-install/archive/refs/heads/main.zip -Published: 2023-11-24 21:46:36 +Published: 2023-12-03 03:23:42 Developer: Anna Svensson Status: unlisted system/extensions/install.php: install.php, create