hide map for Character groups Quest Stations when there are no stations

This commit is contained in:
oliver 2016-04-09 13:44:37 +02:00
commit df14dfafc3
4371 changed files with 1220224 additions and 0 deletions

View file

@ -0,0 +1,25 @@
<?php
foreach($characters as &$character)
{
// Role translation
foreach($character['characterroles'] as &$role)
{
switch($role)
{
case 'admin': $role = _('Admin');
break;
case 'moderator': $role = _('Moderator');
break;
case 'user': $role = _('User');
break;
}
}
}
?>
<?=json_encode(array(
'seminary' => $seminary,
'characters' => $characters,
'more' => (($page*$limit) < $charactersCount)
))?>