set mood-pictures for Seminary-related pages and small avatar pictures

This commit is contained in:
coderkun 2014-04-09 00:06:02 +02:00
commit b40305631a
10 changed files with 140 additions and 40 deletions

View file

@ -88,6 +88,14 @@
{
// Level
$character['xplevel'] = $this->Characters->getXPLevelOfCharacters($character['id']);
// Avatar
$avatar = $this->Avatars->getAvatarById($character['avatar_id']);
if(!is_null($avatar['small_avatarpicture_id']))
{
//$character['seminary'] =
$character['small_avatar'] = $this->Media->getSeminaryMediaById($avatar['small_avatarpicture_id']);
}
}