Changeset 12259 for trunk/admin
- Timestamp:
- Sep 29, 2011, 3:48:49 PM (13 years ago)
- Location:
- trunk/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager.php
r11853 r12259 388 388 FROM '.TAGS_TABLE.' 389 389 ;'; 390 $template->assign('tags', get_taglist($query ));390 $template->assign('tags', get_taglist($query, false)); 391 391 392 392 // +-----------------------------------------------------------------------+ -
trunk/admin/include/functions.php
r12032 r12259 2072 2072 } 2073 2073 2074 function get_taglist($query )2074 function get_taglist($query, $only_user_language=true) 2075 2075 { 2076 2076 $result = pwg_query($query); … … 2079 2079 while ($row = pwg_db_fetch_assoc($result)) 2080 2080 { 2081 if ( preg_match_all('#\[lang=(.*?)\](.*?)\[/lang\]#is', $row['name'], $matches))2081 if (!$only_user_language and preg_match_all('#\[lang=(.*?)\](.*?)\[/lang\]#is', $row['name'], $matches)) 2082 2082 { 2083 2083 foreach ($matches[2] as $tag_name) -
trunk/admin/picture_modify.php
r11853 r12259 242 242 FROM '.TAGS_TABLE.' 243 243 ;'; 244 $tags = get_taglist($query );244 $tags = get_taglist($query, false); 245 245 246 246 // retrieving direct information about picture
Note: See TracChangeset
for help on using the changeset viewer.