mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 02:55:41 +02:00
Merge branch '3.3.x'
This commit is contained in:
@ -38,6 +38,7 @@ else
|
||||
$xml = simplexml_load_string(file_get_contents($url));
|
||||
}
|
||||
|
||||
$types = [];
|
||||
foreach ($xml->xpath('//item') as $item)
|
||||
{
|
||||
$key = (string) $item->key;
|
||||
@ -51,6 +52,8 @@ foreach ($xml->xpath('//item') as $item)
|
||||
$types[(string) $item->type][$key] = $value;
|
||||
}
|
||||
|
||||
if (count($types))
|
||||
{
|
||||
ksort($types);
|
||||
foreach ($types as $type => $tickets)
|
||||
{
|
||||
@ -65,3 +68,4 @@ foreach ($types as $type => $tickets)
|
||||
}
|
||||
echo "</ul>\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user