Change Details
| src/Pluf/Middleware/ReadOnly.php |
| 100 | 100 | return $response; |
| 101 | 101 | } |
| 102 | 102 | $message = Pluf::f('read_only_mode_message'); |
| 103 | | $response->content = str_replace('<body>', '<body><div style="width: 50%; color: #c00; border: 2px solid #c00; padding: 5px; margin: 1em; background-color: #fffde3">'.$message.'</div>', $response->content); |
| 103 | $response->content = str_replace('<body>', '<body><div style="width: 50%; color: #c00; border: 2px solid #c00; padding: 5px; margin: 1em auto 2em; background-color: #fffde3">'.$message.'</div>', $response->content); |
| 104 | 104 | return $response; |
| 105 | 105 | } |
| 106 | 106 | |
Download the corresponding diff file