mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- updated Loot-class to work with TrinityCore:master/55b43c67519359f0e5a96004c393898b3c62add3
- fixed some awkward names for skinning-tabs on npc.php - only send calendar if we have events to display on event.php - do not display conditions column if there are no conditions on item.php
This commit is contained in:
@@ -58,11 +58,14 @@ class EventsPage extends GenericPage
|
||||
'params' => []
|
||||
);
|
||||
|
||||
$this->lvTabs[] = array(
|
||||
'file' => 'calendar',
|
||||
'data' => array_filter($events->getListviewData(), function($x) {return $x['id'] > 0;}),
|
||||
'params' => ['hideCount' => 1]
|
||||
);
|
||||
if ($_ = array_filter($events->getListviewData(), function($x) {return $x['id'] > 0;}))
|
||||
{
|
||||
$this->lvTabs[] = array(
|
||||
'file' => 'calendar',
|
||||
'data' => $_,
|
||||
'params' => ['hideCount' => 1]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
protected function generateTitle()
|
||||
|
||||
Reference in New Issue
Block a user