mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	hook folderListItem has new parameter
This commit is contained in:
		
							parent
							
								
									92216112a4
								
							
						
					
					
						commit
						d5ce0f8fe9
					
				|  | @ -359,7 +359,7 @@ $('body').on('click', '.order-btn', function(ev) { | |||
| 
 | ||||
| 			foreach($subFolders as $subFolder) { | ||||
| 				if(!$maxItemsPerPage || $i < $maxItemsPerPage) { | ||||
| 					$txt = $this->callHook('folderListItem', $subFolder, 'viewfolder'); | ||||
| 					$txt = $this->callHook('folderListItem', $subFolder, false, 'viewfolder'); | ||||
| 					if(is_string($txt)) | ||||
| 						echo $txt; | ||||
| 					else { | ||||
|  | @ -467,7 +467,7 @@ $('body').on('click', '.order-btn', function(ev) { | |||
| 			$j = 0; // counts only returned entries
 | ||||
| 			foreach($subFolders as $subFolder) { | ||||
| 				if($i >= $offset && $j < $limit) { | ||||
| 					$txt = $this->callHook('folderListItem', $subFolder, 'viewfolder'); | ||||
| 					$txt = $this->callHook('folderListItem', $subFolder, false, 'viewfolder'); | ||||
| 					if(is_string($txt)) | ||||
| 						$content .= $txt; | ||||
| 					else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann