mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	pass context 'viewitem' to hook documentListItem
This commit is contained in:
		
							parent
							
								
									cd075c720f
								
							
						
					
					
						commit
						72b5fc7e8d
					
				|  | @ -130,7 +130,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { | |||
| 		if($document) { | ||||
| 			if ($document->getAccessMode($user) >= M_READ) { | ||||
| 				$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth); | ||||
| 				$txt = $this->callHook('documentListItem', $document, $previewer, ''); | ||||
| 				$txt = $this->callHook('documentListItem', $document, $previewer, 'viewitem'); | ||||
| 				if(is_string($txt)) | ||||
| 					$content = $txt; | ||||
| 				else  | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann