diff --git a/webadmin/EN/blocking_template.html b/webadmin/EN/blocking_template.html index 0c859e5946bd4bf5da0d9a8cef6834f57186c736..eb4ce833b7e88888662d97882dd5f287d93ae757 100644 --- a/webadmin/EN/blocking_template.html +++ b/webadmin/EN/blocking_template.html @@ -120,6 +120,7 @@ <textarea rows="10" cols="50" name="blockinglist" translate="no">BLOCKEDLIST</textarea> <br><br> <input type="submit" name="submitblockingcancel" translate="yes" value="Cancel"> + <input type="submit" name="submitblockingwords" translate="yes" value="Muted words"> <input type="submit" name="submitblocking" translate="yes" value="Continue"> </form> diff --git a/webadmin/blocking.php b/webadmin/blocking.php index 3bf8f4c3b8d325da39005882d577170545d8aba9..ef0438e632eec622cb7774bbb29aa568f6f49c78 100755 --- a/webadmin/blocking.php +++ b/webadmin/blocking.php @@ -12,6 +12,10 @@ if (isset($_POST['submitblocking'])) { fclose($blocking_file); } +if (isset($_POST['submitblockingwords'])) { + $output_filename = "blocking_words.html"; +} + $htmlfile = fopen("$output_filename", "r") or die("Unable to open $output_filename"); echo fread($htmlfile,filesize("$output_filename")); fclose($htmlfile);