pluf2

pluf2 Commit Details


Date:2009-10-16 07:37:31 (15 years 2 months ago)
Author:Loic d'Anterroches
Branch:master
Commit:f3a7bfb5fcdb39db76f1e3b234dde3bd2910d676
Parents: 647b63fd4df959ce9f501cc6ecffd996e0b6fcc6
Message:Better margins for the read only message.

Changes:

File differences

src/Pluf/Middleware/ReadOnly.php
100100
101101
102102
103
103
104104
105105
106106
return $response;
}
$message = Pluf::f('read_only_mode_message');
$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);
$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);
return $response;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05212s using 13 queries.