mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	- fixed noderange widget in web ui
- fixed problem with save of db tables git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -252,7 +252,7 @@ function doTabrestore($tab, & $data){ | ||||
|     $usernode->addChild('username',$_SESSION["username"]); | ||||
|     $usernode->addChild('password',getpassword()); | ||||
| 	foreach($data as $line){ | ||||
| 		foreach ($line as &$f) { if (!empty($f) && !preg_match('/^".*"$/', $f)) { $f = '"'.$f.'"'; } } | ||||
| 		foreach ($line as &$f) { if (!empty($f) && !ereg("^#", $f) && !preg_match('/^".*"$/', $f)) { $f = '"'.$f.'"'; } } | ||||
|  | ||||
| 		// Combine the elements of the array, but have to handle sparse arrays | ||||
| 		ksort($line, SORT_NUMERIC); | ||||
|   | ||||
| @@ -11,6 +11,8 @@ echo "</head><body>\n"; | ||||
| //insertLogin(); | ||||
|  | ||||
| dumpGlobals(); | ||||
| echo '<p>'; print_r($_SESSION['editable-hosts']); echo "</p>\n"; | ||||
| //foreach ($_SESSION['editable-deps'] as $key => $val) { trace("$key=$val."); } | ||||
|  | ||||
| /* | ||||
| $xml = docmd("authcheck","",NULL); | ||||
|   | ||||
| @@ -27,7 +27,7 @@ require_once "$TOPDIR/jq/jsonwrapper.php"; | ||||
|     $numsubgroups=count($rvals->xcatresponse->intersectinggroups); | ||||
|     $numnodes=count($rvals->xcatresponse->node); | ||||
|     $jdata=array(); | ||||
|     if ($numnodes >= $numsubgroups) { #If there are few enough subgroups to be helpful filters, add them in | ||||
|     if ($numnodes >= $numsubgroups || $root==1) { #If there are few enough subgroups to be helpful filters, add them in | ||||
|         foreach ($rvals->xcatresponse->intersectinggroups as $group) { | ||||
|             if (! in_array("$group",$parents)) { | ||||
|             $jdata[]= array("data"=>"$group", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user