Changeset 1688
- Timestamp:
- Jan 2, 2007, 10:02:39 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/advanced_feature.php
r1656 r1688 66 66 // 'U_ADV_????' => $start_url.'???', 67 67 'U_ADV_ELEMENT_NOT_LINKED' => PHPWG_ROOT_PATH.'admin.php?page=element_set&cat=not_linked', 68 'U_ADV_DUP_FILES' => PHPWG_ROOT_PATH.'admin.php?page=element_set&cat=duplicates', 68 69 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=advanced_feature' 69 70 ) -
trunk/admin/element_set.php
r1072 r1688 138 138 else if ('not_linked' == $_GET['cat']) 139 139 { 140 $page['title'] = 'elements not linked to any virtual categories';140 $page['title'] = l10n('Elements_not_linked'); 141 141 142 142 // we are searching elements not linked to any virtual category … … 163 163 $page['cat_elements_id'] = array_diff($all_elements, $linked_to_virtual); 164 164 } 165 165 else if ('duplicates' == $_GET['cat']) 166 { 167 $page['title'] = l10n('Duplicates'); 168 169 // we are searching related elements twice or more to physical categories 170 // 1 - Retrieve Files 171 $query = ' 172 SELECT DISTINCT(file) 173 FROM '.IMAGES_TABLE.' 174 GROUP BY file 175 HAVING COUNT(DISTINCT storage_category_id) > 1 176 ;'; 177 178 $duplicate_files = array_from_query($query, 'file'); 179 $duplicate_files[]='Nofiles'; 180 // 2 - Retrives related picture ids 181 $query = ' 182 SELECT id, file 183 FROM '.IMAGES_TABLE.' 184 WHERE file IN (\''.implode("','", $duplicate_files).'\') 185 ORDER BY file, id 186 ;'; 187 188 $page['cat_elements_id'] = array_from_query($query, 'id'); 189 $page['cat_elements_id'][] = 0; 190 } 166 191 // +-----------------------------------------------------------------------+ 167 192 // | first element to display | -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r1682 r1688 572 572 $lang['note_check_more_info_forum'] = 'the forum'; 573 573 $lang['note_check_more_info_wiki'] = 'the wiki'; 574 574 $lang['Duplicates'] = 'Files with same name in more than one physical category'; 575 575 576 576 ?> -
trunk/language/en_UK.iso-8859-1/help/advanced_feature.html
r1656 r1688 7 7 <li> 8 8 <strong>Not linked elements:</strong> 9 Display images witch are not associaed with an virtual catgory 9 Display images which are not associated to any virtual category. 10 </li> 11 <li> 12 <strong>Files with same name in more than one physical category:</strong> 13 Display images or any files which are found with the same filename in some categories. 10 14 </li> 11 15 -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r1682 r1688 570 570 $lang['note_check_more_info_forum'] = 'le forum'; 571 571 $lang['note_check_more_info_wiki'] = 'le wiki'; 572 $lang['Duplicates'] = 'Fichiers portant le même nom dans plusieurs' . 573 ' catégories physiques'; 572 574 573 575 ?> -
trunk/language/fr_FR.iso-8859-1/help/advanced_feature.html
r1656 r1688 6 6 7 7 <li> 8 <strong>Eléments non liés :</strong>8 <strong>Eléments non liés :</strong> 9 9 Affiche les images qui ne sont pas associées à une catégorie virtuelle 10 </li> 11 <li> 12 <strong>Fichiers portant le même nom dans plusieurs catégories physiques :</strong> 13 Affiche les images ou les éventuels fichiers qui pourraient être trouvés dans plusieurs catégories. 10 14 </li> 11 15 -
trunk/template/yoga/admin/advanced_feature.tpl
r1656 r1688 10 10 <!-- <li><a href="{U_ADV_????}" {TAG_INPUT_ENABLED}>{lang:update categories informations}</a></li>--> 11 11 <li><a href="{U_ADV_ELEMENT_NOT_LINKED}" {TAG_INPUT_ENABLED}>{lang:Elements_not_linked}</a></li> 12 <li><a href="{U_ADV_DUP_FILES}" {TAG_INPUT_ENABLED}>{lang:Duplicates}</a></li> 12 13 </ul>
Note: See TracChangeset
for help on using the changeset viewer.