Changeset 17757 for extensions/GrumPluginClasses
- Timestamp:
- Sep 5, 2012, 4:07:58 PM (12 years ago)
- Location:
- extensions/GrumPluginClasses
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCExport.class.inc.php
r17735 r17757 470 470 471 471 $sheet=new odsTable($this->options['sheetName']); 472 $sheet->setVerticalSplit(1); 472 473 473 474 // columns name … … 544 545 switch($option) 545 546 { 546 case 'separator': 547 if($value=='tab') $value=chr(9); 547 case 'tableName': 548 548 $this->options[$option]=$value; 549 break;550 case 'decimalDot':551 if($value=='.' or $value==',')552 $this->options[$option]=$value;553 break;554 case 'useQuotes':555 if($value==true or $value==false)556 $this->options[$option]=$value;557 break;558 case 'lineFeed':559 if($value=='unix')560 {561 $value="\x0A";562 }563 elseif($value=='windows')564 {565 $value="\x0D\x0A";566 }567 568 if($value=="\x0A" or $value=="\x0D\x0A")569 $this->options[$option]=$value;570 549 break; 571 550 } -
extensions/GrumPluginClasses/js/ui.inputFilterBox.js
r17735 r17757 44 44 '!=':'Different than', 45 45 'between':'Between', 46 'not between':'Not between', 46 47 'and':'and', 47 48 'like':'Like', … … 289 290 value.filterOperators[i]=='=' || 290 291 value.filterOperators[i]=='!=' || 291 value.filterOperators[i]=='between') options.filterOperators.push(value.filterOperators[i]); 292 value.filterOperators[i]=='between' || 293 value.filterOperators[i]=='not between') options.filterOperators.push(value.filterOperators[i]); 292 294 } 293 295 break; … … 303 305 value.filterOperators[i]=='like' || 304 306 value.filterOperators[i]=='not like' || 305 value.filterOperators[i]=='between') options.filterOperators.push(value.filterOperators[i]); 307 value.filterOperators[i]=='between' || 308 value.filterOperators[i]=='not between') options.filterOperators.push(value.filterOperators[i]); 306 309 } 307 310 break; … … 672 675 properties.filter.operator=value; 673 676 674 if(value=='between' )677 if(value=='between' || value=='not between') 675 678 { 676 679 objects.valueBox1.css('display', 'none'); … … 861 864 { 862 865 case 'numeric': 863 if(properties.filter.operator=='between' )866 if(properties.filter.operator=='between' || properties.filter.operator=='not between') 864 867 { 865 868 return(objects.value1.inputNum('isValid') && objects.value2.inputNum('isValid')); … … 871 874 break; 872 875 case 'string': 873 if(properties.filter.operator=='between' )876 if(properties.filter.operator=='between' || properties.filter.operator=='not between') 874 877 { 875 878 return(objects.value1.inputText('isValid') && objects.value2.inputText('isValid')); … … 883 886 case 'time': 884 887 case 'datetime': 885 if(properties.filter.operator=='between' )888 if(properties.filter.operator=='between' || properties.filter.operator=='not between') 886 889 { 887 890 return(objects.value1.inputDate('isValid') && objects.value2.inputDate('isValid')); … … 994 997 filter.filterOperators[i]=='=' || 995 998 filter.filterOperators[i]=='!=' || 996 filter.filterOperators[i]=='between') validFilterTypes.push(filter.filterOperators[i]); 999 filter.filterOperators[i]=='between' || 1000 filter.filterOperators[i]=='not between') validFilterTypes.push(filter.filterOperators[i]); 997 1001 } 998 1002 break; … … 1008 1012 filter.filterOperators[i]=='like' || 1009 1013 filter.filterOperators[i]=='not like' || 1010 filter.filterOperators[i]=='between') validFilterTypes.push(filter.filterOperators[i]); 1014 filter.filterOperators[i]=='between' || 1015 filter.filterOperators[i]=='not between') validFilterTypes.push(filter.filterOperators[i]); 1011 1016 } 1012 1017 break; -
extensions/GrumPluginClasses/language/en_UK/plugin.lang.php
r17735 r17757 28 28 $lang['filter_notEqual']='Different than'; 29 29 $lang['filter_between']='Between'; 30 $lang['filter_notbetween']='Not between'; 30 31 $lang['filter_and']='and'; 31 32 $lang['filter_like']='Like'; -
extensions/GrumPluginClasses/language/fr_FR/plugin.lang.php
r17735 r17757 42 42 $lang['filter_notEqual']='Différent de'; 43 43 $lang['filter_between']='Entre'; 44 $lang['filter_notbetween']='N\'est pas entre'; 44 45 $lang['filter_and']='et'; 45 46 $lang['filter_like']='Ressemble à';
Note: See TracChangeset
for help on using the changeset viewer.