<?php include_component_slot('tagList', array('entity' => $entity, 'page' => $page));
echo format_number($propuestasPager->getFirstIndice() + $idx, 'es_ES'); ?> .</td> <td class="photo"> <?php echo link_to(image_tag(S3Voota::getImagesUrl() . '/' . $propuesta->getImagePath() . '/cc_s_' . $propuesta->getImagen(), 'alt="' . __('Foto de %1%', array('%1%' => $propuesta)) . '"'), 'propuesta/show?id=' . $propuesta->getVanity()); ?> </td> <td class="name"> <?php echo link_to($propuesta->getTitulo(), 'propuesta/show?id=' . $propuesta->getVanity(), array('class' => 'tooltip_propuesta', 'title' => secureString(__('Sobre esta propuesta') . '|' . __('Creada el %1%', array('%1%' => format_date($propuesta->getCreatedAt()))) . '|' . cutToLength($propuesta->getDescripcion(), 200, '...', true)))); ?> </td> <td class="voto"> <?php include_component_slot('quickvote', array('entity' => $propuesta)); ?> </td> <td class="positive-votes"><?php echo sumu($propuesta); ?> </td> <td class="negative-votes"><?php echo sumd($propuesta); ?> </td> <td class="date"> <?php echo format_date($propuesta->getCreatedAt()); ?> </td>
if (TagManager::isMine($etiqueta, $entity)) { ?> <a href="#" class="remove" onclick="return removeTag(<?php echo $etiqueta->getId(); ?> )">X</a> <?php } ?> </li> <?php } ?> <?php include_component_slot('tagList', array('entity' => $entity, 'myCount' => count($myTags))); ?> </ul> <?php } else { ?> <p><?php echo __('De momento sin etiquetas'); ?> </p> <?php } ?>
</form> <?php endif ?> <?php include_partial('listPage', array('reviewsPager' => $reviewsPager, 'sfReviewType' => $sfReviewType, 'text' => $text)) ?> </div> <?php */ ?> <div id="content"> <div class="reviews"> <div id="tab-all-reviews"> <?php //include_component_slot('reviews', array( 'page' => 1, 'sfReviewType' => $sfReviewType, 'filter' => $text, 'culture' => $culture )) ?> <?php include_component_slot('activities', array('page' => 1, 'sfReviewType' => $sfReviewType, 'filter' => $text, 'culture' => $culture)); ?> </div> </div> </div> <div id="sidebar"> <div id="ultimos-usuarios"> <h3><?php echo __('Últimos en llegar a Voota'); ?> </h3> <ol> <?php foreach ($lastUsers as $user) {
<h3><?php echo __('Voota sobre %1%', array('%1%' => $partido->getNombre())); ?> </h3> <div id="sf_review2"> <?php if ($sf_user->isAuthenticated() && $sfr_status && $sfr_status['b'] == 'sf_review2') { ?> <?php include_component_slot('sfrForm', array('reviewId' => false, 'reviewEntityId' => $partido->getId(), 'reviewType' => Partido::NUM_ENTITY, 'reviewBox' => 'sf_review2', 'redirect' => false, 'reviewValue' => $sfr_status['v'], 'reviewText' => '', 'reviewToFb' => false)); ?> <?php } else { ?> <?php include_component_slot('sfrPreview', array('reviewId' => false, 'reviewBox' => 'sf_review2', 'reviewType' => Partido::NUM_ENTITY, 'reviewEntityId' => $partido->getId())); ?> <?php } ?> </div> </div> <?php if ($partidosPager) { ?> <?php include_partial('general/entity_pagination', array('position' => 'bottom', 'pager' => $partidosPager, 'id' => $partido->getId())); ?> <?php }
<?php if ($obj instanceof sfGuardUser) { ?> <?php include_component_slot('usuarioResult', array('obj' => $obj, 'q' => $q)); ?> <?php } ?> <?php if ($obj instanceof Convocatoria) { ?> <?php include_component_slot('convocatoriaResult', array('obj' => $obj, 'q' => $q)); ?> <?php } ?> <?php } ?> </tbody> </table> <?php } ?> <?php
<?php use_helper('jQuery'); ?> <?php foreach ($reviews->getResults() as $review) { ?> <?php include_component_slot('profileReview', array('review' => $review)); } ?> <?php if ($reviews->haveToPaginate() && $reviews->getLastPage() > $reviews->getPage()) { ?> <div id="<?php echo "more_reviews_" . $reviews->getPage(); ?> "> <?php echo jq_form_remote_tag(array('update' => "more_reviews_" . $reviews->getPage(), 'url' => "@profile_more_comments", 'before' => "\$('#frm_more_reviews" . $reviews->getPage() . "').hide();re_loading('more_reviews_" . $reviews->getPage() . "');"), array('id' => "frm_more_reviews" . $reviews->getPage())); ?> <div><input type="hidden" name="username" value="<?php echo $user->getProfile()->getVanity(); ?> " /></div> <div><input type="hidden" name="page" value="<?php echo isset($page) ? $page : '1'; ?> " /></div>
echo $sf_content; ?> <?php if ($module != 'landing') { ?> </section> </section> <?php } ?> <?php if (has_component_slot('site_bottom')) { ?> <?php include_component_slot('site_bottom'); ?> <?php } else { ?> <?php include_partial('global/bottom'); ?> <?php } ?> <section class="learn-moreTab">
<?php use_helper('I18N'); /** @var Array of menu items */ $items = $sf_data->getRaw('items'); /** @var Array of categories, each containing an array of menu items and settings */ $categories = $sf_data->getRaw('categories'); ?> <div id="sf_admin_dashboard_slot"> <?php include_component_slot('sf_admin_dashboard_slot'); ?> </div> <div id="sf_admin_container"> <h1><?php echo __('Dashboard', null, 'sf_admin_dash'); ?> </h1> <?php if (count($items)) { ?> <?php include_partial('dash_list', array('items' => $items)); ?> <?php } ?> <?php if (count($categories)) {
echo $entity->getType(); ?> " /> <p> <input type="text" id="nueva-etiqueta" name="texto" value="" title="<?php echo __('Tú dirás...'); ?> " /> <input type="submit" id="nueva-etiqueta-submit" value="+" /> </p> </form> <?php } else { ?> <p><a href="<?php echo url_for('sfGuardAuth/signin'); ?> "><?php echo __('(Pero primero haz login, ¿eh?)'); ?> </a></p> <?php } ?> <div id="taglist"> <?php include_component_slot('tags', array('entity' => $entity)); ?> </div>
<?php echo link_to(__($opts['tab_name']), '@' . $so); ?> </li> <?php } ?> </ul> </div> </div> <div id="bd"> <div id="bd-top"> <?php if ($sf_params->get('searchForm')) { include_component_slot('searchForm'); } ?> </div> <div id="bd-content"> <?php echo $sf_content; ?> </div> </div> </body> </html>
<a href="#" onclick="$('#<?php echo "sf_review_sr_c{$listValue}_" . $review->getId(); ?> ').slideUp();$('#<?php echo "ver_sr_c{$listValue}_" . $review->getId(); ?> ').show();$('#<?php echo "ocultar_sr_c{$listValue}_" . $review->getId(); ?> ').hide();return false;"><?php echo __('ocultar'); ?> </a> </span>) <?php } ?> </p> <div <?php if (sfContext::getInstance()->getUser()->getAttribute('sfr_lastvoted_review_id', '') != $review->getId()) { ?> style="display: none" <?php } ?> class="subreviews-wrapper" id="<?php echo "sf_review_sr_c{$listValue}_" . $review->getId(); ?> " ><?php include_component_slot('subreviews', array('id' => $review->getId(), 'listValue' => $listValue)); ?> </div>
</form> <?php } ?> <?php if ($reviewsPager->getPage() == 1) { ?> <ol class="sf-reviews-list-brief"><?php } ?> <?php foreach ($reviewsPager->getResults() as $review) { ?> <?php include_component_slot('review_for_list', array('review' => $review)); ?> <?php } if ($reviewsPager->getPage() == 1) { ?> </ol><?php } ?> <?php if ($reviewsPager->getPage() == 1) { ?> <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('.reviews ol:first').reviews_pagination({
" /> <?php include_less_stylesheets(); ?> <?php include_javascripts(); ?> </head> <body> <div class="wrapper"> <?php include_component_slot('menu'); ?> <div class="container"> <?php include_component_slot('messages_flash'); ?> <?php echo $sf_content; ?> </div> <div class="push"><!--//--></div> </div> <?php include_component_slot('footer'); ?> </body> </html>
echo image_tag(S3Voota::getImagesUrl() . '/' . $politico->getImagePath() . '/cc_s_' . $politico->getImagen(), 'alt="' . __('Foto de %1%', array('%1%' => $politico)) . '"'); ?> </td> <td class="name"><a href="<?php echo url_for('politico/show?id=' . $politico->getVanity()); ?> "><?php echo $politico; ?> </a></td> <?php if (!$convocatoria->getClosedAt()) { ?> <td class="voto"> <?php include_component_slot('quickvote', array('entity' => $politico)); ?> </td><?php } ?> <td class="positive-votes"> <?php if ($convocatoria->getClosedAt()) { echo $politico->getLCSumu($curGeo); } else { echo $politico->getSumu(); } ?> </td> <td class="negative-votes"><?php if ($convocatoria->getClosedAt()) {
<body> <div id="container"> <?php include_partial('home/header'); ?> <div id="content" class="container_24"> <?php if (has_component_slot('left_menu')) { ?> <?php include_component_slot('left_menu'); ?> <?php } ?> <div class="grid_18" id="main-content"> <?php echo $sf_content; ?> </div> <div class="clear"></div> </div> <footer> <div class="container_24"> <?php include_partial('home/footer');
include_stylesheets(); ?> </head> <body> <div class="less-error-message"></div> <?php include_partial('global/navigation'); ?> <?php if ($this->hasComponentSlot('content_top')) { ?> <div id="content_top" class="clearfix"> <?php include_component_slot('content_top'); ?> </div> <?php } ?> <div id="content" class="clearfix"> <?php echo $sf_content; ?> </div> <script type="text/javascript"> // Custom Checkbox Function jQuery(document).ready( function() { BackendDeal.init();
<?php include_component_slot('activities', array('page' => $page, 'sfReviewType' => $sfReviewType, 'filter' => $filter, 'culture' => $sf_user->getCulture()));
<div class="propuestas"> <?php if (count($propuestas) > 0) { ?> <h2><?php echo __('Las propuestas de %nombre% (%1%)', array('%nombre%' => fullName($user), '%1%' => count($propuestas))); ?> </h2> <ol> <?php foreach ($propuestas as $propuesta) { ?> <?php include_partial('propuesta', array('propuesta' => $propuesta)); ?> <?php } ?> </ol> <?php } ?> </div> <div class="comments reviews"> <?php include_component_slot('review_list_by_user', array('page' => 1, 'sfReviewType' => $sfReviewType, 'filter' => $text, 'user' => $user, 'userId' => $user->getId())); ?> </div> </div>
<td class="partido"><?php echo __('Lista'); ?> </td> <td colspan="2"><?php echo __('Escaños según los votos positivos en Voota'); ?> </td> </tr> </thead> <tbody> <?php foreach ($partidos as $partido) { ?> <?php include_component_slot('partido_lista', array('partido' => $partido, 'convocatoria' => $convocatoria, 'geoName' => count($circus) == 1 ? $circus[0]->getGeo()->getNombre() : $geoName, 'minSumu' => $minSumu, 'minSumd' => $minSumd, 'lastDate' => $lastDate, 'apellidos' => $apellidos)); ?> <?php } ?> </tbody> <tfoot> <tr> <td class="partido"><?php echo __('Total'); ?> </td> <td class="escanos"><?php echo $totalEscanyos; ?> </td>
</div> <!--Content end here --> <?php include_partial('global/footer'); ?> <script type="text/javascript"> // Custom Checkbox Function jQuery(document).ready( function() { //jQuery(".tooltip").tooltip(); <?php if (has_component_slot('no_domain_user')) { ?> <?php include_component_slot('no_domain_user'); ?> <?php } ?> <?php include_partial('global/js_init_general.js'); ?> <?php if (has_slot('js_document_ready')) { ?> <?php include_slot('js_document_ready'); ?> <?php }
?> ', 280); subscribeHint('#<?php echo "sf-review-text_{$reviewBox}"; ?> ', 'blur'); $('#<?php echo "sf-review-form-{$reviewBox}"; ?> ').submit(function() { removeHint('#<?php echo "sf-review-text_{$reviewBox}"; ?> ', 'blur'); <?php include_component_slot('sendStmt', array('reviewBox' => $reviewBox, 'reviewType' => $reviewType, 'reviewEntityId' => $reviewEntityId, 'reviewId' => $reviewId)); ?> return false; }); }); //--> </script> <form action="#" id="<?php echo "sf-review-form-{$reviewBox}"; ?> "> <input type="hidden" id="t" name="t" value="<?php echo $reviewType; ?> " />
</h3> <ol class="sf-reviews-list-brief"> <?php //foreach($topReviews as $review): ?> <?php //include_component_slot('review_for_list', array('review' => $review)) ?> <?php //endforeach ?> <?php foreach ($activities as $activity) { ?> <?php include_component_slot('activity_for_list', array('activity' => $activity)); ?> <?php } ?> </ol> <p class="ranking-link"><strong><a href="<?php echo url_for('sfReviewFront/list'); ?> "><?php echo __('¡Tachán! Todos los vootos sobre partidos, políticos y propuestas'); ?> </a> (<?php echo format_number($totalUpReviews + $totalDownReviews, 'es_ES'); ?> )</strong></p>
echo format_number($partidosPager->getFirstIndice() + $idx, 'es_ES'); ?> .</td> <td class="photo"> <?php echo link_to(image_tag(S3Voota::getImagesUrl() . '/partidos/cc_s_' . ($partido->getImagen() != '' ? $partido->getImagen() : 'p_unknown.png'), 'alt="' . __('Foto de %1%', array('%1%' => $partido)) . '"'), 'partido/show?id=' . $partido->getAbreviatura()); ?> </td> <td class="name"> <?php echo link_to($partido->getNombre() . ' (' . $partido->getAbreviatura() . ')', 'partido/show?id=' . $partido->getAbreviatura()); ?> </td> <td class="voto"> <?php include_component_slot('quickvote', array('entity' => $partido)); ?> </td> <td class="positive-votes"><?php echo sumu($partido); ?> </td> <td class="negative-votes"><?php echo sumd($partido); ?> </td> </tr> <?php } ?> </tbody>
<?php echo link_to_function(__('cancel'), visual_effect('blind_up', 'login', array('duration' => 0.5))); ?> </form> </div> <div id="content"> <div id="content_main"> <?php echo $content; ?> <div class="verticalalign"></div> </div> <div id="content_bar"> <div class="topbar"></div> <?php include_component_slot('sidebar'); ?> <div class="verticalalign"></div> </div> </div> <div id="footer"> <?php echo __('powered by %1%', array('%1%' => link_to(image_tag('symfony.gif', 'align=absmiddle'), 'http://www.symfony-project.com/'))); ?> </div> </body> </html>
?> </td> <td><?php echo $execution->getStatus(); ?> </td> <td> <pre><?php echo $execution->getExecutionData(); ?> </pre> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <?php include_partial('rulerz/show_footer', array('rulerz' => $rulerz, 'helper' => $helper)); if (has_component_slot('show_footer')) { include_component_slot('show_footer'); }
</li> <?php if ($sf_context->getModuleName() != 'sfTwitterBootstrap' && $sf_context->getActionName() != 'dashboard') { ?> <li><span class="divider">/</span> <?php echo null !== $module_link ? link_to(__($module_link_name), $module_link) : ucfirst(__($module_link_name)); ?> <?php if (null != $action_link) { ?> <span class="divider">/</span> <?php echo link_to(ucfirst(__($action_link_name)), $action_link); ?> <?php } ?> </li> <?php } ?> </ul> <?php } // if breadcrumbs are enabled ?> <?php include_component_slot('sf_twitter_bootstrap_permanent_slot');
<?php include_component_slot(isset($slot) && $slot ? $slot : 'review_list', array('entityId' => $entityId, 'value' => $value, 'page' => $page, 'sfReviewType' => $sfReviewType, 'entity' => isset($entity) ? $entity : null, 'filter' => $filter, 'userId' => $userId));