Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-04-14 07:39:21 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-14 07:39:21 +0400
commit33321518591ade27e1651bf3e912d6bdecb7f342 (patch)
treeee0a53b563ed0f641dd90faccadf2bbda26ec2e0 /db_search.php
parente6626004155fbf2932c36e84bc3c251b2a76dce3 (diff)
Fix Checkstyle Warnings - Type: CloseBracketLine (Closing parenthesis of a multi-line function call must be on a line by itself)
Diffstat (limited to 'db_search.php')
-rw-r--r--db_search.php26
1 files changed, 16 insertions, 10 deletions
diff --git a/db_search.php b/db_search.php
index 9bb08a2c4d..b262d24b09 100644
--- a/db_search.php
+++ b/db_search.php
@@ -204,11 +204,13 @@ if (isset($_REQUEST['submit_search'])) {
// Displays search string
echo '<br />' . "\n"
- .'<table class="data">' . "\n"
- .'<caption class="tblHeaders">' . "\n"
- .sprintf(__('Search results for "<i>%s</i>" %s:'),
- $searched, $option_str) . "\n"
- .'</caption>' . "\n";
+ . '<table class="data">' . "\n"
+ . '<caption class="tblHeaders">' . "\n"
+ . sprintf(
+ __('Search results for "<i>%s</i>" %s:'),
+ $searched, $option_str
+ ) . "\n"
+ . '</caption>' . "\n";
$num_search_result_total = 0;
$odd_row = true;
@@ -224,8 +226,10 @@ if (isset($_REQUEST['submit_search'])) {
$sql_query .= $newsearchsqls['select_count'];
echo '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . '">'
- .'<td>' . sprintf(_ngettext('%1$s match inside table <i>%2$s</i>', '%1$s matches inside table <i>%2$s</i>', $res_cnt), $res_cnt,
- htmlspecialchars($each_table)) . "</td>\n";
+ . '<td>' . sprintf(
+ _ngettext('%1$s match inside table <i>%2$s</i>', '%1$s matches inside table <i>%2$s</i>', $res_cnt),
+ $res_cnt, htmlspecialchars($each_table)
+ ) . "</td>\n";
if ($res_cnt > 0) {
$this_url_params['sql_query'] = $newsearchsqls['select_fields'];
@@ -238,7 +242,7 @@ if (isset($_REQUEST['submit_search'])) {
?>
<td> <a name="delete_search" href="<?php echo $delete_result_path; ?>" onclick="deleteResult('<?php echo $delete_result_path ?>' , ' <?php printf(__('Delete the matches for the %s table?'), htmlspecialchars($each_table)); ?>','<?php echo ($GLOBALS['cfg']['AjaxEnable']); ?>');return false;" ><?php echo __('Delete') ?></a> </td>
<?php
- } else {
+ } else {
echo '<td>&nbsp;</td>' . "\n"
.'<td>&nbsp;</td>' . "\n";
}// end if else
@@ -249,8 +253,10 @@ if (isset($_REQUEST['submit_search'])) {
echo '</table>' . "\n";
if (count($tables_selected) > 1) {
- echo '<p>' . sprintf(_ngettext('<b>Total:</b> <i>%s</i> match', '<b>Total:</b> <i>%s</i> matches', $num_search_result_total),
- $num_search_result_total) . '</p>' . "\n";
+ echo '<p>' . sprintf(
+ _ngettext('<b>Total:</b> <i>%s</i> match', '<b>Total:</b> <i>%s</i> matches', $num_search_result_total),
+ $num_search_result_total
+ ) . '</p>' . "\n";
}
} // end 1.