{foreach $stat as $storage} {$_is_personal = ( $storage.access_type === filesStorageModel::ACCESS_TYPE_PERSONAL )} {$_is_limited = ( $storage.access_type === filesStorageModel::ACCESS_TYPE_LIMITED )} {$_is_everyone = ( $storage.access_type === filesStorageModel::ACCESS_TYPE_EVERYONE )}