$Result['content'] = $tpl->fetch( 'design:infocollector/confirmremoval.tpl' ); $Result['path'] = array( array( 'url' => false, 'text' => ezpI18n::tr( 'kernel/infocollector', 'Collected information' ) ) ); return; } if( $module->isCurrentAction( 'ConfirmRemoval' ) ) { $collectionIDArray = $http->sessionVariable( 'CollectionIDArray' ); if( is_array( $collectionIDArray ) ) { foreach( $collectionIDArray as $collectionID ) { eZInformationCollection::removeCollection( $collectionID ); } } $objectID = $http->sessionVariable( 'ObjectID' ); $module->redirectTo( '/infocollector/collectionlist/' . $objectID ); } if( eZPreferences::value( 'admin_infocollector_list_limit' ) ) { switch( eZPreferences::value( 'admin_infocollector_list_limit' ) ) { case '2': { $limit = 25; } break; case '3': { $limit = 50; } break; default: { $limit = 10; } break;