The branch, master has been updated via 137a70e671954ed6fdb11290d6bc62b46426ba63 (commit) from c692607e2e3b0426fb21fea2ad7b4e97b364e04b (commit)
- Log ----------------------------------------------------------------- commit 137a70e671954ed6fdb11290d6bc62b46426ba63 Author: Rouslan Placella rouslan@placella.com Date: Thu Oct 13 19:25:07 2011 +0100
Checkstyle fixes
-----------------------------------------------------------------------
Summary of changes: js/date.js | 440 +++++++++++----------- scripts/generate-sprites | 15 +- themes/original/sprites.lib.php | 702 +++++++++++++++++++++++++++------ themes/pmahomme/sprites.lib.php | 828 ++++++++++++++++++++++++++++++++------- 4 files changed, 1501 insertions(+), 484 deletions(-)
diff --git a/js/date.js b/js/date.js index 9a92340..3f228f7 100644 --- a/js/date.js +++ b/js/date.js @@ -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; + } diff --git a/scripts/generate-sprites b/scripts/generate-sprites index 6ea9aef..604ffb2 100755 --- a/scripts/generate-sprites +++ b/scripts/generate-sprites @@ -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 diff --git a/themes/original/sprites.lib.php b/themes/original/sprites.lib.php index b4b2f39..e52c608 100644 --- a/themes/original/sprites.lib.php +++ b/themes/original/sprites.lib.php @@ -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' + ), ); } ?> diff --git a/themes/pmahomme/sprites.lib.php b/themes/pmahomme/sprites.lib.php index 30b54ee..615bbce 100644 --- a/themes/pmahomme/sprites.lib.php +++ b/themes/pmahomme/sprites.lib.php @@ -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' + ), ); } ?>
hooks/post-receive