Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin

This commit is contained in:
Marc Delisle
2010-04-29 12:34:32 -04:00
9 changed files with 43 additions and 24 deletions

View File

@@ -132,7 +132,6 @@ $cfg['SaveDir'] = '';
/** /**
* When using DB-based query history, how many entries should be kept? * When using DB-based query history, how many entries should be kept?
* *
* @global integer $cfg['QueryHistoryMax']
* default = 25 * default = 25
*/ */
//$cfg['QueryHistoryMax'] = 100; //$cfg['QueryHistoryMax'] = 100;

View File

@@ -141,7 +141,7 @@ $realwidth = $form_column_width . 'ex';
* Enter description here... * Enter description here...
* *
* @param array $columns * @param array $columns
* @param numeric $column_number * @param integer $column_number
* @param string $selected * @param string $selected
*/ */
function showColumnSelectCell($columns, $column_number, $selected = '') function showColumnSelectCell($columns, $column_number, $selected = '')

View File

@@ -5,7 +5,9 @@
* @package phpMyAdmin * @package phpMyAdmin
*/ */
// Run common work /**
* Run common work
*/
require_once './libraries/common.inc.php'; require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php'; require_once './libraries/Table.class.php';

View File

@@ -12,6 +12,11 @@ if (! defined('PHPMYADMIN')) {
$ID_KEY = 'APC_UPLOAD_PROGRESS'; $ID_KEY = 'APC_UPLOAD_PROGRESS';
/**
* Returns upload status.
*
* This is implementation for APC extension.
*/
function PMA_getUploadStatus($id) { function PMA_getUploadStatus($id) {
global $SESSION_KEY; global $SESSION_KEY;
global $ID_KEY; global $ID_KEY;

View File

@@ -12,6 +12,11 @@ if (! defined('PHPMYADMIN')) {
$ID_KEY = 'noplugin'; $ID_KEY = 'noplugin';
/**
* Returns upload status.
*
* This is implementation when no webserver support exists, so it returns just zeroes.
*/
function PMA_getUploadStatus($id) { function PMA_getUploadStatus($id) {
global $SESSION_KEY; global $SESSION_KEY;
global $ID_KEY; global $ID_KEY;

View File

@@ -11,6 +11,11 @@ if (! defined('PHPMYADMIN')) {
$ID_KEY = "UPLOAD_IDENTIFIER"; $ID_KEY = "UPLOAD_IDENTIFIER";
/**
* Returns upload status.
*
* This is implementation for uploadprogress extension.
*/
function PMA_getUploadStatus($id) { function PMA_getUploadStatus($id) {
global $SESSION_KEY; global $SESSION_KEY;
global $ID_KEY; global $ID_KEY;

View File

@@ -9,6 +9,9 @@
* @package phpMyAdmin * @package phpMyAdmin
*/ */
/**
* Logs user information to webserver logs.
*/
function PMA_log_user($user, $status = 'ok'){ function PMA_log_user($user, $status = 'ok'){
if (function_exists('apache_note')) { if (function_exists('apache_note')) {
apache_note('userID', $user); apache_note('userID', $user);

View File

@@ -139,7 +139,7 @@ function PMA_langSet(&$lang)
* *
* @return bool true on success, otherwise false * @return bool true on success, otherwise false
* *
* @global array $available_languages * @uses $GLOBALS['available_languages'] to check $lang
* *
* @access private * @access private
*/ */

View File

@@ -99,11 +99,11 @@ class PMA_PDF extends TCPDF {
/** /**
* Sets the scaling factor, defines minimum coordinates and margins * Sets the scaling factor, defines minimum coordinates and margins
* *
* @param double $ The scaling factor * @param double scale The scaling factor
* @param double $ The minimum X coordinate * @param double x_min The minimum X coordinate
* @param double $ The minimum Y coordinate * @param double y_min The minimum Y coordinate
* @param double $ The left margin * @param double l_marg The left margin
* @param double $ The top margin * @param double t_marg The top margin
* @access public * @access public
*/ */
function PMA_PDF_setScale($scale = 1, $x_min = 0, $y_min = 0, $l_marg = -1, $t_marg = -1) function PMA_PDF_setScale($scale = 1, $x_min = 0, $y_min = 0, $l_marg = -1, $t_marg = -1)