From: <nk...@us...> - 2009-05-14 19:11:37
|
Revision: 18792 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=18792&view=rev Author: nkoth Date: 2009-05-14 19:11:28 +0000 (Thu, 14 May 2009) Log Message: ----------- [MOD] allow way to preload list by specifying profiles and categories in query string Modified Paths: -------------- branches/3.0/tiki-admin_include_profiles.php Modified: branches/3.0/tiki-admin_include_profiles.php =================================================================== --- branches/3.0/tiki-admin_include_profiles.php 2009-05-14 18:53:43 UTC (rev 18791) +++ branches/3.0/tiki-admin_include_profiles.php 2009-05-14 19:11:28 UTC (rev 18792) @@ -143,6 +143,8 @@ $smarty->assign( 'profile', $params['profile'] ); $smarty->assign( 'repository', $params['repository'] ); + if ( $_GET['preloadlist'] && $params['repository'] ) + $list->refreshCache( $params['repository'] ); $result = $list->getList( $params['repository'], $params['category'], $params['profile'] ); $category_list = $list->getCategoryList( $params['repository'] ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |