1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

Add preview functionality -- actually change preview message this time

This commit is contained in:
Isabeau Kisler 2017-07-02 14:15:20 -07:00
parent 8eee12bd6b
commit 070afff19b
2 changed files with 2 additions and 2 deletions

View file

@ -5236,7 +5236,7 @@ register_module([
$page_tags = $_POST['tags'];
// Insert the "view" part of the page we're editing
$content .= "<h4>To continue editing or save, scroll down...</h4>" . parse_page_source($pagetext);
$content .= "<p class='preview-message'><strong>This is only a preview, so your edits haven't been saved! Scroll down to continue editing.</strong></p>" . parse_page_source($pagetext);
}

View file

@ -167,7 +167,7 @@ register_module([
$page_tags = $_POST['tags'];
// Insert the "view" part of the page we're editing
$content .= "<h4>To continue editing or save, scroll down...</h4>" . parse_page_source($pagetext);
$content .= "<p class='preview-message'><strong>This is only a preview, so your edits haven't been saved! Scroll down to continue editing.</strong></p>" . parse_page_source($pagetext);
}