1# mod_speling.pl 2# Defines editors spelling correction directives 3 4sub mod_speling_directives 5{ 6$rv = [ [ 'CheckSpelling', 0, 5, 'virtual', '1.3-1.302' ], 7 [ 'CheckSpelling', 0, 5, 'virtual directory htaccess', 1.302 ] ]; 8return &make_directives($rv, $_[0], "mod_speling"); 9} 10 11sub edit_CheckSpelling 12{ 13return (1, "$text{'mod_speling_autocorr'}", 14 &choice_input($_[0]->{'value'}, "CheckSpelling", 15 "", "$text{'no'},Off", "$text{'yes'},On", "$text{'mod_speling_default'},")); 16} 17sub save_CheckSpelling 18{ 19return &parse_choice("CheckSpelling", ""); 20} 21 221; 23 24