Proper Security UI
Review Request #142 - Created March 20, 2010 and submitted
Information | |
---|---|
Andrei Grigorean | |
infoarena | |
Reviewers | |
hackers | |
- Added a select instead of the input field for the security level of a wiki page.
-
trunk/www/controllers/textblock_edit.php (Diff revision 1) -
It's just standard to do it "task: sth", that doesn't mean we always did it. :) "task:sth" is also valid. Use explode(":", $page["security"]) and strip whitespaces with trim(). You could try array_map('trim', explode(":", ...))
-
trunk/www/views/textblock_edit.php (Diff revision 1) -
I don't think we need to do this. Maybe I marked a task "sth" as round by accident. I don't want to write "sth" again :)