mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
search for documents/folders only
This commit is contained in:
parent
d32df44f7b
commit
4814c5cefe
|
@ -193,6 +193,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) {
|
||||
|
|
|
@ -142,6 +142,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