mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Add preview functionality -- actually change preview message this time
This commit is contained in:
parent
8eee12bd6b
commit
070afff19b
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue