Git
Threads by month
- ----- 2025 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 13 participants
- 38624 discussions

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7-21577-g977be12
by Rouslan Placella 26 Oct '11
by Rouslan Placella 26 Oct '11
26 Oct '11
The branch, master has been updated
via 977be12bda0f67d9f3b81bc2fa4a11af68b4d7b3 (commit)
from 1fd7a96135243353171fb88db5ec2f562d3aea1b (commit)
- Log -----------------------------------------------------------------
commit 977be12bda0f67d9f3b81bc2fa4a11af68b4d7b3
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Wed Oct 26 17:32:42 2011 +0100
Reduced vertical padding between fields in the ENUM/SET editor
-----------------------------------------------------------------------
Summary of changes:
themes/original/css/theme_right.css.php | 2 +-
themes/pmahomme/css/theme_right.css.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index 31eec35..77ec46e 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -1658,7 +1658,7 @@ hr.enum_editor_no_js {
}
#enum_editor .values input {
- margin: 5px 0;
+ margin: 0.1em 0;
padding-right: 2.5em;
width: 100%;
}
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index e79300b..324f661 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -2038,7 +2038,7 @@ hr.enum_editor_no_js {
}
#enum_editor .values input {
- margin: 5px 0;
+ margin: 0.1em 0;
padding-right: 2em;
width: 100%;
}
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7-21576-g1fd7a96
by Rouslan Placella 26 Oct '11
by Rouslan Placella 26 Oct '11
26 Oct '11
The branch, master has been updated
via 1fd7a96135243353171fb88db5ec2f562d3aea1b (commit)
via f6d2da769b62f637a128b681d565ff4c6571748b (commit)
via 93686fd47a72f4e82070648a765f5f99fe32480b (commit)
from 999e85b505b57c58e397ea967e4333f6fa38b57a (commit)
- Log -----------------------------------------------------------------
commit 1fd7a96135243353171fb88db5ec2f562d3aea1b
Merge: 999e85b f6d2da7
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Wed Oct 26 16:29:10 2011 +0100
Merge branch 'enum'
Conflicts:
enum_editor.php
commit f6d2da769b62f637a128b681d565ff4c6571748b
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Wed Oct 26 16:26:15 2011 +0100
Integrated the ENUM/SET editor with the Routines editor
commit 93686fd47a72f4e82070648a765f5f99fe32480b
Author: Rouslan Placella <rouslan(a)placella.com>
Date: Wed Oct 26 16:01:24 2011 +0100
Improved ENUM/SET editor
-----------------------------------------------------------------------
Summary of changes:
enum_editor.php | 166 ++++++++++++++++++-------
js/functions.js | 209 ++++++++++++++++++++----------
js/messages.php | 7 +
js/rte/common.js | 2 +-
js/rte/routines.js | 7 +
libraries/rte/rte_routines.lib.php | 13 ++-
libraries/tbl_properties.inc.php | 18 +--
themes/original/css/theme_right.css.php | 82 ++++++++-----
themes/pmahomme/css/theme_right.css.php | 83 ++++++++-----
9 files changed, 395 insertions(+), 192 deletions(-)
diff --git a/enum_editor.php b/enum_editor.php
index e7bba62..879023b 100644
--- a/enum_editor.php
+++ b/enum_editor.php
@@ -2,9 +2,11 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * Displays a form for editing ENUM and SET values with more space (as an alternative to doing it in tbl_alter.php)
- * This form is only for users with JavaScript disabled -- users with JavaScript enabled will see a different form
- * defined in tbl_properties.inc.php
+ * Displays a form for editing ENUM and SET values with more
+ * space (as an alternative to doing it in tbl_alter.php).
+ * This form is only for users with JavaScript disabled,
+ * users with JavaScript enabled will see a jQuery dialog.
+ *
* @package PhpMyAdmin
*/
@@ -12,62 +14,134 @@ require_once './libraries/common.inc.php';
require_once './libraries/header_http.inc.php';
require_once './libraries/header_meta_style.inc.php';
?>
-
</head>
-
<body>
<form action="enum_editor.php" method="get">
- <div id="enum_editor_no_js">
- <h3><?php printf(__('Values for the column "%s"'), htmlspecialchars($_GET['field'])); ?></h3>
- <p><?php echo __('Enter each value in a separate field.'); ?></p>
- <div id="values">
+ <?php echo PMA_generate_common_hidden_inputs(); ?>
+ <input type="hidden" name="field" value="<?php echo htmlspecialchars($_GET['field']); ?>" />
+ <fieldset class="enum_editor_no_js">
+ <legend><?php echo __('ENUM/SET editor'); ?></legend>
+ <div class="enum_editor_no_js">
+ <h3>
+ <?php
+ if (empty($_GET['field'])) {
+ echo __('Values for a new column');
+ } else {
+ printf(__('Values for column %s'), '"' . htmlspecialchars($_GET['field']) . '"');
+ }
+ ?>
+ </h3>
+ <p><?php echo PMA_getImage('s_info.png') . __('Enter each value in a separate field'); ?></p>
+ <table id="values">
<?php
+ // Get the enum values
$values = array();
- if (isset($_GET['values'])) { // This page was displayed when the "add a new value" link or the link in tbl_alter.php was clicked
- $values = explode(',', urldecode($_GET['values']));
- } elseif (isset($_GET['num_fields'])) { // This page was displayed from submitting this form
- for ($field_num = 1; $field_num <= $_GET['num_fields']; $field_num++) {
- $values[] = "'" . str_replace(array("'", '\\'), array("''", '\\\\'), $_GET['field' . $field_num]) . "'";
+ if (isset($_GET['values']) && is_array($_GET['values'])) { // If the values are in an array
+ // then this page was called from itself via the "Add a value", "Drop" or "Go" buttons
+ $values = $_GET['values'];
+ foreach ($values as $key => $value) {
+ $values[$key] = htmlentities($value);
}
- }
- // Display the values in text fields, excluding empty strings
- $field_counter = 0;
- foreach ($values as $value) {
- if (trim($value) != "") {
- $field_counter++;
- echo sprintf('<input type="text" size="30" value="%s" name="field' . $field_counter . '" />', htmlspecialchars(str_replace(array("''", '\\\\', "\\'"), array("'", '\\', "'"), substr($value, 1, -1))));
+ } else if (isset($_GET['values']) && is_string($_GET['values'])){ // If the values are in a string
+ // then this page was called via a link from some external page
+ $values_string = htmlentities($_GET['values']);
+ // There is a JS port of the below parser in functions.js
+ // If you are fixing something here,
+ // you need to also update the JS port.
+ $values = array();
+ $in_string = false;
+ $buffer = '';
+ for ($i=0; $i<strlen($values_string); $i++) {
+ $curr = $values_string[$i];
+ $next = $i == strlen($values_string)-1 ? '' : $values_string[$i+1];
+ if (! $in_string && $curr == "'") {
+ $in_string = true;
+ } else if ($in_string && $curr == "\\" && $next == "\\") {
+ $buffer .= "\";
+ $i++;
+ } else if ($in_string && $next == "'" && ($curr == "'" || $curr == "\\")) {
+ $buffer .= "'";
+ $i++;
+ } else if ($in_string && $curr == "'") {
+ $in_string = false;
+ $values[] = $buffer;
+ $buffer = '';
+ } else if ($in_string) {
+ $buffer .= $curr;
+ }
+ }
+ if (strlen($buffer) > 0) {
+ // The leftovers in the buffer are the last value (if any)
+ $values[] = $buffer;
}
}
-
- $total_fields = $field_counter;
- // If extra empty fields are added, display them
- if (isset($_GET['extra_fields'])) {
- $total_fields += $_GET['extra_fields'];
- for ($i = $field_counter+1; $i <= $total_fields; $i++) {
- echo '<input type="text" size="30" name="field' . $i . '"/>';
+ // Escape double quotes
+ foreach ($values as $key => $value) {
+ $values[$key] = str_replace('"', ""e;", $value);
+ }
+ // If there are no values, maybe the user is about to make a
+ // new list so we add a few for him/her to get started with.
+ if (! count($values)
+ || (count($values) == 1 && strlen($values[0]) == 0)
+ ) {
+ array_push($values, '', '', '');
+ }
+ // Add an empty value, if there was a request to do so
+ if (! empty($_GET['add_field'])) {
+ $values[] = '';
+ }
+ // Remove a value, given a valid index, from the list
+ // of values, if there was a request to do so.
+ if (isset($_GET['drop']) && is_array($_GET['drop'])) {
+ foreach ($_GET['drop'] as $index => $value){
+ if ((int)$index == $index
+ && $index > 0
+ && $index <= count($values)
+ ) {
+ unset($values[$index]);
+ }
}
- } else {
- $_GET['extra_fields'] = 0;
}
-
+ // Display the values in text fields
+ $field_counter = 0;
+ foreach ($values as $value) {
+ $field_counter++;
+ echo sprintf(
+ '<tr><td><input class="text" type="text" size="30" value="%s" name="values[' . $field_counter . ']" />' . "\n",
+ $value
+ );
+ echo '</td><td>';
+ echo '<input class="drop" type="submit" value="' . __('Drop') . '" name="drop[' . $field_counter . ']" />' . "\n";
+ echo '</td></tr>' . "\n";
+ }
?>
- </div>
- <p>
- <a href="enum_editor.php<?php echo PMA_generate_common_url(array('field' => $_GET['field'], 'extra_fields' => $_GET['extra_fields'] + 1, 'values' => join(',', $values))); ?>">
-<?php echo __('+ Restart insertion and add a new value'); ?>
- </a>
- </p>
- <?php echo PMA_generate_common_hidden_inputs(); ?>
- <input type="hidden" name="field" value="<?php echo htmlspecialchars($_GET['field']); ?>" />
- <input type="hidden" name="num_fields" value="<?php echo $total_fields; ?>" />
- <input type="submit" value="<?php echo __('Go'); ?>" />
- </form>
-
+ <tr><td>
+ <input type="submit" class="submit" value="<?php echo __('Go'); ?>" />
+ </td><td>
+ <input type="submit" class="submit" name="add_field" value="<?php echo __('Add a value'); ?>" />
+ </td></tr>
+ </table>
+ </div>
+ <hr class='enum_editor_no_js' />
<div id="enum_editor_output">
<h3><?php echo __('Output'); ?></h3>
- <p><?php echo __('Copy and paste the joined values into the "Length/Values" field'); ?></p>
- <textarea id="joined_values" cols="95" rows="5"><?php echo htmlspecialchars(join(",", $values)); ?></textarea>
+ <p><?php echo PMA_getImage('s_info.png') . __('Copy and paste the joined values into the "Length/Values" field'); ?></p>
+ <?php
+ // Escape quotes and slashes for usage with MySQL
+ foreach ($values as $key => $value) {
+ $values[$key] = "'";
+ $values[$key] .= str_replace(
+ array("'", "\\", "'", "\"),
+ array("''", '\\\\', "''", '\\\\'),
+ $value
+ );
+ $values[$key] .= "'";
+ }
+ // Print out the values as a string
+ ?>
+ <textarea id="joined_values" cols="95" rows="5"><?php echo join(",", $values); ?></textarea>
</div>
- </div>
+ </fieldset>
+ </form>
</body>
</html>
diff --git a/js/functions.js b/js/functions.js
index 8eb0d62..162c517 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2574,45 +2574,30 @@ function PMA_hideShowDefaultValue($default_type)
}
/**
- * Closes the ENUM/SET editor and removes the data in it
+ * @var $enum_editor_dialog An object that points to the jQuery
+ * dialog of the ENUM/SET editor
*/
-function disable_popup()
-{
- $("#popup_background").fadeOut("fast");
- $("#enum_editor").fadeOut("fast");
- // clear the data from the text boxes
- $("#enum_editor #values input").remove();
- $("#enum_editor input[type='hidden']").remove();
-}
-
+var $enum_editor_dialog = null;
/**
* Opens the ENUM/SET editor and controls its functions
*/
$(document).ready(function() {
- // Needs live() to work also in the Create table dialog
- $("a[class='open_enum_editor']").live('click', function() {
- // Center the popup
- var windowWidth = document.documentElement.clientWidth;
- var windowHeight = document.documentElement.clientHeight;
- var popupWidth = windowWidth/2;
- var popupHeight = windowHeight*0.8;
- var popupOffsetTop = windowHeight/2 - popupHeight/2;
- var popupOffsetLeft = windowWidth/2 - popupWidth/2;
- $("#enum_editor").css({"position":"absolute", "top": popupOffsetTop, "left": popupOffsetLeft, "width": popupWidth, "height": popupHeight});
-
- // Make it appear
- $("#popup_background").css({"opacity":"0.7"});
- $("#popup_background").fadeIn("fast");
- $("#enum_editor").fadeIn("fast");
- /**Replacing the column name in the enum editor header*/
- var column_name = $("#append_fields_form").find("input[id=field_0_1]").attr("value");
- var h3_text = $("#enum_editor h3").html();
- $("#enum_editor h3").html(h3_text.split('"')[0]+'"'+column_name+'"');
-
+ $("a.open_enum_editor").live('click', function() {
+ // Get the name of the column that is being edited
+ var colname = $(this).closest('tr').find('input:first').val();
+ // And use it to make up a title for the page
+ if (colname.length < 1) {
+ var title = PMA_messages['enum_newColumnVals'];
+ } else {
+ var title = PMA_messages['enum_columnVals'].replace(
+ /%s/,
+ '"' + decodeURIComponent(colname) + '"'
+ );
+ }
// Get the values as a string
var inputstring = $(this)
- .parent()
- .prev("input")
+ .closest('td')
+ .find("input")
.val();
// Escape html entities
inputstring = $('<div/>')
@@ -2620,6 +2605,9 @@ $(document).ready(function() {
.html();
// Parse the values, escaping quotes and
// slashes on the fly, into an array
+ //
+ // There is a PHP port of the below parser in enum_editor.php
+ // If you are fixing something here, you need to also update the PHP port.
var values = [];
var in_string = false;
var curr, next, buffer = '';
@@ -2643,57 +2631,138 @@ $(document).ready(function() {
}
}
if (buffer.length > 0) {
+ // The leftovers in the buffer are the last value (if any)
values.push(buffer);
}
+ var fields = '';
+ // If there are no values, maybe the user is about to make a
+ // new list so we add a few for him/her to get started with.
+ if (values.length == 0) {
+ values.push('','','','');
+ }
// Add the parsed values to the editor
+ var drop_icon = PMA_getImage('b_drop.png');
for (var i=0; i<values.length; i++) {
- $("#enum_editor #values").append(
- "<input type='text' value='" + values[i] + "' />"
- );
+ fields += "<tr><td>"
+ + "<input type='text' value='" + values[i] + "'/>"
+ + "</td><td class='drop'>"
+ + drop_icon
+ + "</td></tr>";
}
- // So we know which column's data is being edited
- $("#enum_editor").append("<input type='hidden' value='" + $(this).parent().prev("input").attr("id") + "' />");
+ /**
+ * @var dialog HTML code for the ENUM/SET dialog
+ */
+ var dialog = "<div id='enum_editor'>"
+ + "<fieldset>"
+ + "<legend>" + title + "</legend>"
+ + "<p>" + PMA_getImage('s_notice.png')
+ + PMA_messages['enum_hint'] + "</p>"
+ + "<table class='values'>" + fields + "</table>"
+ + "</fieldset><fieldset class='tblFooters'>"
+ + "<table class='add'><tr><td>"
+ + "<div class='slider'></div>"
+ + "</td><td>"
+ + "<form><div><input type='submit' class='add_value' value='"
+ + PMA_messages['enum_addValue'].replace(/%d/, 1)
+ + "'/></div></form>"
+ + "</td></tr></table>"
+ + "<input type='hidden' value='" // So we know which column's data is being edited
+ + $(this).closest('td').find("input").attr("id")
+ + "' />"
+ + "</fieldset>";
+ + "</div>";
+ /**
+ * @var Defines functions to be called when the buttons in
+ * the buttonOptions jQuery dialog bar are pressed
+ */
+ var buttonOptions = {};
+ buttonOptions[PMA_messages['strGo']] = function () {
+ // When the submit button is clicked,
+ // put the data back into the original form
+ var value_array = new Array();
+ $(this).find(".values input").each(function(index, elm) {
+ var val = elm.value.replace(/\\/g, '\\\\').replace(/'/g, "''");
+ value_array.push("'" + val + "'");
+ });
+ // get the Length/Values text field where this value belongs
+ var values_id = $(this).find("input[type='hidden']").attr("value");
+ $("input[id='" + values_id + "']").attr("value", value_array.join(","));
+ $(this).dialog("close");
+ };
+ buttonOptions[PMA_messages['strClose']] = function () {
+ $(this).dialog("close");
+ };
+ // Show the dialog
+ var width = parseInt(
+ (parseInt($('html').css('font-size'), 10)/13)*340,
+ 10
+ );
+ if (! width) {
+ width = 340;
+ }
+ $enum_editor_dialog = $(dialog).dialog({
+ minWidth: width,
+ modal: true,
+ title: PMA_messages['enum_editor'],
+ buttons: buttonOptions,
+ open: function() {
+ // Focus the "Go" button after opening the dialog
+ $(this).closest('.ui-dialog').find('.ui-dialog-buttonpane button:first').focus();
+ },
+ close: function() {
+ $(this).remove();
+ }
+ });
+ // slider for choosing how many fields to add
+ $enum_editor_dialog.find(".slider").slider({
+ animate: true,
+ range: "min",
+ value: 1,
+ min: 1,
+ max: 9,
+ slide: function( event, ui ) {
+ $(this).closest('table').find('input[type=submit]').val(
+ PMA_messages['enum_addValue'].replace(/%d/, ui.value)
+ );
+ }
+ });
+ // Focus the slider, otherwise it looks nearly transparent
+ $('.ui-slider-handle').addClass('ui-state-focus');
return false;
});
- // If the "close" link is clicked, close the enum editor
- // Needs live() to work also in the Create table dialog
- $("a[class='close_enum_editor']").live('click', function() {
- disable_popup();
- });
-
- // If the "cancel" link is clicked, close the enum editor
- // Needs live() to work also in the Create table dialog
- $("a[class='cancel_enum_editor']").live('click', function() {
- disable_popup();
- });
-
// When "add a new value" is clicked, append an empty text field
- // Needs live() to work also in the Create table dialog
- $("a[class='add_value']").live('click', function() {
- $("#enum_editor #values").append("<input type='text' />");
+ $("input.add_value").live('click', function(e) {
+ e.preventDefault();
+ var num_new_rows = $enum_editor_dialog.find("div.slider").slider('value');
+ while (num_new_rows--) {
+ $enum_editor_dialog.find('.values')
+ .append(
+ "<tr style='display: none;'><td>"
+ + "<input type='text' />"
+ + "</td><td class='drop'>"
+ + PMA_getImage('b_drop.png')
+ + "</td></tr>"
+ )
+ .find('tr:last')
+ .show('fast');
+ }
});
- // When the submit button is clicked, put the data back into the original form
- // Needs live() to work also in the Create table dialog
- $("#enum_editor input[type='submit']").live('click', function() {
- var value_array = new Array();
- $.each($("#enum_editor #values input"), function(index, input_element) {
- val = jQuery.trim(input_element.value);
- if(val != "") {
- value_array.push("'" + val.replace(/\\/g, '\\\\').replace(/'/g, "''") + "'");
- }
+ // Removes the specified row from the enum editor
+ $("#enum_editor td.drop").live('click', function() {
+ $(this).closest('tr').hide('fast', function () {
+ $(this).remove();
});
- // get the Length/Values text field where this value belongs
- var values_id = $("#enum_editor input[type='hidden']").attr("value");
- $("input[id='" + values_id + "']").attr("value", value_array.join(","));
- disable_popup();
- });
+ });
+});
- /**
- * Hides certain table structure actions, replacing them with the word "More". They are displayed
- * in a dropdown menu when the user hovers over the word "More."
- */
+/**
+ * Hides certain table structure actions, replacing them
+ * with the word "More". They are displayed in a dropdown
+ * menu when the user hovers over the word "More."
+ */
+$(document).ready(function() {
displayMoreTableOpts();
});
diff --git a/js/messages.php b/js/messages.php
index e966f9b..5878d32 100644
--- a/js/messages.php
+++ b/js/messages.php
@@ -241,6 +241,13 @@ $js_messages['strDeleting'] = __('Deleting');
/* For db_routines.js */
$js_messages['MissingReturn'] = __('The definition of a stored function must contain a RETURN statement!');
+/* For ENUM/SET editor*/
+$js_messages['enum_editor'] = __('ENUM/SET editor');
+$js_messages['enum_columnVals'] =__('Values for column %s');
+$js_messages['enum_newColumnVals'] = __('Values for a new column');
+$js_messages['enum_hint'] =__('Enter each value in a separate field');
+$js_messages['enum_addValue'] =__('Add %d value(s)');
+
/* For import.js */
$js_messages['strImportCSV'] = __('Note: If the file contains multiple tables, they will be combined into one');
diff --git a/js/rte/common.js b/js/rte/common.js
index 842f325..781219d 100644
--- a/js/rte/common.js
+++ b/js/rte/common.js
@@ -211,7 +211,7 @@ $(document).ready(function () {
*/
RTE.$ajaxDialog = $('<div>' + data.message + '</div>').dialog({
width: 700,
- height: 555,
+ minWidth: 500,
buttons: RTE.buttonOptions,
title: data.title,
modal: true,
diff --git a/js/rte/routines.js b/js/rte/routines.js
index 087b9d6..b351e7b 100644
--- a/js/rte/routines.js
+++ b/js/rte/routines.js
@@ -192,10 +192,16 @@ RTE.setOptionsForParameter = function ($type, $len, $text, $num) {
case 'MEDIUMTEXT':
case 'LONGBLOB':
case 'LONGTEXT':
+ $text.closest('tr').find('a:first').hide();
$len.parent().hide();
$no_len.show();
break;
default:
+ if ($type.val() == 'ENUM' || $type.val() == 'SET') {
+ $text.closest('tr').find('a:first').show();
+ } else {
+ $text.closest('tr').find('a:first').hide();
+ }
$len.parent().show();
$no_len.hide();
break;
@@ -272,6 +278,7 @@ $(document).ready(function () {
$(this).attr('name', inputname.substr(0, 15) + '[' + index + ']');
} else if (inputname.substr(0, 17) === 'item_param_length') {
$(this).attr('name', inputname.substr(0, 17) + '[' + index + ']');
+ $(this).attr('id', 'item_param_length_' + index);
} else if (inputname.substr(0, 20) === 'item_param_opts_text') {
$(this).attr('name', inputname.substr(0, 20) + '[' + index + ']');
} else if (inputname.substr(0, 19) === 'item_param_opts_num') {
diff --git a/libraries/rte/rte_routines.lib.php b/libraries/rte/rte_routines.lib.php
index f6f110a..80f04a4 100644
--- a/libraries/rte/rte_routines.lib.php
+++ b/libraries/rte/rte_routines.lib.php
@@ -680,8 +680,17 @@ function PMA_RTN_getParameterRow($routine = array(), $index = null, $class = '')
$retval .= " <td><select name='item_param_type[$index]'>";
$retval .= PMA_getSupportedDatatypes(true, $routine['item_param_type'][$i]) . "\n";
$retval .= " </select></td>\n";
- $retval .= " <td><input name='item_param_length[$index]' type='text'\n";
- $retval .= " value='{$routine['item_param_length'][$i]}' /></td>\n";
+ $retval .= " <td>\n";
+ $retval .= " <input id='item_param_length_$index'\n";
+ $retval .= " name='item_param_length[$index]' type='text'\n";
+ $retval .= " value='{$routine['item_param_length'][$i]}' />\n";
+ $retval .= " <div class='enum_hint'>\n";
+ $retval .= " <a class='open_enum_editor' target='_blank'\n";
+ $retval .= " href='enum_editor.php?" . PMA_generate_common_url() . "&values=" . $routine['item_param_length'][$i] . "&field=" . $routine['item_param_name'][$i] . "'>\n";
+ $retval .= " " . PMA_getImage('b_edit', '', array('title'=>__('ENUM/SET editor'))) . "\n";
+ $retval .= " </a>\n";
+ $retval .= " </div>\n";
+ $retval .= " </td>\n";
$retval .= " <td class='hide no_len'>---</td>\n";
$retval .= " <td class='routine_param_opts_text'>\n";
$retval .= PMA_generateCharsetDropdownBox(
diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php
index c41146b..336545b 100644
--- a/libraries/tbl_properties.inc.php
+++ b/libraries/tbl_properties.inc.php
@@ -319,8 +319,13 @@ for ($i = 0; $i < $num_fields; $i++) {
. ' class="textfield" />'
. '<p class="enum_notice" id="enum_notice_' . $i . '_' . ($ci - $ci_offset) . '">';
$content_cells[$i][$ci] .= __('ENUM or SET data too long?')
- . '<a onclick="return false;" href="enum_editor.php?' . PMA_generate_common_url() . '&values=' . urlencode($length_to_display) . '&field=' . (isset($row['Field']) ? urlencode($row['Field']) : "") . '" class="open_enum_editor" target="_blank"> '
- . __('Get more editing space') . '</a></p>';
+ . '<a onclick="return false;" href="enum_editor.php?'
+ . PMA_generate_common_url()
+ . '&values=' . urlencode($length_to_display)
+ . '&field=' . (isset($row['Field']) ? urlencode($row['Field']) : "")
+ . '" class="open_enum_editor" target="_blank"> '
+ . __('Get more editing space') . '</a>'
+ . '</p>';
$ci++;
// column default
@@ -711,13 +716,4 @@ if ($action == 'tbl_create.php') {
<div id="properties_message"></div>
</form>
-<div id="enum_editor">
-<a class="close_enum_editor"><?php echo __('Close'); ?></a>
-<h3><?php printf(__('Values for the column "%s"'), isset($row['Field']) ? htmlspecialchars($row['Field']) : ""); ?></h3>
-<p><?php echo __('Enter each value in a separate field.'); ?></p>
-<div id="values"></div>
-<p><a class="add_value"><?php echo __('+ Add a value'); ?></a></p>
-<input type="submit" value="<?php echo __('Go'); ?>" /> <a class="cancel_enum_editor"><?php echo __('Cancel'); ?></a>
-</div>
-
<div id="popup_background"></div>
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index 635e81b..31eec35 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -1628,56 +1628,76 @@ p.enum_notice {
font-size: 80%;
}
-#enum_editor {
- display: none;
- position: fixed;
- _position: absolute; /* hack for IE */
- z-index: 101;
- overflow-y: auto;
- overflow-x: hidden;
+fieldset.enum_editor_no_js {
+ width: 40em;
+ padding: 1em;
}
-#enum_editor_no_js {
- margin: auto auto;
+hr.enum_editor_no_js {
+ background-color: #aaa;
}
-#enum_editor, #enum_editor_no_js {
- background: #D0DCE0;
- padding: 15px;
+#enum_editor p {
+ font-style:italic;
}
-#popup_background {
- display: none;
- position: fixed;
- _position: absolute; /* hack for IE6 */
+#enum_editor .values, #enum_editor .add, .enum_editor_no_js #values {
width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- background: #000;
- z-index: 100;
- overflow: hidden;
}
-a.close_enum_editor {
- float: right;
+#enum_editor .add td {
+ vertical-align: middle;
+ width: 50%;
+ padding: 0 1em;
}
-#enum_editor #values, #enum_editor_no_js #values {
- margin: 15px 0;
- width: 100%;
+#enum_editor .values td.drop {
+ width: 2em;
+ cursor: pointer;
+ vertical-align: middle;
}
-#enum_editor #values input, #enum_editor_no_js #values input {
+#enum_editor .values input {
margin: 5px 0;
- float: top;
+ padding-right: 2.5em;
width: 100%;
}
+#enum_editor .values img {
+ width: 2em;
+ vertical-align: middle;
+}
+
+#enum_editor input.add_value {
+ margin: 1em 0;
}
-#enum_editor_output {
- margin-top: 50px;
+#enum_editor_output textarea,
+.enum_editor_no_js input {
+ width: 100%;
+ float: right;
+ margin: 1em 0 0 0;
+}
+
+#enum_editor_no_js {
+ width: 100%;
+}
+
+.enum_editor_no_js input.submit {
+ margin: 1em 0;
+}
+
+/**
+ * ENUM/SET editor integration for the routines editor
+ */
+.enum_hint {
+ position: relative;
+}
+
+.enum_hint a {
+ position: absolute;
+ left: 81%;
+ bottom: 0.35em;
}
/**
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index efc8fff..e79300b 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -2008,56 +2008,77 @@ p.enum_notice {
font-size: 80%;
}
-#enum_editor {
- display: none;
- position: fixed;
- _position: absolute; /* hack for IE */
- z-index: 101;
- overflow-y: auto;
- overflow-x: hidden;
+.enum_editor_no_js fieldset {
+ width: 40em;
}
-#enum_editor_no_js {
- margin: auto auto;
+hr.enum_editor_no_js {
+ background-color: #aaa;
}
-#enum_editor, #enum_editor_no_js {
- background: #D0DCE0;
- padding: 15px;
+#enum_editor p {
+ margin-top: 0;
+ font-style:italic;
}
-#popup_background {
- display: none;
- position: fixed;
- _position: absolute; /* hack for IE6 */
+#enum_editor .values, #enum_editor .add, .enum_editor_no_js #values {
width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- background: #000;
- z-index: 100;
- overflow: hidden;
}
-a.close_enum_editor {
- float: right;
+#enum_editor .add td {
+ vertical-align: middle;
+ width: 50%;
+ padding: 0 0 0 1em;
}
-#enum_editor #values, #enum_editor_no_js #values {
- margin: 15px 0;
- width: 100%;
+#enum_editor .values td.drop {
+ width: 1.8em;
+ cursor: pointer;
+ vertical-align: middle;
}
-#enum_editor #values input, #enum_editor_no_js #values input {
+#enum_editor .values input {
margin: 5px 0;
- float: top;
+ padding-right: 2em;
+ width: 100%;
+}
+
+#enum_editor .values img {
+ width: 1.8em;
+ vertical-align: middle;
+}
+
+#enum_editor input.add_value {
+ margin: 0 0.4em 0 0;
+}
+
+#enum_editor_output textarea,
+.enum_editor_no_js input {
width: 100%;
+ float: right;
+ margin: 1em 0 0 0;
+}
+
+.enum_editor_no_js {
+ width: 40em;
+}
+
+.enum_editor_no_js input.submit {
+ float: left;
+ margin: 1em 0;
}
+/**
+ * ENUM/SET editor integration for the routines editor
+ */
+.enum_hint {
+ position: relative;
}
-#enum_editor_output {
- margin-top: 50px;
+.enum_hint a {
+ position: absolute;
+ left: 81%;
+ bottom: 0.35em;
}
/**
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7-21573-g999e85b
by Michal Čihař 25 Oct '11
by Michal Čihař 25 Oct '11
25 Oct '11
The branch, master has been updated
via 999e85b505b57c58e397ea967e4333f6fa38b57a (commit)
from b7c1742809dd045a4475697ee45d78cb0392a8ec (commit)
- Log -----------------------------------------------------------------
commit 999e85b505b57c58e397ea967e4333f6fa38b57a
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Tue Oct 25 11:17:56 2011 +0200
Coding style, documentation
-----------------------------------------------------------------------
Summary of changes:
libraries/database_interface.lib.php | 32 ++++++++++++++++++++++++--------
1 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php
index 6b26f18..4fcdfcf 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -10,13 +10,20 @@ if (! defined('PHPMYADMIN')) {
}
/**
- *
+ * Force STORE_RESULT method, ignored by classic MySQL.
+ */
+define('PMA_DBI_QUERY_STORE', 1);
+/**
+ * Do not read whole query.
+ */
+define('PMA_DBI_QUERY_UNBUFFERED', 2);
+/**
+ * Get session variable.
*/
-// PMA_DBI_try_query()
-define('PMA_DBI_QUERY_STORE', 1); // Force STORE_RESULT method, ignored by classic MySQL.
-define('PMA_DBI_QUERY_UNBUFFERED', 2); // Do not read whole query
-// PMA_DBI_get_variable()
define('PMA_DBI_GETVAR_SESSION', 1);
+/**
+ * Get global variable.
+ */
define('PMA_DBI_GETVAR_GLOBAL', 2);
/**
@@ -48,7 +55,11 @@ if (! PMA_DBI_checkDbExtension($GLOBALS['cfg']['Server']['extension'])) {
* @todo add different messages for alternative extension
* and complete fail (no alternative extension too)
*/
- PMA_warnMissingExtension($GLOBALS['cfg']['Server']['extension'], false, PMA_showDocu('faqmysql'));
+ PMA_warnMissingExtension(
+ $GLOBALS['cfg']['Server']['extension'],
+ false,
+ PMA_showDocu('faqmysql')
+ );
if ($GLOBALS['cfg']['Server']['extension'] === 'mysql') {
$alternativ_extension = 'mysqli';
@@ -58,7 +69,11 @@ if (! PMA_DBI_checkDbExtension($GLOBALS['cfg']['Server']['extension'])) {
if (! PMA_DBI_checkDbExtension($alternativ_extension)) {
// if alternative fails too ...
- PMA_warnMissingExtension($GLOBALS['cfg']['Server']['extension'], true, PMA_showDocu('faqmysql'));
+ PMA_warnMissingExtension(
+ $GLOBALS['cfg']['Server']['extension'],
+ true,
+ PMA_showDocu('faqmysql')
+ );
}
$GLOBALS['cfg']['Server']['extension'] = $alternativ_extension;
@@ -68,7 +83,8 @@ if (! PMA_DBI_checkDbExtension($GLOBALS['cfg']['Server']['extension'])) {
/**
* Including The DBI Plugin
*/
-require_once './libraries/dbi/' . $GLOBALS['cfg']['Server']['extension'] . '.dbi.lib.php';
+require_once './libraries/dbi/'
+ . $GLOBALS['cfg']['Server']['extension'] . '.dbi.lib.php';
/**
* runs a query
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7-21572-gb7c1742
by Michal Čihař 25 Oct '11
by Michal Čihař 25 Oct '11
25 Oct '11
The branch, master has been updated
via b7c1742809dd045a4475697ee45d78cb0392a8ec (commit)
from e56949f160b9de33a8ca642e6d9d8efa81c112fe (commit)
- Log -----------------------------------------------------------------
commit b7c1742809dd045a4475697ee45d78cb0392a8ec
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Tue Oct 25 11:12:37 2011 +0200
Coding style improvements, mostly in docblocks
-----------------------------------------------------------------------
Summary of changes:
libraries/database_interface.lib.php | 237 ++++++++++++++++++++++------------
1 files changed, 155 insertions(+), 82 deletions(-)
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php
index f77a682..6b26f18 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -603,14 +603,16 @@ function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = fals
* returns array with databases containing extended infos about them
*
* @todo move into PMA_List_Database?
- * @param string $database database
- * @param boolean $force_stats retrieve stats also for MySQL < 5
- * @param resource $link mysql link
- * @param string $sort_by column to order by
- * @param string $sort_order ASC or DESC
- * @param integer $limit_offset starting offset for LIMIT
- * @param bool|int $limit_count row count for LIMIT or true for $GLOBALS['cfg']['MaxDbList']
- * @return array $databases
+ *
+ * @param string $database database
+ * @param boolean $force_stats retrieve stats also for MySQL < 5
+ * @param resource $link mysql link
+ * @param string $sort_by column to order by
+ * @param string $sort_order ASC or DESC
+ * @param integer $limit_offset starting offset for LIMIT
+ * @param bool|int $limit_count row count for LIMIT or true for $GLOBALS['cfg']['MaxDbList']
+ *
+ * @return array $databases
*/
function PMA_DBI_get_databases_full($database = null, $force_stats = false,
$link = null, $sort_by = 'SCHEMA_NAME', $sort_order = 'ASC',
@@ -650,12 +652,14 @@ function PMA_DBI_get_databases_full($database = null, $force_stats = false,
}
if (PMA_DRIZZLE) {
- // data_dictionary.table_cache may not contain any data for some tables, it's just a table cache
+ // data_dictionary.table_cache may not contain any data for some
+ // tables, it's just a table cache
$sql = 'SELECT
s.SCHEMA_NAME,
s.DEFAULT_COLLATION_NAME';
if ($force_stats) {
- // no TABLE_CACHE data, stable results are better than constantly changing
+ // no TABLE_CACHE data, stable results are better than
+ // constantly changing
$sql .= ',
COUNT(t.TABLE_SCHEMA) AS SCHEMA_TABLES,
SUM(stat.NUM_ROWS) AS SCHEMA_TABLE_ROWS';
@@ -801,6 +805,7 @@ function PMA_DBI_get_databases_full($database = null, $force_stats = false,
* @param string $table name of table to retrieve columns from
* @param string $column name of specific column
* @param mixed $link mysql link resource
+ *
* @return array
*/
function PMA_DBI_get_columns_full($database = null, $table = null,
@@ -907,34 +912,34 @@ function PMA_DBI_get_columns_full($database = null, $table = null,
// MySQL forward compatibility
// so pma could use this array as if every server is of version >5.0
- $columns[$column_name]['COLUMN_NAME'] =& $columns[$column_name]['Field'];
- $columns[$column_name]['COLUMN_TYPE'] =& $columns[$column_name]['Type'];
- $columns[$column_name]['COLLATION_NAME'] =& $columns[$column_name]['Collation'];
- $columns[$column_name]['IS_NULLABLE'] =& $columns[$column_name]['Null'];
- $columns[$column_name]['COLUMN_KEY'] =& $columns[$column_name]['Key'];
- $columns[$column_name]['COLUMN_DEFAULT'] =& $columns[$column_name]['Default'];
- $columns[$column_name]['EXTRA'] =& $columns[$column_name]['Extra'];
- $columns[$column_name]['PRIVILEGES'] =& $columns[$column_name]['Privileges'];
- $columns[$column_name]['COLUMN_COMMENT'] =& $columns[$column_name]['Comment'];
-
- $columns[$column_name]['TABLE_CATALOG'] = null;
- $columns[$column_name]['TABLE_SCHEMA'] = $database;
- $columns[$column_name]['TABLE_NAME'] = $table;
- $columns[$column_name]['ORDINAL_POSITION'] = $ordinal_position;
- $columns[$column_name]['DATA_TYPE'] =
+ $columns[$column_name]['COLUMN_NAME'] =& $columns[$column_name]['Field'];
+ $columns[$column_name]['COLUMN_TYPE'] =& $columns[$column_name]['Type'];
+ $columns[$column_name]['COLLATION_NAME'] =& $columns[$column_name]['Collation'];
+ $columns[$column_name]['IS_NULLABLE'] =& $columns[$column_name]['Null'];
+ $columns[$column_name]['COLUMN_KEY'] =& $columns[$column_name]['Key'];
+ $columns[$column_name]['COLUMN_DEFAULT'] =& $columns[$column_name]['Default'];
+ $columns[$column_name]['EXTRA'] =& $columns[$column_name]['Extra'];
+ $columns[$column_name]['PRIVILEGES'] =& $columns[$column_name]['Privileges'];
+ $columns[$column_name]['COLUMN_COMMENT'] =& $columns[$column_name]['Comment'];
+
+ $columns[$column_name]['TABLE_CATALOG'] = null;
+ $columns[$column_name]['TABLE_SCHEMA'] = $database;
+ $columns[$column_name]['TABLE_NAME'] = $table;
+ $columns[$column_name]['ORDINAL_POSITION'] = $ordinal_position;
+ $columns[$column_name]['DATA_TYPE'] =
substr($columns[$column_name]['COLUMN_TYPE'], 0,
strpos($columns[$column_name]['COLUMN_TYPE'], '('));
/**
* @todo guess CHARACTER_MAXIMUM_LENGTH from COLUMN_TYPE
*/
- $columns[$column_name]['CHARACTER_MAXIMUM_LENGTH'] = null;
+ $columns[$column_name]['CHARACTER_MAXIMUM_LENGTH'] = null;
/**
* @todo guess CHARACTER_OCTET_LENGTH from CHARACTER_MAXIMUM_LENGTH
*/
- $columns[$column_name]['CHARACTER_OCTET_LENGTH'] = null;
- $columns[$column_name]['NUMERIC_PRECISION'] = null;
- $columns[$column_name]['NUMERIC_SCALE'] = null;
- $columns[$column_name]['CHARACTER_SET_NAME'] =
+ $columns[$column_name]['CHARACTER_OCTET_LENGTH'] = null;
+ $columns[$column_name]['NUMERIC_PRECISION'] = null;
+ $columns[$column_name]['NUMERIC_SCALE'] = null;
+ $columns[$column_name]['CHARACTER_SET_NAME'] =
substr($columns[$column_name]['COLLATION_NAME'], 0,
strpos($columns[$column_name]['COLLATION_NAME'], '_'));
@@ -952,13 +957,15 @@ function PMA_DBI_get_columns_full($database = null, $table = null,
/**
* Returns SQL query for fetching columns for a table
*
- * The 'Key' column is not calculated properly, use PMA_DBI_get_columns() to get correct values.
+ * The 'Key' column is not calculated properly, use PMA_DBI_get_columns() to get
+ * correct values.
*
* @see PMA_DBI_get_columns()
* @param string $database name of database
* @param string $table name of table to retrieve columns from
* @param string $column name of column, null to show all columns
* @param boolean $full whether to return full info or only column names
+ *
* @return string
*/
function PMA_DBI_get_columns_sql($database, $table, $column = null, $full = false)
@@ -1155,22 +1162,40 @@ function PMA_DBI_get_variable($var, $type = PMA_DBI_GETVAR_SESSION, $link = null
}
/**
- * Function called just after a connection to the MySQL database server has been established
- * It sets the connection collation, and determins the version of MySQL which is running.
+ * Function called just after a connection to the MySQL database server has
+ * been established. It sets the connection collation, and determins the
+ * version of MySQL which is running.
*
- * @param mixed $link mysql link resource|object
- * @param boolean $is_controluser
+ * @param mixed $link mysql link resource|object
+ * @param boolean $is_controluser whether link is for control user
*/
function PMA_DBI_postConnect($link, $is_controluser = false)
{
if (! defined('PMA_MYSQL_INT_VERSION')) {
if (PMA_cacheExists('PMA_MYSQL_INT_VERSION', true)) {
- define('PMA_MYSQL_INT_VERSION', PMA_cacheGet('PMA_MYSQL_INT_VERSION', true));
- define('PMA_MYSQL_MAJOR_VERSION', PMA_cacheGet('PMA_MYSQL_MAJOR_VERSION', true));
- define('PMA_MYSQL_STR_VERSION', PMA_cacheGet('PMA_MYSQL_STR_VERSION', true));
- define('PMA_MYSQL_VERSION_COMMENT', PMA_cacheGet('PMA_MYSQL_VERSION_COMMENT', true));
+ define(
+ 'PMA_MYSQL_INT_VERSION',
+ PMA_cacheGet('PMA_MYSQL_INT_VERSION', true)
+ );
+ define(
+ 'PMA_MYSQL_MAJOR_VERSION',\
+ PMA_cacheGet('PMA_MYSQL_MAJOR_VERSION', true)
+ );
+ define(
+ 'PMA_MYSQL_STR_VERSION',
+ PMA_cacheGet('PMA_MYSQL_STR_VERSION', true)
+ );
+ define(
+ 'PMA_MYSQL_VERSION_COMMENT',
+ PMA_cacheGet('PMA_MYSQL_VERSION_COMMENT', true)
+ );
} else {
- $version = PMA_DBI_fetch_single_row('SELECT @@version, @@version_comment', 'ASSOC', $link);
+ $version = PMA_DBI_fetch_single_row(
+ 'SELECT @@version, @@version_comment',
+ 'ASSOC',
+ $link
+ );
+
if ($version) {
$match = explode('.', $version['@@version']);
define('PMA_MYSQL_MAJOR_VERSION', (int)$match[0]);
@@ -1185,12 +1210,29 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
define('PMA_MYSQL_STR_VERSION', '5.00.15');
define('PMA_MYSQL_VERSION_COMMENT', '');
}
- PMA_cacheSet('PMA_MYSQL_INT_VERSION', PMA_MYSQL_INT_VERSION, true);
- PMA_cacheSet('PMA_MYSQL_MAJOR_VERSION', PMA_MYSQL_MAJOR_VERSION, true);
- PMA_cacheSet('PMA_MYSQL_STR_VERSION', PMA_MYSQL_STR_VERSION, true);
- PMA_cacheSet('PMA_MYSQL_VERSION_COMMENT', PMA_MYSQL_VERSION_COMMENT, true);
+ PMA_cacheSet(
+ 'PMA_MYSQL_INT_VERSION',
+ PMA_MYSQL_INT_VERSION,
+ true
+ );
+ PMA_cacheSet(
+ 'PMA_MYSQL_MAJOR_VERSION',
+ PMA_MYSQL_MAJOR_VERSION,
+ true
+ );
+ PMA_cacheSet(
+ 'PMA_MYSQL_STR_VERSION',
+ PMA_MYSQL_STR_VERSION,
+ true
+ );
+ PMA_cacheSet(
+ 'PMA_MYSQL_VERSION_COMMENT',
+ PMA_MYSQL_VERSION_COMMENT,
+ true
+ );
}
- // detect Drizzle by version number - <year>.<month>.<build number>(.<patch rev)
+ // detect Drizzle by version number:
+ // <year>.<month>.<build number>(.<patch rev)
define('PMA_DRIZZLE', PMA_MYSQL_MAJOR_VERSION >= 2009);
}
@@ -1198,9 +1240,17 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
if (!PMA_DRIZZLE) {
if (! empty($GLOBALS['collation_connection'])) {
PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE);
- PMA_DBI_query("SET collation_connection = '" . PMA_sqlAddSlashes($GLOBALS['collation_connection']) . "';", $link, PMA_DBI_QUERY_STORE);
+ PMA_DBI_query(
+ "SET collation_connection = '" . PMA_sqlAddSlashes($GLOBALS['collation_connection']) . "';",
+ $link,
+ PMA_DBI_QUERY_STORE
+ );
} else {
- PMA_DBI_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $link, PMA_DBI_QUERY_STORE);
+ PMA_DBI_query(
+ "SET NAMES 'utf8' COLLATE 'utf8_general_ci';",
+ $link,
+ PMA_DBI_QUERY_STORE
+ );
}
}
@@ -1286,11 +1336,12 @@ function PMA_DBI_fetch_value($result, $row_number = 0, $field = 0, $link = null)
*
* @param string|mysql_result $result query or mysql result
* @param string $type NUM|ASSOC|BOTH
- * returned array should either numeric
- * associativ or booth
+ * returned array should either numeric
+ * associativ or booth
* @param resource $link mysql link
- * @return array|boolean first row from result
- * or false if result is empty
+ *
+ * @return array|boolean first row from result
+ * or false if result is empty
*/
function PMA_DBI_fetch_single_row($result, $type = 'ASSOC', $link = null)
{
@@ -1365,12 +1416,13 @@ function PMA_DBI_fetch_single_row($result, $type = 'ASSOC', $link = null)
*
* @param string|mysql_result $result query or mysql result
* @param string|integer $key field-name or offset
- * used as key for array
+ * used as key for array
* @param string|integer $value value-name or offset
- * used as value for array
+ * used as value for array
* @param resource $link mysql link
* @param mixed $options
- * @return array resultrows or values indexed by $key
+ *
+ * @return array resultrows or values indexed by $key
*/
function PMA_DBI_fetch_result($result, $key = null, $value = null,
$link = null, $options = 0)
@@ -1460,7 +1512,7 @@ function PMA_DBI_fetch_result($result, $key = null, $value = null,
/**
* Get supported SQL compatibility modes
*
- * @return array supported SQL compatibility modes
+ * @return array supported SQL compatibility modes
*/
function PMA_DBI_getCompatibilities()
{
@@ -1489,7 +1541,8 @@ function PMA_DBI_getCompatibilities()
* returns warnings for last query
*
* @param resource $link mysql link resource
- * @return array warnings
+ *
+ * @return array warnings
*/
function PMA_DBI_get_warnings($link = null)
{
@@ -1508,7 +1561,7 @@ function PMA_DBI_get_warnings($link = null)
* returns true (int > 0) if current user is superuser
* otherwise 0
*
- * @return integer $is_superuser
+ * @return bool Whether use is a superuser
*/
function PMA_isSuperuser()
{
@@ -1519,13 +1572,19 @@ function PMA_isSuperuser()
// when connection failed we don't have a $userlink
if (isset($GLOBALS['userlink'])) {
if (PMA_DRIZZLE) {
- // Drizzle has no authorization by default, so when no plugin is enabled everyone is a superuser
+ // Drizzle has no authorization by default, so when no plugin is
+ // enabled everyone is a superuser
// Known authorization libraries: regex_policy, simple_user_policy
- // Plugins limit object visibility (dbs, tables, processes), we can safely assume we always deal with superuser
+ // Plugins limit object visibility (dbs, tables, processes), we can
+ // safely assume we always deal with superuser
$r = true;
} else {
// check access to mysql.user table
- $r = (bool) PMA_DBI_try_query('SELECT COUNT(*) FROM mysql.user', $GLOBALS['userlink'], PMA_DBI_QUERY_STORE);
+ $r = (bool) PMA_DBI_try_query(
+ 'SELECT COUNT(*) FROM mysql.user',
+ $GLOBALS['userlink'],
+ PMA_DBI_QUERY_STORE
+ );
}
PMA_cacheSet('is_superuser', $r, true);
} else {
@@ -1538,11 +1597,11 @@ function PMA_isSuperuser()
/**
* returns an array of PROCEDURE or FUNCTION names for a db
*
- * @param string $db db name
- * @param string $which PROCEDURE | FUNCTION
- * @param resource $link mysql link
+ * @param string $db db name
+ * @param string $which PROCEDURE | FUNCTION
+ * @param resource $link mysql link
*
- * @return array the procedure names or function names
+ * @returnarray the procedure names or function names
*/
function PMA_DBI_get_procedures_or_functions($db, $which, $link = null)
{
@@ -1563,12 +1622,12 @@ function PMA_DBI_get_procedures_or_functions($db, $which, $link = null)
/**
* returns the definition of a specific PROCEDURE, FUNCTION, EVENT or VIEW
*
- * @param string $db db name
- * @param string $which PROCEDURE | FUNCTION | EVENT | VIEW
- * @param string $name the procedure|function|event|view name
- * @param resource $link mysql link
+ * @param string $db db name
+ * @param string $which PROCEDURE | FUNCTION | EVENT | VIEW
+ * @param string $name the procedure|function|event|view name
+ * @param resource $link mysql link
*
- * @return string the definition
+ * @return string the definition
*/
function PMA_DBI_get_definition($db, $which, $name, $link = null)
{
@@ -1578,18 +1637,19 @@ function PMA_DBI_get_definition($db, $which, $name, $link = null)
'EVENT' => 'Create Event',
'VIEW' => 'Create View'
);
- $query = 'SHOW CREATE ' . $which . ' ' . PMA_backquote($db) . '.' . PMA_backquote($name);
+ $query = 'SHOW CREATE ' . $which . ' '
+ . PMA_backquote($db) . '.' . PMA_backquote($name);
return(PMA_DBI_fetch_value($query, 0, $returned_field[$which]));
}
/**
* returns details about the TRIGGERs for a specific table or database
*
- * @param string $db db name
- * @param string $table table name
- * @param string $delimiter the delimiter to use (may be empty)
+ * @param string $db db name
+ * @param string $table table name
+ * @param string $delimiter the delimiter to use (may be empty)
*
- * @return array information about triggers (may be empty)
+ * @return array information about triggers (may be empty)
*/
function PMA_DBI_get_triggers($db, $table = '', $delimiter = '//')
{
@@ -1603,7 +1663,12 @@ function PMA_DBI_get_triggers($db, $table = '', $delimiter = '//')
// Note: in http://dev.mysql.com/doc/refman/5.0/en/faqs-triggers.html
// their example uses WHERE TRIGGER_SCHEMA='dbname' so let's use this
// instead of WHERE EVENT_OBJECT_SCHEMA='dbname'
- $query = "SELECT TRIGGER_SCHEMA, TRIGGER_NAME, EVENT_MANIPULATION, EVENT_OBJECT_TABLE, ACTION_TIMING, ACTION_STATEMENT, EVENT_OBJECT_SCHEMA, EVENT_OBJECT_TABLE, DEFINER FROM information_schema.TRIGGERS WHERE TRIGGER_SCHEMA= '" . PMA_sqlAddSlashes($db) . "'";
+ $query = 'SELECT TRIGGER_SCHEMA, TRIGGER_NAME, EVENT_MANIPULATION'
+ . ', EVENT_OBJECT_TABLE, ACTION_TIMING, ACTION_STATEMENT'
+ . ', EVENT_OBJECT_SCHEMA, EVENT_OBJECT_TABLE, DEFINER'
+ . ' FROM information_schema.TRIGGERS'
+ . ' WHERE TRIGGER_SCHEMA= \'' . PMA_sqlAddSlashes($db) . '\'';
+
if (! empty($table)) {
$query .= " AND EVENT_OBJECT_TABLE = '" . PMA_sqlAddSlashes($table) . "';";
}
@@ -1635,8 +1700,15 @@ function PMA_DBI_get_triggers($db, $table = '', $delimiter = '//')
// do not prepend the schema name; this way, importing the
// definition into another schema will work
$one_result['full_trigger_name'] = PMA_backquote($trigger['TRIGGER_NAME']);
- $one_result['drop'] = 'DROP TRIGGER IF EXISTS ' . $one_result['full_trigger_name'];
- $one_result['create'] = 'CREATE TRIGGER ' . $one_result['full_trigger_name'] . ' ' . $trigger['ACTION_TIMING']. ' ' . $trigger['EVENT_MANIPULATION'] . ' ON ' . PMA_backquote($trigger['EVENT_OBJECT_TABLE']) . "\n" . ' FOR EACH ROW ' . $trigger['ACTION_STATEMENT'] . "\n" . $delimiter . "\n";
+ $one_result['drop'] = 'DROP TRIGGER IF EXISTS '
+ . $one_result['full_trigger_name'];
+ $one_result['create'] = 'CREATE TRIGGER '
+ . $one_result['full_trigger_name'] . ' '
+ . $trigger['ACTION_TIMING']. ' '
+ . $trigger['EVENT_MANIPULATION']
+ . ' ON ' . PMA_backquote($trigger['EVENT_OBJECT_TABLE'])
+ . "\n" . ' FOR EACH ROW '
+ . $trigger['ACTION_STATEMENT'] . "\n" . $delimiter . "\n";
$result[] = $one_result;
}
@@ -1657,7 +1729,7 @@ function PMA_DBI_get_triggers($db, $table = '', $delimiter = '//')
* This is needed because some errors messages cannot
* be obtained by mysql_error().
*
- * @param int $error_number Error code
+ * @param int $error_number Error code
* @param string $error_message Error message as returned by server
*
* @return string HML text with error details
@@ -1692,11 +1764,12 @@ function PMA_DBI_formatError($error_number, $error_message)
}
/**
- * Checks whether given schema is a system schema: information_schema (MySQL and Drizzle)
- * or data_dictionary (Drizzle)
+ * Checks whether given schema is a system schema: information_schema
+ * (MySQL and Drizzle) or data_dictionary (Drizzle)
*
- * @param string $schema_name
- * @param bool $test_for_mysql_schema Whether 'mysql' schema should be treated the same as IS and DD
+ * @param string $schema_name Name of schema (database) to test
+ * @param bool $test_for_mysql_schema Whether 'mysql' schema should
+ * be treated the same as IS and DD
* @return bool
*/
function PMA_is_system_schema($schema_name, $test_for_mysql_schema = false)
hooks/post-receive
--
phpMyAdmin
1
0

[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7-21571-ge56949f
by Michal Čihař 25 Oct '11
by Michal Čihař 25 Oct '11
25 Oct '11
The branch, master has been updated
via e56949f160b9de33a8ca642e6d9d8efa81c112fe (commit)
from dea67b9dfe435cea0e2919c173416a5d190429f5 (commit)
- Log -----------------------------------------------------------------
commit e56949f160b9de33a8ca642e6d9d8efa81c112fe
Author: Michal Čihař <mcihar(a)suse.cz>
Date: Tue Oct 25 10:13:17 2011 +0200
Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
-----------------------------------------------------------------------
Summary of changes:
browse_foreigners.php | 2 +-
changelog.php | 2 +-
chk_rel.php | 2 +-
config.sample.inc.php | 2 +-
db_create.php | 2 +-
db_datadict.php | 2 +-
db_events.php | 2 +-
db_export.php | 2 +-
db_import.php | 2 +-
db_operations.php | 2 +-
db_printview.php | 2 +-
db_qbe.php | 2 +-
db_routines.php | 2 +-
db_search.php | 2 +-
db_sql.php | 2 +-
db_structure.php | 2 +-
db_tracking.php | 2 +-
db_triggers.php | 2 +-
enum_editor.php | 2 +-
export.php | 2 +-
file_echo.php | 2 +-
import.php | 2 +-
import_status.php | 2 +-
index.php | 2 +-
js/get_image.js.php | 2 +-
js/messages.php | 2 +-
js/pmd/ajax.js | 2 +-
js/pmd/iecanvas.js | 2 +-
js/pmd/move.js | 2 +-
libraries/Advisor.class.php | 2 +-
libraries/Config.class.php | 4 ++--
libraries/Error.class.php | 4 ++--
libraries/Error_Handler.class.php | 4 ++--
libraries/File.class.php | 4 ++--
libraries/Index.class.php | 6 +++---
libraries/List.class.php | 4 ++--
libraries/List_Database.class.php | 4 ++--
libraries/Message.class.php | 4 ++--
libraries/PMA.php | 4 ++--
libraries/Partition.class.php | 4 ++--
libraries/RecentTable.class.php | 4 ++--
libraries/StorageEngine.class.php | 4 ++--
libraries/Table.class.php | 4 ++--
libraries/Theme.class.php | 4 ++--
libraries/Theme_Manager.class.php | 4 ++--
libraries/Tracker.class.php | 4 ++--
libraries/auth/config.auth.lib.php | 2 +-
libraries/auth/cookie.auth.lib.php | 2 +-
libraries/auth/http.auth.lib.php | 2 +-
libraries/auth/signon.auth.lib.php | 2 +-
libraries/bookmark.lib.php | 2 +-
libraries/build_html_for_db.lib.php | 2 +-
libraries/charset_conversion.lib.php | 2 +-
libraries/check_user_privileges.lib.php | 2 +-
libraries/cleanup.lib.php | 2 +-
libraries/common.inc.php | 2 +-
libraries/common.lib.php | 2 +-
libraries/config.default.php | 2 +-
libraries/config.values.php | 2 +-
libraries/config/ConfigFile.class.php | 2 +-
libraries/config/Form.class.php | 2 +-
libraries/config/FormDisplay.class.php | 2 +-
libraries/config/FormDisplay.tpl.php | 2 +-
libraries/config/config_functions.lib.php | 2 +-
libraries/config/messages.inc.php | 2 +-
libraries/config/setup.forms.php | 2 +-
libraries/config/user_preferences.forms.php | 2 +-
libraries/config/validate.lib.php | 2 +-
libraries/core.lib.php | 2 +-
libraries/data_dictionary_relations.lib.php | 2 +-
libraries/data_drizzle.inc.php | 2 +-
libraries/data_mysql.inc.php | 2 +-
libraries/database_interface.lib.php | 2 +-
libraries/db_common.inc.php | 2 +-
libraries/db_info.inc.php | 2 +-
libraries/db_links.inc.php | 2 +-
libraries/db_structure.lib.php | 2 +-
libraries/db_table_exists.lib.php | 2 +-
libraries/dbi/drizzle-wrappers.lib.php | 2 +-
libraries/dbi/drizzle.dbi.lib.php | 2 +-
libraries/dbi/mysql.dbi.lib.php | 2 +-
libraries/dbi/mysqli.dbi.lib.php | 2 +-
libraries/display_change_password.lib.php | 2 +-
libraries/display_create_database.lib.php | 2 +-
libraries/display_create_table.lib.php | 2 +-
libraries/display_export.lib.php | 2 +-
libraries/display_import.lib.php | 2 +-
libraries/display_import_ajax.lib.php | 2 +-
libraries/display_select_lang.lib.php | 2 +-
libraries/display_tbl.lib.php | 2 +-
libraries/engines/bdb.lib.php | 4 ++--
libraries/engines/berkeleydb.lib.php | 4 ++--
libraries/engines/binlog.lib.php | 4 ++--
libraries/engines/innobase.lib.php | 4 ++--
libraries/engines/innodb.lib.php | 4 ++--
libraries/engines/memory.lib.php | 4 ++--
libraries/engines/merge.lib.php | 4 ++--
libraries/engines/mrg_myisam.lib.php | 4 ++--
libraries/engines/myisam.lib.php | 4 ++--
libraries/engines/ndbcluster.lib.php | 4 ++--
libraries/engines/pbms.lib.php | 4 ++--
libraries/engines/pbxt.lib.php | 4 ++--
libraries/error.inc.php | 2 +-
libraries/export/codegen.php | 4 ++--
libraries/export/csv.php | 2 +-
libraries/export/excel.php | 2 +-
libraries/export/htmlword.php | 2 +-
libraries/export/json.php | 2 +-
libraries/export/latex.php | 2 +-
libraries/export/mediawiki.php | 2 +-
libraries/export/ods.php | 2 +-
libraries/export/odt.php | 2 +-
libraries/export/pdf.php | 4 ++--
libraries/export/php_array.php | 2 +-
libraries/export/sql.php | 2 +-
libraries/export/texytext.php | 2 +-
libraries/export/xml.php | 2 +-
libraries/export/yaml.php | 2 +-
libraries/file_listing.php | 2 +-
libraries/footer.inc.php | 2 +-
libraries/gis/pma_gis_factory.php | 2 +-
libraries/gis/pma_gis_geometry.php | 2 +-
libraries/gis/pma_gis_geometrycollection.php | 2 +-
libraries/gis/pma_gis_linestring.php | 2 +-
libraries/gis/pma_gis_multilinestring.php | 2 +-
libraries/gis/pma_gis_multipoint.php | 2 +-
libraries/gis/pma_gis_multipolygon.php | 2 +-
libraries/gis/pma_gis_point.php | 2 +-
libraries/gis/pma_gis_polygon.php | 2 +-
libraries/gis/pma_gis_visualization.php | 2 +-
libraries/gis_visualization.lib.php | 2 +-
libraries/grab_globals.lib.php | 2 +-
libraries/header.inc.php | 2 +-
libraries/header_http.inc.php | 2 +-
libraries/header_meta_style.inc.php | 2 +-
libraries/header_printview.inc.php | 2 +-
libraries/header_scripts.inc.php | 2 +-
libraries/iconv_wrapper.lib.php | 2 +-
libraries/import.lib.php | 2 +-
libraries/import/csv.php | 2 +-
libraries/import/docsql.php | 2 +-
libraries/import/ldi.php | 2 +-
libraries/import/ods.php | 2 +-
libraries/import/shp.php | 2 +-
libraries/import/sql.php | 2 +-
libraries/import/upload/apc.php | 2 +-
libraries/import/upload/noplugin.php | 2 +-
libraries/import/upload/uploadprogress.php | 2 +-
libraries/import/xml.php | 2 +-
libraries/information_schema_relations.lib.php | 2 +-
libraries/ip_allow_deny.lib.php | 2 +-
libraries/js_escape.lib.php | 2 +-
libraries/kanji-encoding.lib.php | 2 +-
libraries/logging.lib.php | 2 +-
libraries/mime.lib.php | 2 +-
libraries/mult_submits.inc.php | 2 +-
libraries/mysql_charsets.lib.php | 2 +-
libraries/navigation_header.inc.php | 2 +-
libraries/ob.lib.php | 2 +-
libraries/opendocument.lib.php | 2 +-
libraries/parse_analyze.lib.php | 2 +-
libraries/plugin_interface.lib.php | 2 +-
libraries/pmd_common.php | 2 +-
libraries/relation.lib.php | 2 +-
libraries/relation_cleanup.lib.php | 2 +-
libraries/replication.inc.php | 2 +-
libraries/replication_gui.lib.php | 2 +-
libraries/rte/rte_events.lib.php | 2 +-
libraries/rte/rte_export.lib.php | 2 +-
libraries/rte/rte_footer.lib.php | 2 +-
libraries/rte/rte_list.lib.php | 2 +-
libraries/rte/rte_main.inc.php | 2 +-
libraries/rte/rte_routines.lib.php | 2 +-
libraries/rte/rte_triggers.lib.php | 2 +-
libraries/sanitizing.lib.php | 2 +-
libraries/schema/Dia_Relation_Schema.class.php | 2 +-
libraries/schema/Eps_Relation_Schema.class.php | 2 +-
libraries/schema/Export_Relation_Schema.class.php | 2 +-
libraries/schema/Pdf_Relation_Schema.class.php | 2 +-
libraries/schema/Svg_Relation_Schema.class.php | 2 +-
libraries/schema/User_Schema.class.php | 2 +-
libraries/schema/Visio_Relation_Schema.class.php | 2 +-
libraries/select_lang.lib.php | 2 +-
libraries/select_server.lib.php | 2 +-
libraries/server_common.inc.php | 2 +-
libraries/server_links.inc.php | 2 +-
libraries/server_synchronize.lib.php | 2 +-
libraries/session.inc.php | 2 +-
libraries/sql_query_form.lib.php | 2 +-
libraries/sqlparser.data.php | 2 +-
libraries/sqlparser.lib.php | 2 +-
libraries/sqlvalidator.class.php | 4 ++--
libraries/sqlvalidator.lib.php | 2 +-
libraries/string.lib.php | 2 +-
libraries/string_mb.lib.php | 2 +-
libraries/string_native.lib.php | 2 +-
libraries/string_type_ctype.lib.php | 2 +-
libraries/string_type_native.lib.php | 2 +-
libraries/svg_plot/pma_scatter_plot.php | 2 +-
libraries/svg_plot/pma_svg_data_element.php | 2 +-
libraries/svg_plot/pma_svg_data_point.php | 2 +-
libraries/sysinfo.lib.php | 2 +-
libraries/tbl_common.php | 2 +-
libraries/tbl_info.inc.php | 2 +-
libraries/tbl_links.inc.php | 2 +-
libraries/tbl_properties.inc.php | 2 +-
libraries/tbl_replace_fields.inc.php | 2 +-
libraries/tbl_select.lib.php | 2 +-
libraries/transformations.lib.php | 2 +-
.../application_octetstream__download.inc.php | 2 +-
.../application_octetstream__hex.inc.php | 2 +-
libraries/transformations/global.inc.php | 2 +-
.../transformations/image_jpeg__inline.inc.php | 2 +-
libraries/transformations/image_jpeg__link.inc.php | 2 +-
.../transformations/image_png__inline.inc.php | 2 +-
.../transformations/text_plain__dateformat.inc.php | 2 +-
.../transformations/text_plain__external.inc.php | 2 +-
.../transformations/text_plain__formatted.inc.php | 2 +-
.../transformations/text_plain__imagelink.inc.php | 2 +-
libraries/transformations/text_plain__link.inc.php | 2 +-
.../transformations/text_plain__longToIpv4.inc.php | 2 +-
libraries/transformations/text_plain__sql.inc.php | 2 +-
.../transformations/text_plain__substr.inc.php | 2 +-
libraries/url_generating.lib.php | 2 +-
libraries/user_preferences.inc.php | 2 +-
libraries/user_preferences.lib.php | 2 +-
libraries/vendor_config.php | 2 +-
libraries/zip.lib.php | 4 ++--
license.php | 2 +-
main.php | 2 +-
navigation.php | 2 +-
phpinfo.php | 2 +-
phpmyadmin.css.php | 2 +-
pmd_display_field.php | 2 +-
pmd_general.php | 2 +-
pmd_pdf.php | 2 +-
pmd_relation_new.php | 2 +-
pmd_relation_upd.php | 2 +-
pmd_save_pos.php | 2 +-
prefs_forms.php | 2 +-
prefs_manage.php | 2 +-
querywindow.php | 2 +-
schema_edit.php | 2 +-
schema_export.php | 2 +-
scripts/decode_bug.php | 2 +-
scripts/openid.php | 2 +-
scripts/signon-script.php | 2 +-
scripts/signon.php | 2 +-
server_binlog.php | 2 +-
server_collations.php | 2 +-
server_databases.php | 2 +-
server_engines.php | 2 +-
server_export.php | 2 +-
server_import.php | 2 +-
server_plugins.php | 2 +-
server_privileges.php | 2 +-
server_replication.php | 2 +-
server_sql.php | 2 +-
server_status.php | 2 +-
server_synchronize.php | 2 +-
server_variables.php | 2 +-
setup/config.php | 2 +-
setup/frames/config.inc.php | 2 +-
setup/frames/form.inc.php | 2 +-
setup/frames/index.inc.php | 2 +-
setup/frames/menu.inc.php | 2 +-
setup/frames/servers.inc.php | 2 +-
setup/lib/ConfigGenerator.class.php | 4 ++--
setup/lib/common.inc.php | 2 +-
setup/lib/form_processing.lib.php | 2 +-
setup/lib/index.lib.php | 2 +-
setup/validate.php | 2 +-
show_config_errors.php | 2 +-
sql.php | 2 +-
tbl_addfield.php | 2 +-
tbl_alter.php | 2 +-
tbl_change.php | 2 +-
tbl_chart.php | 2 +-
tbl_create.php | 2 +-
tbl_export.php | 2 +-
tbl_get_field.php | 2 +-
tbl_gis_visualization.php | 2 +-
tbl_import.php | 2 +-
tbl_indexes.php | 2 +-
tbl_move_copy.php | 2 +-
tbl_operations.php | 2 +-
tbl_printview.php | 2 +-
tbl_relation.php | 2 +-
tbl_replace.php | 2 +-
tbl_row_action.php | 2 +-
tbl_select.php | 2 +-
tbl_sql.php | 2 +-
tbl_structure.php | 2 +-
tbl_tracking.php | 2 +-
tbl_triggers.php | 2 +-
test/AllSeleniumTests.php | 2 +-
test/AllTests.php | 2 +-
test/Environment_test.php | 4 ++--
test/PMA_showHint_test.php | 2 +-
test/classes/Advisor_test.php | 2 +-
test/classes/PMA_Config_test.php | 2 +-
test/classes/PMA_File_test.php | 2 +-
test/classes/PMA_List_Database_test.php | 2 +-
test/classes/PMA_Message_test.php | 2 +-
test/classes/PMA_PDF_test.php | 2 +-
test/classes/PMA_Theme_Manager_test.php | 2 +-
test/classes/gis/PMA_GIS_Factory_test.php | 2 +-
test/classes/gis/PMA_GIS_Geom_test.php | 2 +-
test/classes/gis/PMA_GIS_Geometry_test.php | 2 +-
test/classes/gis/PMA_GIS_Linestring_test.php | 2 +-
test/classes/gis/PMA_GIS_Multilinestring_test.php | 2 +-
test/classes/gis/PMA_GIS_Multipoint_test.php | 2 +-
test/classes/gis/PMA_GIS_Multipolygon_test.php | 2 +-
test/classes/gis/PMA_GIS_Point_test.php | 2 +-
test/classes/gis/PMA_GIS_Polygon_test.php | 2 +-
test/libraries/PMA_GIS_modifyQuery_test.php | 2 +-
test/libraries/PMA_SQL_parser_data_test.php | 2 +-
test/libraries/PMA_SQL_parser_test.php | 2 +-
test/libraries/PMA_STR_sub_test.php | 2 +-
test/libraries/PMA_blowfish_test.php | 2 +-
test/libraries/PMA_escapeJsString_test.php | 2 +-
test/libraries/PMA_generateCommonUrl_test.php | 2 +-
test/libraries/PMA_sanitize_test.php | 2 +-
.../PMA_transformation_getOptions_test.php | 2 +-
test/libraries/common/PMA_ajaxResponse_test.php | 2 +-
.../libraries/common/PMA_browseUploadFile_test.php | 2 +-
.../common/PMA_buildActionTitles_test.php | 2 +-
test/libraries/common/PMA_cache_test.php | 2 +-
test/libraries/common/PMA_checkParameters_test.php | 2 +-
.../PMA_contains_nonprintable_ascii_test.php | 2 +-
.../common/PMA_convert_bit_default_value_test.php | 2 +-
.../common/PMA_displayMaximumUploadSize_test.php | 2 +-
.../common/PMA_display_html_checkbox_test.php | 2 +-
.../common/PMA_display_html_radio_test.php | 2 +-
.../common/PMA_escapeMySqlWildcards_test.php | 2 +-
.../libraries/common/PMA_expandUserString_test.php | 2 +-
.../libraries/common/PMA_extractFieldSpec_test.php | 2 +-
.../PMA_extractValueFromFormattedSize_test.php | 2 +-
.../common/PMA_foreignKeySupported_test.php | 2 +-
.../common/PMA_formatNumberByteDown_test.php | 2 +-
test/libraries/common/PMA_formatSql_test.php | 2 +-
.../common/PMA_generateHiddenMaxFileSize_test.php | 2 +-
.../common/PMA_generate_html_dropdown_test.php | 2 +-
.../common/PMA_generate_slider_effect_test.php | 2 +-
test/libraries/common/PMA_getDbLink_test.php | 2 +-
test/libraries/common/PMA_getIcon_test.php | 2 +-
.../common/PMA_getTitleForTarget_test.php | 2 +-
.../common/PMA_localisedDateTimespan_test.php | 2 +-
test/libraries/common/PMA_pow_test.php | 2 +-
.../common/PMA_printableBitValue_test.php | 2 +-
.../libraries/common/PMA_quoting_slashing_test.php | 2 +-
test/libraries/common/PMA_showDocu_test.php | 2 +-
.../common/PMA_showMessage_test_disabled.php | 2 +-
test/libraries/common/PMA_showPHPDocu_test.php | 2 +-
.../libraries/common/PMA_stringOperations_test.php | 2 +-
.../common/PMA_unsupportedDatatypes_test.php | 2 +-
test/libraries/common/PMA_whichCrlf_test.php | 2 +-
test/libraries/core/PMA_array_test.php | 2 +-
test/libraries/core/PMA_checkPageValidity_test.php | 2 +-
test/libraries/core/PMA_fatalError_test.php | 2 +-
test/libraries/core/PMA_getLinks_test.php | 2 +-
test/libraries/core/PMA_getTableCount_test_dis.php | 2 +-
test/libraries/core/PMA_get_real_size_test.php | 2 +-
.../core/PMA_headerLocation_test_disabled.php | 4 ++--
test/libraries/core/PMA_ifSetOr_test.php | 2 +-
test/libraries/core/PMA_isValid_test.php | 2 +-
test/libraries/core/PMA_securePath_test.php | 2 +-
.../core/PMA_warnMissingExtension_test.php | 2 +-
test/libraries/js_escape_test.php | 2 +-
test/libraries/php-gettext/Locales_test.php | 2 +-
test/libraries/php-gettext/Parsing_test.php | 2 +-
.../rte/PMA_EVN_getDataFromRequest_test.php | 2 +-
test/libraries/rte/PMA_EVN_getEditorForm_test.php | 2 +-
.../rte/PMA_EVN_getQueryFromRequest_test.php | 2 +-
.../libraries/rte/PMA_RTN_ParameterParser_test.php | 2 +-
.../rte/PMA_RTN_getDataFromRequest_test.php | 2 +-
test/libraries/rte/PMA_RTN_getEditorForm_test.php | 2 +-
test/libraries/rte/PMA_RTN_getExecuteForm_test.php | 2 +-
.../rte/PMA_RTN_getQueryFromRequest_test.php | 2 +-
.../rte/PMA_TRI_getDataFromRequest_test.php | 2 +-
test/libraries/rte/PMA_TRI_getEditorForm_test.php | 2 +-
.../rte/PMA_TRI_getQueryFromRequest_test.php | 2 +-
.../libraries/select_lang/PMA_langDetails_test.php | 2 +-
test/libraries/select_lang/PMA_langList_test.php | 2 +-
test/libraries/select_lang/PMA_langName_test.php | 2 +-
test/selenium/PmaSeleniumLoginTest.php | 2 +-
test/selenium/PmaSeleniumPrivilegesTest.php | 2 +-
test/selenium/PmaSeleniumTestCase.php | 2 +-
test/selenium/PmaSeleniumXssTest.php | 2 +-
test/theme.php | 2 +-
test/wui.php | 2 +-
themes.php | 2 +-
themes/original/css/theme_left.css.php | 2 +-
themes/original/css/theme_print.css.php | 2 +-
themes/original/css/theme_right.css.php | 2 +-
themes/original/info.inc.php | 2 +-
themes/original/layout.inc.php | 2 +-
themes/pmahomme/css/theme_left.css.php | 2 +-
themes/pmahomme/css/theme_print.css.php | 2 +-
themes/pmahomme/css/theme_right.css.php | 2 +-
themes/pmahomme/info.inc.php | 2 +-
themes/pmahomme/layout.inc.php | 2 +-
themes/sprites.css.php | 2 +-
themes/svg_gradient.php | 2 +-
transformation_overview.php | 2 +-
transformation_wrapper.php | 2 +-
user_password.php | 2 +-
view_create.php | 2 +-
view_operations.php | 2 +-
webapp.php | 2 +-
410 files changed, 446 insertions(+), 446 deletions(-)
diff --git a/browse_foreigners.php b/browse_foreigners.php
index 1a81504..ab5385c 100644
--- a/browse_foreigners.php
+++ b/browse_foreigners.php
@@ -3,7 +3,7 @@
/**
* display selection for relational field values
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/changelog.php b/changelog.php
index 9892638..8cc66e0 100644
--- a/changelog.php
+++ b/changelog.php
@@ -3,7 +3,7 @@
/**
* Simple script to set correct charset for changelog
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/chk_rel.php b/chk_rel.php
index d13f075..e838d2e 100644
--- a/chk_rel.php
+++ b/chk_rel.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/config.sample.inc.php b/config.sample.inc.php
index 70d2666..aa363d6 100644
--- a/config.sample.inc.php
+++ b/config.sample.inc.php
@@ -7,7 +7,7 @@
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.phpmyadmin.net>.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/*
diff --git a/db_create.php b/db_create.php
index fe86dc9..2402705 100644
--- a/db_create.php
+++ b/db_create.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_datadict.php b/db_datadict.php
index e99ccf5..1f62a09 100644
--- a/db_datadict.php
+++ b/db_datadict.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_events.php b/db_events.php
index 6d18641..7716fb0 100644
--- a/db_events.php
+++ b/db_events.php
@@ -3,7 +3,7 @@
/**
* Events management.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_export.php b/db_export.php
index 5c880dd..326b73a 100644
--- a/db_export.php
+++ b/db_export.php
@@ -3,7 +3,7 @@
/**
* dumps a database
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_import.php b/db_import.php
index f39f7c8..fcf56b6 100644
--- a/db_import.php
+++ b/db_import.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_operations.php b/db_operations.php
index 6589587..4461d71 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -9,7 +9,7 @@
* - adding tables
* - viewing PDF schemas
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_printview.php b/db_printview.php
index a03b8b1..acd0d9f 100644
--- a/db_printview.php
+++ b/db_printview.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_qbe.php b/db_qbe.php
index de09953..b4249bf 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -3,7 +3,7 @@
/**
* query by example the whole database
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_routines.php b/db_routines.php
index 633a848..1d4ee0c 100644
--- a/db_routines.php
+++ b/db_routines.php
@@ -3,7 +3,7 @@
/**
* Routines management.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_search.php b/db_search.php
index 88ae5d3..da4863f 100644
--- a/db_search.php
+++ b/db_search.php
@@ -5,7 +5,7 @@
*
* @todo make use of UNION when searching multiple tables
* @todo display executed query, optional?
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_sql.php b/db_sql.php
index 2f495ac..9b4e74d 100644
--- a/db_sql.php
+++ b/db_sql.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_structure.php b/db_structure.php
index 326680b..16df6a7 100644
--- a/db_structure.php
+++ b/db_structure.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_tracking.php b/db_tracking.php
index d00d106..1078fa2 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -1,7 +1,7 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/db_triggers.php b/db_triggers.php
index 66a1085..210dbfd 100644
--- a/db_triggers.php
+++ b/db_triggers.php
@@ -3,7 +3,7 @@
/**
* Triggers management.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/enum_editor.php b/enum_editor.php
index 77bf097..e7bba62 100644
--- a/enum_editor.php
+++ b/enum_editor.php
@@ -5,7 +5,7 @@
* Displays a form for editing ENUM and SET values with more space (as an alternative to doing it in tbl_alter.php)
* This form is only for users with JavaScript disabled -- users with JavaScript enabled will see a different form
* defined in tbl_properties.inc.php
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
require_once './libraries/common.inc.php';
diff --git a/export.php b/export.php
index ba3d883..d91c0eb 100644
--- a/export.php
+++ b/export.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Main export hanling code
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/file_echo.php b/file_echo.php
index bdfc173..d3391fc 100644
--- a/file_echo.php
+++ b/file_echo.php
@@ -4,7 +4,7 @@
* "Echo" service to allow force downloading of exported charts (png or svg)
* and server status monitor settings
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
require_once './libraries/common.inc.php';
diff --git a/import.php b/import.php
index fab1d3f..c6cec25 100644
--- a/import.php
+++ b/import.php
@@ -3,7 +3,7 @@
/**
* Core script for import, this is just the glue around all other stuff
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/import_status.php b/import_status.php
index 75a3361..ebe3a97 100644
--- a/import_status.php
+++ b/import_status.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
require_once './libraries/common.inc.php';
diff --git a/index.php b/index.php
index c8c7756..f94bdbf 100644
--- a/index.php
+++ b/index.php
@@ -4,7 +4,7 @@
* forms frameset
*
* or common.inc.php
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/js/get_image.js.php b/js/get_image.js.php
index 6064731..b327844 100644
--- a/js/get_image.js.php
+++ b/js/get_image.js.php
@@ -4,7 +4,7 @@
* Provides the functionality for retreiving images
* which may be actual images or an icon from a sprite
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
chdir('..');
diff --git a/js/messages.php b/js/messages.php
index 96f759b..e966f9b 100644
--- a/js/messages.php
+++ b/js/messages.php
@@ -3,7 +3,7 @@
/**
* Exporting of translated messages from PHP to Javascript
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
chdir('..');
diff --git a/js/pmd/ajax.js b/js/pmd/ajax.js
index 7f48147..bd23dc5 100644
--- a/js/pmd/ajax.js
+++ b/js/pmd/ajax.js
@@ -1,7 +1,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin-Designer
+ * @package PhpMyAdmin-Designer
*/
/**
diff --git a/js/pmd/iecanvas.js b/js/pmd/iecanvas.js
index 5f304b5..60b2200 100644
--- a/js/pmd/iecanvas.js
+++ b/js/pmd/iecanvas.js
@@ -1,7 +1,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin-Designer
+ * @package PhpMyAdmin-Designer
*/
/**
diff --git a/js/pmd/move.js b/js/pmd/move.js
index 73d7c8f..6bb9717 100644
--- a/js/pmd/move.js
+++ b/js/pmd/move.js
@@ -1,6 +1,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Designer
+ * @package PhpMyAdmin-Designer
*/
/**
diff --git a/libraries/Advisor.class.php b/libraries/Advisor.class.php
index b43455c..f5ed188 100644
--- a/libraries/Advisor.class.php
+++ b/libraries/Advisor.class.php
@@ -4,7 +4,7 @@
* A simple rules engine, that parses and executes the rules in advisory_rules.txt. Adjusted to phpMyAdmin
*
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class Advisor
diff --git a/libraries/Config.class.php b/libraries/Config.class.php
index e655d9b..a806dfa 100644
--- a/libraries/Config.class.php
+++ b/libraries/Config.class.php
@@ -3,7 +3,7 @@
/**
* Configuration handling.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -14,7 +14,7 @@ require './libraries/vendor_config.php';
/**
* Configuration class
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Config
{
diff --git a/libraries/Error.class.php b/libraries/Error.class.php
index 1925a61..d332b06 100644
--- a/libraries/Error.class.php
+++ b/libraries/Error.class.php
@@ -3,7 +3,7 @@
/**
* Holds class PMA_Error
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -14,7 +14,7 @@ require_once './libraries/Message.class.php';
/**
* a single error
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Error extends PMA_Message
{
diff --git a/libraries/Error_Handler.class.php b/libraries/Error_Handler.class.php
index ac132fa..8f14c08 100644
--- a/libraries/Error_Handler.class.php
+++ b/libraries/Error_Handler.class.php
@@ -3,7 +3,7 @@
/**
* Holds class PMA_Error_Handler
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -14,7 +14,7 @@ require_once './libraries/Error.class.php';
/**
* handling errors
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Error_Handler
{
diff --git a/libraries/File.class.php b/libraries/File.class.php
index 592127b..3745866 100644
--- a/libraries/File.class.php
+++ b/libraries/File.class.php
@@ -3,14 +3,14 @@
/**
* file upload functions
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
*
* @todo when uploading a file into a blob field, should we also consider using
* chunks like in import? UPDATE `table` SET `field` = `field` + [chunk]
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_File
{
diff --git a/libraries/Index.class.php b/libraries/Index.class.php
index 47c9950..d790df9 100644
--- a/libraries/Index.class.php
+++ b/libraries/Index.class.php
@@ -3,13 +3,13 @@
/**
* holds the database index class
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
* @since phpMyAdmin 3.0.0
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Index
{
@@ -580,7 +580,7 @@ class PMA_Index
}
/**
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Index_Column
{
diff --git a/libraries/List.class.php b/libraries/List.class.php
index 8303227..661073b 100644
--- a/libraries/List.class.php
+++ b/libraries/List.class.php
@@ -3,14 +3,14 @@
/**
* hold the PMA_List base class
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
* @todo add caching
* @since phpMyAdmin 2.9.10
* @abstract
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
abstract class PMA_List extends ArrayObject
{
diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php
index dd5593a..e528320 100644
--- a/libraries/List_Database.class.php
+++ b/libraries/List_Database.class.php
@@ -3,7 +3,7 @@
/**
* holds the PMA_List_Database class
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -23,7 +23,7 @@ require_once './libraries/List.class.php';
* @todo ? support --skip-showdatabases and user has only global rights
* @access public
* @since phpMyAdmin 2.9.10
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/*public*/ class PMA_List_Database extends PMA_List
{
diff --git a/libraries/Message.class.php b/libraries/Message.class.php
index 5a6afac..3cae14e 100644
--- a/libraries/Message.class.php
+++ b/libraries/Message.class.php
@@ -3,7 +3,7 @@
/**
* Holds class PMA_Message
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -54,7 +54,7 @@
* // strSomeLocaleMessage <sup>1</sup> strSomeMoreLocale<br />
* // strSomeEvenMoreLocale - some final words
* </code>
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Message
{
diff --git a/libraries/PMA.php b/libraries/PMA.php
index ea2c27e..db13bab 100644
--- a/libraries/PMA.php
+++ b/libraries/PMA.php
@@ -1,7 +1,7 @@
<?php
/**
* Enter description here...
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*
*/
@@ -15,7 +15,7 @@ require_once './libraries/List_Database.class.php';
*
*
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA
{
diff --git a/libraries/Partition.class.php b/libraries/Partition.class.php
index 6c5f256..0fb68c4 100644
--- a/libraries/Partition.class.php
+++ b/libraries/Partition.class.php
@@ -3,13 +3,13 @@
/**
* Library for extracting information about the partitions
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
* base Partition Class
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Partition
{
diff --git a/libraries/RecentTable.class.php b/libraries/RecentTable.class.php
index def9c37..1e85899 100644
--- a/libraries/RecentTable.class.php
+++ b/libraries/RecentTable.class.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
require_once './libraries/Message.class.php';
@@ -12,7 +12,7 @@ require_once './libraries/Message.class.php';
*
* @TODO Change the release version in table pma_recent (#recent in Documentation.html)
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_RecentTable
{
diff --git a/libraries/StorageEngine.class.php b/libraries/StorageEngine.class.php
index de30ad7..4f98a4a 100644
--- a/libraries/StorageEngine.class.php
+++ b/libraries/StorageEngine.class.php
@@ -3,7 +3,7 @@
/**
* Library for extracting information about the available storage engines
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -21,7 +21,7 @@ define('PMA_ENGINE_DETAILS_TYPE_BOOLEAN', 3); // 'ON' or 'OFF'
/**
* base Storage Engine Class
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_StorageEngine
{
diff --git a/libraries/Table.class.php b/libraries/Table.class.php
index 7878b8e..0f91593 100644
--- a/libraries/Table.class.php
+++ b/libraries/Table.class.php
@@ -2,12 +2,12 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
* @todo make use of PMA_Message and PMA_Error
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Table
{
diff --git a/libraries/Theme.class.php b/libraries/Theme.class.php
index bc5635d..11ebb0d 100644
--- a/libraries/Theme.class.php
+++ b/libraries/Theme.class.php
@@ -3,7 +3,7 @@
/**
* hold PMA_Theme class
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
@@ -14,7 +14,7 @@
* @todo make css optionally replacing 'parent' css or extending it (by appending at the end)
* @todo add an optional global css file - which will be used for both frames
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Theme
{
diff --git a/libraries/Theme_Manager.class.php b/libraries/Theme_Manager.class.php
index 840e611..68468e1 100644
--- a/libraries/Theme_Manager.class.php
+++ b/libraries/Theme_Manager.class.php
@@ -2,12 +2,12 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
class PMA_Theme_Manager
{
diff --git a/libraries/Tracker.class.php b/libraries/Tracker.class.php
index 97f62f0..07d1768 100644
--- a/libraries/Tracker.class.php
+++ b/libraries/Tracker.class.php
@@ -2,14 +2,14 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
* This class tracks changes on databases, tables and views.
* For more information please see phpMyAdmin/Documentation.html
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*
* @todo use stristr instead of strstr
*/
diff --git a/libraries/auth/config.auth.lib.php b/libraries/auth/config.auth.lib.php
index 573bede..3c1e527 100644
--- a/libraries/auth/config.auth.lib.php
+++ b/libraries/auth/config.auth.lib.php
@@ -3,7 +3,7 @@
/**
* Set of functions used to run config authentication (ie no authentication).
*
- * @package phpMyAdmin-Auth-Config
+ * @package PhpMyAdmin-Auth-Config
*/
diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php
index c50f2e3..c21dbd6 100644
--- a/libraries/auth/cookie.auth.lib.php
+++ b/libraries/auth/cookie.auth.lib.php
@@ -3,7 +3,7 @@
/**
* Set of functions used to run cookie based authentication.
*
- * @package phpMyAdmin-Auth-Cookie
+ * @package PhpMyAdmin-Auth-Cookie
*/
if (! defined('PHPMYADMIN')) {
diff --git a/libraries/auth/http.auth.lib.php b/libraries/auth/http.auth.lib.php
index b54cf34..147a507 100644
--- a/libraries/auth/http.auth.lib.php
+++ b/libraries/auth/http.auth.lib.php
@@ -4,7 +4,7 @@
* Set of functions used to run http authentication.
* NOTE: Requires PHP loaded as a Apache module.
*
- * @package phpMyAdmin-Auth-HTTP
+ * @package PhpMyAdmin-Auth-HTTP
*/
diff --git a/libraries/auth/signon.auth.lib.php b/libraries/auth/signon.auth.lib.php
index fb105c2..1363a9e 100644
--- a/libraries/auth/signon.auth.lib.php
+++ b/libraries/auth/signon.auth.lib.php
@@ -3,7 +3,7 @@
/**
* Set of functions used to run single signon authentication.
*
- * @package phpMyAdmin-Auth-Signon
+ * @package PhpMyAdmin-Auth-Signon
*/
diff --git a/libraries/bookmark.lib.php b/libraries/bookmark.lib.php
index 723b042..84b97f8 100644
--- a/libraries/bookmark.lib.php
+++ b/libraries/bookmark.lib.php
@@ -3,7 +3,7 @@
/**
* Set of functions used with the bookmark feature
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/build_html_for_db.lib.php b/libraries/build_html_for_db.lib.php
index 422beff..a6836c8 100644
--- a/libraries/build_html_for_db.lib.php
+++ b/libraries/build_html_for_db.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/charset_conversion.lib.php b/libraries/charset_conversion.lib.php
index ecd71bc..7c1ac13 100644
--- a/libraries/charset_conversion.lib.php
+++ b/libraries/charset_conversion.lib.php
@@ -3,7 +3,7 @@
/**
* Charset conversion functions.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/check_user_privileges.lib.php b/libraries/check_user_privileges.lib.php
index 726b4a6..1de903e 100644
--- a/libraries/check_user_privileges.lib.php
+++ b/libraries/check_user_privileges.lib.php
@@ -3,7 +3,7 @@
/**
* Get user's global privileges and some db-specific privileges
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/cleanup.lib.php b/libraries/cleanup.lib.php
index 26a559c..92b5c47 100644
--- a/libraries/cleanup.lib.php
+++ b/libraries/cleanup.lib.php
@@ -3,7 +3,7 @@
/**
* Functions for cleanup of user input.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/common.inc.php b/libraries/common.inc.php
index 4a81f14..1c7e4d1 100644
--- a/libraries/common.inc.php
+++ b/libraries/common.inc.php
@@ -28,7 +28,7 @@
* - db connection
* - authentication work
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 8c3f285..c1463bb 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -3,7 +3,7 @@
/**
* Misc functions used all over the scripts.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config.default.php b/libraries/config.default.php
index 1d54bdb..e91638d 100644
--- a/libraries/config.default.php
+++ b/libraries/config.default.php
@@ -16,7 +16,7 @@
*
* All directives are explained in Documentation.html
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config.values.php b/libraries/config.values.php
index 0e7cd93..6abe3bf 100644
--- a/libraries/config.values.php
+++ b/libraries/config.values.php
@@ -4,7 +4,7 @@
* Database with allowed values for configuration stored in the $cfg array,
* used by setup script and user preferences to generate forms.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (!defined('PHPMYADMIN')) {
diff --git a/libraries/config/ConfigFile.class.php b/libraries/config/ConfigFile.class.php
index c1b01ec..dfe2235 100644
--- a/libraries/config/ConfigFile.class.php
+++ b/libraries/config/ConfigFile.class.php
@@ -3,7 +3,7 @@
/**
* Config file management
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config/Form.class.php b/libraries/config/Form.class.php
index 1ec8073..ffd58b9 100644
--- a/libraries/config/Form.class.php
+++ b/libraries/config/Form.class.php
@@ -3,7 +3,7 @@
/**
* Form handling code.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config/FormDisplay.class.php b/libraries/config/FormDisplay.class.php
index 3b217dd..26b3532 100644
--- a/libraries/config/FormDisplay.class.php
+++ b/libraries/config/FormDisplay.class.php
@@ -10,7 +10,7 @@
* o translated_path - work_path modified for HTML field name, a path with
* slashes changed to hyphens, eg. Servers-4-verbose
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php
index 58d6d3e..d874f87 100644
--- a/libraries/config/FormDisplay.tpl.php
+++ b/libraries/config/FormDisplay.tpl.php
@@ -3,7 +3,7 @@
/**
* Form templates
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config/config_functions.lib.php b/libraries/config/config_functions.lib.php
index daa335f..5ac2176 100644
--- a/libraries/config/config_functions.lib.php
+++ b/libraries/config/config_functions.lib.php
@@ -3,7 +3,7 @@
/**
* Common config manipulation functions
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php
index d938197..f396550 100644
--- a/libraries/config/messages.inc.php
+++ b/libraries/config/messages.inc.php
@@ -7,7 +7,7 @@
* configuration subsystem, with $strConfig as a prefix, _desc or _name
* as a suffix, and the directive name in between.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (!function_exists('__')) {
diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php
index 6160456..cddb88d 100644
--- a/libraries/config/setup.forms.php
+++ b/libraries/config/setup.forms.php
@@ -19,7 +19,7 @@
* End group blocks with:
* ':group:end'
*
- * @package phpMyAdmin-setup
+ * @package PhpMyAdmin-setup
*/
$forms = array();
diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php
index 2b0d5e2..e0b2d18 100644
--- a/libraries/config/user_preferences.forms.php
+++ b/libraries/config/user_preferences.forms.php
@@ -17,7 +17,7 @@
* End group blocks with:
* ':group:end'
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
$forms = array();
diff --git a/libraries/config/validate.lib.php b/libraries/config/validate.lib.php
index 989b324..e995c0e 100644
--- a/libraries/config/validate.lib.php
+++ b/libraries/config/validate.lib.php
@@ -12,7 +12,7 @@
*
* Valdiation functions are assigned in $cfg_db['_validators'] (config.values.php).
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/core.lib.php b/libraries/core.lib.php
index 209e4bf..a27bb17 100644
--- a/libraries/core.lib.php
+++ b/libraries/core.lib.php
@@ -5,7 +5,7 @@
* This script is distinct from libraries/common.inc.php because this
* script is called from /test.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/data_dictionary_relations.lib.php b/libraries/data_dictionary_relations.lib.php
index 51e9dcc..168d715 100644
--- a/libraries/data_dictionary_relations.lib.php
+++ b/libraries/data_dictionary_relations.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/data_drizzle.inc.php b/libraries/data_drizzle.inc.php
index 907aac7..7b06ee0 100644
--- a/libraries/data_drizzle.inc.php
+++ b/libraries/data_drizzle.inc.php
@@ -2,7 +2,7 @@
/**
* Column types and functions supported by MySQL
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
// VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
diff --git a/libraries/data_mysql.inc.php b/libraries/data_mysql.inc.php
index 2571475..9b1bd48 100644
--- a/libraries/data_mysql.inc.php
+++ b/libraries/data_mysql.inc.php
@@ -2,7 +2,7 @@
/**
* Column types and functions supported by MySQL
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
// VARCHAR, TINYINT, TEXT and DATE are listed first, based on estimated popularity
diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php
index 76faffd..f77a682 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -3,7 +3,7 @@
/**
* Common Option Constants For DBI Functions
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/db_common.inc.php b/libraries/db_common.inc.php
index 05ee295..5a3c4f7 100644
--- a/libraries/db_common.inc.php
+++ b/libraries/db_common.inc.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/db_info.inc.php b/libraries/db_info.inc.php
index 3e5f342..cb5bf4c 100644
--- a/libraries/db_info.inc.php
+++ b/libraries/db_info.inc.php
@@ -9,7 +9,7 @@
*
* speedup view on locked tables
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/db_links.inc.php b/libraries/db_links.inc.php
index 8f49d3f..aa09d79 100644
--- a/libraries/db_links.inc.php
+++ b/libraries/db_links.inc.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/db_structure.lib.php b/libraries/db_structure.lib.php
index 961c64a..c70b6bf 100644
--- a/libraries/db_structure.lib.php
+++ b/libraries/db_structure.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/db_table_exists.lib.php b/libraries/db_table_exists.lib.php
index cd74d78..b2f3446 100644
--- a/libraries/db_table_exists.lib.php
+++ b/libraries/db_table_exists.lib.php
@@ -4,7 +4,7 @@
* Ensure the database and the table exist (else move to the "parent" script)
* and display headers
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/dbi/drizzle-wrappers.lib.php b/libraries/dbi/drizzle-wrappers.lib.php
index 14f46a3..8441285 100644
--- a/libraries/dbi/drizzle-wrappers.lib.php
+++ b/libraries/dbi/drizzle-wrappers.lib.php
@@ -7,7 +7,7 @@
* This wrapper is not complete and hides a lot of original functionality, but allows for easy usage
* of the drizzle PHP extension.
*
- * @package phpMyAdmin-DBI-Drizzle
+ * @package PhpMyAdmin-DBI-Drizzle
*/
// TODO: drizzle module segfaults while freeing resources, often. This allows at least for some development
diff --git a/libraries/dbi/drizzle.dbi.lib.php b/libraries/dbi/drizzle.dbi.lib.php
index 668d0cb..4c32ae1 100644
--- a/libraries/dbi/drizzle.dbi.lib.php
+++ b/libraries/dbi/drizzle.dbi.lib.php
@@ -8,7 +8,7 @@
* TODO: This file and drizzle-wrappers.lib.php should be devoid of any segault related hacks.
* TODO: Crashing versions of drizzle module and/or libdrizzle should be blacklisted
*
- * @package phpMyAdmin-DBI-Drizzle
+ * @package PhpMyAdmin-DBI-Drizzle
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php
index 13a6136..4e41149 100644
--- a/libraries/dbi/mysql.dbi.lib.php
+++ b/libraries/dbi/mysql.dbi.lib.php
@@ -3,7 +3,7 @@
/**
* Interface to the classic MySQL extension
*
- * @package phpMyAdmin-DBI-MySQL
+ * @package PhpMyAdmin-DBI-MySQL
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/dbi/mysqli.dbi.lib.php b/libraries/dbi/mysqli.dbi.lib.php
index 0355961..3d8a2e2 100644
--- a/libraries/dbi/mysqli.dbi.lib.php
+++ b/libraries/dbi/mysqli.dbi.lib.php
@@ -3,7 +3,7 @@
/**
* Interface to the improved MySQL extension (MySQLi)
*
- * @package phpMyAdmin-DBI-MySQLi
+ * @package PhpMyAdmin-DBI-MySQLi
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php
index 48444a6..3397dd0 100644
--- a/libraries/display_change_password.lib.php
+++ b/libraries/display_change_password.lib.php
@@ -3,7 +3,7 @@
/**
* Displays form for password change
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_create_database.lib.php b/libraries/display_create_database.lib.php
index 121e2a8..ed8a619 100644
--- a/libraries/display_create_database.lib.php
+++ b/libraries/display_create_database.lib.php
@@ -3,7 +3,7 @@
/**
* Displays form for creating database (if user has privileges for that)
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_create_table.lib.php b/libraries/display_create_table.lib.php
index e7cd401..e0410b0 100644
--- a/libraries/display_create_table.lib.php
+++ b/libraries/display_create_table.lib.php
@@ -22,7 +22,7 @@
* warnings about the lack of privileges for CREATE TABLE. Tested
* on MySQL 5.0.18.
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php
index 8ee404c..7a5824e 100644
--- a/libraries/display_export.lib.php
+++ b/libraries/display_export.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php
index 611d8a6..3e5a66e 100644
--- a/libraries/display_import.lib.php
+++ b/libraries/display_import.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_import_ajax.lib.php b/libraries/display_import_ajax.lib.php
index 3495a52..a0a4f7a 100644
--- a/libraries/display_import_ajax.lib.php
+++ b/libraries/display_import_ajax.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
-* @package phpMyAdmin
+* @package PhpMyAdmin
*/
if (!defined('PHPMYADMIN')) {
diff --git a/libraries/display_select_lang.lib.php b/libraries/display_select_lang.lib.php
index fcc2b72..f112fdc 100644
--- a/libraries/display_select_lang.lib.php
+++ b/libraries/display_select_lang.lib.php
@@ -3,7 +3,7 @@
/**
* Code for displaying language selection
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 5515d5c..e85ec3f 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -3,7 +3,7 @@
/**
* library for displaying table with results from all sort of select queries
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
/**
diff --git a/libraries/engines/bdb.lib.php b/libraries/engines/bdb.lib.php
index 2325d15..1a8f2cd 100644
--- a/libraries/engines/bdb.lib.php
+++ b/libraries/engines/bdb.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_bdb extends PMA_StorageEngine
{
diff --git a/libraries/engines/berkeleydb.lib.php b/libraries/engines/berkeleydb.lib.php
index b112e29..5b6e34a 100644
--- a/libraries/engines/berkeleydb.lib.php
+++ b/libraries/engines/berkeleydb.lib.php
@@ -1,7 +1,7 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
@@ -11,7 +11,7 @@ require_once './libraries/engines/bdb.lib.php';
/**
* This is same as BDB.
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_berkeleydb extends PMA_StorageEngine_bdb
{
diff --git a/libraries/engines/binlog.lib.php b/libraries/engines/binlog.lib.php
index 07eff48..27e733f 100644
--- a/libraries/engines/binlog.lib.php
+++ b/libraries/engines/binlog.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_binlog extends PMA_StorageEngine
{
diff --git a/libraries/engines/innobase.lib.php b/libraries/engines/innobase.lib.php
index 818e9e1..faa2509 100644
--- a/libraries/engines/innobase.lib.php
+++ b/libraries/engines/innobase.lib.php
@@ -2,7 +2,7 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
@@ -12,7 +12,7 @@ require_once './libraries/engines/innodb.lib.php';
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_innobase extends PMA_StorageEngine_innodb
{
diff --git a/libraries/engines/innodb.lib.php b/libraries/engines/innodb.lib.php
index 8ab2527..ece7adb 100644
--- a/libraries/engines/innodb.lib.php
+++ b/libraries/engines/innodb.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_innodb extends PMA_StorageEngine
{
diff --git a/libraries/engines/memory.lib.php b/libraries/engines/memory.lib.php
index 636a8df..68d2ab2 100644
--- a/libraries/engines/memory.lib.php
+++ b/libraries/engines/memory.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
* the MEMORY (HEAP) storage engine
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_memory extends PMA_StorageEngine
{
diff --git a/libraries/engines/merge.lib.php b/libraries/engines/merge.lib.php
index 9c9ef1e..2d9d871 100644
--- a/libraries/engines/merge.lib.php
+++ b/libraries/engines/merge.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_merge extends PMA_StorageEngine
{
diff --git a/libraries/engines/mrg_myisam.lib.php b/libraries/engines/mrg_myisam.lib.php
index 808f33a..61468f4 100644
--- a/libraries/engines/mrg_myisam.lib.php
+++ b/libraries/engines/mrg_myisam.lib.php
@@ -1,7 +1,7 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
@@ -11,7 +11,7 @@ require_once './libraries/engines/merge.lib.php';
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_mrg_myisam extends PMA_StorageEngine_merge
{
diff --git a/libraries/engines/myisam.lib.php b/libraries/engines/myisam.lib.php
index f6ca061..339709e 100644
--- a/libraries/engines/myisam.lib.php
+++ b/libraries/engines/myisam.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
* the MyISAM storage engine
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_myisam extends PMA_StorageEngine
{
diff --git a/libraries/engines/ndbcluster.lib.php b/libraries/engines/ndbcluster.lib.php
index 2979385..0054ab9 100644
--- a/libraries/engines/ndbcluster.lib.php
+++ b/libraries/engines/ndbcluster.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
*
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_ndbcluster extends PMA_StorageEngine
{
diff --git a/libraries/engines/pbms.lib.php b/libraries/engines/pbms.lib.php
index 7f8f58c..e86c291 100644
--- a/libraries/engines/pbms.lib.php
+++ b/libraries/engines/pbms.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
* the PBMS daemon
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_pbms extends PMA_StorageEngine
{
diff --git a/libraries/engines/pbxt.lib.php b/libraries/engines/pbxt.lib.php
index dc3c47d..847d490 100644
--- a/libraries/engines/pbxt.lib.php
+++ b/libraries/engines/pbxt.lib.php
@@ -1,12 +1,12 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
/**
* the MyISAM storage engine
- * @package phpMyAdmin-Engines
+ * @package PhpMyAdmin-Engines
*/
class PMA_StorageEngine_pbxt extends PMA_StorageEngine
{
diff --git a/libraries/error.inc.php b/libraries/error.inc.php
index 95d8847..316639a 100644
--- a/libraries/error.inc.php
+++ b/libraries/error.inc.php
@@ -3,7 +3,7 @@
/**
* phpMyAdmin fatal error display page
*
- * @package phpMyAdmin
+ * @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
diff --git a/libraries/export/codegen.php b/libraries/export/codegen.php
index b8b35d5..0108442 100644
--- a/libraries/export/codegen.php
+++ b/libraries/export/codegen.php
@@ -3,7 +3,7 @@
/**
* Set of functions used to build NHibernate dumps of tables
*
- * @package phpMyAdmin-Export
+ * @package PhpMyAdmin-Export
* @subpackage Codegen
*/
if (! defined('PHPMYADMIN')) {
@@ -133,7 +133,7 @@ if (isset($plugin_list)) {
/**
*
- * @package phpMyAdmin-Export
+ * @package PhpMyAdmin-Export
* @subpackage Codegen
*/
class TableProperty
diff --git a/libraries/export/csv.php b/libraries/export/csv.php
index 8b04841..7410767 100644
--- a/libraries/export/csv.php
+++ b/libraries/export/csv.php
@@ -3,7 +3,7 @@
/**
* CSV export code
*
- * @package phpMyAdmin-Export
+ * @package PhpMyAdmin-Export
* @subpackage CSV
*/
if (! defined('PHPMYADMIN')) {
diff --git a/libraries/export/excel.php b/libraries/export/excel.php
index 44bbc44..01507e5 100644
--- a/libraries/export/excel.php
+++ b/libraries/export/excel.php
@@ -3,7 +3,7 @@
/**
* Set of functions used to build CSV dumps of tables for excel
*
- * @package phpMyAdmin-Export
+ * @package PhpMyAdmin-Export
* @subpackage CSV-Excel
*/
if (! defined('PHPMYADMIN')) {
diff --git a/libraries/export/htmlword.php b/libraries/export/htmlword.php
index 7f04703..e14ecc9 100644
--- a/libraries/export/ht 644 tmlword.php b/libraries/export/htmlword.php er.lib.php .php elopment form ry��Y+ ��� �� u���Y+ ���Y+ ߊY+ �ۋY+ �� � ��Y+ �� ��� k��Y+ 6 � �! �! ��� �� x�ڋY+ �� ��Y+ ���Y+ ��� `�Y+ ��� ��>�Y+ u���Y+ �>�Y+ ش>�Y+ ��>�Y+ ���Y+ x�ڋY+ �� ��� k��Y+ �! �! ��� �� H���Y+ ��� ��Y+ ���Y+ ��� `�Y+ ��� ��� ��� 8ߊY+ �p� �� u���Y+ ���Y+ ��� ��� k��Y+ G H I J K M N O P ��� �� HE��Y+ � �� ��Y+ ���Y+ ��� 0�>�Y+ u���Y+ �ڋY+ �yn�Y+ �>�Y+ ش>�Y+ ��>�Y+ ���Y+ HE��Y+ � �� ��� k��Y+ 8E��Y+ � �� �� k��Y+ (E��Y+ � �� 0�� k��Y+ E��Y+ � �� `�� k��Y+ ��>�Y+ u���Y+ ��>�Y+ ��� ��n�Y+ e���Y+ ش>�Y+ �� y�n�Y+ e���Y+ �>�Y+ 0 �� Z�n�Y+ e���Y+ �tn�Y+ �ڋY+ �yn�Y+ �>�Y+ ��ڋY+ ش>�Y+ ��>�Y+ ���Y+ 8ߊY+ =:�Y+ �� pn�Y+ �
�� � �� k��Y+ 5 6 7 8 : <