--- NP_RSSItem.php 2007-01-28 12:01:14.000000000 -0800
+++ /home/yuxuanwang/yuxuan.org/wang/test/nucleus/plugins/NP_RSSItem.php 2007-09-09 10:22:52.000000000 -0700
@@ -37,16 +37,17 @@
}
function init() {
- $this->defaultlook = ($this->getOption('RSSLink'));
- $this->rssimage = ($this->getOption(RSSImage));
- $this->lang = ($this->getOption('lang'));
+ global $blogid;
+ $this->defaultlook = ($this->getBlogOption($blogid, 'RSSLink'));
+ $this->rssimage = ($this->getBlogOption($blogid, RSSImage));
+ $this->lang = ($this->getBlogOption($blogid, 'lang'));
}
function install() {
- $this->createOption('lang', 'Language to use','text','en');
- $this->createOption('RSSLink', 'How does the rss link look like?','text','
createBlogOption('lang', 'Language to use','text','en');
+ $this->createBlogOption('RSSLink', 'How does the rss link look like?','text','
');
- $this->createOption('RSSImage', 'What image should be displayed as your site logo?', 'text', 'http://somesite.com/nucleus/nucleus
+ $this->createBlogOption('RSSImage', 'What image should be displayed as your site logo?', 'text', 'http://somesite.com/nucleus/nucleus
2.gif');
sql_query ("CREATE TABLE IF NOT EXISTS `".sql_table('plugin_rssitem')."`
( `itemid` int(11),