--- NP_Calendar.php 2006-03-02 12:11:44.000000000 -0800 +++ NP_Calendar.php.new 2007-09-16 07:45:39.000000000 -0700 @@ -91,7 +91,7 @@ */ function install() { // create some options - $this->createOption('Locale','Language (locale) to use','text','english'); + $this->createBlogOption('Locale','Language (locale) to use','text','english'); $this->createOption('LinkAll','Create links for all days (even those that do not have posts?)','yesno','no'); $this->createOption('JustCal','Display a calendar with no link? (override create links for all days above)','yesno','no'); $this->createOption('Summary','Summary text for the calendar table','text','Monthly calendar with links to each day\'s posts'); @@ -160,7 +160,7 @@ $blogid = $blog->getID(); // set correct locale - setlocale(LC_TIME,$this->getOption('Locale')); + setlocale(LC_TIME,$this->getBlogOption($blogid, 'Locale')); // get year/month etc $date = getDate($timestamp);