<?php $system->error('No upload fields are available') if ($login->user->config('upload_fields') == 0); ?>