Used Eclipse's formatter and added comments.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-12-02 23:06:22 +00:00
parent eaa2788627
commit e616e6afc6
2 changed files with 19 additions and 17 deletions

View File

@ -713,37 +713,38 @@ table a:hover {
height: 5px;
}
.discoverstep{
width : 200px;
/*--------------- Discovery section ---------------*/
.discoverstep {
width: 200px;
vertical-align: top;
float: left;
position: relative;
margin: 15px 0px 15px 15px;
overflow: auto;
background-color : #CCCCFF;
padding : 10px 0px 0px 5px;
background-color: #CCCCFF;
padding: 10px 0px 0px 5px;
-moz-border-radius: .5em;
-webkit-border-radius: .5em;
border-radius: .5em;
}
.discoverstep span{
font: normal bold 13px/35px verdana, arial, helvetica, sans-serif;
.discoverstep span {
font: normal bold 13px/ 35px verdana, arial, helvetica, sans-serif;
margin: 0px 0px 10px 0px;
}
.discovercontent{
width : 700px;
display : inline-table;
padding : 20px;
.discovercontent {
width: 700px;
display: inline-table;
padding: 20px;
}
.discovercontent td{
.discovercontent td {
font: 12px verdana, arial, helvetica, sans-serif;
}
.discovercontent th{
font : normal bold 15px verdana, arial, helvetica, sans-serif;
.discovercontent th {
font: normal bold 15px verdana, arial, helvetica, sans-serif;
text-align: center;
padding : 20px 0px 10px 0px;
padding: 20px 0px 10px 0px;
}

View File

@ -1,11 +1,13 @@
<?php
/**
* Browse the server directory
*/
$path = $_POST["path"];
$result = array();
if(false && !isset($path)) {
$element = array();
$element["name"] = "path should be specified";
$element["name"] = "Path should be specified";
$element["isFolder"] = false;
$element["isError"] = true;
$result[$file] = $element;
@ -25,5 +27,4 @@ if(false && !isset($path)) {
}
echo json_encode($result);
?>