Skip to content

Commit b908909

Browse files
committed
Tabs into spaces converted
1 parent c11a9b3 commit b908909

16 files changed

+1662
-1661
lines changed

web/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ <h1 class="logo"><a href="#">Vesta panel <span>&nbsp;</span></a></h1>
209209
<script type="text/javascript" src="js/lib/custom-form-elements.js"></script>
210210
<script type="text/javascript" src="js/lib/browser.js"></script>
211211
<script type="text/javascript" src="js/lib/popup.js"></script>
212+
<script type="text/javascript" src="js/tech.js"></script>
212213
<script type="text/javascript" src="js/app.js"></script>
213214
<script type="text/javascript" src="js/tech.js"></script>
214215
<script type="text/javascript" src="js/_settings.js"></script>

web/vesta/api/AjaxHandler.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,28 @@ function dispatch($request)
5252
return $space->$method($request);
5353
}
5454

55-
/**
56-
* Prepare the result of method execution into ajax-readable format
57-
*
58-
* @param boolean $result - result of method execution
59-
* @param array $data - data to be replied
60-
* @param string $message - replied message
61-
* @param array $extra - extra data
62-
*/
55+
/**
56+
* Prepare the result of method execution into ajax-readable format
57+
*
58+
* @param boolean $result - result of method execution
59+
* @param array $data - data to be replied
60+
* @param string $message - replied message
61+
* @param array $extra - extra data
62+
*/
6363
function reply($result, $data, $message = '', $extra = array())
6464
{
6565
return json_encode(array('result' => $result,
66-
'data' => $data,
67-
'message' => $message,
68-
'extra' => $extra,
69-
'errors' => $this->errors
70-
));
66+
'data' => $data,
67+
'message' => $message,
68+
'extra' => $extra,
69+
'errors' => $this->errors
70+
));
7171
}
7272

73-
/**
74-
* TODO: delete this method
75-
* @deprecated
76-
*/
73+
/**
74+
* TODO: delete this method
75+
* @deprecated
76+
*/
7777
static function makeReply($reply)
7878
{
7979
print $reply;
@@ -92,7 +92,7 @@ static function generalError($error)
9292
self::renderGlobalError(Message::ERROR, Message::GENERAL_ERROR, $error);
9393
}
9494

95-
/**
95+
/**
9696
* Generate protection error
9797
* @param Exception $error
9898
*/
@@ -101,7 +101,7 @@ static function protectionError($error)
101101
self::renderGlobalError(Message::ERROR, Message::PROTECTION_ERROR, $error);
102102
}
103103

104-
/**
104+
/**
105105
* Generate system error
106106
* @param Exception $error
107107
*/
@@ -110,7 +110,7 @@ static function systemError($error)
110110
self::renderGlobalError(Message::ERROR, Message::SYSTEM_ERROR, $error);
111111
}
112112

113-
/**
113+
/**
114114
* Prepare and render the error
115115
* @param Exception $error
116116
*/

0 commit comments

Comments
 (0)