mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	show header of additional preview only if hook returns a text
This commit is contained in:
		
							parent
							
								
									7e34fa0663
								
							
						
					
					
						commit
						4efc8226c8
					
				|  | @ -570,8 +570,10 @@ $(document).ready( function() { | |||
| 					break; | ||||
| 				default: | ||||
| 					$txt = $this->callHook('additionalDocumentPreview', $latestContent); | ||||
| 					if(is_string($txt)) | ||||
| 					if(is_string($txt)) { | ||||
| 						$this->contentHeading(getMLText("preview")); | ||||
| 						echo $txt; | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann