|
From: Eloi G. <ada...@us...> - 2008-11-18 05:00:28
|
Update of /cvsroot/phpwebsite-comm/modules/article/boost In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21778/boost Modified Files: update.php boost.php Log Message: RFE ["trf000"] - Approval Permissions can now be set/changed en masse via a "Editing Article Access Permissions" dialog Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/boost.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** boost.php 21 Aug 2008 20:17:29 -0000 1.9 --- boost.php 18 Nov 2008 05:00:17 -0000 1.10 *************** *** 10,14 **** $proper_name = 'Article Manager'; ! $version = '4.1.0'; $register = FALSE; $unregister = FALSE; --- 10,14 ---- $proper_name = 'Article Manager'; ! $version = '4.2.0'; $register = FALSE; $unregister = FALSE; Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/update.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** update.php 11 Oct 2008 06:13:52 -0000 1.22 --- update.php 18 Nov 2008 05:00:17 -0000 1.23 *************** *** 214,218 **** --- 214,235 ---- case version_compare($currentVersion, '4.2.0', '<'): + $file_origin = PHPWS_SOURCE_DIR . 'mod/article/inc/default_config.php'; + $destination_directory = PHPWS_HOME_DIR . 'files/article/'; + if (PHPWS_File::fileCopy($file_origin, $destination_directory, 'config.php', 1, 0)) + $content[] = '+ Updated the module configuration file:'; + else { + $content[] = '+ Unable to update the module configuration file:'; + return false; + } + $files = array('templates/search_advanced.tpl'); + if (PHPWS_Boost::updateFiles($files, 'article')) { + $content[] = '+ Updated the following files: ' . implode("\n ", $files); + } + else { + $content[] = '+ Unable to update the following files: ' . implode("\n ", $files); + return false; + } + $content[] = '<pre> ======================== *************** *** 223,229 **** + Fixed Bug Report [ 2130663 ] - Restricted Users cannot edit their own articles + Fixed Bug Report [ 2089717 ] - Articles awaiting approval all have the date Dec. 31, 1969. ! + </pre>'; ! } // end of switch --- 240,247 ---- + Fixed Bug Report [ 2130663 ] - Restricted Users cannot edit their own articles + Fixed Bug Report [ 2089717 ] - Articles awaiting approval all have the date Dec. 31, 1969. ! + RFE [ 2138556 ] - "Viewable By" and "Editable By" filters are added to the search menu ! + RFE ["trf000"] - Approval Permissions can now be set/changed en masse via a "Editing Article Access Permissions" dialog </pre>'; ! } // end of switch |