- Timestamp:
- Jan 28, 2011, 4:54:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php
r7451 r8961 2 2 /* ----------------------------------------------------------------------------- 3 3 class name: GCPRequestBuilder 4 class version : 1.1. 15 plugin version : 3.3. 24 class version : 1.1.2 5 plugin version : 3.3.3 6 6 date : 2010-09-08 7 7 … … 75 75 | | | * fix bug on user level access to picture 76 76 | | | 77 | | | 78 | | | 77 | 1.1.2 | 2010/11/01 | * mantis bug:1984 78 | | | . RBuilder returns an error message when one picture 79 | | | have multiple categories 79 80 | | | 80 81 | | | … … 522 523 GPCCore::addHeaderJS('gpc.interface', 'plugins/'.$baseName.'external/interface/interface.js'); 523 524 GPCCore::addHeaderJS('gpc.inestedsortable', 'plugins/'.$baseName.'external/inestedsortable.pack.js'); 524 GPCCore::addHeaderJS('gpc.rbCriteriaBuilder', 'plugins/'.$baseName.'rbCriteriaBuilder .packed.js');525 GPCCore::addHeaderJS('gpc.rbCriteriaBuilder', 'plugins/'.$baseName.'rbCriteriaBuilder'.GPCCore::getMinified().'.js'); 525 526 526 527 $template->append('head_elements', … … 829 830 'SELECT' => Array( 830 831 'RB_PIT' => "pit.id AS imageId, pit.name AS imageName, pit.path AS imagePath", // from the piwigo's image table 831 'RB_PIC' => "GROUP_CONCAT( DISTINCTpic.category_id SEPARATOR ',') AS imageCategoriesId", // from the piwigo's image_category table832 'RB_PCT' => "GROUP_CONCAT( DISTINCTCASE WHEN pct.name IS NULL THEN '' ELSE pct.name END SEPARATOR '#sep#') AS imageCategoriesNames,833 GROUP_CONCAT( DISTINCTCASE WHEN pct.permalink IS NULL THEN '' ELSE pct.permalink END SEPARATOR '#sep#') AS imageCategoriesPLink,834 GROUP_CONCAT( DISTINCTCASE WHEN pct.dir IS NULL THEN 'V' ELSE 'P' END) AS imageCategoriesDir", //from the piwigo's categories table832 'RB_PIC' => "GROUP_CONCAT( pic.category_id SEPARATOR ',') AS imageCategoriesId", // from the piwigo's image_category table 833 'RB_PCT' => "GROUP_CONCAT( CASE WHEN pct.name IS NULL THEN '' ELSE pct.name END SEPARATOR '#sep#') AS imageCategoriesNames, 834 GROUP_CONCAT( CASE WHEN pct.permalink IS NULL THEN '' ELSE pct.permalink END SEPARATOR '#sep#') AS imageCategoriesPLink, 835 GROUP_CONCAT( CASE WHEN pct.dir IS NULL THEN 'V' ELSE 'P' END) AS imageCategoriesDir", //from the piwigo's categories table 835 836 ), 836 837 'FROM' => Array( … … 1374 1375 $filter=array_flip($filter); 1375 1376 1377 GPCCore::addHeaderJS('jquery.ui', 'themes/default/js/ui/packed/ui.core.packed.js'); 1378 GPCCore::addHeaderJS('jquery.ui.dialog', 'themes/default/js/ui/packed/ui.dialog.packed.js'); 1379 GPCCore::addHeaderJS('gpc.pagesNavigator', 'plugins/'.$baseName.'/js/pagesNavigator'.GPCCore::getMinified().'.js'); 1380 GPCCore::addHeaderJS('gpc.rbSearch', 'plugins/'.$baseName.'/js/rbSearch'.GPCCore::getMinified().'.js'); 1381 1382 1376 1383 $template->set_filename('gpc_search_page', 1377 1384 dirname(dirname(__FILE__)).'/templates/GPCRequestBuilder_search.tpl');
Note: See TracChangeset
for help on using the changeset viewer.