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:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:51:41 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-04-01 13:51:41 +0400
commitadb39168cc384d7a808f836cf2e9f9585b82f864 (patch)
treeb1c9366baf0b0a405105242a90ab24908eba2342 /server_privileges.php
parentb2f3ae5fcfdd8aa881c7abf20ffccdfc583a518a (diff)
coding standard: no braces around include
Diffstat (limited to 'server_privileges.php')
-rw-r--r--server_privileges.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/server_privileges.php b/server_privileges.php
index c45ff1a7ac..28f156bbb1 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -8,13 +8,13 @@
/**
*
*/
-require_once('./libraries/common.inc.php');
+require_once './libraries/common.inc.php';
/**
* Does the common work
*/
$js_to_run = 'server_privileges.js';
-require('./libraries/server_common.inc.php');
+require './libraries/server_common.inc.php';
/**
@@ -43,13 +43,13 @@ if ( isset( $dbname ) ) {
* Checks if the user is allowed to do what he tries to...
*/
if (!$is_superuser) {
- require('./libraries/server_links.inc.php');
+ require './libraries/server_links.inc.php';
echo '<h2>' . "\n"
. ($GLOBALS['cfg']['MainPageIconic'] ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 'b_usrlist.png" alt="" />' : '')
. $GLOBALS['strPrivileges'] . "\n"
. '</h2>' . "\n"
. $GLOBALS['strNoPrivileges'] . "\n";
- require_once('./libraries/footer.inc.php');
+ require_once './libraries/footer.inc.php';
}
/**
@@ -1236,15 +1236,15 @@ if (!empty($flush_privileges)) {
* Displays the links
*/
if (isset($viewing_mode) && $viewing_mode == 'db') {
- $db = $checkprivs;
- $url_query .= '&amp;goto=db_operations.php';
+ $db = $checkprivs;
+ $url_query .= '&amp;goto=db_operations.php';
- // Gets the database structure
- $sub_part = '_structure';
- require('./libraries/db_info.inc.php');
- echo "\n";
+ // Gets the database structure
+ $sub_part = '_structure';
+ require './libraries/db_info.inc.php';
+ echo "\n";
} else {
- require('./libraries/server_links.inc.php');
+ require './libraries/server_links.inc.php';
}
@@ -1603,7 +1603,7 @@ if ( empty( $adduser ) && ( ! isset( $checkprivs ) || ! strlen($checkprivs) ) )
if ( $user_does_not_exists ) {
echo $GLOBALS['strUserNotFound'];
PMA_displayLoginInformationFields();
- //require_once('./libraries/footer.inc.php');
+ //require_once './libraries/footer.inc.php';
}
echo '<form name="usersForm" id="usersForm" action="server_privileges.php" method="post">' . "\n"
. PMA_generate_common_hidden_inputs('', '', 3)
@@ -2182,6 +2182,6 @@ if ( empty( $adduser ) && ( ! isset( $checkprivs ) || ! strlen($checkprivs) ) )
* Displays the footer
*/
echo "\n\n";
-require_once('./libraries/footer.inc.php');
+require_once './libraries/footer.inc.php';
?>