From: Chris N. <pu...@po...> - 2001-03-19 13:46:01
|
At 20:41 -0800 2001.03.17, CertIndex.com Webmaster wrote: >why is there a variable in the vars table for defaultdisplaystatus when >every account, including anonymous user, has a default displaystatus >preference setting already? (and if i remember correctly, every story and/or >section has one as well, which i also don't exactly understand.) Many questions like this can be found by grepping the source. cpu80:/usr/local/src/slash# grep -r defaultdisplaystatus * plugins/Admin/admin.pl: $storyref->{displaystatus} = $slashdb->getVar('defaultdisplaystatus', 'value'); plugins/Admin/admin.pl: $storyref->{displaystatus} = $slashdb->getVar('defaultdisplaystatus', 'value'); Then if you look more closely around those lines in admin.pl, you see they are in the editStory function. defaultdisplaystatus, as shown there, is used for the default displaystatus of new stories. There is no displaystatus for users, so I am not sure what you are referring to there. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |