Pluf Framework

Sign in or create your account | Project List | Help

Pluf Framework Commit Details

Date:2009-10-16 14:37:31 (5 months 10 hours ago)
Author:Loïc d'Anterroches
Commit:f3a7bfb5fcdb39db76f1e3b234dde3bd2910d676
Message:Better margins for the read only message.

Files: src/Pluf/Middleware/ReadOnly.php (1 diff)

Change Details

src/Pluf/Middleware/ReadOnly.php
100100            return $response;
101101        }
102102        $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);
104104        return $response;
105105    }
106106

Archive Download the corresponding diff file

Branches:
master