Changeset 3412 for extensions/lmt
- Timestamp:
- Jun 12, 2009, 10:28:31 AM (15 years ago)
- Location:
- extensions/lmt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lmt/lmt_aip.class.inc.php
r3396 r3412 822 822 $img_liste = array(); 823 823 $sql="SELECT SQL_CALC_FOUND_ROWS lmti.*, img.file, img.path, img.tn_ext, cat.id as catid, cat.name as catname, cat.permalink, lmtla.text1, lmtla.text2 824 FROM ".$this->tables["images"]." lmti LEFT OUTER JOIN ".$this->tables["licence_author"]." lmtla ON lmtla.id = lmti.author_id, ".IMAGES_TABLE." img, ".CATEGORIES_TABLE." cat825 WHERE lmti.image_id = img.id826 AND img.storage_category_id = cat.id ";824 FROM ".$this->tables["images"]." lmti LEFT OUTER JOIN ".$this->tables["licence_author"]." lmtla ON lmtla.id = lmti.author_id, 825 ".IMAGES_TABLE." img LEFT OUTER JOIN ".CATEGORIES_TABLE." cat ON img.storage_category_id = cat.id 826 WHERE lmti.image_id = img.id "; 827 827 if($_REQUEST['filter']!="") 828 828 { … … 918 918 $sql="SELECT SQL_CALC_FOUND_ROWS img.id as image_id, img.file, img.path, img.tn_ext, cat.id as catid, cat.name as catname, cat.permalink, 919 919 lmti.licence_type, lmtla.text1, lmtla.text2 920 FROM ".CATEGORIES_TABLE." cat, ".CADDIE_TABLE." caddie, ".IMAGES_TABLE." img 920 FROM ".CADDIE_TABLE." caddie, (".IMAGES_TABLE." img 921 LEFT OUTER JOIN ".CATEGORIES_TABLE." cat ON img.storage_category_id = cat.id) 921 922 LEFT OUTER JOIN ".$this->tables["images"]." AS lmti 922 923 ON img.id = lmti.image_id 923 924 LEFT OUTER JOIN ".$this->tables["licence_author"]." lmtla 924 925 ON lmtla.id = lmti.author_id 925 WHERE img.storage_category_id = cat.id 926 AND img.id = caddie.element_id 926 WHERE img.id = caddie.element_id 927 927 AND caddie.user_id = '".$user['id']."' 928 928 ORDER BY cat.id, img.id "; -
extensions/lmt/main.inc.php
r3396 r3412 2 2 /* 3 3 Plugin Name: LMT 4 Version: 1.0. 14 Version: 1.0.2 5 5 Description: Appliquer une licence sur ses photos / Apply a licence on photos 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=282 … … 26 26 | | | like the 88x31 logo) 27 27 | | | * modify the footer (allows to use html markup) 28 | | | 28 | 1.0.2 | 2009/06/12 | * the plugin can't manage picture if no physical category 29 | | | is affected (pictures uploaded with pLoader have 30 | | | only virtual categories). For now, use a LEFT OUTER JOIN 31 | | | on physical categorie ; virtual category management will 32 | | | be coded for the next release 33 | | | 34 | | | 29 35 30 36 … … 52 58 define('LMT_PATH' , PHPWG_PLUGINS_PATH . LMT_DIR . '/'); 53 59 54 define('LMT_VERSION' , '1.0. 1'); // => ne pas oublier la version dans l'entête !!60 define('LMT_VERSION' , '1.0.2'); // => ne pas oublier la version dans l'entête !! 55 61 56 62 global $prefixeTable;
Note: See TracChangeset
for help on using the changeset viewer.