diff options
author | jnew-gh <github@hazelden.ca> | 2021-04-21 19:40:42 +0300 |
---|---|---|
committer | jnew-gh <github@hazelden.ca> | 2021-04-21 19:40:42 +0300 |
commit | 4379736a0028867a9e72eb2b14a110592a2c08d3 (patch) | |
tree | d5098ac21317cbb92126cda73ca2259eeb5f4f3f | |
parent | dfbcf35b9d2d396036c5353cd510191d7ddf6fc1 (diff) |
Remove unused $filter variable
$filter is to blur elements behind options saved confirmation dialog, which is not yet implemented
-rw-r--r-- | dmarcts-report-viewer-options.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dmarcts-report-viewer-options.php b/dmarcts-report-viewer-options.php index 80af053..7aed408 100644 --- a/dmarcts-report-viewer-options.php +++ b/dmarcts-report-viewer-options.php @@ -34,7 +34,7 @@ //### functions ###################################################### //#################################################################### -function html ($domains = array(), $orgs = array(), $dmarc_result_select = array(), $report_status_select = array(), $report_list_columns = array(), $filter , $cssfiles = array() ) { +function html ($domains = array(), $orgs = array(), $dmarc_result_select = array(), $report_status_select = array(), $report_list_columns = array(), $cssfiles = array() ) { global $dmarc_result; global $options; @@ -65,10 +65,11 @@ function html ($domains = array(), $orgs = array(), $dmarc_result_select = array // $html[] = "</div>"; // $filter = "style='filter: blur(3px);opacity: 50%;'"; // } +// Note: If the above is implemented, and a blur effect behind the dialog is wanted, instead of using the $filter method, simply use backdrop-filter/-webkit-backdrop-filter on screen_overlay (see https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter) - $html[] = " <div id='title' class='title'" . $filter . ">DMARCTS Options</div>"; + $html[] = " <div id='title' class='title'>DMARCTS Options</div>"; - $html[] = " <form " . $filter . "method=\"post\">"; + $html[] = " <form method='post'>"; $html[] = " <table class='optionlist'>"; $option = array_keys($options); @@ -110,7 +111,7 @@ function html ($domains = array(), $orgs = array(), $dmarc_result_select = array // Page Footer // -------------------------------------------------------------------------- - $html[] = " <div id='footer' class='footer'" . $filter . ">© 2016-" . date("Y") . " by <a href='http://www.techsneeze.com'>TechSneeze.com</a>, John Bieling and <a href='mailto:dmarcts-report-viewer@hazelden.ca'>John P. New</a>.</div>"; + $html[] = " <div id='footer' class='footer'>© 2016-" . date("Y") . " by <a href='http://www.techsneeze.com'>TechSneeze.com</a>, John Bieling and <a href='mailto:dmarcts-report-viewer@hazelden.ca'>John P. New</a>.</div>"; $html[] = " </body>"; $html[] = "</html>"; @@ -344,7 +345,6 @@ echo html( $dmarc_result_select, $report_status_select, $report_list_columns, - $filter, $cssfiles ); // } |