commit e7f2a29a4cfed61679c0d08df82a4b973fc9d096
parent 9cf5a54bb64bea12cc9f4d287db70e9e29a619ec
Author: markseu <mark2011@mayberg.se>
Date: Wed, 16 Jun 2021 18:22:14 +0200
Updated edit extension, thanks Rheza
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/system/extensions/edit.php b/system/extensions/edit.php
@@ -2,7 +2,7 @@
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
class YellowEdit {
- const VERSION = "0.8.49";
+ const VERSION = "0.8.50";
public $yellow; // access to API
public $response; // web response
public $merge; // text merge
@@ -90,7 +90,7 @@ class YellowEdit {
if ($name=="edit" && $type=="inline") {
$editText = "$name $text";
if (substru($text, 0, 2)=="- ") $editText = trim(substru($text, 2));
- $output = "<a href=\"".$page->get("pageEdit")."\">".htmlspecialchars($editText)."</a>";
+ $output = "<a href=\"".$page->get("pageEditUrl")."\">".htmlspecialchars($editText)."</a>";
}
return $output;
}
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -37,11 +37,11 @@ system/layouts/navigation.html: navigation.html, create, update, careful
system/layouts/pagination.html: default.html, create, update, careful
Extension: Edit
-Version: 0.8.49
+Version: 0.8.50
Description: Edit your website in a web browser.
HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip
-Published: 2021-06-10 21:53:49
+Published: 2021-06-16 18:16:41
Developer: Datenstrom
Tag: feature
system/extensions/edit.php: edit.php, create, update