Permalink
Browse files

fix coding style : remove tab characters

  • Loading branch information...
1 parent 2431463 commit 19a0a406b5021bf7a31be565323ce49e1ee4e1df @ruleant ruleant committed Mar 14, 2013
Showing with 10 additions and 10 deletions.
  1. +7 −7 js/replication.js
  2. +3 −3 sql.php
View
@@ -16,14 +16,14 @@ function update_config()
if ($('#db_select option:selected').size() == 0) {
$('#rep').text(conf_prefix);
} else if ($('#db_type option:selected').val() == 'all') {
- $('#db_select option:selected').each(function() {
- database_list += conf_ignore + $(this).val() + "\n";
- });
- $('#rep').text(conf_prefix + database_list);
+ $('#db_select option:selected').each(function() {
+ database_list += conf_ignore + $(this).val() + "\n";
+ });
+ $('#rep').text(conf_prefix + database_list);
} else {
- $('#db_select option:selected').each(function() {
- database_list += conf_do + $(this).val() + "\n";
- });
+ $('#db_select option:selected').each(function() {
+ database_list += conf_do + $(this).val() + "\n";
+ });
$('#rep').text(conf_prefix + database_list);
}
}
View
@@ -228,10 +228,10 @@
$select = '';
- //converts characters of $_REQUEST['curr_value'] to HTML entities
+ //converts characters of $_REQUEST['curr_value'] to HTML entities
$converted_curr_value = htmlentities($_REQUEST['curr_value'], ENT_COMPAT, "UTF-8");
-
- $selected_values = explode(',', $converted_curr_value);
+
+ $selected_values = explode(',', $converted_curr_value);
foreach ($values as $value) {
$select .= '<option value="' . $value . '"';

0 comments on commit 19a0a40

Please sign in to comment.