mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	add methods for creating panes
This commit is contained in:
		
							parent
							
								
									d3674886ae
								
							
						
					
					
						commit
						30bed2abdf
					
				|  | @ -622,6 +622,18 @@ background-image: linear-gradient(to bottom, #882222, #111111);; | |||
| 		echo $content; | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	protected function showPaneHeader($name, $title, $isactive) { /* {{{ */ | ||||
| 		echo '<li class="nav-item '.($isactive ? 'active' : '').'"><a class="nav-link '.($isactive ? 'active' : '').'" data-target="#'.$name.'" data-toggle="tab" role="tab">'.$title.'</a></li>'."\n"; | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	protected function showStartPaneContent($name, $isactive) { /* {{{ */ | ||||
| 		echo '<div class="tab-pane'.($isactive ? ' active' : '').'" id="'.$name.'" role="tabpanel">'; | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	protected function showEndPaneContent($name, $currentab) { /* {{{ */ | ||||
| 		echo '</div>'; | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	private function folderNavigationBar($folder) { /* {{{ */ | ||||
| 		$dms = $this->params['dms']; | ||||
| 		$accessobject = $this->params['accessobject']; | ||||
|  | @ -1249,7 +1261,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; | |||
| 			foreach($config['attributes'] as $attrname=>$attrval) | ||||
| 				$content .= ' '.$attrname.'="'.$attrval.'"'; | ||||
| 		} | ||||
| 		$content .= ">".$config['title']."…</a>\n"; | ||||
| 		$content .= ">".$config['title']."</a>\n"; | ||||
| 		return $content; | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
|  | @ -1447,7 +1459,7 @@ $(document).ready(function() { | |||
| 				array( | ||||
| 					'target' => 'docChooser'.$formid, | ||||
| 					'remote' => "../out/out.DocumentChooser.php?form=".$formid."&folderid=".$this->params['dms']->getRootFolder()->getId(), | ||||
| 					'title' => getMLText('document') | ||||
| 					'title' => getMLText('document').'…' | ||||
| 				)); | ||||
| 		$content .= "</div>\n"; | ||||
| 		$content .= "</div>\n"; | ||||
|  | @ -1513,7 +1525,7 @@ function folderSelected<?php echo $formid ?>(id, name) { | |||
| 				array( | ||||
| 					'target' => 'folderChooser'.$formid, | ||||
| 					'remote' => "../out/out.FolderChooser.php?form=".$formid."&mode=".$accessMode."&exclude=".$exclude, | ||||
| 					'title' => getMLText('folder') | ||||
| 					'title' => getMLText('folder').'…' | ||||
| 				)); | ||||
| 		} | ||||
| 		$content .= "</div>\n"; | ||||
|  | @ -1587,7 +1599,7 @@ $(document).ready(function() { | |||
| 			array( | ||||
| 				'target' => 'keywordChooser', | ||||
| 				'remote' => "../out/out.KeywordChooser.php?target=".$formName, | ||||
| 				'title' => getMLText('keywords') | ||||
| 				'title' => getMLText('keywords').'…' | ||||
| 			)); | ||||
| 		$content .= ' | ||||
| 			</div> | ||||
|  | @ -1850,7 +1862,7 @@ $(document).ready(function() { | |||
| 			array( | ||||
| 				'target' => 'dropfolderChooser', | ||||
| 				'remote' => "../out/out.DropFolderChooser.php?form=".$formName."&dropfolderfile=".urlencode($dropfolderfile)."&showfolders=".$showfolders, | ||||
| 				'title' => ($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file")) | ||||
| 				'title' => ($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file")).'…' | ||||
| 			)); | ||||
| 		$content .= "</div>\n"; | ||||
| 		$content .= "</div>\n"; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann