From d94fc42547ee396a5273469d6de7213f7f5628f8 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 7 Jul 2020 21:19:50 +0100 Subject: [PATCH] Bugfix feature-redirect: fix typo in variable name --- modules/feature-redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/feature-redirect.php b/modules/feature-redirect.php index a01007d..1dad450 100644 --- a/modules/feature-redirect.php +++ b/modules/feature-redirect.php @@ -11,7 +11,7 @@ register_module([ register_save_preprocessor("update_redirect_metadata"); $help_html = "

$settings->sitename supports redirect pages. To create a redirect page, enter something like # REDIRECT [[pagename]] on the first line of the redirect page's content. This must appear as the first line of the page, with no whitespace before it. You can include content beneath the redirect if you want, too (such as a reason for redirecting the page).

"; - if($settings->redirect_absolute_enabled == true) $help_html .= "

$settings->sitename also has absolute redirects enabled (e.g. if you want to make your main page point to the all pages list). To make a page an absolute redirect page, enter the following on the first line: # REDIRECT [all pages](?action=list). This example will cause the page to become a redirect to the all pages list. Of course, you can change the ?action=list bit to be any regular URL you like (relative or absolute)

"; + if($settings->redirect_absolute_enable == true) $help_html .= "

$settings->sitename also has absolute redirects enabled (e.g. if you want to make your main page point to the all pages list). To make a page an absolute redirect page, enter the following on the first line: # REDIRECT [all pages](?action=list). This example will cause the page to become a redirect to the all pages list. Of course, you can change the ?action=list bit to be any regular URL you like (relative or absolute)

"; // Register a help section add_help_section("25-redirect", "Redirect Pages", $help_html);