/** * Converts a mardown string into HTML * * sfWidgetFormTextarea * sfWidgetFormInput * sfWidgetFormInputCheckbox * * @package Reditype * @subpackage helper * @author Piers Warmers <*****@*****.**> * @param sfFormField $widget * @param array $options * @return string */ function render_form_row(sfFormField $widget, $options = array()) { $options['wide'] = isset($options['wide']) ? $options['wide'] : true; $options['space'] = isset($options['space']) ? $options['wide'] : false; $options['class'] = isset($options['class']) ? $options['class'] : 'rt-form-row'; $options['markdown'] = isset($options['markdown']) ? $options['markdown'] : false; $content = ''; if ($options['markdown']) { ob_start(); include_partial('rtSearch/ajaxForm', array('form' => new rtSearchForm(), 'targetId' => 'rt_wiki_page_en_content')); $content = ob_get_contents(); ob_end_clean(); } $html = ''; $widget->renderHelp(); $help = $widget->getParent()->getWidget()->getHelp($widget->getName()); if (get_class($widget->getWidget()) === 'sfWidgetFormInputCheckbox') { $html = sprintf('<tr class="%1$s checkbox"><th><label for="%6$s">%2$s</label></th><td>%4$s <div class="help">%5$s</div> %3$s</td></tr>', $options['class'], $widget->renderLabelName(), $widget->hasError() ? $widget->renderError() : '', $widget->render(), $help, $widget->renderId()); } elseif (in_array(get_class($widget->getWidget()), array('sfWidgetFormChoice', 'sfWidgetFormDate', 'sfWidgetFormDateTime'))) { $html = sprintf('<tr class="%1$s checkbox"><th><label>%2$s</label></th><td>%4$s <div class="help">%5$s</div> %3$s</td></tr>', $options['class'], $widget->renderLabelName(), $widget->hasError() ? $widget->renderError() : '', $widget->render(), $help); } else { $html = sprintf('<tr class="%1$s standard"><th><label for="%2$s">%3$s</label></th><td>%4$s %5$s <div class="help">%6$s</div>%7$s</tr>', $options['class'], $widget->renderId(), $widget->renderLabelName(), $widget->hasError() ? '<span class="error">' . $widget->renderError() . '</span>' : '', $widget->render(), $help, $content); } return $html . "\n"; }
public function render() { sfContext::getInstance()->getConfiguration()->loadHelpers('Partial'); $text = 'Which is most important?'; include_partial('criterion_prioritization', array('decision' => $this->decision, 'text' => $text)); parent::render(); }
public function executeUserBar(sfWebRequest $request) { if (!$this->getUser()->isAuthenticated()) { include_component('user', 'userBarLogIn'); } else { include_partial('user/userBarInfo'); } }
function include_partial($partial, $i = NULL) { global $CONF; if (file_exists($partial)) { include $partial; } else { echo '<h1>Mmm... no encontrado</h1><p>A ver si te vale algo de esto:</p>'; include_partial("inicio.html"); } }
function display_page_header($module, $document, $id, $metadata, $current_version, $options = array()) { $is_archive = $document->isArchive(); $mobile_version = c2cTools::mobileVersion(); $content_class = $module . '_content'; $lang = $document->getCulture(); $version = $is_archive ? $document->getVersion() : NULL; $slug = ''; $prepend = _option($options, 'prepend', ''); $separator = _option($options, 'separator', ''); $nav_options = _option($options, 'nav_options'); $item_type = _option($options, 'item_type', ''); $nb_comments = _option($options, 'nb_comments'); $creator_id = _option($options, 'creator_id'); if (!$is_archive) { if ($module != 'users') { $slug = get_slug($document); $url = "@document_by_id_lang_slug?module={$module}&id={$id}&lang={$lang}&slug={$slug}"; } else { $url = "@document_by_id_lang?module={$module}&id={$id}&lang={$lang}"; } } else { $url = "@document_by_id_lang_version?module={$module}&id={$id}&lang={$lang}&version={$version}"; } if (!empty($prepend)) { $prepend .= $separator; } echo display_title($prepend . $document->get('name'), $module, true, 'default_nav', $url); if (!$mobile_version) { echo '<div id="nav_space"> </div>'; sfLoader::loadHelpers('WikiTabs'); $tabs = tabs_list_tag($id, $lang, $document->isAvailable(), 'view', $version, $slug, $nb_comments); echo $tabs; // liens internes vers les sections repliables du document if ($nav_options == null) { include_partial("{$module}/nav_anchor"); } else { include_partial("{$module}/nav_anchor", array('section_list' => $nav_options)); } // boutons vers des fonctions annexes et de gestion du document include_partial("{$module}/nav", isset($creator_id) ? array('id' => $id, 'document' => $document, 'creator_id' => $creator_id) : array('id' => $id, 'document' => $document)); if ($module != 'users') { sfLoader::loadHelpers('Button'); echo '<div id="nav_share" class="nav_box">' . button_share() . '</div>'; } } echo display_content_top('doc_content', $item_type); echo start_content_tag($content_class); if ($merged_into = $document->get('redirects_to')) { include_partial('documents/merged_warning', array('merged_into' => $merged_into)); } if ($is_archive) { include_partial('documents/versions_browser', array('id' => $id, 'document' => $document, 'metadata' => $metadata, 'current_version' => $current_version)); } }
public static function loadServicesPartials_old(EtvaServer $etva_server) { $server_services = $etva_server->getEtvaServices(); $module_agent = strtolower($etva_server->getAgentTmpl()); $directory = sfContext::getInstance()->getConfiguration()->getTemplateDir(strtolower($etva_server->getAgentTmpl()), 'viewSuccess.php'); $services_data = self::listDir($directory, '/_ETVOIP_([^_]+)\\.php/'); die; foreach ($server_services as $service) { $tmpl = $etva_server->getAgentTmpl() . '_' . $service->getNameTmpl(); $service_path = sfContext::getInstance()->getConfiguration()->getTemplateDir($module_agent, '_' . $tmpl . '.php'); if ($service_path) { include_partial($module_agent . '/' . $tmpl, array('etva_server' => $etva_server, 'etva_service' => $service)); } } }
public function render($name, $value = null, $attributes = array(), $errors = array()) { $default_buttons = array('add_file' => 'Add files...', 'upload' => 'Start upload', 'cancel' => 'Cancel upload'); $buttons = $this->getOption('buttons') + $default_buttons; $module_partial = $this->getOption('module_partial'); if ($module_partial) { sfApplicationConfiguration::getActive()->loadHelpers('Partial'); include_partial($module_partial, array('widget' => $this, 'name' => $name, 'value' => $value, 'attributes' => $attributes, 'errors' => $errors, 'buttons' => $buttons)); } else { $context = sfContext::getInstance(); $view = new sfPartialView($context, '', '', ''); $plugin_path = sfConfig::get('sf_plugins_dir') . DIRECTORY_SEPARATOR . 'laWidgetFileUploadPlugin'; $view->setTemplate($plugin_path . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . '_upload_widget.php'); $view->setPartialVars(array('widget' => $this, 'buttons' => $buttons)); echo $view->render(); } }
function _loadJsOamTools() { $debug = sfContext::getInstance()->getRequest()->getParameter('debug', false); $async_map = sfConfig::get('app_async_map', false); $lang = sfContext::getInstance()->getUser()->getCulture(); if ($debug) { include_partial('documents/map_lib_include_debug'); } else { use_stylesheet('/static/css/carto_base.css', 'custom'); use_stylesheet('/static/css/popup.css', 'custom'); if (!$async_map) { use_javascript('/static/js/carto/build/carto.min.js', 'maps'); } } use_stylesheet('/static/css/carto.css', 'custom'); if (!$async_map || $debug) { use_javascript("/static/js/carto/build/lang-{$lang}.min.js", 'maps'); use_javascript('/static/js/popup.js', 'maps'); use_javascript('/static/js/carto/embedded.js', 'maps'); } }
<?php slot('sidebar') ?> <?php include_partial('dsRegistration/sidebar') ?> <?php end_slot() ?> <?php use_helper('Date', 'I18N') ?> <?php include_partial('global/flashes') ?> <h2><?php echo __('Registrations / Inbox', array(), 'messages') ?></h2> <div class="form-container"> <?php include_partial('dsRegistration/list', array('pager' => $pager, 'helper' => $helper)) ?> <div class="actions"> </div> </div>
<?php use_helper('Object', 'Validation'); echo form_remote_tag(array('url' => 'job_category/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()")); echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2)); echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Kategori Menu'))); echo object_input_hidden_tag($job_category, 'getId'); echo input_hidden_tag('action_type', ''); ?> <table class="form"> <tr><td class="form"> <table class="form_content" width="100%"> <tbody> <tr> <td class='first' width="15%" style="vertical-align:middle;"><label><?php echo __('Code'); ?> </label></td> <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td> <td class="first" style="vertical-align:middle;"> <?php echo object_input_tag($job_category, 'getCode', array('size' => 40, 'maxlength' => 64)); ?> <?php echo form_error('code'); ?> </td> </tr> <tr> <td style="vertical-align:middle;"><label><?php echo __('Name');
<?php // auto-generated by sfPropelCrud // date: 2008/01/06 22:48:10 echo include_partial('global/title', array('actions' => $actions, 'type' => 'detail', 'subtitle' => $subtitle, 'title' => __('ClassGroup'))); ?> <table class="detail"> <tr><td class="detail"> <table class="detail_content"> <tbody> <tr><td class='first'> <label ><?php echo __('Code'); ?> </label><br/> <p class="detail"><?php echo $class_group->getCode(); ?> </p> </td></tr> <tr> <td > <label ><?php echo __('Parent'); ?> </label> <br/> <p class="detail"><?php echo $class_group->getParent() ? link_to_remote($class_group->getParentName(), array('url' => 'class_group/show?id=' . $class_group->getParent(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'white')) : '-'; ?> </p>
</thead> <tbody> <?php foreach ($activities as $activity) { ?> <?php if (!$activity->getDeal()) { continue; } ?> <tr> <td><?php echo $activity->getDeal()->getMotivationTitle(); ?> </td> <td><?php echo $activity->getDeal()->getMotivationText(); ?> </td> <td><?php include_partial("profile/coupon_" . $activity->getDeal()->getCouponType(), array("activity" => $activity)); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div>
<?php use_helper('Object', 'myHelper'); ?> <?php foreach ($students as $student) { echo include_partial('global/printCover'); ?> <!-- Tingkat TK --> <?php if ($academic_calendar->getDepartment()->getCourseModel() == Department::CM_TK) { ?> <table width="100%" border="0" style="page-break-after: always;"> <tr> <td width="40%"> <div style="border: 4px solid black; width: 100%; height: 530px;"></div> </td> <td align="center"> <table border="0" width="100%"> <tr><td height="10px"></td></tr> <tr><td align="center"><img src='<?php echo image_path('logo_ypi.jpg', true); ?> ' border=0 ></td></tr> <tr><td height="10px"</tr> <!-- Kelompok Bermain --> <?php
</div> </div> </div> --> <?php include_partial('default/bmenu0'); ?> <div id="footer"> <div id="footerInner"> <div id="footerInner2"> <?php include_partial('default/bmenu1', array('menu' => $menu)); include_partial('default/copy'); ?> </div> <div id="counters"><?php include_partial('default/counters'); ?> </div> <div id="flogo"><?php include_partial('default/logo1'); ?> </div> </div> </div> </div> </div> </div> </div> </div>
<?php if ($sf_user->hasFlash('notice')) { ?> <div class="ui-widget"> <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;"> <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span> <?php echo $sf_user->getFlash('notice'); ?> </p> </div> </div> <?php } ?> <h1>Editar Categoria</h1> <?php include_partial('form', array('form' => $form));
<?php include_partial('publish_button', array('event' => $event));
<?php use_stylesheet('instr.css'); ?> <?php include_partial('sectionfilterform', array('programs' => $programs, 'years' => $years, 'semesters' => $semesters, 'academicYears' => $academicYears, 'centers' => $centers)); ?> <div id='dropaddcontainer' style="width:100%;"> <div id='dropaddcontainer' style="width:100%;"> <h3 align="center"> Grade Submission </h3> <div id='left' style="width:100%;border:none;" style="font-size: 11px;"> <table width="100%" class="table table-hover table-condensed "> <thead> <tr> <td> <strong> <a href="<?php echo url_for('programsection/index?sortBy=program'); ?> ">Program </a></strong> </td> <td> <strong> <a href="<?php echo url_for('programsection/index?sortBy=center'); ?> "> Center </a></strong> </td> <td> <strong> <a href="<?php echo url_for('programsection/index?sortBy=academicYear');
<h2><?php echo __('Subscribe to a service'); ?> </h2> <? foreach($oe as $e) :?> <?php echo link_to(image_tag("icons/cog_go", array("title" => "Feliratkozás", "class" => "button")), "subscribeService/subscribe?from=" . $sf_user->getPrincipal()->getId() . "&eid=" . $e->getId() . "&oid=" . $o->getId()); ?> <? include_partial("show/showEntitlementPack", array("e"=>$e,"oe"=>NULL)) ?> <br> <? endforeach ?> <form action="subscribeService/subscribe" method="POST"> <?php echo __('Secret token for subscription of the organization'); ?> <br> <input type="hidden" name="oid" value="<?php echo $o->getId(); ?> "> <input type="hidden" name="from" value="<?php echo $sf_user->getPrincipalId(); ?> "> <input name="token"> <input type="submit" value="<?php echo __('Send'); ?> " /> </form>
<li> <div class="avatar"> <?php echo link_to(image_tag(S3Voota::getImagesUrl() . '/' . $politico->getImagePath() . '/cc_s_' . $politico->getImagen(), 'width="36" height="36" alt="' . __('Foto de %1%', array('%1%' => $politico)) . '"'), 'politico/show?id=' . $politico->getVanity()); ?> </div> <h4 class="name"><?php echo link_to(cutToLength("" . $politico->getNombre() . " " . $politico->getApellidos(), 26) . ' ' . '(' . $politico->getPartido() . ')', 'politico/show?id=' . $politico->getVanity()); ?> </h4> <div class="votes"> <?php if ($showSparkline) { ?> <?php include_partial('general/sparkline_box', array('id' => $id)); ?> <?php } ?> <span class="votes-count"> <?php if (sumu($politico) > 0 && sumd($politico) > 0) { ?> <?php echo str_replace(" ", " ", format_number_choice('[0]0|[1]1 positivo|(1,+Inf]%1% positivos', array('%1%' => sumu($politico)), sumu($politico))); ?> <?php // echo str_replace (" ", " ", format_number_choice('[0]0|[1] y 1 negativo|(1,+Inf] y %1% negativos', array('%1%' => $politico->getSumd()), $politico->getSumd())) ?> <?php
'>MOTOR CONTROLS</a> <p>Mechanical problems? Buy replacement parts or have your equipment repaired. Need a heater or a medium voltage contactor? LiveWire can help get you back on-line.</p> </div> <div class='product bu bottom'> <a href='<?php echo url_for('@busway'); ?> '>BUSWAY</a> <p>Expanding existing busway? Replacing a burnt out busplug? Need a custom-made part? LiveWire supplies obsolete and current model busway plugs and busduct.</p> </div> <div class='product fu bottom'> <a href='<?php echo url_for('@fuses'); ?> '>FUSES</a> <p>Same day shipments, technical support and easy on-line ordering are available for Bussman, Littlefuse and Ferraz Shawmut. You can buy new and obsolete fuses.</p> </div> <div class='product mv last bottom'> <a href='<?php echo url_for('@medium_voltage'); ?> '>MEDIUM VOLTAGE</a> <p>LiveWire Medium Voltage Equipment has made its name known by delivering Certified Equipment on a quick turnaround. Switchgear, breakers, contactors and more.</p> </div> </div> <?php slot('sidebar'); ?> <?php include_partial('global/expertBox'); end_slot();
<h1><?php echo __('Reservation for %activity_name% in %room_name%', array('%activity_name%' => $activity->getName(), '%room_name%' => $room->getName())); ?> </h1> <p><?php echo __('Go back to %room_page%.', array('%room_page%' => link_to(__('the room planning page'), 'reservation/index?roomId=' . $room->getId()))); ?> </p> <?php include_partial('form', array('form' => $form, 'room' => $room, 'reservation' => $reservation, 'view' => true));
<div id="netmap_add_entity_hide"><a id="netmap_add_entity_hide_link" onclick="$('#netmap_add_entity').css('display', 'none'); return false;">hide</a></div> <?php include_partial('global/section', array('title' => 'Add Entity')); ?> <form id="netmap_add_entity_form"> <input id="netmap_add_entity_search" type="text" /> <input id="netmap_add_entity_button" type="submit" value="search" /> </form> <div id="netmap_add_entity_results"></div> </div> <div id="netmap_add_related_entities"> <div id="netmap_add_related_entities_hide"><a id="netmap_add_related_entities_hide_link" onclick="$('#netmap_add_related_entities').css('display', 'none'); return false;">hide</a></div> <input id="netmap_add_related_entities_entity_id" type="hidden" /> <?php include_partial('global/section', array('title' => 'Add Related')); ?> Num: <input id="netmap_add_related_entities_num" type="text" value="10" size="2" /><br /> Cats:<br /> <select multiple id="netmap_add_related_entities_cat_ids" size="10"> <option value="1">Pos</option> <option value="2">Edu</option> <option value="3">Mem</option> <option value="4">Fam</option> <option value="5">Don</option> <option value="6">Trn</option> <option value="7">Lob</option> <option value="8">Soc</option> <option value="9">Pro</option> <option value="10">Own</option> </select>
<p> <?php echo __('Username oder Passwort vergessen? Kein Problem! Einfach Benutzername oder Email-Adresse eingeben und bestätigen und wir schicken ihnen eine Email mit ihrem Benutzernamen und einem Link zum Zurücksetzen des Passworts.', array(), 'sfForkedApply'); ?> </p> <table> <tbody> <?php echo $form; ?> </tbody> <tfoot> <tr> <td id="forgot-pw-button-row" colspan="2"> <button class="blue-btn alignright" type="submit"><span><?php echo __("Passwort zurücksetzen", array(), 'sfForkedApply'); ?> </span></button> <?php echo link_to('<span>' . __("Abbrechen", array(), 'sfForkedApply') . '</span>', sfConfig::get('app_sfApplyPlugin_after', '@homepage'), array('class' => 'blue-btn alignright')); ?> </td> </tr> </tfoot> </table> </form> </div> <?php include_partial('global/spreadly_references');
<?php $url_tab = array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name); ?> <?php $partial_params = $url_tab; $partial_params['form'] = $form; ?> <div class="row" id="subjectContentEdit"> <?php include_partial('form', $partial_params); ?> </div>
use_stylesheets_for_form($workWeekForm); ?> <div id="location" class="box single"> <div class="head"> <h1 id="locationHeading"><?php echo __('Work Week'); ?> </h1> </div> <div class="inner"> <?php include_partial('global/flash_messages'); ?> <form id="frmWorkWeek" name="frmWorkWeek" method="post" action="<?php echo url_for('leave/defineWorkWeek'); ?> " > <fieldset> <ol> <?php echo $workWeekForm->render(); ?> </ol> <p>
<?php if ($registration = $ds_class_student->getRegistrations()->getFirst()) { include_partial('dsClassRegistration/show', array('ds_registration' => $ds_class_student->getRegistrations()->getFirst(), 'helper' => $helper)); } else { echo "<p>Vom Kursbetreuer angemeldet.</p>"; } ?> <h3>Adressbuch</h3> <?php include_partial('dsContact/show_registration', array('ds_person' => $ds_class_student->getPerson(), 'helper' => $helper)) ?> <h3>Mailings</h3> <?php include_partial('dsClassLetter/list_student', array('ds_class_student' => $ds_class_student, 'helper' => $helper)) ?> <br/> <div class="actions"> <?php if ($sf_user->hasCredential('enrollment.edit')): ?> <?php echo link_to('Edit Enrollment', 'ds_class_students_edit', $ds_class_student, array( 'class' => 'edit', 'title' => 'Edit dsClassStudent')) ?> <?php endif; ?> <?php echo link_to('Cancel', 'ds_class_students', array(), array( 'class' => 'cancel', 'title' => 'Back to List')) ?> <?php if ($sf_user->hasCredential('contact.edit')): ?> <?php echo link_to('Edit Contact', 'ds_contact_edit', $ds_class_student->getPerson(), array( 'class' => 'user', 'title' => 'Addressbook')) ?> <?php endif; ?> </div>
<?php slot('submenu'); include_partial('submenu'); end_slot(); ?> <?php slot('title', __('Change Language')); ?> <form action="<?php echo url_for('admin/changeLanguage'); ?> " method="post"> <?php echo $form; ?> <br /> <input type="submit" value="<?php echo __('Setting'); ?> " /> </form>
<?php use_helper('LsNumber'); ?> <?php include_partial('relationship/membershiponeliner', array('relationship' => $relationship, 'profiled_entity' => $profiled_entity, 'related_entity' => $related_entity)); ?> <?php $o = LsDoctrineQuery::create()->from('Ownership o')->where('o.relationship_id = ?', $relationship['id'])->setHydrationMode(Doctrine::HYDRATE_ARRAY)->fetchOne(); ?> <?php if ($stake = $o['percent_stake']) { ?> ⋅ <?php echo $stake . '% stake'; } elseif ($shares = $o['shares']) { ?> ⋅ <?php echo readable_number($shares) . ' shares'; ?> <?php }
echo link_to($a_blog_post->getTitle(), 'a_blog_post', $a_blog_post); ?> </h3> <ul class="a-blog-item-meta"> <li class="date"><?php echo aDate::pretty($a_blog_post['published_at']); ?> </li> <li class="author"><?php echo __('Posted By:', array(), 'apostrophe_blog'); ?> <?php echo $a_blog_post->getAuthor(); ?> </li> </ul> <?php } ?> <?php a_area('blog-body', array('edit' => $edit, 'toolbar' => 'basic', 'slug' => $a_blog_post->Page->slug, 'allowed_types' => array('aRichText', 'aSlideshow', 'aVideo', 'aPDF'), 'type_options' => array('aRichText' => array('tool' => 'Main'), 'aSlideshow' => array("width" => 480, "flexHeight" => true, 'resizeType' => 's', 'constraints' => array('minimum-width' => 480)), 'aVideo' => array('width' => 480, 'flexHeight' => true, 'resizeType' => 's'), 'aPDF' => array('width' => 480, 'flexHeight' => true, 'resizeType' => 's')))); ?> <?php a_area('blog-sidebar', array('edit' => $edit, 'toolbar' => 'basic', 'slug' => $a_blog_post->Page->slug, 'allowed_types' => array('aRichText', 'aSlideshow', 'aVideo', 'aPDF'), 'type_options' => array('aRichText' => array('tool' => 'Main'), 'aSlideshow' => array("width" => 180, "flexHeight" => true, 'resizeType' => 's', 'constraints' => array('minimum-width' => 180)), 'aVideo' => array('width' => 180, 'flexHeight' => true, 'resizeType' => 's'), 'aPDF' => array('width' => 180, 'flexHeight' => true, 'resizeType' => 's')))); ?> <?php include_partial('aBlog/addThis', array('aBlogPost' => $a_blog_post));
<tfoot> <tr> <th colspan="6"> <?php if ($pager->haveToPaginate()) { ?> <?php include_partial('report/pagination', array('pager' => $pager, 'url' => $url)); ?> <?php } ?> <?php echo format_number_choice('[0] no result|[1] 1 result|(1,+Inf] %1% results', array('%1%' => $pager->getNbResults()), $pager->getNbResults(), 'sf_admin'); ?> <?php if ($pager->haveToPaginate()) { ?> <?php echo __('(page %%page%%/%%nb_pages%%)', array('%%page%%' => $pager->getPage(), '%%nb_pages%%' => $pager->getLastPage()), 'sf_admin'); ?> <?php } ?> </th> </tr> </tfoot>