mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	search for documents/folders only
This commit is contained in:
		
							parent
							
								
									9de1ff7cf4
								
							
						
					
					
						commit
						bd08e9b125
					
				|  | @ -195,6 +195,9 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) { | |||
| 	 * are found | ||||
| 	 */ | ||||
| 	$resultmode = 0x03; | ||||
| 	if (isset($_GET["resultmode"]) && is_numeric($_GET["resultmode"])) { | ||||
| 			$resultmode = $_GET['resultmode']; | ||||
| 	} | ||||
| 
 | ||||
| 	$mode = "AND"; | ||||
| 	if (isset($_GET["mode"]) && is_numeric($_GET["mode"]) && $_GET["mode"]==0) { | ||||
|  |  | |||
|  | @ -143,6 +143,16 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { | |||
| </td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td><?php printMLText("search_resultmode");?>:</td>
 | ||||
| <td> | ||||
| <select name="resultmode"> | ||||
| <option value="3" <?php echo ($resultmode=='3') ? "selected" : ""; ?>><?php printMLText("search_resultmode_both");?>
 | ||||
| <option value="2"<?php echo ($resultmode=='2') ? "selected" : ""; ?>><?php printMLText("search_mode_folders");?>
 | ||||
| <option value="1"<?php echo ($resultmode=='1') ? "selected" : ""; ?>><?php printMLText("search_mode_documents");?>
 | ||||
| </select> | ||||
| </td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td><?php printMLText("under_folder")?>:</td>
 | ||||
| <td><?php $this->printFolderChooser("form1", M_READ, -1, $startfolder);?></td>
 | ||||
| </tr> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann