Updated edit extension, email link
This commit is contained in:
parent
da0565aa2a
commit
5fe04fd471
2 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
|
||||
|
||||
class YellowEdit {
|
||||
const VERSION = "0.8.41";
|
||||
const VERSION = "0.8.42";
|
||||
public $yellow; // access to API
|
||||
public $response; // web response
|
||||
public $merge; // text merge
|
||||
|
@ -1553,7 +1553,8 @@ class YellowEditResponse {
|
|||
} else {
|
||||
$expire = time() + 60*60*24;
|
||||
$actionToken = $this->createActionToken($email, $action, $expire);
|
||||
$url = "$scheme://$address$base"."/action:$action/email:$email/expire:$expire/language:$userLanguage/actiontoken:$actionToken/";
|
||||
$locationArguments = "/action:$action/email:$email/expire:$expire/language:$userLanguage/actiontoken:$actionToken/";
|
||||
$url = "$scheme://$address$base".$this->yellow->toolbox->normaliseArguments($locationArguments, false, false);
|
||||
}
|
||||
$prefix = "edit".ucfirst($action);
|
||||
$message = $this->yellow->language->getText("{$prefix}Message", $userLanguage);
|
||||
|
|
|
@ -31,11 +31,11 @@ Tag: feature
|
|||
system/extensions/core.php: core.php, create, update
|
||||
|
||||
Extension: Edit
|
||||
Version: 0.8.41
|
||||
Version: 0.8.42
|
||||
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: 2020-12-21 14:57:43
|
||||
Published: 2020-12-22 10:47:41
|
||||
Developer: Datenstrom
|
||||
Tag: feature
|
||||
system/extensions/edit.php: edit.php, create, update
|
||||
|
|
Loading…
Add table
Reference in a new issue