mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 20:51:22 +00:00 
			
		
		
		
	show parent folder in list of documents
This commit is contained in:
		
							parent
							
								
									935c9557f9
								
							
						
					
					
						commit
						996163f72f
					
				|  | @ -142,10 +142,14 @@ $(document).ready( function() { | |||
| 				print $this->folderListHeader(); | ||||
| 				print "<tbody>\n"; | ||||
| 				foreach($res['folders'] as $subFolder) { | ||||
| 					echo $this->folderListRow($subFolder); | ||||
| 					$extracontent = array(); | ||||
| 					$extracontent['below_title'] = $this->getListRowPath($subFolder); | ||||
| 					echo $this->folderListRow($subFolder, false, $extracontent); | ||||
| 				} | ||||
| 				foreach($res['docs'] as $document) { | ||||
| 					echo $this->documentListRow($document, $previewer); | ||||
| 					$extracontent = array(); | ||||
| 					$extracontent['below_title'] = $this->getListRowPath($document); | ||||
| 					echo $this->documentListRow($document, $previewer, false, 0, $extracontent); | ||||
| 				} | ||||
| 
 | ||||
| 				echo "</tbody>\n</table>\n"; | ||||
|  | @ -161,7 +165,9 @@ $(document).ready( function() { | |||
| 				print "</tr>\n</thead>\n<tbody>\n"; | ||||
| 				foreach($res['contents'] as $content) { | ||||
| 					$doc = $content->getDocument(); | ||||
| 					echo $this->documentListRow($doc, $previewer); | ||||
| 					$extracontent = array(); | ||||
| 					$extracontent['below_title'] = $this->getListRowPath($doc); | ||||
| 					echo $this->documentListRow($doc, $previewer, false, 0, $extracontent); | ||||
| 				} | ||||
| 				print "</tbody></table>"; | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann