I'm game for this approach. Can we think of more descriptive values than 0, 1 and 2? I played around with possible terms but didn't like anything I came up with. Maybe we need numbers to avoid using half-accurate terms. Are there any dissenters to Redeeman's idea out there? Andi? ~joe >From: Redeeman <redeeman@xxxxxxxxxxx> > minor edit button only comes to logged in users. > > if $conf['requiresums'] == 0: > sums are never required, but optional (for both minor and normal edits) > > if $conf['requiresums'] == 1: > sums are required for normal edits > > if $conf['requiresums'] == 2: > sums are required for minor and normal edits. > ---- > > and then in "corrospondance" to the requiresums option, with javascript, > the submit button will only be enabled if the condititions requiresums > specifies are met. -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist