mirror of
				https://github.com/pandorafms/pandorafms.git
				synced 2025-10-31 11:34:51 +01:00 
			
		
		
		
	2013-05-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php: disabled show events when the pandora node is set replication events. Fixes: #2216 * operation/events/events.php: improve the source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
		
							parent
							
								
									249f0b38f9
								
							
						
					
					
						commit
						d3d36ae09e
					
				| @ -1,3 +1,12 @@ | ||||
| 2013-05-16 Miguel de Dios <miguel.dedios@artica.es> | ||||
| 
 | ||||
| 	* operation/agentes/stat_win.php: disabled show events when the | ||||
| 	pandora node is set replication events. | ||||
| 	 | ||||
| 	Fixes: #2216 | ||||
| 	 | ||||
| 	* operation/events/events.php: improve the source code style. | ||||
| 
 | ||||
| 2013-05-16 Miguel de Dios <miguel.dedios@artica.es> | ||||
| 
 | ||||
| 	* ajax.php: fixed PHP warning when the HTTP_REFERER not set. | ||||
|  | ||||
| @ -281,7 +281,18 @@ $label = base64_decode(get_parameter('label', '')); | ||||
| 		 | ||||
| 		$data = array(); | ||||
| 		$data[0] = __('Show events'); | ||||
| 		$data[1] = html_print_checkbox ("draw_events", 1, (bool) $draw_events, true); | ||||
| 		$disabled = false; | ||||
| 		if (isset($config['event_replication'])) { | ||||
| 			if ($config['event_replication']) { | ||||
| 				$disabled = true; | ||||
| 			} | ||||
| 		} | ||||
| 		$data[1] = html_print_checkbox ("draw_events", 1, | ||||
| 			(bool)$draw_events, true, $disabled); | ||||
| 		if ($disabled) { | ||||
| 			$data[1] .= ui_print_help_tip( | ||||
| 				__('Show events is disabled because this Pandora node is set the event replication.'), true); | ||||
| 		} | ||||
| 		$table->data[] = $data; | ||||
| 		$table->rowclass[] = ''; | ||||
| 		 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user