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

This commit is contained in:
Madhura Jayaratne 2011-10-14 20:32:38 +05:30
commit 915b24df79
13 changed files with 1529 additions and 525 deletions

View File

@ -68,10 +68,10 @@ function LZ(x) {return(x<0||x>9?"":"0")+x}
// passing it to this function, as whitespace is NOT ignored!
// ------------------------------------------------------------------
function isDate(val,format) {
var date=getDateFromFormat(val,format);
if (date==0) { return false; }
return true;
}
var date=getDateFromFormat(val,format);
if (date==0) { return false; }
return true;
}
// -------------------------------------------------------------------
// compareDates(date1,date1format,date2,date2format)
@ -82,16 +82,16 @@ function isDate(val,format) {
// -1 if either of the dates is in an invalid format
// -------------------------------------------------------------------
function compareDates(date1,dateformat1,date2,dateformat2) {
var d1=getDateFromFormat(date1,dateformat1);
var d2=getDateFromFormat(date2,dateformat2);
if (d1==0 || d2==0) {
return -1;
}
else if (d1 > d2) {
return 1;
}
return 0;
}
var d1=getDateFromFormat(date1,dateformat1);
var d2=getDateFromFormat(date2,dateformat2);
if (d1==0 || d2==0) {
return -1;
}
else if (d1 > d2) {
return 1;
}
return 0;
}
// ------------------------------------------------------------------
// formatDate (date_object, format)
@ -99,80 +99,80 @@ function compareDates(date1,dateformat1,date2,dateformat2) {
// The format string uses the same abbreviations as in getDateFromFormat()
// ------------------------------------------------------------------
function formatDate(date,format) {
format=format+"";
var result="";
var i_format=0;
var c="";
var token="";
var y=date.getYear()+"";
var M=date.getMonth()+1;
var d=date.getDate();
var E=date.getDay();
var H=date.getHours();
var m=date.getMinutes();
var s=date.getSeconds();
var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;
// Convert real date parts into formatted versions
var value=new Object();
if (y.length < 4) {y=""+(y-0+1900);}
value["y"]=""+y;
value["yyyy"]=y;
value["yy"]=y.substring(2,4);
value["M"]=M;
value["MM"]=LZ(M);
value["MMM"]=MONTH_NAMES[M-1];
value["NNN"]=MONTH_NAMES[M+11];
value["d"]=d;
value["dd"]=LZ(d);
value["E"]=DAY_NAMES[E+7];
value["EE"]=DAY_NAMES[E];
value["H"]=H;
value["HH"]=LZ(H);
if (H==0){value["h"]=12;}
else if (H>12){value["h"]=H-12;}
else {value["h"]=H;}
value["hh"]=LZ(value["h"]);
if (H>11){value["K"]=H-12;} else {value["K"]=H;}
value["k"]=H+1;
value["KK"]=LZ(value["K"]);
value["kk"]=LZ(value["k"]);
if (H > 11) { value["a"]="PM"; }
else { value["a"]="AM"; }
value["m"]=m;
value["mm"]=LZ(m);
value["s"]=s;
value["ss"]=LZ(s);
while (i_format < format.length) {
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
if (value[token] != null) { result=result + value[token]; }
else { result=result + token; }
}
return result;
}
format=format+"";
var result="";
var i_format=0;
var c="";
var token="";
var y=date.getYear()+"";
var M=date.getMonth()+1;
var d=date.getDate();
var E=date.getDay();
var H=date.getHours();
var m=date.getMinutes();
var s=date.getSeconds();
var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;
// Convert real date parts into formatted versions
var value=new Object();
if (y.length < 4) {y=""+(y-0+1900);}
value["y"]=""+y;
value["yyyy"]=y;
value["yy"]=y.substring(2,4);
value["M"]=M;
value["MM"]=LZ(M);
value["MMM"]=MONTH_NAMES[M-1];
value["NNN"]=MONTH_NAMES[M+11];
value["d"]=d;
value["dd"]=LZ(d);
value["E"]=DAY_NAMES[E+7];
value["EE"]=DAY_NAMES[E];
value["H"]=H;
value["HH"]=LZ(H);
if (H==0){value["h"]=12;}
else if (H>12){value["h"]=H-12;}
else {value["h"]=H;}
value["hh"]=LZ(value["h"]);
if (H>11){value["K"]=H-12;} else {value["K"]=H;}
value["k"]=H+1;
value["KK"]=LZ(value["K"]);
value["kk"]=LZ(value["k"]);
if (H > 11) { value["a"]="PM"; }
else { value["a"]="AM"; }
value["m"]=m;
value["mm"]=LZ(m);
value["s"]=s;
value["ss"]=LZ(s);
while (i_format < format.length) {
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
if (value[token] != null) { result=result + value[token]; }
else { result=result + token; }
}
return result;
}
// ------------------------------------------------------------------
// Utility functions for parsing in getDateFromFormat()
// ------------------------------------------------------------------
function _isInteger(val) {
var digits="1234567890";
for (var i=0; i < val.length; i++) {
if (digits.indexOf(val.charAt(i))==-1) { return false; }
}
return true;
}
var digits="1234567890";
for (var i=0; i < val.length; i++) {
if (digits.indexOf(val.charAt(i))==-1) { return false; }
}
return true;
}
function _getInt(str,i,minlength,maxlength) {
for (var x=maxlength; x>=minlength; x--) {
var token=str.substring(i,i+x);
if (token.length < minlength) { return null; }
if (_isInteger(token)) { return token; }
}
return null;
}
for (var x=maxlength; x>=minlength; x--) {
var token=str.substring(i,i+x);
if (token.length < minlength) { return null; }
if (_isInteger(token)) { return token; }
}
return null;
}
// ------------------------------------------------------------------
// getDateFromFormat( date_string , format_string )
//
@ -181,128 +181,128 @@ function _getInt(str,i,minlength,maxlength) {
// getTime() of the date. If it does not match, it returns 0.
// ------------------------------------------------------------------
function getDateFromFormat(val,format) {
val=val+"";
format=format+"";
var i_val=0;
var i_format=0;
var c="";
var token="";
var token2="";
var x,y;
var now=new Date();
var year=now.getYear();
var month=now.getMonth()+1;
var date=1;
var hh=now.getHours();
var mm=now.getMinutes();
var ss=now.getSeconds();
var ampm="";
while (i_format < format.length) {
// Get next token from format string
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
// Extract contents of value based on format token
if (token=="yyyy" || token=="yy" || token=="y") {
if (token=="yyyy") { x=4;y=4; }
if (token=="yy") { x=2;y=2; }
if (token=="y") { x=2;y=4; }
year=_getInt(val,i_val,x,y);
if (year==null) { return 0; }
i_val += year.length;
if (year.length==2) {
if (year > 70) { year=1900+(year-0); }
else { year=2000+(year-0); }
}
}
else if (token=="MMM"||token=="NNN"){
month=0;
for (var i=0; i<MONTH_NAMES.length; i++) {
var month_name=MONTH_NAMES[i];
if (val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()) {
if (token=="MMM"||(token=="NNN"&&i>11)) {
month=i+1;
if (month>12) { month -= 12; }
i_val += month_name.length;
break;
}
}
}
if ((month < 1)||(month>12)){return 0;}
}
else if (token=="EE"||token=="E"){
for (var i=0; i<DAY_NAMES.length; i++) {
var day_name=DAY_NAMES[i];
if (val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()) {
i_val += day_name.length;
break;
}
}
}
else if (token=="MM"||token=="M") {
month=_getInt(val,i_val,token.length,2);
if(month==null||(month<1)||(month>12)){return 0;}
i_val+=month.length;}
else if (token=="dd"||token=="d") {
date=_getInt(val,i_val,token.length,2);
if(date==null||(date<1)||(date>31)){return 0;}
i_val+=date.length;}
else if (token=="hh"||token=="h") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>12)){return 0;}
i_val+=hh.length;}
else if (token=="HH"||token=="H") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>23)){return 0;}
i_val+=hh.length;}
else if (token=="KK"||token=="K") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>11)){return 0;}
i_val+=hh.length;}
else if (token=="kk"||token=="k") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>24)){return 0;}
i_val+=hh.length;hh--;}
else if (token=="mm"||token=="m") {
mm=_getInt(val,i_val,token.length,2);
if(mm==null||(mm<0)||(mm>59)){return 0;}
i_val+=mm.length;}
else if (token=="ss"||token=="s") {
ss=_getInt(val,i_val,token.length,2);
if(ss==null||(ss<0)||(ss>59)){return 0;}
i_val+=ss.length;}
else if (token=="a") {
if (val.substring(i_val,i_val+2).toLowerCase()=="am") {ampm="AM";}
else if (val.substring(i_val,i_val+2).toLowerCase()=="pm") {ampm="PM";}
else {return 0;}
i_val+=2;}
else {
if (val.substring(i_val,i_val+token.length)!=token) {return 0;}
else {i_val+=token.length;}
}
}
// If there are any trailing characters left in the value, it doesn't match
if (i_val != val.length) { return 0; }
// Is date valid for month?
if (month==2) {
// Check for leap year
if ( ( (year%4==0)&&(year%100 != 0) ) || (year%400==0) ) { // leap year
if (date > 29){ return 0; }
}
else { if (date > 28) { return 0; } }
}
if ((month==4)||(month==6)||(month==9)||(month==11)) {
if (date > 30) { return 0; }
}
// Correct hours value
if (hh<12 && ampm=="PM") { hh=hh-0+12; }
else if (hh>11 && ampm=="AM") { hh-=12; }
var newdate=new Date(year,month-1,date,hh,mm,ss);
return newdate.getTime();
}
val=val+"";
format=format+"";
var i_val=0;
var i_format=0;
var c="";
var token="";
var token2="";
var x,y;
var now=new Date();
var year=now.getYear();
var month=now.getMonth()+1;
var date=1;
var hh=now.getHours();
var mm=now.getMinutes();
var ss=now.getSeconds();
var ampm="";
while (i_format < format.length) {
// Get next token from format string
c=format.charAt(i_format);
token="";
while ((format.charAt(i_format)==c) && (i_format < format.length)) {
token += format.charAt(i_format++);
}
// Extract contents of value based on format token
if (token=="yyyy" || token=="yy" || token=="y") {
if (token=="yyyy") { x=4;y=4; }
if (token=="yy") { x=2;y=2; }
if (token=="y") { x=2;y=4; }
year=_getInt(val,i_val,x,y);
if (year==null) { return 0; }
i_val += year.length;
if (year.length==2) {
if (year > 70) { year=1900+(year-0); }
else { year=2000+(year-0); }
}
}
else if (token=="MMM"||token=="NNN"){
month=0;
for (var i=0; i<MONTH_NAMES.length; i++) {
var month_name=MONTH_NAMES[i];
if (val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()) {
if (token=="MMM"||(token=="NNN"&&i>11)) {
month=i+1;
if (month>12) { month -= 12; }
i_val += month_name.length;
break;
}
}
}
if ((month < 1)||(month>12)){return 0;}
}
else if (token=="EE"||token=="E"){
for (var i=0; i<DAY_NAMES.length; i++) {
var day_name=DAY_NAMES[i];
if (val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()) {
i_val += day_name.length;
break;
}
}
}
else if (token=="MM"||token=="M") {
month=_getInt(val,i_val,token.length,2);
if(month==null||(month<1)||(month>12)){return 0;}
i_val+=month.length;}
else if (token=="dd"||token=="d") {
date=_getInt(val,i_val,token.length,2);
if(date==null||(date<1)||(date>31)){return 0;}
i_val+=date.length;}
else if (token=="hh"||token=="h") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>12)){return 0;}
i_val+=hh.length;}
else if (token=="HH"||token=="H") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>23)){return 0;}
i_val+=hh.length;}
else if (token=="KK"||token=="K") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<0)||(hh>11)){return 0;}
i_val+=hh.length;}
else if (token=="kk"||token=="k") {
hh=_getInt(val,i_val,token.length,2);
if(hh==null||(hh<1)||(hh>24)){return 0;}
i_val+=hh.length;hh--;}
else if (token=="mm"||token=="m") {
mm=_getInt(val,i_val,token.length,2);
if(mm==null||(mm<0)||(mm>59)){return 0;}
i_val+=mm.length;}
else if (token=="ss"||token=="s") {
ss=_getInt(val,i_val,token.length,2);
if(ss==null||(ss<0)||(ss>59)){return 0;}
i_val+=ss.length;}
else if (token=="a") {
if (val.substring(i_val,i_val+2).toLowerCase()=="am") {ampm="AM";}
else if (val.substring(i_val,i_val+2).toLowerCase()=="pm") {ampm="PM";}
else {return 0;}
i_val+=2;}
else {
if (val.substring(i_val,i_val+token.length)!=token) {return 0;}
else {i_val+=token.length;}
}
}
// If there are any trailing characters left in the value, it doesn't match
if (i_val != val.length) { return 0; }
// Is date valid for month?
if (month==2) {
// Check for leap year
if ( ( (year%4==0)&&(year%100 != 0) ) || (year%400==0) ) { // leap year
if (date > 29){ return 0; }
}
else { if (date > 28) { return 0; } }
}
if ((month==4)||(month==6)||(month==9)||(month==11)) {
if (date > 30) { return 0; }
}
// Correct hours value
if (hh<12 && ampm=="PM") { hh=hh-0+12; }
else if (hh>11 && ampm=="AM") { hh-=12; }
var newdate=new Date(year,month-1,date,hh,mm,ss);
return newdate.getTime();
}
// ------------------------------------------------------------------
// parseDate( date_string [, prefer_euro_format] )
@ -318,18 +318,18 @@ function getDateFromFormat(val,format) {
// Returns a Date object or null if no patterns match.
// ------------------------------------------------------------------
function parseDate(val) {
var preferEuro=(arguments.length==2)?arguments[1]:false;
generalFormats=new Array('y-M-d','MMM d, y','MMM d,y','y-MMM-d','d-MMM-y','MMM d');
monthFirst=new Array('M/d/y','M-d-y','M.d.y','MMM-d','M/d','M-d');
dateFirst =new Array('d/M/y','d-M-y','d.M.y','d-MMM','d/M','d-M');
var checkList=new Array('generalFormats',preferEuro?'dateFirst':'monthFirst',preferEuro?'monthFirst':'dateFirst');
var d=null;
for (var i=0; i<checkList.length; i++) {
var l=window[checkList[i]];
for (var j=0; j<l.length; j++) {
d=getDateFromFormat(val,l[j]);
if (d!=0) { return new Date(d); }
}
}
return null;
}
var preferEuro=(arguments.length==2)?arguments[1]:false;
generalFormats=new Array('y-M-d','MMM d, y','MMM d,y','y-MMM-d','d-MMM-y','MMM d');
monthFirst=new Array('M/d/y','M-d-y','M.d.y','MMM-d','M/d','M-d');
dateFirst =new Array('d/M/y','d-M-y','d.M.y','d-MMM','d/M','d-M');
var checkList=new Array('generalFormats',preferEuro?'dateFirst':'monthFirst',preferEuro?'monthFirst':'dateFirst');
var d=null;
for (var i=0; i<checkList.length; i++) {
var l=window[checkList[i]];
for (var j=0; j<l.length; j++) {
d=getDateFromFormat(val,l[j]);
if (d!=0) { return new Date(d); }
}
}
return null;
}

View File

@ -1493,7 +1493,7 @@ function PMA_showNoticeForEnum(selectElement)
/**
* Generates a dialog box to pop up the create_table form
*/
function PMA_createTableDialog( div, url , target)
function PMA_createTableDialog( $div, url , target)
{
/**
* @var button_options Object that stores the options passed to jQueryUI
@ -1511,7 +1511,7 @@ function PMA_createTableDialog( div, url , target)
$.get( target , url , function(data) {
//in the case of an error, show the error message returned.
if (data.success != undefined && data.success == false) {
div
$div
.append(data.error)
.dialog({
title: PMA_messages['strCreateTable'],
@ -1525,7 +1525,7 @@ function PMA_createTableDialog( div, url , target)
} else {
var size = getWindowSize();
var timeout;
div
$div
.append(data)
.dialog({
title: PMA_messages['strCreateTable'],
@ -1568,7 +1568,7 @@ function PMA_createTableDialog( div, url , target)
buttons: button_options
}); // end dialog options
}
PMA_convertFootnotesToTooltips($(div));
PMA_convertFootnotesToTooltips($div);
PMA_ajaxRemoveMessage($msgbox);
}); // end $.get()
@ -2039,10 +2039,10 @@ $(document).ready(function() {
/*variables which stores the common attributes*/
var url = $form.serialize();
var action = $form.attr('action');
var div = $('<div id="create_table_dialog"></div>');
var $div = $('<div id="create_table_dialog"></div>');
/*Calling to the createTableDialog function*/
PMA_createTableDialog(div, url, action);
PMA_createTableDialog($div, url, action);
// empty table name and number of columns from the minimal form
$form.find('input[name=table],input[name=num_fields]').val('');

View File

@ -78,7 +78,7 @@ function PMA_EVN_main()
*/
function PMA_EVN_handleEditor()
{
global $_REQUEST, $_POST, $errors, $db, $table;
global $_REQUEST, $_POST, $errors, $db;
if (! empty($_REQUEST['editor_process_add'])
|| ! empty($_REQUEST['editor_process_edit'])
@ -140,7 +140,7 @@ function PMA_EVN_handleEditor()
if (count($errors)) {
$message = PMA_Message::error(__('<b>One or more errors have occured while processing your request:</b>'));
$message->addString('<ul>');
foreach ($errors as $num => $string) {
foreach ($errors as $string) {
$message->addString('<li>' . $string . '</li>');
}
$message->addString('</ul>');
@ -245,7 +245,7 @@ function PMA_EVN_getDataFromRequest()
'item_preserve',
'item_comment',
'item_definer');
foreach ($indices as $key => $index) {
foreach ($indices as $index) {
$retval[$index] = isset($_REQUEST[$index]) ? $_REQUEST[$index] : '';
}
$retval['item_type'] = 'ONE TIME';
@ -320,7 +320,7 @@ function PMA_EVN_getDataFromName($name)
*/
function PMA_EVN_getEditorForm($mode, $operation, $item)
{
global $db, $table, $titles, $event_status, $event_type, $event_interval;
global $db, $table, $event_status, $event_type, $event_interval;
// Escape special characters
$need_escape = array(
@ -335,7 +335,7 @@ function PMA_EVN_getEditorForm($mode, $operation, $item)
'item_definer',
'item_comment'
);
foreach ($need_escape as $key => $index) {
foreach ($need_escape as $index) {
$item[$index] = htmlentities($item[$index], ENT_QUOTES);
}
$original_data = '';
@ -506,7 +506,7 @@ function PMA_EVN_getEditorForm($mode, $operation, $item)
*/
function PMA_EVN_getQueryFromRequest()
{
global $_REQUEST, $db, $errors, $event_status, $event_type, $event_interval;
global $_REQUEST, $errors, $event_status, $event_type, $event_interval;
$query = 'CREATE ';
if (! empty($_REQUEST['item_definer'])) {

View File

@ -18,7 +18,7 @@ if (! defined('PHPMYADMIN')) {
*/
function PMA_RTE_handleExport($item_name, $export_data)
{
global $db, $table;
global $db;
$item_name = htmlspecialchars(PMA_backquote($_GET['item_name']));
if ($export_data !== false) {

View File

@ -73,7 +73,7 @@ function PMA_TRI_getFooterLinks()
*/
function PMA_EVN_getFooterLinks()
{
global $db, $url_query, $ajax_class;
global $db, $url_query;
/**
* For events, we show the usual 'Add event' form and also

View File

@ -142,8 +142,6 @@ function PMA_RTN_parseOneParameter($value)
*/
function PMA_RTN_parseAllParameters($parsed_query, $routine_type)
{
global $param_directions;
$retval = array();
$retval['num'] = 0;
@ -230,7 +228,7 @@ function PMA_RTN_parseRoutineDefiner($parsed_query)
*/
function PMA_RTN_handleEditor()
{
global $_GET, $_POST, $_REQUEST, $GLOBALS, $db, $cfg, $errors;
global $_GET, $_POST, $_REQUEST, $GLOBALS, $db, $errors;
if (! empty($_REQUEST['editor_process_add'])
|| ! empty($_REQUEST['editor_process_edit'])
@ -293,7 +291,7 @@ function PMA_RTN_handleEditor()
if (count($errors)) {
$message = PMA_Message::error(__('<b>One or more errors have occured while processing your request:</b>'));
$message->addString('<ul>');
foreach ($errors as $num => $string) {
foreach ($errors as $string) {
$message->addString('<li>' . $string . '</li>');
}
$message->addString('</ul>');
@ -511,7 +509,7 @@ function PMA_RTN_getDataFromRequest()
*/
function PMA_RTN_getDataFromName($name, $type, $all = true)
{
global $param_directions, $param_sqldataaccess, $db;
global $db;
$retval = array();
@ -734,7 +732,7 @@ function PMA_RTN_getParameterRow($routine = array(), $index = null, $class = '')
*/
function PMA_RTN_getEditorForm($mode, $operation, $routine)
{
global $db, $titles, $errors, $param_directions, $param_sqldataaccess, $param_opts_num;
global $db, $errors, $param_sqldataaccess, $param_opts_num;
// Escape special characters
$need_escape = array(
@ -976,7 +974,7 @@ function PMA_RTN_getEditorForm($mode, $operation, $routine)
*/
function PMA_RTN_getQueryFromRequest()
{
global $_REQUEST, $cfg, $errors, $param_sqldataaccess, $param_opts_num, $param_directions;
global $_REQUEST, $cfg, $errors, $param_sqldataaccess, $param_directions;
$_REQUEST['item_type'] = isset($_REQUEST['item_type']) ? $_REQUEST['item_type'] : '';
@ -1174,7 +1172,7 @@ function PMA_RTN_handleExecute()
$affected = 0;
$result = null;
$outcome = true;
foreach ($queries as $num => $query) {
foreach ($queries as $query) {
$resource = PMA_DBI_try_query($query);
if ($resource === false) {
$outcome = false;

View File

@ -113,7 +113,7 @@ function PMA_TRI_handleEditor()
if (count($errors)) {
$message = PMA_Message::error(__('<b>One or more errors have occured while processing your request:</b>'));
$message->addString('<ul>');
foreach ($errors as $num => $string) {
foreach ($errors as $string) {
$message->addString('<li>' . $string . '</li>');
}
$message->addString('</ul>');
@ -125,7 +125,7 @@ function PMA_TRI_handleEditor()
if ($message->isSuccess()) {
$items = PMA_DBI_get_triggers($db, $table, '');
$trigger = false;
foreach ($items as $key => $value) {
foreach ($items as $value) {
if ($value['name'] == $_REQUEST['item_name']) {
$trigger = $value;
}
@ -215,7 +215,7 @@ function PMA_TRI_getDataFromRequest()
'item_event_manipulation',
'item_definition',
'item_definer');
foreach ($indices as $key => $index) {
foreach ($indices as $index) {
$retval[$index] = isset($_REQUEST[$index]) ? $_REQUEST[$index] : '';
}
return $retval;
@ -235,7 +235,7 @@ function PMA_TRI_getDataFromName($name)
$temp = array();
$items = PMA_DBI_get_triggers($db, $table, '');
foreach ($items as $key => $value) {
foreach ($items as $value) {
if ($value['name'] == $name) {
$temp = $value;
}
@ -269,7 +269,7 @@ function PMA_TRI_getDataFromName($name)
*/
function PMA_TRI_getEditorForm($mode, $item)
{
global $db, $table, $titles, $event_manipulations, $action_timings;
global $db, $table, $event_manipulations, $action_timings;
// Escape special characters
$need_escape = array(

View File

@ -560,10 +560,7 @@ unset($_form_params);
if ($action == 'tbl_create.php') {
?>
<table>
<tr valign="top">
<th><?php echo __('Table name'); ?>:&nbsp;</th>
</tr>
<tr><td><input type="text" name="table" size="40" maxlength="80"
<tr><td><?php echo __('Table name'); ?>:&nbsp;<input type="text" name="table" size="40" maxlength="80"
value="<?php echo (isset($_REQUEST['table']) ? htmlspecialchars($_REQUEST['table']) : ''); ?>"
class="textfield" />
</td>

View File

@ -98,17 +98,10 @@ if [ -d $1/themes ]; then
echo "/* RUN './scripts/generate-sprites' TO UPDATE THIS FILE */" >> $LIBRARY
echo "function PMA_sprites() {" >> $LIBRARY
echo " return array(" >> $LIBRARY
PADDING=0
for f in $FILES; do
if [ ${#f} -gt $PADDING ]; then
PADDING=${#f}
fi
done
PADDING=$(($PADDING-3))
CURRENT=1
for f in $FILES; do
# Add a CSS rule for each icon in the sprite
NAME=$(echo "'$f'" | sed 's/\.png//' | sed -e :a -e "s/^.\{1,$PADDING\}$/& /;ta")
NAME=$(echo "'$f'" | sed 's/\.png//')
DATA=$(identify -ping $f || echo "NULL")
if [ "$DATA" != "NULL" ]; then
@ -123,7 +116,11 @@ if [ -d $1/themes ]; then
fi
done
fi
echo " $NAME => array('position' => '$CURRENT', 'width' => '$WIDTH', 'height' => '$HEIGHT')," >> $LIBRARY
echo " $NAME => array(" >> $LIBRARY
echo " 'position' => '$CURRENT'," >> $LIBRARY
echo " 'width' => '$WIDTH'," >> $LIBRARY
echo " 'height' => '$HEIGHT'" >> $LIBRARY
echo " )," >> $LIBRARY
CURRENT=$(($CURRENT+1))
done
echo " );" >> $LIBRARY

View File

@ -2010,7 +2010,7 @@ fieldset .disabled-field td {
padding: 0.5em;
}
#table_columns input, #table_columns select {
#table_columns input[type="text"], #table_columns select {
width: 10em;
box-sizing: border-box;
-ms-box-sizing: border-box;
@ -2018,10 +2018,6 @@ fieldset .disabled-field td {
-webkit-box-sizing: border-box;
}
#table_columns input[type="checkbox"] {
width: 2em;
}
#placeholder {
position: relative;
border: 1px solid #aaa;

View File

@ -4,123 +4,591 @@
/* RUN './scripts/generate-sprites' TO UPDATE THIS FILE */
function PMA_sprites() {
return array(
'b_bookmark' => array('position' => '1', 'width' => '16', 'height' => '16'),
'b_browse' => array('position' => '2', 'width' => '16', 'height' => '16'),
'b_calendar' => array('position' => '3', 'width' => '16', 'height' => '16'),
'b_chart' => array('position' => '4', 'width' => '16', 'height' => '16'),
'b_close' => array('position' => '5', 'width' => '16', 'height' => '16'),
'b_comment' => array('position' => '6', 'width' => '16', 'height' => '16'),
'bd_browse' => array('position' => '7', 'width' => '16', 'height' => '16'),
'b_dbstatistics' => array('position' => '8', 'width' => '16', 'height' => '16'),
'bd_deltbl' => array('position' => '9', 'width' => '16', 'height' => '16'),
'bd_drop' => array('position' => '10', 'width' => '16', 'height' => '16'),
'bd_edit' => array('position' => '11', 'width' => '16', 'height' => '16'),
'b_deltbl' => array('position' => '12', 'width' => '16', 'height' => '16'),
'bd_empty' => array('position' => '13', 'width' => '16', 'height' => '16'),
'bd_export' => array('position' => '14', 'width' => '16', 'height' => '16'),
'bd_ftext' => array('position' => '15', 'width' => '16', 'height' => '16'),
'bd_index' => array('position' => '16', 'width' => '16', 'height' => '16'),
'bd_insrow' => array('position' => '17', 'width' => '16', 'height' => '16'),
'bd_nextpage' => array('position' => '18', 'width' => '8', 'height' => '13'),
'b_docs' => array('position' => '19', 'width' => '16', 'height' => '16'),
'bd_primary' => array('position' => '20', 'width' => '16', 'height' => '16'),
'b_drop' => array('position' => '21', 'width' => '16', 'height' => '16'),
'bd_sbrowse' => array('position' => '22', 'width' => '10', 'height' => '10'),
'bd_select' => array('position' => '23', 'width' => '16', 'height' => '16'),
'bd_spatial' => array('position' => '24', 'width' => '16', 'height' => '16'),
'bd_unique' => array('position' => '25', 'width' => '16', 'height' => '16'),
'b_edit' => array('position' => '26', 'width' => '16', 'height' => '16'),
'b_empty' => array('position' => '27', 'width' => '16', 'height' => '16'),
'b_engine' => array('position' => '28', 'width' => '16', 'height' => '16'),
'b_event_add' => array('position' => '29', 'width' => '16', 'height' => '16'),
'b_events' => array('position' => '30', 'width' => '16', 'height' => '16'),
'b_export' => array('position' => '31', 'width' => '16', 'height' => '16'),
'b_ftext' => array('position' => '32', 'width' => '16', 'height' => '16'),
'b_help' => array('position' => '33', 'width' => '11', 'height' => '11'),
'b_home' => array('position' => '34', 'width' => '16', 'height' => '16'),
'b_import' => array('position' => '35', 'width' => '16', 'height' => '16'),
'b_index' => array('position' => '36', 'width' => '16', 'height' => '16'),
'b_info' => array('position' => '37', 'width' => '11', 'height' => '11'),
'b_inline_edit' => array('position' => '38', 'width' => '16', 'height' => '16'),
'b_insrow' => array('position' => '39', 'width' => '16', 'height' => '16'),
'b_minus' => array('position' => '40', 'width' => '9', 'height' => '9'),
'b_more' => array('position' => '41', 'width' => '16', 'height' => '16'),
'b_newdb' => array('position' => '42', 'width' => '16', 'height' => '16'),
'b_newtbl' => array('position' => '43', 'width' => '16', 'height' => '16'),
'b_nextpage' => array('position' => '44', 'width' => '16', 'height' => '16'),
'b_plus' => array('position' => '45', 'width' => '9', 'height' => '9'),
'b_primary' => array('position' => '46', 'width' => '16', 'height' => '16'),
'b_print' => array('position' => '47', 'width' => '16', 'height' => '16'),
'b_props' => array('position' => '48', 'width' => '16', 'height' => '16'),
'b_relations' => array('position' => '49', 'width' => '16', 'height' => '16'),
'b_routine_add' => array('position' => '50', 'width' => '16', 'height' => '16'),
'b_routines' => array('position' => '51', 'width' => '16', 'height' => '16'),
'b_save' => array('position' => '52', 'width' => '16', 'height' => '16'),
'b_sbrowse' => array('position' => '53', 'width' => '10', 'height' => '10'),
'b_search' => array('position' => '54', 'width' => '16', 'height' => '16'),
'b_selboard' => array('position' => '55', 'width' => '16', 'height' => '16'),
'b_select' => array('position' => '56', 'width' => '16', 'height' => '16'),
'b_snewtbl' => array('position' => '57', 'width' => '10', 'height' => '10'),
'b_spatial' => array('position' => '58', 'width' => '16', 'height' => '16'),
'b_sqlhelp' => array('position' => '59', 'width' => '16', 'height' => '16'),
'b_sql' => array('position' => '60', 'width' => '16', 'height' => '16'),
'b_tblanalyse' => array('position' => '61', 'width' => '16', 'height' => '16'),
'b_tblexport' => array('position' => '62', 'width' => '16', 'height' => '16'),
'b_tblimport' => array('position' => '63', 'width' => '16', 'height' => '16'),
'b_tblops' => array('position' => '64', 'width' => '16', 'height' => '16'),
'b_tbloptimize' => array('position' => '65', 'width' => '16', 'height' => '16'),
'b_tipp' => array('position' => '66', 'width' => '16', 'height' => '16'),
'b_trigger_add' => array('position' => '67', 'width' => '16', 'height' => '16'),
'b_triggers' => array('position' => '68', 'width' => '16', 'height' => '16'),
'b_unique' => array('position' => '69', 'width' => '16', 'height' => '16'),
'b_usradd' => array('position' => '70', 'width' => '16', 'height' => '16'),
'b_usrcheck' => array('position' => '71', 'width' => '16', 'height' => '16'),
'b_usrdrop' => array('position' => '72', 'width' => '16', 'height' => '16'),
'b_usredit' => array('position' => '73', 'width' => '16', 'height' => '16'),
'b_usrlist' => array('position' => '74', 'width' => '16', 'height' => '16'),
'b_view' => array('position' => '75', 'width' => '16', 'height' => '16'),
'b_views' => array('position' => '76', 'width' => '16', 'height' => '16'),
'col_drop' => array('position' => '77', 'width' => '16', 'height' => '16'),
'docs_menu_bg' => array('position' => '78', 'width' => '2', 'height' => '2'),
'eye_grey' => array('position' => '79', 'width' => '16', 'height' => '16'),
'eye' => array('position' => '80', 'width' => '16', 'height' => '16'),
'item_ltr' => array('position' => '81', 'width' => '5', 'height' => '9'),
'item_rtl' => array('position' => '82', 'width' => '5', 'height' => '9'),
'more' => array('position' => '83', 'width' => '13', 'height' => '16'),
'new_data_hovered' => array('position' => '84', 'width' => '16', 'height' => '16'),
'new_data' => array('position' => '85', 'width' => '16', 'height' => '16'),
'new_data_selected_hovered' => array('position' => '86', 'width' => '16', 'height' => '16'),
'new_data_selected' => array('position' => '87', 'width' => '16', 'height' => '16'),
'new_struct_hovered' => array('position' => '88', 'width' => '16', 'height' => '16'),
'new_struct' => array('position' => '89', 'width' => '16', 'height' => '16'),
'new_struct_selected_hovered' => array('position' => '90', 'width' => '16', 'height' => '16'),
'new_struct_selected' => array('position' => '91', 'width' => '16', 'height' => '16'),
's_asci' => array('position' => '92', 'width' => '16', 'height' => '16'),
's_asc' => array('position' => '93', 'width' => '11', 'height' => '9'),
's_cancel' => array('position' => '94', 'width' => '16', 'height' => '16'),
's_cog' => array('position' => '95', 'width' => '16', 'height' => '16'),
's_db' => array('position' => '96', 'width' => '16', 'height' => '16'),
's_desc' => array('position' => '97', 'width' => '11', 'height' => '9'),
's_error2' => array('position' => '98', 'width' => '11', 'height' => '11'),
's_error' => array('position' => '99', 'width' => '16', 'height' => '16'),
's_host' => array('position' => '100', 'width' => '16', 'height' => '16'),
's_lang' => array('position' => '101', 'width' => '16', 'height' => '16'),
's_loggoff' => array('position' => '102', 'width' => '16', 'height' => '16'),
's_notice' => array('position' => '103', 'width' => '16', 'height' => '16'),
's_passwd' => array('position' => '104', 'width' => '16', 'height' => '16'),
's_really' => array('position' => '105', 'width' => '11', 'height' => '11'),
's_reload' => array('position' => '106', 'width' => '16', 'height' => '16'),
's_replication' => array('position' => '107', 'width' => '16', 'height' => '16'),
's_rights' => array('position' => '108', 'width' => '16', 'height' => '16'),
's_sortable' => array('position' => '109', 'width' => '11', 'height' => '15'),
's_status' => array('position' => '110', 'width' => '16', 'height' => '16'),
's_success' => array('position' => '111', 'width' => '16', 'height' => '16'),
's_sync' => array('position' => '112', 'width' => '16', 'height' => '16'),
's_tbl' => array('position' => '113', 'width' => '16', 'height' => '16'),
's_theme' => array('position' => '114', 'width' => '16', 'height' => '16'),
's_vars' => array('position' => '115', 'width' => '16', 'height' => '16'),
's_views' => array('position' => '116', 'width' => '10', 'height' => '10'),
'window-new' => array('position' => '117', 'width' => '16', 'height' => '16'),
'b_bookmark' => array(
'position' => '1',
'width' => '16',
'height' => '16'
),
'b_browse' => array(
'position' => '2',
'width' => '16',
'height' => '16'
),
'b_calendar' => array(
'position' => '3',
'width' => '16',
'height' => '16'
),
'b_chart' => array(
'position' => '4',
'width' => '16',
'height' => '16'
),
'b_close' => array(
'position' => '5',
'width' => '16',
'height' => '16'
),
'b_comment' => array(
'position' => '6',
'width' => '16',
'height' => '16'
),
'bd_browse' => array(
'position' => '7',
'width' => '16',
'height' => '16'
),
'b_dbstatistics' => array(
'position' => '8',
'width' => '16',
'height' => '16'
),
'bd_deltbl' => array(
'position' => '9',
'width' => '16',
'height' => '16'
),
'bd_drop' => array(
'position' => '10',
'width' => '16',
'height' => '16'
),
'bd_edit' => array(
'position' => '11',
'width' => '16',
'height' => '16'
),
'b_deltbl' => array(
'position' => '12',
'width' => '16',
'height' => '16'
),
'bd_empty' => array(
'position' => '13',
'width' => '16',
'height' => '16'
),
'bd_export' => array(
'position' => '14',
'width' => '16',
'height' => '16'
),
'bd_ftext' => array(
'position' => '15',
'width' => '16',
'height' => '16'
),
'bd_index' => array(
'position' => '16',
'width' => '16',
'height' => '16'
),
'bd_insrow' => array(
'position' => '17',
'width' => '16',
'height' => '16'
),
'bd_nextpage' => array(
'position' => '18',
'width' => '8',
'height' => '13'
),
'b_docs' => array(
'position' => '19',
'width' => '16',
'height' => '16'
),
'bd_primary' => array(
'position' => '20',
'width' => '16',
'height' => '16'
),
'b_drop' => array(
'position' => '21',
'width' => '16',
'height' => '16'
),
'bd_sbrowse' => array(
'position' => '22',
'width' => '10',
'height' => '10'
),
'bd_select' => array(
'position' => '23',
'width' => '16',
'height' => '16'
),
'bd_spatial' => array(
'position' => '24',
'width' => '16',
'height' => '16'
),
'bd_unique' => array(
'position' => '25',
'width' => '16',
'height' => '16'
),
'b_edit' => array(
'position' => '26',
'width' => '16',
'height' => '16'
),
'b_empty' => array(
'position' => '27',
'width' => '16',
'height' => '16'
),
'b_engine' => array(
'position' => '28',
'width' => '16',
'height' => '16'
),
'b_event_add' => array(
'position' => '29',
'width' => '16',
'height' => '16'
),
'b_events' => array(
'position' => '30',
'width' => '16',
'height' => '16'
),
'b_export' => array(
'position' => '31',
'width' => '16',
'height' => '16'
),
'b_ftext' => array(
'position' => '32',
'width' => '16',
'height' => '16'
),
'b_help' => array(
'position' => '33',
'width' => '11',
'height' => '11'
),
'b_home' => array(
'position' => '34',
'width' => '16',
'height' => '16'
),
'b_import' => array(
'position' => '35',
'width' => '16',
'height' => '16'
),
'b_index' => array(
'position' => '36',
'width' => '16',
'height' => '16'
),
'b_info' => array(
'position' => '37',
'width' => '11',
'height' => '11'
),
'b_inline_edit' => array(
'position' => '38',
'width' => '16',
'height' => '16'
),
'b_insrow' => array(
'position' => '39',
'width' => '16',
'height' => '16'
),
'b_minus' => array(
'position' => '40',
'width' => '9',
'height' => '9'
),
'b_more' => array(
'position' => '41',
'width' => '16',
'height' => '16'
),
'b_newdb' => array(
'position' => '42',
'width' => '16',
'height' => '16'
),
'b_newtbl' => array(
'position' => '43',
'width' => '16',
'height' => '16'
),
'b_nextpage' => array(
'position' => '44',
'width' => '16',
'height' => '16'
),
'b_plus' => array(
'position' => '45',
'width' => '9',
'height' => '9'
),
'b_primary' => array(
'position' => '46',
'width' => '16',
'height' => '16'
),
'b_print' => array(
'position' => '47',
'width' => '16',
'height' => '16'
),
'b_props' => array(
'position' => '48',
'width' => '16',
'height' => '16'
),
'b_relations' => array(
'position' => '49',
'width' => '16',
'height' => '16'
),
'b_routine_add' => array(
'position' => '50',
'width' => '16',
'height' => '16'
),
'b_routines' => array(
'position' => '51',
'width' => '16',
'height' => '16'
),
'b_save' => array(
'position' => '52',
'width' => '16',
'height' => '16'
),
'b_sbrowse' => array(
'position' => '53',
'width' => '10',
'height' => '10'
),
'b_search' => array(
'position' => '54',
'width' => '16',
'height' => '16'
),
'b_selboard' => array(
'position' => '55',
'width' => '16',
'height' => '16'
),
'b_select' => array(
'position' => '56',
'width' => '16',
'height' => '16'
),
'b_snewtbl' => array(
'position' => '57',
'width' => '10',
'height' => '10'
),
'b_spatial' => array(
'position' => '58',
'width' => '16',
'height' => '16'
),
'b_sqlhelp' => array(
'position' => '59',
'width' => '16',
'height' => '16'
),
'b_sql' => array(
'position' => '60',
'width' => '16',
'height' => '16'
),
'b_tblanalyse' => array(
'position' => '61',
'width' => '16',
'height' => '16'
),
'b_tblexport' => array(
'position' => '62',
'width' => '16',
'height' => '16'
),
'b_tblimport' => array(
'position' => '63',
'width' => '16',
'height' => '16'
),
'b_tblops' => array(
'position' => '64',
'width' => '16',
'height' => '16'
),
'b_tbloptimize' => array(
'position' => '65',
'width' => '16',
'height' => '16'
),
'b_tipp' => array(
'position' => '66',
'width' => '16',
'height' => '16'
),
'b_trigger_add' => array(
'position' => '67',
'width' => '16',
'height' => '16'
),
'b_triggers' => array(
'position' => '68',
'width' => '16',
'height' => '16'
),
'b_unique' => array(
'position' => '69',
'width' => '16',
'height' => '16'
),
'b_usradd' => array(
'position' => '70',
'width' => '16',
'height' => '16'
),
'b_usrcheck' => array(
'position' => '71',
'width' => '16',
'height' => '16'
),
'b_usrdrop' => array(
'position' => '72',
'width' => '16',
'height' => '16'
),
'b_usredit' => array(
'position' => '73',
'width' => '16',
'height' => '16'
),
'b_usrlist' => array(
'position' => '74',
'width' => '16',
'height' => '16'
),
'b_view' => array(
'position' => '75',
'width' => '16',
'height' => '16'
),
'b_views' => array(
'position' => '76',
'width' => '16',
'height' => '16'
),
'col_drop' => array(
'position' => '77',
'width' => '16',
'height' => '16'
),
'docs_menu_bg' => array(
'position' => '78',
'width' => '2',
'height' => '2'
),
'eye_grey' => array(
'position' => '79',
'width' => '16',
'height' => '16'
),
'eye' => array(
'position' => '80',
'width' => '16',
'height' => '16'
),
'item_ltr' => array(
'position' => '81',
'width' => '5',
'height' => '9'
),
'item_rtl' => array(
'position' => '82',
'width' => '5',
'height' => '9'
),
'more' => array(
'position' => '83',
'width' => '13',
'height' => '16'
),
'new_data_hovered' => array(
'position' => '84',
'width' => '16',
'height' => '16'
),
'new_data' => array(
'position' => '85',
'width' => '16',
'height' => '16'
),
'new_data_selected_hovered' => array(
'position' => '86',
'width' => '16',
'height' => '16'
),
'new_data_selected' => array(
'position' => '87',
'width' => '16',
'height' => '16'
),
'new_struct_hovered' => array(
'position' => '88',
'width' => '16',
'height' => '16'
),
'new_struct' => array(
'position' => '89',
'width' => '16',
'height' => '16'
),
'new_struct_selected_hovered' => array(
'position' => '90',
'width' => '16',
'height' => '16'
),
'new_struct_selected' => array(
'position' => '91',
'width' => '16',
'height' => '16'
),
's_asci' => array(
'position' => '92',
'width' => '16',
'height' => '16'
),
's_asc' => array(
'position' => '93',
'width' => '11',
'height' => '9'
),
's_cancel' => array(
'position' => '94',
'width' => '16',
'height' => '16'
),
's_cog' => array(
'position' => '95',
'width' => '16',
'height' => '16'
),
's_db' => array(
'position' => '96',
'width' => '16',
'height' => '16'
),
's_desc' => array(
'position' => '97',
'width' => '11',
'height' => '9'
),
's_error2' => array(
'position' => '98',
'width' => '11',
'height' => '11'
),
's_error' => array(
'position' => '99',
'width' => '16',
'height' => '16'
),
's_host' => array(
'position' => '100',
'width' => '16',
'height' => '16'
),
's_lang' => array(
'position' => '101',
'width' => '16',
'height' => '16'
),
's_loggoff' => array(
'position' => '102',
'width' => '16',
'height' => '16'
),
's_notice' => array(
'position' => '103',
'width' => '16',
'height' => '16'
),
's_passwd' => array(
'position' => '104',
'width' => '16',
'height' => '16'
),
's_really' => array(
'position' => '105',
'width' => '11',
'height' => '11'
),
's_reload' => array(
'position' => '106',
'width' => '16',
'height' => '16'
),
's_replication' => array(
'position' => '107',
'width' => '16',
'height' => '16'
),
's_rights' => array(
'position' => '108',
'width' => '16',
'height' => '16'
),
's_sortable' => array(
'position' => '109',
'width' => '11',
'height' => '15'
),
's_status' => array(
'position' => '110',
'width' => '16',
'height' => '16'
),
's_success' => array(
'position' => '111',
'width' => '16',
'height' => '16'
),
's_sync' => array(
'position' => '112',
'width' => '16',
'height' => '16'
),
's_tbl' => array(
'position' => '113',
'width' => '16',
'height' => '16'
),
's_theme' => array(
'position' => '114',
'width' => '16',
'height' => '16'
),
's_vars' => array(
'position' => '115',
'width' => '16',
'height' => '16'
),
's_views' => array(
'position' => '116',
'width' => '10',
'height' => '10'
),
'window-new' => array(
'position' => '117',
'width' => '16',
'height' => '16'
),
);
}
?>

View File

@ -2413,7 +2413,7 @@ fieldset .disabled-field td {
padding: 1.5em;
}
#table_columns input, #table_columns select {
#table_columns input[type="text"], #table_columns select {
width: 10em;
box-sizing: border-box;
-ms-box-sizing: border-box;
@ -2421,10 +2421,6 @@ fieldset .disabled-field td {
-webkit-box-sizing: border-box;
}
#table_columns input[type="checkbox"] {
width: 2em;
}
#table_columns select {
margin: 0 6px;
}

View File

@ -4,144 +4,696 @@
/* RUN './scripts/generate-sprites' TO UPDATE THIS FILE */
function PMA_sprites() {
return array(
'asc_order' => array('position' => '1', 'width' => '16', 'height' => '16'),
'b_bookmark' => array('position' => '2', 'width' => '16', 'height' => '16'),
'b_browse' => array('position' => '3', 'width' => '16', 'height' => '16'),
'b_calendar' => array('position' => '4', 'width' => '16', 'height' => '16'),
'b_chart' => array('position' => '5', 'width' => '16', 'height' => '16'),
'b_close' => array('position' => '6', 'width' => '16', 'height' => '16'),
'b_comment' => array('position' => '7', 'width' => '16', 'height' => '16'),
'bd_browse' => array('position' => '8', 'width' => '16', 'height' => '16'),
'b_dbstatistics' => array('position' => '9', 'width' => '16', 'height' => '16'),
'bd_deltbl' => array('position' => '10', 'width' => '16', 'height' => '16'),
'bd_drop' => array('position' => '11', 'width' => '16', 'height' => '16'),
'bd_edit' => array('position' => '12', 'width' => '16', 'height' => '16'),
'b_deltbl' => array('position' => '13', 'width' => '16', 'height' => '16'),
'bd_empty' => array('position' => '14', 'width' => '16', 'height' => '16'),
'bd_export' => array('position' => '15', 'width' => '16', 'height' => '16'),
'bd_firstpage' => array('position' => '16', 'width' => '16', 'height' => '13'),
'bd_ftext' => array('position' => '17', 'width' => '16', 'height' => '16'),
'bd_index' => array('position' => '18', 'width' => '16', 'height' => '16'),
'bd_insrow' => array('position' => '19', 'width' => '16', 'height' => '16'),
'bd_lastpage' => array('position' => '20', 'width' => '16', 'height' => '13'),
'bd_nextpage' => array('position' => '21', 'width' => '8', 'height' => '13'),
'b_docs' => array('position' => '22', 'width' => '16', 'height' => '16'),
'b_docsql' => array('position' => '23', 'width' => '16', 'height' => '16'),
'bd_prevpage' => array('position' => '24', 'width' => '8', 'height' => '13'),
'bd_primary' => array('position' => '25', 'width' => '16', 'height' => '16'),
'b_drop' => array('position' => '26', 'width' => '16', 'height' => '16'),
'bd_sbrowse' => array('position' => '27', 'width' => '10', 'height' => '10'),
'bd_select' => array('position' => '28', 'width' => '16', 'height' => '16'),
'bd_spatial' => array('position' => '29', 'width' => '16', 'height' => '16'),
'bd_unique' => array('position' => '30', 'width' => '16', 'height' => '16'),
'b_edit' => array('position' => '31', 'width' => '16', 'height' => '16'),
'b_empty' => array('position' => '32', 'width' => '16', 'height' => '16'),
'b_engine' => array('position' => '33', 'width' => '16', 'height' => '16'),
'b_event_add' => array('position' => '34', 'width' => '16', 'height' => '16'),
'b_events' => array('position' => '35', 'width' => '16', 'height' => '16'),
'b_export' => array('position' => '36', 'width' => '16', 'height' => '16'),
'b_firstpage' => array('position' => '37', 'width' => '16', 'height' => '16'),
'b_ftext' => array('position' => '38', 'width' => '16', 'height' => '16'),
'b_help' => array('position' => '39', 'width' => '16', 'height' => '16'),
'b_home' => array('position' => '40', 'width' => '16', 'height' => '16'),
'b_import' => array('position' => '41', 'width' => '16', 'height' => '16'),
'b_index' => array('position' => '42', 'width' => '16', 'height' => '16'),
'b_info' => array('position' => '43', 'width' => '11', 'height' => '11'),
'b_inline_edit' => array('position' => '44', 'width' => '16', 'height' => '16'),
'b_insrow' => array('position' => '45', 'width' => '16', 'height' => '16'),
'b_lastpage' => array('position' => '46', 'width' => '16', 'height' => '16'),
'b_minus' => array('position' => '47', 'width' => '16', 'height' => '16'),
'b_more' => array('position' => '48', 'width' => '16', 'height' => '16'),
'b_newdb' => array('position' => '49', 'width' => '16', 'height' => '16'),
'b_newtbl' => array('position' => '50', 'width' => '16', 'height' => '16'),
'b_nextpage' => array('position' => '51', 'width' => '16', 'height' => '16'),
'b_pdfdoc' => array('position' => '52', 'width' => '16', 'height' => '16'),
'b_plus' => array('position' => '53', 'width' => '16', 'height' => '16'),
'b_prevpage' => array('position' => '54', 'width' => '16', 'height' => '16'),
'b_primary' => array('position' => '55', 'width' => '16', 'height' => '16'),
'b_print' => array('position' => '56', 'width' => '16', 'height' => '16'),
'b_props' => array('position' => '57', 'width' => '16', 'height' => '16'),
'b_relations' => array('position' => '58', 'width' => '16', 'height' => '16'),
'b_routine_add' => array('position' => '59', 'width' => '16', 'height' => '16'),
'b_routines' => array('position' => '60', 'width' => '16', 'height' => '16'),
'b_save' => array('position' => '61', 'width' => '16', 'height' => '16'),
'b_sbrowse' => array('position' => '62', 'width' => '16', 'height' => '16'),
'b_sdb' => array('position' => '63', 'width' => '10', 'height' => '10'),
'b_search' => array('position' => '64', 'width' => '16', 'height' => '16'),
'b_selboard' => array('position' => '65', 'width' => '16', 'height' => '16'),
'b_select' => array('position' => '66', 'width' => '16', 'height' => '16'),
'b_snewtbl' => array('position' => '67', 'width' => '16', 'height' => '16'),
'b_spatial' => array('position' => '68', 'width' => '16', 'height' => '16'),
'b_sqldoc' => array('position' => '69', 'width' => '16', 'height' => '16'),
'b_sqlhelp' => array('position' => '70', 'width' => '16', 'height' => '16'),
'b_sql' => array('position' => '71', 'width' => '16', 'height' => '16'),
'b_tblanalyse' => array('position' => '72', 'width' => '16', 'height' => '16'),
'b_tblexport' => array('position' => '73', 'width' => '16', 'height' => '16'),
'b_tblimport' => array('position' => '74', 'width' => '16', 'height' => '16'),
'b_tblops' => array('position' => '75', 'width' => '16', 'height' => '16'),
'b_tbloptimize' => array('position' => '76', 'width' => '16', 'height' => '16'),
'b_tipp' => array('position' => '77', 'width' => '16', 'height' => '16'),
'b_trigger_add' => array('position' => '78', 'width' => '16', 'height' => '16'),
'b_triggers' => array('position' => '79', 'width' => '16', 'height' => '16'),
'b_unique' => array('position' => '80', 'width' => '16', 'height' => '16'),
'b_usradd' => array('position' => '81', 'width' => '16', 'height' => '16'),
'b_usrcheck' => array('position' => '82', 'width' => '16', 'height' => '16'),
'b_usrdrop' => array('position' => '83', 'width' => '16', 'height' => '16'),
'b_usredit' => array('position' => '84', 'width' => '16', 'height' => '16'),
'b_usrlist' => array('position' => '85', 'width' => '16', 'height' => '16'),
'b_view' => array('position' => '86', 'width' => '16', 'height' => '16'),
'b_views' => array('position' => '87', 'width' => '16', 'height' => '16'),
'col_drop' => array('position' => '88', 'width' => '16', 'height' => '16'),
'database' => array('position' => '89', 'width' => '16', 'height' => '16'),
'docs_menu_bg' => array('position' => '90', 'width' => '2', 'height' => '2'),
'eye_grey' => array('position' => '91', 'width' => '16', 'height' => '16'),
'eye' => array('position' => '92', 'width' => '16', 'height' => '16'),
'item_ltr' => array('position' => '93', 'width' => '5', 'height' => '9'),
'item' => array('position' => '94', 'width' => '9', 'height' => '9'),
'item_rtl' => array('position' => '95', 'width' => '5', 'height' => '9'),
'more' => array('position' => '96', 'width' => '13', 'height' => '16'),
'new_data_hovered' => array('position' => '97', 'width' => '16', 'height' => '16'),
'new_data' => array('position' => '98', 'width' => '16', 'height' => '16'),
'new_data_selected_hovered' => array('position' => '99', 'width' => '16', 'height' => '16'),
'new_data_selected' => array('position' => '100', 'width' => '16', 'height' => '16'),
'new_struct_hovered' => array('position' => '101', 'width' => '16', 'height' => '16'),
'new_struct' => array('position' => '102', 'width' => '16', 'height' => '16'),
'new_struct_selected_hovered' => array('position' => '103', 'width' => '16', 'height' => '16'),
'new_struct_selected' => array('position' => '104', 'width' => '16', 'height' => '16'),
'pause' => array('position' => '105', 'width' => '16', 'height' => '16'),
'php_sym' => array('position' => '106', 'width' => '16', 'height' => '16'),
'play' => array('position' => '107', 'width' => '16', 'height' => '16'),
's_asci' => array('position' => '108', 'width' => '16', 'height' => '16'),
's_asc' => array('position' => '109', 'width' => '16', 'height' => '16'),
's_attention' => array('position' => '110', 'width' => '16', 'height' => '16'),
's_cancel2' => array('position' => '111', 'width' => '16', 'height' => '16'),
's_cancel' => array('position' => '112', 'width' => '16', 'height' => '16'),
's_cog' => array('position' => '113', 'width' => '16', 'height' => '16'),
's_db' => array('position' => '114', 'width' => '16', 'height' => '16'),
's_desc' => array('position' => '115', 'width' => '16', 'height' => '16'),
's_error2' => array('position' => '116', 'width' => '11', 'height' => '11'),
's_error' => array('position' => '117', 'width' => '16', 'height' => '16'),
's_host' => array('position' => '118', 'width' => '16', 'height' => '16'),
's_info' => array('position' => '119', 'width' => '16', 'height' => '16'),
's_lang' => array('position' => '120', 'width' => '16', 'height' => '16'),
's_loggoff' => array('position' => '121', 'width' => '16', 'height' => '16'),
's_notice' => array('position' => '122', 'width' => '16', 'height' => '16'),
's_okay' => array('position' => '123', 'width' => '16', 'height' => '16'),
's_passwd' => array('position' => '124', 'width' => '16', 'height' => '16'),
's_process' => array('position' => '125', 'width' => '16', 'height' => '16'),
's_really' => array('position' => '126', 'width' => '11', 'height' => '11'),
's_reload' => array('position' => '127', 'width' => '16', 'height' => '16'),
's_replication' => array('position' => '128', 'width' => '16', 'height' => '16'),
's_rights' => array('position' => '129', 'width' => '16', 'height' => '16'),
's_sortable' => array('position' => '130', 'width' => '16', 'height' => '16'),
's_status' => array('position' => '131', 'width' => '16', 'height' => '16'),
's_success' => array('position' => '132', 'width' => '16', 'height' => '16'),
's_sync' => array('position' => '133', 'width' => '16', 'height' => '16'),
's_tbl' => array('position' => '134', 'width' => '16', 'height' => '16'),
's_theme' => array('position' => '135', 'width' => '16', 'height' => '16'),
's_vars' => array('position' => '136', 'width' => '16', 'height' => '16'),
's_views' => array('position' => '137', 'width' => '16', 'height' => '16'),
'window-new' => array('position' => '138', 'width' => '16', 'height' => '16'),
'asc_order' => array(
'position' => '1',
'width' => '16',
'height' => '16'
),
'b_bookmark' => array(
'position' => '2',
'width' => '16',
'height' => '16'
),
'b_browse' => array(
'position' => '3',
'width' => '16',
'height' => '16'
),
'b_calendar' => array(
'position' => '4',
'width' => '16',
'height' => '16'
),
'b_chart' => array(
'position' => '5',
'width' => '16',
'height' => '16'
),
'b_close' => array(
'position' => '6',
'width' => '16',
'height' => '16'
),
'b_comment' => array(
'position' => '7',
'width' => '16',
'height' => '16'
),
'bd_browse' => array(
'position' => '8',
'width' => '16',
'height' => '16'
),
'b_dbstatistics' => array(
'position' => '9',
'width' => '16',
'height' => '16'
),
'bd_deltbl' => array(
'position' => '10',
'width' => '16',
'height' => '16'
),
'bd_drop' => array(
'position' => '11',
'width' => '16',
'height' => '16'
),
'bd_edit' => array(
'position' => '12',
'width' => '16',
'height' => '16'
),
'b_deltbl' => array(
'position' => '13',
'width' => '16',
'height' => '16'
),
'bd_empty' => array(
'position' => '14',
'width' => '16',
'height' => '16'
),
'bd_export' => array(
'position' => '15',
'width' => '16',
'height' => '16'
),
'bd_firstpage' => array(
'position' => '16',
'width' => '16',
'height' => '13'
),
'bd_ftext' => array(
'position' => '17',
'width' => '16',
'height' => '16'
),
'bd_index' => array(
'position' => '18',
'width' => '16',
'height' => '16'
),
'bd_insrow' => array(
'position' => '19',
'width' => '16',
'height' => '16'
),
'bd_lastpage' => array(
'position' => '20',
'width' => '16',
'height' => '13'
),
'bd_nextpage' => array(
'position' => '21',
'width' => '8',
'height' => '13'
),
'b_docs' => array(
'position' => '22',
'width' => '16',
'height' => '16'
),
'b_docsql' => array(
'position' => '23',
'width' => '16',
'height' => '16'
),
'bd_prevpage' => array(
'position' => '24',
'width' => '8',
'height' => '13'
),
'bd_primary' => array(
'position' => '25',
'width' => '16',
'height' => '16'
),
'b_drop' => array(
'position' => '26',
'width' => '16',
'height' => '16'
),
'bd_sbrowse' => array(
'position' => '27',
'width' => '10',
'height' => '10'
),
'bd_select' => array(
'position' => '28',
'width' => '16',
'height' => '16'
),
'bd_spatial' => array(
'position' => '29',
'width' => '16',
'height' => '16'
),
'bd_unique' => array(
'position' => '30',
'width' => '16',
'height' => '16'
),
'b_edit' => array(
'position' => '31',
'width' => '16',
'height' => '16'
),
'b_empty' => array(
'position' => '32',
'width' => '16',
'height' => '16'
),
'b_engine' => array(
'position' => '33',
'width' => '16',
'height' => '16'
),
'b_event_add' => array(
'position' => '34',
'width' => '16',
'height' => '16'
),
'b_events' => array(
'position' => '35',
'width' => '16',
'height' => '16'
),
'b_export' => array(
'position' => '36',
'width' => '16',
'height' => '16'
),
'b_firstpage' => array(
'position' => '37',
'width' => '16',
'height' => '16'
),
'b_ftext' => array(
'position' => '38',
'width' => '16',
'height' => '16'
),
'b_help' => array(
'position' => '39',
'width' => '16',
'height' => '16'
),
'b_home' => array(
'position' => '40',
'width' => '16',
'height' => '16'
),
'b_import' => array(
'position' => '41',
'width' => '16',
'height' => '16'
),
'b_index' => array(
'position' => '42',
'width' => '16',
'height' => '16'
),
'b_info' => array(
'position' => '43',
'width' => '11',
'height' => '11'
),
'b_inline_edit' => array(
'position' => '44',
'width' => '16',
'height' => '16'
),
'b_insrow' => array(
'position' => '45',
'width' => '16',
'height' => '16'
),
'b_lastpage' => array(
'position' => '46',
'width' => '16',
'height' => '16'
),
'b_minus' => array(
'position' => '47',
'width' => '16',
'height' => '16'
),
'b_more' => array(
'position' => '48',
'width' => '16',
'height' => '16'
),
'b_newdb' => array(
'position' => '49',
'width' => '16',
'height' => '16'
),
'b_newtbl' => array(
'position' => '50',
'width' => '16',
'height' => '16'
),
'b_nextpage' => array(
'position' => '51',
'width' => '16',
'height' => '16'
),
'b_pdfdoc' => array(
'position' => '52',
'width' => '16',
'height' => '16'
),
'b_plus' => array(
'position' => '53',
'width' => '16',
'height' => '16'
),
'b_prevpage' => array(
'position' => '54',
'width' => '16',
'height' => '16'
),
'b_primary' => array(
'position' => '55',
'width' => '16',
'height' => '16'
),
'b_print' => array(
'position' => '56',
'width' => '16',
'height' => '16'
),
'b_props' => array(
'position' => '57',
'width' => '16',
'height' => '16'
),
'b_relations' => array(
'position' => '58',
'width' => '16',
'height' => '16'
),
'b_routine_add' => array(
'position' => '59',
'width' => '16',
'height' => '16'
),
'b_routines' => array(
'position' => '60',
'width' => '16',
'height' => '16'
),
'b_save' => array(
'position' => '61',
'width' => '16',
'height' => '16'
),
'b_sbrowse' => array(
'position' => '62',
'width' => '16',
'height' => '16'
),
'b_sdb' => array(
'position' => '63',
'width' => '10',
'height' => '10'
),
'b_search' => array(
'position' => '64',
'width' => '16',
'height' => '16'
),
'b_selboard' => array(
'position' => '65',
'width' => '16',
'height' => '16'
),
'b_select' => array(
'position' => '66',
'width' => '16',
'height' => '16'
),
'b_snewtbl' => array(
'position' => '67',
'width' => '16',
'height' => '16'
),
'b_spatial' => array(
'position' => '68',
'width' => '16',
'height' => '16'
),
'b_sqldoc' => array(
'position' => '69',
'width' => '16',
'height' => '16'
),
'b_sqlhelp' => array(
'position' => '70',
'width' => '16',
'height' => '16'
),
'b_sql' => array(
'position' => '71',
'width' => '16',
'height' => '16'
),
'b_tblanalyse' => array(
'position' => '72',
'width' => '16',
'height' => '16'
),
'b_tblexport' => array(
'position' => '73',
'width' => '16',
'height' => '16'
),
'b_tblimport' => array(
'position' => '74',
'width' => '16',
'height' => '16'
),
'b_tblops' => array(
'position' => '75',
'width' => '16',
'height' => '16'
),
'b_tbloptimize' => array(
'position' => '76',
'width' => '16',
'height' => '16'
),
'b_tipp' => array(
'position' => '77',
'width' => '16',
'height' => '16'
),
'b_trigger_add' => array(
'position' => '78',
'width' => '16',
'height' => '16'
),
'b_triggers' => array(
'position' => '79',
'width' => '16',
'height' => '16'
),
'b_unique' => array(
'position' => '80',
'width' => '16',
'height' => '16'
),
'b_usradd' => array(
'position' => '81',
'width' => '16',
'height' => '16'
),
'b_usrcheck' => array(
'position' => '82',
'width' => '16',
'height' => '16'
),
'b_usrdrop' => array(
'position' => '83',
'width' => '16',
'height' => '16'
),
'b_usredit' => array(
'position' => '84',
'width' => '16',
'height' => '16'
),
'b_usrlist' => array(
'position' => '85',
'width' => '16',
'height' => '16'
),
'b_view' => array(
'position' => '86',
'width' => '16',
'height' => '16'
),
'b_views' => array(
'position' => '87',
'width' => '16',
'height' => '16'
),
'col_drop' => array(
'position' => '88',
'width' => '16',
'height' => '16'
),
'database' => array(
'position' => '89',
'width' => '16',
'height' => '16'
),
'docs_menu_bg' => array(
'position' => '90',
'width' => '2',
'height' => '2'
),
'eye_grey' => array(
'position' => '91',
'width' => '16',
'height' => '16'
),
'eye' => array(
'position' => '92',
'width' => '16',
'height' => '16'
),
'item_ltr' => array(
'position' => '93',
'width' => '5',
'height' => '9'
),
'item' => array(
'position' => '94',
'width' => '9',
'height' => '9'
),
'item_rtl' => array(
'position' => '95',
'width' => '5',
'height' => '9'
),
'more' => array(
'position' => '96',
'width' => '13',
'height' => '16'
),
'new_data_hovered' => array(
'position' => '97',
'width' => '16',
'height' => '16'
),
'new_data' => array(
'position' => '98',
'width' => '16',
'height' => '16'
),
'new_data_selected_hovered' => array(
'position' => '99',
'width' => '16',
'height' => '16'
),
'new_data_selected' => array(
'position' => '100',
'width' => '16',
'height' => '16'
),
'new_struct_hovered' => array(
'position' => '101',
'width' => '16',
'height' => '16'
),
'new_struct' => array(
'position' => '102',
'width' => '16',
'height' => '16'
),
'new_struct_selected_hovered' => array(
'position' => '103',
'width' => '16',
'height' => '16'
),
'new_struct_selected' => array(
'position' => '104',
'width' => '16',
'height' => '16'
),
'pause' => array(
'position' => '105',
'width' => '16',
'height' => '16'
),
'php_sym' => array(
'position' => '106',
'width' => '16',
'height' => '16'
),
'play' => array(
'position' => '107',
'width' => '16',
'height' => '16'
),
's_asci' => array(
'position' => '108',
'width' => '16',
'height' => '16'
),
's_asc' => array(
'position' => '109',
'width' => '16',
'height' => '16'
),
's_attention' => array(
'position' => '110',
'width' => '16',
'height' => '16'
),
's_cancel2' => array(
'position' => '111',
'width' => '16',
'height' => '16'
),
's_cancel' => array(
'position' => '112',
'width' => '16',
'height' => '16'
),
's_cog' => array(
'position' => '113',
'width' => '16',
'height' => '16'
),
's_db' => array(
'position' => '114',
'width' => '16',
'height' => '16'
),
's_desc' => array(
'position' => '115',
'width' => '16',
'height' => '16'
),
's_error2' => array(
'position' => '116',
'width' => '11',
'height' => '11'
),
's_error' => array(
'position' => '117',
'width' => '16',
'height' => '16'
),
's_host' => array(
'position' => '118',
'width' => '16',
'height' => '16'
),
's_info' => array(
'position' => '119',
'width' => '16',
'height' => '16'
),
's_lang' => array(
'position' => '120',
'width' => '16',
'height' => '16'
),
's_loggoff' => array(
'position' => '121',
'width' => '16',
'height' => '16'
),
's_notice' => array(
'position' => '122',
'width' => '16',
'height' => '16'
),
's_okay' => array(
'position' => '123',
'width' => '16',
'height' => '16'
),
's_passwd' => array(
'position' => '124',
'width' => '16',
'height' => '16'
),
's_process' => array(
'position' => '125',
'width' => '16',
'height' => '16'
),
's_really' => array(
'position' => '126',
'width' => '11',
'height' => '11'
),
's_reload' => array(
'position' => '127',
'width' => '16',
'height' => '16'
),
's_replication' => array(
'position' => '128',
'width' => '16',
'height' => '16'
),
's_rights' => array(
'position' => '129',
'width' => '16',
'height' => '16'
),
's_sortable' => array(
'position' => '130',
'width' => '16',
'height' => '16'
),
's_status' => array(
'position' => '131',
'width' => '16',
'height' => '16'
),
's_success' => array(
'position' => '132',
'width' => '16',
'height' => '16'
),
's_sync' => array(
'position' => '133',
'width' => '16',
'height' => '16'
),
's_tbl' => array(
'position' => '134',
'width' => '16',
'height' => '16'
),
's_theme' => array(
'position' => '135',
'width' => '16',
'height' => '16'
),
's_vars' => array(
'position' => '136',
'width' => '16',
'height' => '16'
),
's_views' => array(
'position' => '137',
'width' => '16',
'height' => '16'
),
'window-new' => array(
'position' => '138',
'width' => '16',
'height' => '16'
),
);
}
?>