|
From: Greg M. <bli...@us...> - 2008-07-12 02:45:39
|
Update of /cvsroot/phpwebsite-comm/modules/poll/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9517/boost Modified Files: boost.php dependency.xml update.php Log Message: Now using mod_rewrite, added cacheQueries and addSortHeader, and saving a poll now sets manage tab. Index: dependency.xml =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/poll/boost/dependency.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dependency.xml 28 May 2007 20:52:43 -0000 1.2 --- dependency.xml 12 Jul 2008 02:45:14 -0000 1.3 *************** *** 4,8 **** <title>core</title> <properName>phpWebSite Core</properName> ! <version>1.5.0</version> <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> --- 4,8 ---- <title>core</title> <properName>phpWebSite Core</properName> ! <version>1.8.2</version> <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/poll/boost/boost.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** boost.php 28 May 2007 20:52:43 -0000 1.2 --- boost.php 12 Jul 2008 02:45:14 -0000 1.3 *************** *** 24,28 **** $proper_name = 'Poll'; ! $version = '1.1.0'; $register = FALSE; $unregister = FALSE; --- 24,28 ---- $proper_name = 'Poll'; ! $version = '1.1.1'; $register = FALSE; $unregister = FALSE; Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/poll/boost/update.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** update.php 14 Oct 2007 23:30:03 -0000 1.3 --- update.php 12 Jul 2008 02:45:14 -0000 1.4 *************** *** 33,36 **** --- 33,46 ---- $content[] = '- Fixed case where edit link would appear when user didn\'t have permission.'; $content[] = '- Now using the new logIfError() function in the core.'; + + case version_compare($currentVersion, '1.1.1', '<'): + $files = array('templates/poll/list.tpl'); + poll_update_files($files, $content); + + $content[] = '- Now using mod_rewrite for poll results page.'; + $content[] = '- Added calls to cacheQueries and addSortHeader when using DBPager.'; + $content[] = '- Saving a poll now sets the manage tab correctly.'; + $content[] = '- Removed calls to help module which were not working anyway.'; + $content[] = '- Corrected a few phrases that were not being translated.'; } *************** *** 38,40 **** --- 48,67 ---- } + function poll_update_files($files, &$content) + { + if (PHPWS_Boost::updateFiles($files, 'poll')) + { + $content[] = '- Updated the following files:'; + } + else + { + $content[] = '- Unable to update the following files:'; + } + + foreach ($files as $file) + { + $content[] = '--- ' . $file; + } + } + ?> \ No newline at end of file |