Changeset 12259 for trunk/admin/include/functions.php
- Timestamp:
- Sep 29, 2011, 3:48:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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)
Note: See TracChangeset
for help on using the changeset viewer.