synced/fixed vim line

This commit is contained in:
Sebastian Mendel
2007-03-19 17:55:39 +00:00
parent b800466c91
commit 817e790762
185 changed files with 451 additions and 376 deletions

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* display selection for relational field values * display selection for relational field values
*/ */

View File

@@ -1,4 +1,5 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
require_once('./libraries/common.lib.php'); require_once('./libraries/common.lib.php');

View File

@@ -1,9 +1,9 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* Simple script to set correct charset for changelog * Simple script to set correct charset for changelog
* *
* @id $Id$ * @version $Id$
*/ */
$changelog = htmlspecialchars(file_get_contents('ChangeLog')); $changelog = htmlspecialchars(file_get_contents('ChangeLog'));

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,7 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* phpMyAdmin sample configuration, you can use it as base for * phpMyAdmin sample configuration, you can use it as base for

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,4 +1,5 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* dumps a database * dumps a database
* *

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once('./libraries/common.lib.php'); require_once('./libraries/common.lib.php');

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* handles miscellaneous db operations: * handles miscellaneous db operations:

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/common.lib.php'; require_once './libraries/common.lib.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* query by example the whole database * query by example the whole database

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once('./libraries/common.lib.php'); require_once('./libraries/common.lib.php');

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/common.lib.php'; require_once './libraries/common.lib.php';
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/* Core script for import, this is just the glue around all other stuff */ /* Core script for import, this is just the glue around all other stuff */

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* forms frameset * forms frameset
* *

View File

@@ -1,4 +1,11 @@
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* function used in or for navigation frame
*/
/**
* init
*/
var today = new Date(); var today = new Date();
var expires = new Date(today.getTime() + (56 * 86400000)); var expires = new Date(today.getTime() + (56 * 86400000));
var pma_navi_width; var pma_navi_width;
@@ -80,7 +87,7 @@ function PMA_setFrameSize()
pma_navi_width = PMA_getCookie('pma_navi_width'); pma_navi_width = PMA_getCookie('pma_navi_width');
//alert('from cookie: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width); //alert('from cookie: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width);
if (pma_navi_width != null) { if (pma_navi_width != null) {
if (parent.text_dir == 'ltr') { if (parent.text_dir == 'ltr') {
parent.document.getElementById('mainFrameset').cols = pma_navi_width + ',*'; parent.document.getElementById('mainFrameset').cols = pma_navi_width + ',*';
} else { } else {
parent.document.getElementById('mainFrameset').cols = '*,' + pma_navi_width; parent.document.getElementById('mainFrameset').cols = '*,' + pma_navi_width;

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Configuration class * Configuration class

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* holds PMA_Sql class * holds PMA_Sql class
* *

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
class PMA_Table { class PMA_Table {
@@ -600,22 +600,22 @@ class PMA_Table {
} }
/* no need to PMA_backquote() */ /* no need to PMA_backquote() */
if (isset($target_for_view)) { if (isset($target_for_view)) {
// this a view definition; we just found the first db name // this a view definition; we just found the first db name
// that follows DEFINER VIEW // that follows DEFINER VIEW
// so change it for the new db name // so change it for the new db name
$parsed_sql[$i]['data'] = $target_for_view; $parsed_sql[$i]['data'] = $target_for_view;
// then we have to find all references to the source db // then we have to find all references to the source db
// and change them to the target db, ensuring we stay into // and change them to the target db, ensuring we stay into
// the $parsed_sql limits // the $parsed_sql limits
$last = $parsed_sql['len'] - 1; $last = $parsed_sql['len'] - 1;
$backquoted_source_db = PMA_backquote($source_db); $backquoted_source_db = PMA_backquote($source_db);
for (++$i; $i <= $last; $i++) { for (++$i; $i <= $last; $i++) {
if ($parsed_sql[$i]['type'] == 'quote_backtick' && $parsed_sql[$i]['data'] == $backquoted_source_db) { if ($parsed_sql[$i]['type'] == 'quote_backtick' && $parsed_sql[$i]['data'] == $backquoted_source_db) {
$parsed_sql[$i]['data'] = $target_for_view; $parsed_sql[$i]['data'] = $target_for_view;
} }
} }
unset($last,$backquoted_source_db); unset($last,$backquoted_source_db);
} else { } else {
$parsed_sql[$i]['data'] = $target; $parsed_sql[$i]['data'] = $target;
} }

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* hold PMA_Theme class * hold PMA_Theme class
* *

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/Theme.class.php'; require_once './libraries/Theme.class.php';

View File

@@ -1,11 +1,10 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* Set of functions used to run config authentication (ie no authentication).
// +--------------------------------------------------------------------------+ *
// | Set of functions used to run config authentication (ie no | * @version $Id$
// | authentication). | */
// +--------------------------------------------------------------------------+
/** /**

View File

@@ -1,11 +1,11 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* Set of functions used to run http authentication.
// +--------------------------------------------------------------------------+ * NOTE: Requires PHP loaded as a Apache module.
// | Set of functions used to run http authentication. | *
// | NOTE: Requires PHP loaded as a Apache module. | * @version $Id$
// +--------------------------------------------------------------------------+ */
/** /**

View File

@@ -1,10 +1,10 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* Set of functions used to run single signon authentication.
// +--------------------------------------------------------------------------+ *
// | Set of functions used to run single signon authentication. | * @version $Id$
// +--------------------------------------------------------------------------+ */
/** /**

View File

@@ -1,7 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* The Cipher_blowfish:: class implements the Cipher interface enryption data * The Cipher_blowfish:: class implements the Cipher interface enryption data

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used with the bookmark feature * Set of functions used with the bookmark feature

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Get user's global privileges and some db-specific privileges // Get user's global privileges and some db-specific privileges
// ($controllink and $userlink are links to MySQL defined in the "common.lib.php" library) // ($controllink and $userlink are links to MySQL defined in the "common.lib.php" library)

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id: common.lib.php 9531 2006-10-10 14:06:56Z nijel $ */ /* $Id: common.lib.php 9531 2006-10-10 14:06:56Z nijel $ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Functions for cleanup of user input. * Functions for cleanup of user input.

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* Misc stuff and functions used by ALL the scripts. * Misc stuff and functions used by ALL the scripts.
* MUST be included by every script * MUST be included by every script

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !! * N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
* NN N O O !! D D O O NN N O O T E D D I T !! * NN N O O !! D D O O NN N O O T E D D I T !!

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Common Option Constants For DBI Functions * Common Option Constants For DBI Functions

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Gets some core libraries * Gets some core libraries

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Check parameters // Check parameters

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once('./libraries/common.lib.php'); require_once('./libraries/common.lib.php');

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Check parameters // Check parameters
if ( PMA_MYSQL_INT_VERSION >= 50002 ) { if ( PMA_MYSQL_INT_VERSION >= 50002 ) {

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Ensure the database and the table exist (else move to the "parent" script) * Ensure the database and the table exist (else move to the "parent" script)

View File

@@ -1,6 +1,9 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/** /**
* checks for DBG extension and trys to load if not loaded * checks for DBG extension and trys to load if not loaded
* *

View File

@@ -1,11 +1,14 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Interface to the classic MySQL extension * Interface to the classic MySQL extension
*
* @version $Id$
*/ */
/**
*
*/
// MySQL client API // MySQL client API
if (!defined('PMA_MYSQL_CLIENT_API')) { if (!defined('PMA_MYSQL_CLIENT_API')) {
if (function_exists('mysql_get_client_info')) { if (function_exists('mysql_get_client_info')) {

View File

@@ -1,9 +1,9 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Interface to the improved MySQL extension (MySQLi) * Interface to the improved MySQL extension (MySQLi)
*
* @version $Id$
*/ */
// MySQL client API // MySQL client API

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Displays form for creating database (if user has privileges for that) // Displays form for creating database (if user has privileges for that)

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Displays form for creating a table (if user has privileges for that) // Displays form for creating a table (if user has privileges for that)

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once('./libraries/file_listing.php'); require_once('./libraries/file_listing.php');
require_once('./libraries/plugin_interface.lib.php'); require_once('./libraries/plugin_interface.lib.php');

View File

@@ -1,4 +1,5 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* /*
* Code for displaying language selection * Code for displaying language selection
* $Id$ * $Id$

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// modified 2004-05-08 by Michael Keck <mail_at_michaelkeck_dot_de> // modified 2004-05-08 by Michael Keck <mail_at_michaelkeck_dot_de>
// - bugfix for select all checkboxes // - bugfix for select all checkboxes

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
class PMA_StorageEngine_bdb extends PMA_StorageEngine class PMA_StorageEngine_bdb extends PMA_StorageEngine
{ {
/** /**

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
include_once './libraries/engines/bdb.lib.php'; include_once './libraries/engines/bdb.lib.php';
class PMA_StorageEngine_berkeleydb extends PMA_StorageEngine_bdb class PMA_StorageEngine_berkeleydb extends PMA_StorageEngine_bdb

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
class PMA_StorageEngine_binlog extends PMA_StorageEngine class PMA_StorageEngine_binlog extends PMA_StorageEngine
{ {
/** /**

View File

@@ -1,8 +1,18 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
*
* @version $Id$
*/
include_once('./libraries/engines/innodb.lib.php'); /**
*
*/
include_once './libraries/engines/innodb.lib.php';
/**
*
*/
class PMA_StorageEngine_innobase extends PMA_StorageEngine_innodb {} class PMA_StorageEngine_innobase extends PMA_StorageEngine_innodb {}
?> ?>

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
class PMA_StorageEngine_innodb extends PMA_StorageEngine class PMA_StorageEngine_innodb extends PMA_StorageEngine
{ {
/** /**

View File

@@ -1,6 +1,9 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/** /**
* the MEMORY (HEAP) storage engine * the MEMORY (HEAP) storage engine
*/ */

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
class PMA_StorageEngine_merge extends PMA_StorageEngine class PMA_StorageEngine_merge extends PMA_StorageEngine
{ {
} }

View File

@@ -1,9 +1,17 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
include_once './libraries/engines/merge.lib.php'; include_once './libraries/engines/merge.lib.php';
/**
*
*/
class PMA_StorageEngine_mrg_myisam extends PMA_StorageEngine_merge class PMA_StorageEngine_mrg_myisam extends PMA_StorageEngine_merge
{ {
/** /**

View File

@@ -1,6 +1,9 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/** /**
* the MyISAM storage engine * the MyISAM storage engine
*/ */

View File

@@ -1,7 +1,12 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/**
*
*/
class PMA_StorageEngine_ndbcluster extends PMA_StorageEngine class PMA_StorageEngine_ndbcluster extends PMA_StorageEngine
{ {
/** /**

View File

@@ -1,6 +1,8 @@
<?php <?php
/* $Id$ */ /* vim: set expandtab sw=4 ts=4 sts=4: */
// vim: expandtab sw=4 ts=4 sts=4: /**
* @version $Id$
*/
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables
@@ -68,7 +68,7 @@ xmlns="http://www.w3.org/TR/REC-html40">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-type" content="text/html;charset=' . ( isset($charset_of_file) ? $charset_of_file : $charset ) .'" /> <meta http-equiv="Content-type" content="text/html;charset=' . ( isset($charset_of_file) ? $charset_of_file : $charset ) .'" />
<style id="Classeur1_16681_Styles"> <style id="Classeur1_16681_Styles">
</style> </style>

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables
@@ -61,7 +61,7 @@ xmlns="http://www.w3.org/TR/REC-html40">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-type" content="text/html;charset=' . ( isset($charset_of_file) ? $charset_of_file : $charset ) .'" /> <meta http-equiv="Content-type" content="text/html;charset=' . ( isset($charset_of_file) ? $charset_of_file : $charset ) .'" />
</head> </head>
<body>'); <body>');
} }

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build dumps of tables * Set of functions used to build dumps of tables

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build CSV dumps of tables * Set of functions used to build CSV dumps of tables

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Produce a PDF report (export) from a query * Produce a PDF report (export) from a query

View File

@@ -1,6 +1,7 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build SQL dumps of tables * Set of functions used to build SQL dumps of tables
*/ */

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Check if we have native MS Excel export using PEAR class Spreadsheet_Excel_Writer // Check if we have native MS Excel export using PEAR class Spreadsheet_Excel_Writer
if (!empty($GLOBALS['cfg']['TempDir'])) { if (!empty($GLOBALS['cfg']['TempDir'])) {

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used to build XML dumps of tables * Set of functions used to build XML dumps of tables

View File

@@ -1,5 +1,6 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */
if (isset($plugin_list)) { if (isset($plugin_list)) {
$plugin_list['yaml'] = array( $plugin_list['yaml'] = array(
@@ -7,7 +8,7 @@ if (isset($plugin_list)) {
'extension' => 'yml', 'extension' => 'yml',
'mime_type' => 'text/yaml', 'mime_type' => 'text/yaml',
'force_file' => true, 'force_file' => true,
'options' => array( 'options' => array(
array('type' => 'hidden', 'name' => 'data'), array('type' => 'hidden', 'name' => 'data'),
), ),
'options_text' => 'strOptions', 'options_text' => 'strOptions',
@@ -51,7 +52,7 @@ function PMA_exportFooter()
*/ */
function PMA_exportHeader() function PMA_exportHeader()
{ {
return TRUE; return TRUE;
} }
/** /**
@@ -119,14 +120,14 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
} }
unset($i); unset($i);
$cnt = 0; $cnt = 0;
$buffer = ''; $buffer = '';
while ($record = PMA_DBI_fetch_row($result)) { while ($record = PMA_DBI_fetch_row($result)) {
$cnt++; $cnt++;
$buffer = $cnt . ":$crlf"; $buffer = $cnt . ":$crlf";
for ($i = 0; $i < $columns_cnt; $i++) { for ($i = 0; $i < $columns_cnt; $i++) {
if ( isset($record[$i]) && !is_null($record[$i])) { if ( isset($record[$i]) && !is_null($record[$i])) {
$buffer .= ' ' . $columns[$i] . ': ' . htmlspecialchars($record[$i]) . $crlf; $buffer .= ' ' . $columns[$i] . ': ' . htmlspecialchars($record[$i]) . $crlf;
} }
} }

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Functions for listing directories // Functions for listing directories
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* WARNING: This script has to be included at the very end of your code because * WARNING: This script has to be included at the very end of your code because

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/common.lib.php'; require_once './libraries/common.lib.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) { if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
die("GLOBALS overwrite attempt"); die("GLOBALS overwrite attempt");

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) { if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
die("GLOBALS overwrite attempt"); die("GLOBALS overwrite attempt");

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Gets a core script and starts output buffering work * Gets a core script and starts output buffering work

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
# GNU iconv code set to IBM AIX libiconv code set table # GNU iconv code set to IBM AIX libiconv code set table
# Keys of this table should be in lowercase, and searches should be performed using lowercase! # Keys of this table should be in lowercase, and searches should be performed using lowercase!

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4 ft=php:
/* DocSQL import plugin for phpMyAdmin */ /* DocSQL import plugin for phpMyAdmin */

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/* CSV import plugin for phpMyAdmin */ /* CSV import plugin for phpMyAdmin */

View File

@@ -1,7 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/* SQL import plugin for phpMyAdmin */ /* SQL import plugin for phpMyAdmin */

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
$GLOBALS['information_schema_relations'] = array( $GLOBALS['information_schema_relations'] = array(
'CHARACTER_SETS' => array( 'CHARACTER_SETS' => array(

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* This library is used with the server IP allow/deny host authentication * This library is used with the server IP allow/deny host authentication

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id: common.lib.php 9832 2007-01-09 09:50:49Z nijel $ */ /* $Id: common.lib.php 9832 2007-01-09 09:50:49Z nijel $ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Javascript escaping functions. * Javascript escaping functions.
@@ -29,16 +29,16 @@
*/ */
function PMA_jsFormat($a_string = '', $add_backquotes = true) function PMA_jsFormat($a_string = '', $add_backquotes = true)
{ {
if (is_string($a_string)) { if (is_string($a_string)) {
$a_string = htmlspecialchars($a_string); $a_string = htmlspecialchars($a_string);
$a_string = PMA_escapeJsString($a_string); $a_string = PMA_escapeJsString($a_string);
/** /**
* @todo what is this good for? * @todo what is this good for?
*/ */
$a_string = str_replace('#', '\\#', $a_string); $a_string = str_replace('#', '\\#', $a_string);
} }
return (($add_backquotes) ? PMA_backquote($a_string) : $a_string); return (($add_backquotes) ? PMA_backquote($a_string) : $a_string);
} // end of the 'PMA_jsFormat()' function } // end of the 'PMA_jsFormat()' function
/** /**
@@ -53,12 +53,12 @@ function PMA_jsFormat($a_string = '', $add_backquotes = true)
*/ */
function PMA_escapeJsString($string) function PMA_escapeJsString($string)
{ {
return preg_replace('@</script@i', '</\' + \'script', return preg_replace('@</script@i', '</\' + \'script',
strtr($string, array( strtr($string, array(
'\\' => '\\\\', '\\' => '\\\\',
'\'' => '\\\'', '\'' => '\\\'',
"\n" => '\n', "\n" => '\n',
"\r" => '\r'))); "\r" => '\r')));
} }
?> ?>

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* phpMyAdmin Language Loading File * phpMyAdmin Language Loading File

View File

@@ -1,7 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Initialization * Initialization

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
if (PMA_MYSQL_INT_VERSION >= 40100){ if (PMA_MYSQL_INT_VERSION >= 40100){

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* displays the pma logo, links and db and server selection in left frame * displays the pma logo, links and db and server selection in left frame

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Simple interface for creating OASIS OpenDocument files. * Simple interface for creating OASIS OpenDocument files.

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
$GLOBALS['unparsed_sql'] = $sql_query; $GLOBALS['unparsed_sql'] = $sql_query;
$parsed_sql = PMA_SQP_parse($sql_query); $parsed_sql = PMA_SQP_parse($sql_query);

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Generic plugin interface. * Generic plugin interface.

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
/** /**
* Set of functions used for cleaning up phpMyAdmin tables * Set of functions used for cleaning up phpMyAdmin tables

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* phpMyAdmin Language Loading File * phpMyAdmin Language Loading File
* *

View File

@@ -1,5 +1,5 @@
<?php <?php
// vim: expandtab sw=4 ts=4 sts=4: /* vim: set expandtab sw=4 ts=4 sts=4: */
/* /*
* Code for displaying server selection written by nijel * Code for displaying server selection written by nijel
* $Id$ * $Id$
@@ -71,7 +71,7 @@ function PMA_select_server($not_only_options, $ommit_fieldset)
$label .= ' - ' . $server['only_db']; $label .= ' - ' . $server['only_db'];
// try to avoid displaying a too wide selector // try to avoid displaying a too wide selector
} elseif (count($server['only_db']) < 4) { } elseif (count($server['only_db']) < 4) {
$label .= ' - ' . implode(', ', $server['only_db']); $label .= ' - ' . implode(', ', $server['only_db']);
} }
} }
if (!empty($server['user']) && $server['auth_type'] == 'config') { if (!empty($server['user']) && $server['auth_type'] == 'config') {

View File

@@ -1,6 +1,6 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/* $Id$ */ /* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Check parameters // Check parameters

Some files were not shown because too many files have changed in this diff Show More