Skip to content

Commit

Permalink
Fix theme save progressive prints
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 17, 2023
1 parent e2d59a1 commit 8ff4ef9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions theme/change_theme.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ else {
}
&put_miniserv_config(\%miniserv);
&write_file("$config_directory/config", \%gconfig);
print "$text{'change_done'}<p>\n";
print "$text{'change_done'}<br><p></p>\n";

print "$text{'change_restart'}<br>\n";
&reload_miniserv();
print "$text{'change_done'}<p>\n";
print "$text{'change_done'}<br><p></p>\n";

if (defined(&theme_post_change_theme)) {
&theme_post_change_theme();
}
print "$text{'change_redirect'}<br>\n";
print &js_redirect("/", "top");
print "$text{'change_done'}<p>\n";
print "$text{'change_done'}<br><p></p>\n";

&ui_print_footer("/", $text{'index'});

0 comments on commit 8ff4ef9

Please sign in to comment.