This commit is contained in:
coderkun 2015-04-27 16:42:05 +02:00
commit 046a724272
4209 changed files with 1186656 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)
))?>