mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	do not show copy clipboard icon if clipboard is turned off
was still visible in search result
This commit is contained in:
		
							parent
							
								
									89ef1a58ec
								
							
						
					
					
						commit
						53697b37ff
					
				|  | @ -59,6 +59,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { | |||
| 		$mode = $this->params['mode']; | ||||
| 		$workflowmode = $this->params['workflowmode']; | ||||
| 		$enablefullsearch = $this->params['enablefullsearch']; | ||||
| 		$enableclipboard = $this->params['enableclipboard']; | ||||
| 		$attributes = $this->params['attributes']; | ||||
| 		$categories = $this->params['categories']; | ||||
| 		$owner = $this->params['owner']; | ||||
|  | @ -510,9 +511,11 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { | |||
|      <span style="padding: 2px; color: #CCC;"><i class="icon-edit"></i></span> | ||||
| <?php | ||||
| 					} | ||||
| 					if($enableclipboard) { | ||||
| ?>
 | ||||
|      <a class="addtoclipboard" rel="<?php echo "D".$document->getID(); ?>" msg="<?php printMLText('splash_added_to_clipboard'); ?>" _href="../op/op.AddToClipboard.php?documentid=<?php echo $document->getID(); ?>&type=document&id=<?php echo $document->getID(); ?>&refferer=<?php echo urlencode($this->params['refferer']); ?>" title="<?php printMLText("add_to_clipboard");?>"><i class="icon-copy"></i></a> | ||||
| <?php | ||||
| 					} | ||||
| 					print "</div>"; | ||||
| 					print "</td>"; | ||||
| 
 | ||||
|  | @ -572,9 +575,11 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style { | |||
|      <span style="padding: 2px; color: #CCC;"><i class="icon-edit"></i></span> | ||||
| <?php | ||||
| 					} | ||||
| 					if($enableclipboard) { | ||||
| ?>
 | ||||
|      <a class="addtoclipboard" rel="<?php echo "F".$folder->getID(); ?>" msg="<?php printMLText('splash_added_to_clipboard'); ?>" _href="../op/op.AddToClipboard.php?folderid=<?php echo $folder->getID(); ?>&type=folder&id=<?php echo $folder->getID(); ?>&refferer=<?php echo urlencode($this->params['refferer']); ?>" title="<?php printMLText("add_to_clipboard");?>"><i class="icon-copy"></i></a> | ||||
| <?php | ||||
| 					} | ||||
| 					print "</div>"; | ||||
| 					print "</td>"; | ||||
| 					print "</tr>\n"; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann