- Timestamp:
- Jun 24, 2012, 9:18:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php
r15352 r16012 2 2 /* ----------------------------------------------------------------------------- 3 3 class name: GCPRequestBuilder 4 class version : 1.1. 65 plugin version : 3.5. 16 date : 201 1-05-154 class version : 1.1.7 5 plugin version : 3.5.2 6 date : 2012-06-24 7 7 8 8 ------------------------------------------------------------------------------ … … 89 89 | | | . Request builder user interface don't work 90 90 | | | 91 | 1.1.7 | 2012/06/24 | * use some GPCCore function instead of code 91 92 | | | 92 93 | | | … … 539 540 540 541 //$template->append('head_elements', '<link href="plugins/'.$baseName.'rbuilder.css" type="text/css" rel="stylesheet"/>'); 541 if(defined('IN_ADMIN')) GPCCore::addHeaderCSS('gpc.rbuilder ', 'plugins/'.$baseName.'rbuilder_'.$template->get_themeconf('name').'.css', 26);542 if(defined('IN_ADMIN')) GPCCore::addHeaderCSS('gpc.rbuilderT', 'plugins/'.$baseName.'rbuilder_'.$template->get_themeconf('name').'.css', 26); 542 543 //$template->append('head_elements', '<link href="plugins/'.$baseName.'rbuilder_'.$template->get_themeconf('name').'.css" type="text/css" rel="stylesheet"/>'); 543 544 … … 556 557 GPCCore::addHeaderJS('gpc.rbCriteriaBuilder', 'plugins/'.$baseName.'rbCriteriaBuilder.js', array('gpc.external.inestedsortable')); 557 558 558 $template->append('head_elements', 559 "<script type=\"text/javascript\"> 560 requestBuilderOptions = { 561 textAND:\"".l10n('gpc_rb_textAND')."\", 562 textOR:\"".l10n('gpc_rb_textOR')."\", 563 textNoCriteria:\"".l10n('There is no criteria ! At least, one criteria is required to do search...')."\", 564 textSomethingWrong:\"".l10n('gpc_something_is_wrong_on_the_server_side')."\", 565 textCaddieUpdated:\"".l10n('gpc_the_caddie_is_updated')."\", 566 helpEdit:\"".l10n('gpc_help_edit_criteria')."\", 567 helpDelete:\"".l10n('gpc_help_delete_criteria')."\", 568 helpMove:\"".l10n('gpc_help_move_criteria')."\", 569 helpSwitchCondition:\"".l10n('gpc_help_switch_condition')."\", 570 ajaxUrl:'plugins/GrumPluginClasses/gpc_ajax.php', 571 } 572 </script>"); 559 GPCCore::addHeaderContent('js', 560 " 561 var requestBuilderOptions = { 562 textAND:\"".l10n('gpc_rb_textAND')."\", 563 textOR:\"".l10n('gpc_rb_textOR')."\", 564 textNoCriteria:\"".l10n('There is no criteria ! At least, one criteria is required to do search...')."\", 565 textSomethingWrong:\"".l10n('gpc_something_is_wrong_on_the_server_side')."\", 566 textCaddieUpdated:\"".l10n('gpc_the_caddie_is_updated')."\", 567 helpEdit:\"".l10n('gpc_help_edit_criteria')."\", 568 helpDelete:\"".l10n('gpc_help_delete_criteria')."\", 569 helpMove:\"".l10n('gpc_help_move_criteria')."\", 570 helpSwitchCondition:\"".l10n('gpc_help_switch_condition')."\", 571 ajaxUrl:'plugins/GrumPluginClasses/gpc_ajax.php', 572 token:'".get_pwg_token()."' 573 }; 574 " 575 ); 573 576 } 574 577
Note: See TracChangeset
for help on using the changeset viewer.