From: Steve W. <sw...@wc...> - 2000-07-03 18:43:55
|
Sure, we could do that. :-) sw On Mon, 3 Jul 2000, Arno Hollosi wrote: > > > Do we want to add page locking now? I want to. I think we should add one > > more column to the tables, "access" and it will just be Boolean for now. I > > have the administration forms largely fleshed out, and it should be simple > > and rudimentary for the first time it's released: if it's locked, noone > > can edit it, if it's not everyone can. > > Cough. > Ahm, how about using the flags column? > That's what this column is all about - binary flags that can be tested > with bit-opertaions. > > e.g. define("PAGE_LOCKED", 1); > > if($pagehash['flags'] & PAGE_LOCKED) > dont_allow_edit(); > > /Arno > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk > ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |