<?php
echo "<ul id='ucItems' data-role='listview' data-inset='false'>";
echo $this->getAddressListMobile($items);
echo "</ul>";
?>
<div id="loadingMessages"></div>
<style>
    .ucType {
        display: table-cell;
    }
    .direction.icon-phone{
        font-size: 200%
    }

    .ucAvatar{
        display: table-cell;
        padding-left: 20px;
        overflow: hidden;
    }
    .ucSummary{
        display: table-cell;
    }
</style>
<?php
$this->widget('ext.yiinfinite-scroll.YiinfiniteScroller', array(
    'loading' => array(
        'finishedMsg' => __('UCITEMS_END_REACHED'),
        'speed' => 'fast',
        'msgText' => __('UCITEMS_LOADING'),
        'selector' => '#loadingMessages',
        'img' => 'img/loading.gif',
    ),
    'state' => array(
    ),
    'bufferPx' => 60,
    'contentSelector' => '#ucItems',
    'itemSelector' => 'li.ucItem',
    'animate' => false,
    'pages' => $pages,
));

