Update of /cvsroot/phpwebsite-comm/modules/phpwsrssfeeds/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20512/boost
Modified Files:
install.sql update.php
Log Message:
added multi-view ability to organize feeds by date
Index: install.sql
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/phpwsrssfeeds/boost/install.sql,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** install.sql 2 Aug 2004 20:14:18 -0000 1.12
--- install.sql 23 Sep 2004 19:06:55 -0000 1.13
***************
*** 26,30 ****
target VARCHAR(10) NOT NULL DEFAULT '_blank',
expire INT NOT NULL DEFAULT '60',
! max_items INT NOT NULL DEFAULT '20',
PRIMARY KEY (id)
);
--- 26,30 ----
target VARCHAR(10) NOT NULL DEFAULT '_blank',
expire INT NOT NULL DEFAULT '60',
! max_items INT NOT NULL DEFAULT '20',
PRIMARY KEY (id)
);
***************
*** 68,71 ****
--- 68,73 ----
show_cat_link SMALLINT NOT NULL DEFAULT '1',
sort_order TEXT,
+ orgn_by_date SMALLINT NOT NULL DEFAULT '0',
+ days_ahead TEXT DEFAULT '0',
PRIMARY KEY (id)
);
Index: update.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/phpwsrssfeeds/boost/update.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** update.php 10 Sep 2004 15:19:12 -0000 1.22
--- update.php 23 Sep 2004 19:06:55 -0000 1.23
***************
*** 134,136 ****
--- 134,155 ----
CLS_help::setup_help("phpwsrssfeeds");
}
+
+ if(version_compare($currentVersion, "0.35") < 0){
+ if(!$GLOBALS["core"]->sqlColumnExists("mod_phpwsrssfeeds_multi", "orgn_by_date"))
+ if(!$GLOBALS['core']->query("ALTER TABLE mod_phpwsrssfeeds_multi ADD COLUMN `orgn_by_date` " . "SMALLINT NOT NULL DEFAULT '0' AFTER `sort_order`", TRUE)) {
+ $status = 0;
+ }
+ $content .= "Added Column for organizing feeds in a Multi-View by using dates.<br />";
+
+ CLS_help::uninstall_help("phpwsrssfeeds");
+ CLS_help::setup_help("phpwsrssfeeds");
+
+ if(!$GLOBALS["core"]->sqlColumnExists("mod_phpwsrssfeeds_multi", "days_ahead"))
+ if(!$GLOBALS['core']->query("ALTER TABLE mod_phpwsrssfeeds_multi ADD COLUMN `days_ahead` " . "TEXT DEFAULT '0' AFTER `orgn_by_date`", TRUE)) {
+ $status = 0;
+ }
+
+ $content .= "Added Column to specify days ahead for multiview date organization.<br />";
+
+ }
?>
|