Skip to content

Commit

Permalink
fix coding style : remove tab characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Mar 14, 2013
1 parent 2431463 commit 19a0a40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions js/replication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
6 changes: 3 additions & 3 deletions sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 . '"';
Expand Down

0 comments on commit 19a0a40

Please sign in to comment.