synced/fixed vim line
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/**
|
||||
* display selection for relational field values
|
||||
*/
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
|
||||
require_once('./libraries/common.lib.php');
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?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
|
||||
*
|
||||
* @id $Id$
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
$changelog = htmlspecialchars(file_get_contents('ChangeLog'));
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* phpMyAdmin sample configuration, you can use it as base for
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/**
|
||||
* dumps a database
|
||||
*
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once('./libraries/common.lib.php');
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* handles miscellaneous db operations:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/common.lib.php';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* query by example the whole database
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once('./libraries/common.lib.php');
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/common.lib.php';
|
||||
require_once './libraries/Table.class.php';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/* Core script for import, this is just the glue around all other stuff */
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/**
|
||||
* forms frameset
|
||||
*
|
||||
|
@@ -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 expires = new Date(today.getTime() + (56 * 86400000));
|
||||
var pma_navi_width;
|
||||
@@ -80,7 +87,7 @@ function PMA_setFrameSize()
|
||||
pma_navi_width = PMA_getCookie('pma_navi_width');
|
||||
//alert('from cookie: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width);
|
||||
if (pma_navi_width != null) {
|
||||
if (parent.text_dir == 'ltr') {
|
||||
if (parent.text_dir == 'ltr') {
|
||||
parent.document.getElementById('mainFrameset').cols = pma_navi_width + ',*';
|
||||
} else {
|
||||
parent.document.getElementById('mainFrameset').cols = '*,' + pma_navi_width;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Configuration class
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* holds PMA_Sql class
|
||||
*
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
class PMA_Table {
|
||||
|
||||
@@ -600,22 +600,22 @@ class PMA_Table {
|
||||
}
|
||||
|
||||
/* no need to PMA_backquote() */
|
||||
if (isset($target_for_view)) {
|
||||
// this a view definition; we just found the first db name
|
||||
// that follows DEFINER VIEW
|
||||
// so change it for the new db name
|
||||
if (isset($target_for_view)) {
|
||||
// this a view definition; we just found the first db name
|
||||
// that follows DEFINER VIEW
|
||||
// so change it for the new db name
|
||||
$parsed_sql[$i]['data'] = $target_for_view;
|
||||
// then we have to find all references to the source db
|
||||
// and change them to the target db, ensuring we stay into
|
||||
// the $parsed_sql limits
|
||||
$last = $parsed_sql['len'] - 1;
|
||||
$backquoted_source_db = PMA_backquote($source_db);
|
||||
for (++$i; $i <= $last; $i++) {
|
||||
if ($parsed_sql[$i]['type'] == 'quote_backtick' && $parsed_sql[$i]['data'] == $backquoted_source_db) {
|
||||
// then we have to find all references to the source db
|
||||
// and change them to the target db, ensuring we stay into
|
||||
// the $parsed_sql limits
|
||||
$last = $parsed_sql['len'] - 1;
|
||||
$backquoted_source_db = PMA_backquote($source_db);
|
||||
for (++$i; $i <= $last; $i++) {
|
||||
if ($parsed_sql[$i]['type'] == 'quote_backtick' && $parsed_sql[$i]['data'] == $backquoted_source_db) {
|
||||
$parsed_sql[$i]['data'] = $target_for_view;
|
||||
}
|
||||
}
|
||||
unset($last,$backquoted_source_db);
|
||||
}
|
||||
}
|
||||
unset($last,$backquoted_source_db);
|
||||
} else {
|
||||
$parsed_sql[$i]['data'] = $target;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* hold PMA_Theme class
|
||||
*
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/Theme.class.php';
|
||||
|
||||
|
@@ -1,11 +1,10 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// +--------------------------------------------------------------------------+
|
||||
// | Set of functions used to run config authentication (ie no |
|
||||
// | authentication). |
|
||||
// +--------------------------------------------------------------------------+
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Set of functions used to run config authentication (ie no authentication).
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// +--------------------------------------------------------------------------+
|
||||
// | Set of functions used to run http authentication. |
|
||||
// | NOTE: Requires PHP loaded as a Apache module. |
|
||||
// +--------------------------------------------------------------------------+
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Set of functions used to run http authentication.
|
||||
* NOTE: Requires PHP loaded as a Apache module.
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// +--------------------------------------------------------------------------+
|
||||
// | Set of functions used to run single signon authentication. |
|
||||
// +--------------------------------------------------------------------------+
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Set of functions used to run single signon authentication.
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* The Cipher_blowfish:: class implements the Cipher interface enryption data
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used with the bookmark feature
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Get user's global privileges and some db-specific privileges
|
||||
// ($controllink and $userlink are links to MySQL defined in the "common.lib.php" library)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $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.
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?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.
|
||||
* MUST be included by every script
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?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 !!
|
||||
* NN N O O !! D D O O NN N O O T E D D I T !!
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Common Option Constants For DBI Functions
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Gets some core libraries
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
// Check parameters
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once('./libraries/common.lib.php');
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Check parameters
|
||||
if ( PMA_MYSQL_INT_VERSION >= 50002 ) {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Ensure the database and the table exist (else move to the "parent" script)
|
||||
|
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* checks for DBG extension and trys to load if not loaded
|
||||
*
|
||||
|
@@ -1,11 +1,14 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Interface to the classic MySQL extension
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
// MySQL client API
|
||||
if (!defined('PMA_MYSQL_CLIENT_API')) {
|
||||
if (function_exists('mysql_get_client_info')) {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* Interface to the improved MySQL extension (MySQLi)
|
||||
*
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// MySQL client API
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Displays form for creating database (if user has privileges for that)
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Displays form for creating a table (if user has privileges for that)
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once('./libraries/file_listing.php');
|
||||
require_once('./libraries/plugin_interface.lib.php');
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/*
|
||||
* Code for displaying language selection
|
||||
* $Id$
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// modified 2004-05-08 by Michael Keck <mail_at_michaelkeck_dot_de>
|
||||
// - bugfix for select all checkboxes
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_bdb extends PMA_StorageEngine
|
||||
{
|
||||
/**
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/engines/bdb.lib.php';
|
||||
|
||||
class PMA_StorageEngine_berkeleydb extends PMA_StorageEngine_bdb
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_binlog extends PMA_StorageEngine
|
||||
{
|
||||
/**
|
||||
|
@@ -1,8 +1,18 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set 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 {}
|
||||
|
||||
?>
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_innodb extends PMA_StorageEngine
|
||||
{
|
||||
/**
|
||||
|
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* the MEMORY (HEAP) storage engine
|
||||
*/
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_merge extends PMA_StorageEngine
|
||||
{
|
||||
}
|
||||
|
@@ -1,9 +1,17 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
include_once './libraries/engines/merge.lib.php';
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_mrg_myisam extends PMA_StorageEngine_merge
|
||||
{
|
||||
/**
|
||||
|
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* the MyISAM storage engine
|
||||
*/
|
||||
|
@@ -1,7 +1,12 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class PMA_StorageEngine_ndbcluster extends PMA_StorageEngine
|
||||
{
|
||||
/**
|
||||
|
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set of functions used to build CSV dumps of tables
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build CSV dumps of tables
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* 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">
|
||||
<html>
|
||||
<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>
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* 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">
|
||||
<html>
|
||||
<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>
|
||||
<body>');
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build dumps of tables
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build CSV dumps of tables
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build CSV dumps of tables
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Produce a PDF report (export) from a query
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build SQL dumps of tables
|
||||
*/
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Check if we have native MS Excel export using PEAR class Spreadsheet_Excel_Writer
|
||||
if (!empty($GLOBALS['cfg']['TempDir'])) {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used to build XML dumps of tables
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
|
||||
if (isset($plugin_list)) {
|
||||
$plugin_list['yaml'] = array(
|
||||
@@ -7,7 +8,7 @@ if (isset($plugin_list)) {
|
||||
'extension' => 'yml',
|
||||
'mime_type' => 'text/yaml',
|
||||
'force_file' => true,
|
||||
'options' => array(
|
||||
'options' => array(
|
||||
array('type' => 'hidden', 'name' => 'data'),
|
||||
),
|
||||
'options_text' => 'strOptions',
|
||||
@@ -51,7 +52,7 @@ function PMA_exportFooter()
|
||||
*/
|
||||
function PMA_exportHeader()
|
||||
{
|
||||
return TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -119,14 +120,14 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
|
||||
}
|
||||
unset($i);
|
||||
|
||||
$cnt = 0;
|
||||
$buffer = '';
|
||||
$cnt = 0;
|
||||
$buffer = '';
|
||||
while ($record = PMA_DBI_fetch_row($result)) {
|
||||
$cnt++;
|
||||
$buffer = $cnt . ":$crlf";
|
||||
$cnt++;
|
||||
$buffer = $cnt . ":$crlf";
|
||||
for ($i = 0; $i < $columns_cnt; $i++) {
|
||||
if ( isset($record[$i]) && !is_null($record[$i])) {
|
||||
$buffer .= ' ' . $columns[$i] . ': ' . htmlspecialchars($record[$i]) . $crlf;
|
||||
$buffer .= ' ' . $columns[$i] . ': ' . htmlspecialchars($record[$i]) . $crlf;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
// Functions for listing directories
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* WARNING: This script has to be included at the very end of your code because
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
require_once './libraries/Table.class.php';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/common.lib.php';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
|
||||
die("GLOBALS overwrite attempt");
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
|
||||
die("GLOBALS overwrite attempt");
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Gets a core script and starts output buffering work
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
# 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!
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4 ft=php:
|
||||
|
||||
/* DocSQL import plugin for phpMyAdmin */
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/* CSV import plugin for phpMyAdmin */
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/* SQL import plugin for phpMyAdmin */
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
$GLOBALS['information_schema_relations'] = array(
|
||||
'CHARACTER_SETS' => array(
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* This library is used with the server IP allow/deny host authentication
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id: common.lib.php 9832 2007-01-09 09:50:49Z nijel $ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Javascript escaping functions.
|
||||
@@ -29,16 +29,16 @@
|
||||
*/
|
||||
function PMA_jsFormat($a_string = '', $add_backquotes = true)
|
||||
{
|
||||
if (is_string($a_string)) {
|
||||
$a_string = htmlspecialchars($a_string);
|
||||
$a_string = PMA_escapeJsString($a_string);
|
||||
/**
|
||||
* @todo what is this good for?
|
||||
*/
|
||||
$a_string = str_replace('#', '\\#', $a_string);
|
||||
}
|
||||
if (is_string($a_string)) {
|
||||
$a_string = htmlspecialchars($a_string);
|
||||
$a_string = PMA_escapeJsString($a_string);
|
||||
/**
|
||||
* @todo what is this good for?
|
||||
*/
|
||||
$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
|
||||
|
||||
/**
|
||||
@@ -53,12 +53,12 @@ function PMA_jsFormat($a_string = '', $add_backquotes = true)
|
||||
*/
|
||||
function PMA_escapeJsString($string)
|
||||
{
|
||||
return preg_replace('@</script@i', '</\' + \'script',
|
||||
strtr($string, array(
|
||||
'\\' => '\\\\',
|
||||
'\'' => '\\\'',
|
||||
"\n" => '\n',
|
||||
"\r" => '\r')));
|
||||
return preg_replace('@</script@i', '</\' + \'script',
|
||||
strtr($string, array(
|
||||
'\\' => '\\\\',
|
||||
'\'' => '\\\'',
|
||||
"\n" => '\n',
|
||||
"\r" => '\r')));
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* phpMyAdmin Language Loading File
|
||||
|
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Initialization
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
if (PMA_MYSQL_INT_VERSION >= 40100){
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* displays the pma logo, links and db and server selection in left frame
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Simple interface for creating OASIS OpenDocument files.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
$GLOBALS['unparsed_sql'] = $sql_query;
|
||||
$parsed_sql = PMA_SQP_parse($sql_query);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Generic plugin interface.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
/**
|
||||
* Set of functions used for cleaning up phpMyAdmin tables
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* phpMyAdmin Language Loading File
|
||||
*
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?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
|
||||
* $Id$
|
||||
@@ -71,7 +71,7 @@ function PMA_select_server($not_only_options, $ommit_fieldset)
|
||||
$label .= ' - ' . $server['only_db'];
|
||||
// try to avoid displaying a too wide selector
|
||||
} elseif (count($server['only_db']) < 4) {
|
||||
$label .= ' - ' . implode(', ', $server['only_db']);
|
||||
$label .= ' - ' . implode(', ', $server['only_db']);
|
||||
}
|
||||
}
|
||||
if (!empty($server['user']) && $server['auth_type'] == 'config') {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// Check parameters
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user