Exemple #1
0
    ?>
        <label for="profile_tw_publish_votos_otros"><?php 
    echo __('Cada vez que opinas sobre un voto hecho por otro usuario');
    ?>
</label>
      </p>
      <?php 
    if (isset($lastReviewOnReview) && $lastReviewOnReview) {
        ?>
        <p>
          <?php 
        echo __('Tu última opinión sobre un voto:');
        ?>
          <br />
          <q><?php 
        echo review_text($lastReviewOnReview);
        ?>
</q>
        </p>
      <?php 
    }
    ?>
    </li>
    <li>
      <p>
        <?php 
    echo $profileEditForm['tw_publish_cambios_perfil']->render();
    ?>
        <label for="profile_tw_publish_cambios_perfil"><?php 
    echo __('Cada vez que haces cambios en tu perfil (tu foto o sobre ti)');
    ?>
Exemple #2
0
echo "sf_review_c_m" . $review->getId();
?>
">

  <?php 
include_partial('sfReviewFront/user_header', array('review' => $review));
?>

	<p class="review-date">
	  <?php 
echo link_to(ago(strtotime($review->getModifiedAt() ? $review->getModifiedAt() : $review->getCreatedAt())), 'sfReviewFront/show?id=' . SfVoUtil::reviewPermalink($review));
?>
	</p>
  <p class="review-body">
    <?php 
echo review_text($review);
?>
  </p>
  
	<?php 
if ($reviewable) {
    ?>
    <?php 
    include_partial('sfReviewFront/add_subreview', array('sf_user' => $sf_user, 'review' => $review, 'uc' => $uc, 'dc' => $dc, 'listValue' => $listValue));
    ?>
    <?php 
    include_partial('sfReviewFront/subreviews_summary', array('sf_user' => $sf_user, 'review' => $review, 'uc' => $uc, 'dc' => $dc, 'listValue' => $listValue));
    ?>
	<?php 
}
?>
Exemple #3
0
    ?>
      <?php 
    echo link_to($entity->getLongName(), $entity->getModule() . '/show?id=' . $entity->getVanity());
    ?>
, <span class="date"><?php 
    echo link_to(ago(strtotime($review->getModifiedAt() ? $review->getModifiedAt() : $review->getCreatedAt())), 'sfReviewFront/show?id=' . SfVoUtil::reviewPermalink($review));
    ?>
</span>
		<?php 
}
?>
	</div>
              
	<div class="body">
  	<?php 
echo review_text($review, array(), false);
?>
  </div>
    
	<div class="actions">
		<?php 
if ($sf_user->isAuthenticated() && $sf_user->getGuardUser()->getId() == $review->getSfGuardUser()->getId()) {
    ?>
      <?php 
    echo link_to(__('Hacer cambios'), "@usuario_votos?o=e&t=" . $review->getSfReviewTypeId() . "&e=" . ($review->getSfReviewType() ? $review->getEntityId() : $review->getSfReviewRelatedBySfReviewId()->getId()) . "&r=" . $review->getId());
    ?>
    <?php 
} else {
    ?>
      <?php 
    echo link_to(__('Ir a su comentario'), 'sfReviewFront/show?id=' . SfVoUtil::reviewPermalink($review));
Exemple #4
0
}
?>
  	<?php 
if ($activity->getMode() == 2) {
    ?>
	  		<?php 
    echo __('A %1% le han puesto la etiqueta "%2%".', array('%1%' => "<a title='" . sfVoUtil::secureString($activity->getEntity(), "&#39;") . "' href= \"" . url_for($activity->getEntity()->getModule() . '/show?id=' . $activity->getEntity()->getVanity()) . "\">" . trim(sfVoUtil::cutToLength(sfVoUtil::secureString($activity->getEntity(), "&#39;"), 32, '...')) . "</a>" . ($activity->getEntity()->getType() == Politico::NUM_ENTITY && $activity->getEntity()->getPartido() ? " (" . $activity->getEntity()->getPartido() . ")" : ''), '%2%' => review_text($activity)));
    ?>
	<?php 
}
?>
  </div>
  
  <?php 
if ($activity->getMode() == 1) {
    ?>
	  <?php 
    if ($activity->getText() && $activity->getCulture() == $sf_user->getCulture()) {
        ?>
	  	<p class="review-body">
	    	<?php 
        echo review_text($activity);
        ?>
	  	</p>
	  <?php 
    }
    ?>
  <?php 
}
?>
</li>
Exemple #5
0
?>
 				</ul>
			</div> <!-- end div.entry -->
		</div> <!-- end div.page mod.1 -->
	<?php 
if (have_reviews()) {
    ?>
		<div class="mod page">
			<div class="entry">
					<h3>Reviews</h3>
					<?php 
    while (have_reviews()) {
        the_review();
        ?>
						<blockquote><p><?php 
        review_text();
        ?>
</p></blockquote>
						<p class="review_author"><em>&mdash;<a href="<?php 
        review_link();
        ?>
"><?php 
        review_author();
        ?>
</a></em></p>
					<?php 
    }
    ?>
			</div> <!-- end div.entry -->
		</div> <!-- end div.page mod.2 -->
	<?php