/**
  * Render partial
  * 
  * @param   string  $template   Partial name
  * @param   array   $vars       Template variables [optional]
  * @return  sfView::NONE
  */
 public function renderPartial($template, $vars = null)
 {
     return $this->renderText(Partial::get($template, $vars));
 }
Esempio n. 2
0
                <th id="sf_admin_list_th_actions" class="ui-th-column"><?php 
echo I18n::__('admin.labels.actions');
?>
</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th  style="margin:0;padding:0;border:0;" colspan="5">
                    <div class="ui-widget-header ui-corner-bottom">
                        <div class="ui-th-column sf-list-foot">
                        <?php 
if ($pager->haveToPaginate()) {
    ?>
                            <?php 
    echo Partial::get('dinStdStaticCategory/pagination', array('pager' => $pager));
    ?>
                        <?php 
}
?>
                        </div>
                    </div>
                </th>
            </tr>
        </tfoot>
        <tbody>
        <?php 
if (!$pager->getNbResults()) {
    ?>
        <tr class="sf_admin_row ui-widget-content"><td colspan="20" height="30" align="center">
            <p style="text-align:center"><?php