コード例 #1
0
  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => false, 'nb_topics' => $forum->getNbTopics(), 'topic_rule' => '', 'display_post_link' => $forum->getNbPosts(), 'nb_posts' => $forum->getNbPosts(), 'post_rule' => '@forum_name_last?forum_name=' . $forum->getSlug(), 'feed_rule' => '@forum_name_last_feed?forum_name=' . $forum->getSlug(), 'feed_title' => $feed_title));
?>

  <?php 
if ($forum->getNbTopics()) {
    ?>

    <?php 
    include_partial('sfSimpleForum/topic_list', array('topics' => $topics, 'include_forum' => false));
    ?>

    <div id="pager">
      <?php 
    echo pager_navigation($topic_pager, 'sfSimpleForum/forum?forum_name=' . $forum->getSlug());
    ?>
    </div>
  <?php 
} else {
    ?>
    <br/>
    <p><?php 
    echo __('There is no topic in this discussion yet. Perhaps you would like to %start%?', array('%start%' => link_to(__('start a new one', null, 'sfSimpleForum'), '@forum_new_topic?forum_name=' . $forum->getSlug())), 'sfSimpleForum');
    ?>
</p>
  <?php 
}
?>

</div>
コード例 #2
0
        ?>
</h3>
        <p><?php 
        echo truncate_text($projectAnnouncement->getDetails(), 200);
        ?>
 <?php 
        echo link_to('more', 'project/showAnnouncement?id=' . $projectAnnouncement->getId());
        ?>
</p>
        <span class="date">Posted on <?php 
        echo $projectAnnouncement->getCreatedAt();
        ?>
</span>
    </div>
<?php 
    }
    ?>
</div>
<?php 
} else {
    ?>
<p>There is no announcements for this project at the moment.</p>
<?php 
}
?>

<div id="pager">
    <?php 
echo pager_navigation($projectAnnouncementPager, 'project/listAnnouncements?id=' . $project->getTag());
?>
</div>
コード例 #3
0
<div id="middle-side" class="forum">

  <div class="breadcrumb">
    <?php 
include_slot('forum_navigation');
?>
  </div>

  <h1><?php 
echo $title;
?>
</h1>

  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => $nb_topics, 'nb_topics' => $nb_topics, 'topic_rule' => 'sfSimpleForum/latestTopics', 'display_post_link' => false, 'nb_posts' => $post_pager->getNbResults(), 'post_rule' => '', 'feed_rule' => 'sfSimpleForum/latestPostsFeed', 'feed_title' => $feed_title));
?>

  <?php 
include_partial('sfSimpleForum/post_list', array('posts' => $post_pager->getResults(), 'rankArray' => $rankArray, 'include_topic' => true));
?>

  <br/>

  <div id="pager">
    <?php 
echo pager_navigation($post_pager, 'sfSimpleForum/latestPosts');
?>
  </div>

</div>
コード例 #4
0
    include_partial('edit_list_td_tabular', array('formulario' => $formulario, 'lista_campos_extra' => $lista_campos_extra, 'items_formulario' => $items_formulario));
    include_partial('edit_list_td_actions', array('formulario' => $formulario, "id_formulario" => $id_formulario, "id_tabla" => $id_tabla));
    ?>
</tr>
<?php 
}
?>
</tbody>
<tfoot>
<tr><th colspan="<?php 
echo sizeof($lista_campos_extra) + 2;
?>
">
<div class="float-right">
  <?php 
$value = pager_navigation($pager, 'formularios/edit/?id_formulario=' . $id_formulario);
echo $value ? $value : '&nbsp;';
?>
</div>
<?php 
$cuantos = $pager->getNbResults();
echo format_number_choice('[0] no hay resultados|[1] 1 resultado|(1,+Inf] %1% resultados', array('%1%' => $cuantos), $cuantos);
?>
</th></tr>
</tfoot>
</table>

<ul class="sf_admin_actions">
<div style="clear:left"> </div>
<br />
   <li><?php 
?>

<div id="middle-side" class="forum">

  <div class="breadcrumb">
    <?php 
include_slot('forum_navigation');
?>
  </div>
  
  <h1><?php 
echo $title;
?>
</h1>
  
  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => true, 'nb_topics' => Doctrine::getTable('sfSimpleForumTopic')->findByForumId($forum->get('id'))->count(), 'topic_rule' => 'sfSimpleForum/forum?forum_name=' . $name, 'display_post_link' => false, 'nb_posts' => $post_pager->getNbResults(), 'post_rule' => '', 'feed_rule' => 'sfSimpleForum/forumLatestPostsFeed?forum_name=' . $name, 'feed_title' => $feed_title));
?>
  
  <?php 
include_partial('sfSimpleForum/post_list', array('posts' => $post_pager->getResults(), 'rankArray' => $rankArray, 'include_topic' => true));
?>
  
  <div id="pager">
    <?php 
echo pager_navigation($post_pager, 'sfSimpleForum/forumLatestPosts?forum_name=' . $name);
?>
  </div>

</div>
コード例 #6
0
ファイル: _issues_list.php プロジェクト: kmatu/phpcollab3
        echo format_date($issue->getStartingDate());
        ?>
</td>
        <td><?php 
        echo format_date($issue->getEndingDate());
        ?>
</td>
        <td><?php 
        echo link_to(__('Edit'), '@edit_issue?project_id=' . $issue->project_id . '&issue_id=' . $issue->getId());
        ?>
 | <?php 
        echo link_to(__('Delete'), '@delete_issue?project_id=' . $issue->project_id . '&issue_id=' . $issue->getId(), array('confirm' => __('Do you really want to delete this issue?')));
        ?>
</td>
      </tr>
    <?php 
    }
    ?>
  <?php 
}
?>

  <tr>
    <td></td>
    <td colspan="5"><?php 
echo pager_navigation($pager, $url);
?>
</td>
    <td></td>
  </tr>
</table>
コード例 #7
0
</strong> notizie. 
	        Sono visualizzate cronologicamente dalla <?php 
echo $pager->getFirstIndice();
?>
 alla 
	        <?php 
echo $pager->getLastIndice();
?>
.</p>

	        <?php 
echo include_partial('news/newslist', array('pager' => $pager, 'context' => CONTEXT_TAG));
?>

	        <?php 
echo pager_navigation($pager, 'news/tag?id=' . $tag_id, true, 7);
?>
		
	</div>
	<div class="threecol last">
		
		<div class="section-box">
	        <h6>Collegamenti</h6>
	        <div class="float-container">
	          <ul>
	           <li>La pagina dell'argomento <?php 
echo link_to($tag, '@argomento?triple_value=' . $tag);
?>
</li>
	            <?php 
if ($sf_user->isAuthenticated()) {
コード例 #8
0
foreach ($answer_pager->getResults() as $answer) {
    ?>
    <div class="answer">
      <h2><?php 
    echo link_to_question($answer->getQuestion());
    ?>
</h2>
      <?php 
    echo $answer->getHtmlBody();
    ?>
      <div class="subtitle" style="margin-top: -8px">
      <?php 
    echo __('answered by %1% on %2%', array('%1%' => link_to_profile($answer->getUser()), '%2%' => format_date($answer->getCreatedAt(), 'f')));
    ?>
      </div>
      <div class="options">
        <?php 
    include_partial('moderator/answer_options', array('answer' => $answer));
    ?>
      </div>
    </div>
  <?php 
}
?>
</div>

<div id="question_pager" class="right">
  <?php 
echo pager_navigation($answer_pager, 'moderator/reportedAnswers');
?>
</div>
コード例 #9
0
</a></td>
          <td><a href="<?php 
    echo url_for('@relatorio_show_encaminhamento?id=' . $atendimento->getEncaminhamentoId());
    ?>
"><?php 
    echo $atendimento->getDescricao();
    ?>
</a></td>
        </tr>
        <?php 
}
?>
      </tbody>
    </table>
    <?php 
echo pager_navigation($pager, '@relatorio_encaminhamento_interval?start=' . strtotime($datesQueryFormated['start']) . '&end=' . strtotime($datesQueryFormated['end']));
?>
  </div>
  <div style="clear:both"></div>
  <div id="graphData">
    <div id="visualize-data-container">
    <table id="visualize-data">
     <caption>Encaminhamentos por dia</caption>
     <thead>
       <tr>
         <td></td> 
         <?php 
foreach ($dias as $dia) {
    ?>
           <th scope="col"><?php 
    echo $dia;
コード例 #10
0
</span><span class="red thumb-down"><?php 
    echo $atto->getUtContr();
    ?>
</span>
            <p><?php 
    echo link_to($atto->getNbCommenti() . ' <strong>commenti</strong>', '#');
    ?>
</p>
          </div>
        </td>	
      </tr>
    <?php 
}
?>
    <tr>
      <td align="center" colspan='4'>
        <?php 
echo pager_navigation($pager, '@parlamentare_atti?id=' . $parlamentare_id . '&slug=' . $parlamentare_slug);
?>
      </td>
    </tr>

    <tr>
      <td align="center" colspan='4'>
        <?php 
echo format_number_choice('[0] nessun risultato|[1] 1 risultato|(1,+Inf] %1% risultati', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
      </td>
    </tr>
  </tbody>
</table>
コード例 #11
0
ファイル: forumSuccess.php プロジェクト: sgrove/cothinker
?>
</li>
  </ul>
  
  <?php 
include_partial('forums/figures', array('display_topic_link' => false, 'nb_topics' => $forum->getNbTopics(), 'topic_rule' => '', 'display_post_link' => true, 'nb_posts' => $forum->getNbPosts(), 'post_rule' => '@list_forum_latest_posts?forum_name=' . $forum->getStrippedName() . '&project=' . $project->getSlug(), 'feed_rule' => '@list_forum_latest_posts_feed?forum_name=' . $forum->getStrippedName() . '&project=' . $project->getSlug(), 'feed_title' => $feed_title));
?>
  
  <?php 
if ($forum->getNbTopics()) {
    ?>
    
    <?php 
    include_partial('forums/topic_list', array('topics' => $topics, 'include_forum' => false, 'project' => $project, 'forum' => $forum));
    ?>
    
    <?php 
    echo pager_navigation($topic_pager, 'forums/forum?forum_name=' . $forum->getStrippedName() . '&project=' . $project);
    ?>
  <?php 
} else {
    ?>
    <p><?php 
    echo __('There is no topic in this discussion yet. Perhaps you would like to %start%?', array('%start%' => link_to(__('start a new one'), 'forums/createTopic?forum_name=' . $forum->getStrippedName() . '&project=' . $project->getSlug())));
    ?>
</p>
  <?php 
}
?>

</div>
コード例 #12
0
    slot('forum_navigation');
    ?>
  <?php 
    echo forum_breadcrumb(array(array(sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums'), 'forums/forumList'), $title));
    ?>
  
<?php 
    end_slot();
}
?>

<div class="sfSimpleForum">
  
  <h1><?php 
echo $title;
?>
</h1>
  
  <?php 
include_partial('forums/figures', array('display_topic_link' => true, 'nb_topics' => sfSimpleForumTopicPeer::countForUser($user->getUserId()), 'topic_rule' => 'forums/userLatestTopics?username='******'&project=' . $project->getSlug(), 'display_post_link' => false, 'nb_posts' => $post_pager->getNbResults(), 'post_rule' => '', 'feed_rule' => 'forums/userLatestPostsFeed?username='******'feed_title' => $feed_title));
?>
  
  <?php 
include_partial('forums/post_list', array('posts' => $post_pager->getResults(), 'include_topic' => true, 'project' => $project));
?>
  
  <?php 
echo pager_navigation($post_pager, 'forums/userLatestPosts?username='******'&project=' . $project->getSlug());
?>

</div>
コード例 #13
0
ファイル: showSuccess.php プロジェクト: emacsattic/symfony
<h1><?php 
echo __('popular questions for tag "%1%"', array('%1%' => $sf_request->getParameter('tag')));
?>
</h1>

<?php 
echo include_partial('question/question_list', array('question_pager' => $question_pager));
echo pager_navigation($question_pager, '@tag?tag=' . $sf_request->getParameter('tag'));
コード例 #14
0
ファイル: _list.php プロジェクト: Esleelkartea/legedia-ESLE
foreach ($pager->getResults() as $usuario) {
    $odd = fmod(++$i, 2);
    ?>
<tr class="sf_admin_row_<?php 
    echo $odd;
    ?>
">
<?php 
    include_partial('list_td_tabular', array('usuario' => $usuario));
    include_partial('list_td_actions', array('usuario' => $usuario));
    ?>
</tr>
<?php 
}
?>
</tbody>
<tfoot>
<tr><th colspan="8">
<div class="float-right">
<?php 
$value = pager_navigation($pager, 'usuarios/list');
echo $value ? $value : '';
?>
</div>
<?php 
echo format_number_choice('[0] no hay resultados|[1] 1 resultado|(1,+Inf] %1% resultados', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
</th></tr>
</tfoot>
</table>
コード例 #15
0
?>
</h1>

  <?php 
if (sfConfig::get('app_sfSimpleForumPlugin_allow_new_topic_outside_forum', true)) {
    ?>
  <ul class="forum_actions">
    <li><?php 
    echo link_to(__('New topic', null, 'sfSimpleForum'), 'sfSimpleForum/createTopic');
    ?>
</li>
  </ul>    
  <?php 
}
?>
  
  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => false, 'nb_topics' => $topics_pager->getNbResults(), 'topic_rule' => '', 'display_post_link' => true, 'nb_posts' => Doctrine::getTable('sfSimpleForumPost')->findByUserId($user->getId())->count(), 'post_rule' => 'sfSimpleForum/userLatestPosts?username='******'feed_rule' => 'sfSimpleForum/userLatestTopicsFeed?username='******'feed_title' => $feed_title));
?>
    
  <?php 
include_partial('sfSimpleForum/topic_list', array('topics' => $topics_pager->getResults(), 'include_forum' => true));
?>

  <div id="pager">
    <?php 
echo pager_navigation($topics_pager, 'sfSimpleForum/userLatestTopics?username=' . $username);
?>
  </div>

</div>
コード例 #16
0
        <td class="numeric-value"><p><?php 
    printf("%d", $record->getMissioni());
    ?>
</p></td>
        <td class="numeric-value"><p><?php 
    printf("%d", $record->getRibellioni());
    ?>
</p></td>
      </tr>
    <?php 
}
?>

    <tr>
      <td align="center" colspan='5'>
        <?php 
echo pager_navigation($pager, 'datiStorici/indicePresenze');
?>
      </td>
    </tr>

    <tr>
      <td align="center" colspan='5'>
        <?php 
echo format_number_choice('[0] nessun risultato|[1] 1 risultato|(1,+Inf] %1% risultati', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
      </td>
    </tr>
  </tbody>
</table>
コード例 #17
0
<?php

use_helper('Pagination', 'Field', 'Viewer');
$id = $sf_params->get('id');
$lang = $sf_params->get('lang');
$module = $sf_context->getModuleName();
echo display_title(__($module . ' list'), $module, false);
echo '<div id="nav_space">&nbsp;</div>';
include_partial("{$module}/nav4list");
echo display_content_top('list_content');
echo start_content_tag($module . '_content');
if (!isset($items) || count($items) == 0) {
    echo __('there is no %1% to show', array('%1%' => __('outings')));
} else {
    $pager_navigation = pager_navigation($pager);
    echo $pager_navigation;
    ?>
<ul class="clear">
    <?php 
    foreach ($items as $item) {
        ?>
    <li><?php 
        include_partial($module . '/list_full', array('item' => $item));
        ?>
    </li>
    <?php 
    }
    ?>
</ul>
<?php 
    echo $pager_navigation;
コード例 #18
0
ファイル: recentSuccess.php プロジェクト: arrisray/askeet
    ?>
</h2>
    <?php 
    echo count($answer->getRelevancys());
    ?>
 points
    posted by <?php 
    echo link_to($answer->getUser(), 'user/show?id=' . $answer->getUser()->getId());
    ?>
 
    on <?php 
    echo format_date($answer->getCreatedAt(), 'p');
    ?>
    <div>
      <?php 
    echo $answer->getBody();
    ?>
    </div>
  </div>
<?php 
}
?>
</div>        
 
<div id="question_pager">
  <?php 
echo pager_navigation($answer_pager, 'answer/recent');
?>
</div>

コード例 #19
0
<div id="middle-side" class="forum">

  <div class="breadcrumb">
    <?php 
include_slot('forum_navigation');
?>
  </div>
  
  <h1><?php 
echo $title;
?>
</h1>
  
  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => false, 'nb_topics' => $topics_pager->getNbResults(), 'topic_rule' => '', 'display_post_link' => true, 'nb_posts' => Doctrine::getTable('sfSimpleForumPost')->findAll()->count(), 'post_rule' => 'sfSimpleForum/latestPosts', 'feed_rule' => 'sfSimpleForum/latestTopicsFeed', 'feed_title' => $feed_title));
?>
    
  <?php 
include_partial('sfSimpleForum/topic_list', array('topics' => $topics_pager->getResults(), 'include_forum' => true));
?>
  
  <br/>
  
  <div id="pager">
    <?php 
echo pager_navigation($topics_pager, 'sfSimpleForum/latestTopics');
?>
  </div>

</div>
コード例 #20
0
echo $pager->getNbResults();
?>
</strong> notizie. Sono visualizzate cronologicamente dalla <?php 
echo $pager->getFirstIndice();
?>
 alla  <?php 
echo $pager->getLastIndice();
?>
.</p>

	      <?php 
echo include_partial('news/newslist', array('pager' => $pager, 'context' => CONTEXT_LIST));
?>

	       <?php 
echo pager_navigation($pager, 'news/decretiLegislativiList');
?>
		
	</div>
	<div class="threecol last">
		
		<div class="section-box">
	        <h6>Collegamenti</h6>
	        <div class="float-container">
	          <ul>
	            <li><?php 
echo link_to('Lista dei decreti legislativi', '@attiDecretiLegislativi');
?>
</li>
	          </ul>
	        </div>
コード例 #21
0
    echo fmod($num_item, 2) != 0 ? 'odd' : 'even';
    ?>
">                      

	          <?php 
    include_search_result($result, $query, array('num_item' => $num_item));
    ?>

	          </tr>
	        <?php 
}
?>
	      </table>

	            <?php 
echo pager_navigation($pager, "@votazioniSearch?query={$query}");
?>


	          </div>
	        </div>
	      </div>
		
	</div>
	<div class="threecol last">
		
		<?php 
echo include_partial('sfSolr/votazioni_controls', array('query' => $query, 'title' => $title));
?>
		
	</div>
コード例 #22
0
end_slot();
?>

<div id="middle-side" class="forum">

  <div class="breadcrumb">
    <?php 
include_slot('forum_navigation');
?>
  </div>

  <h1><?php 
echo $title;
?>
</h1>

  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => true, 'nb_topics' => Doctrine_Core::getTable('sfSimpleForumTopic')->findByUserId($user->getId())->count(), 'topic_rule' => 'sfSimpleForum/userLatestTopics?username='******'display_post_link' => false, 'nb_posts' => $post_pager->getNbResults(), 'post_rule' => '', 'feed_rule' => 'sfSimpleForum/userLatestPostsFeed?username='******'feed_title' => $feed_title));
?>

  <?php 
include_partial('sfSimpleForum/post_list', array('posts' => $post_pager->getResults(), 'include_topic' => true, 'rankArray' => $rankArray));
?>

  <div id="pager">
    <?php 
echo pager_navigation($post_pager, 'sfSimpleForum/userLatestPosts?username=' . $username);
?>
  </div>

</div>
コード例 #23
0
        
	    </h5>
	    
      <?php 
echo link_to(image_tag('ico-rss.png', array('alt' => 'RSS')), '@feed_user_news?token=' . $sf_user->getToken(), array('style' => 'float:right', 'target' => '_blank'));
?>
      
      


      <?php 
echo include_partial('news/newslist', array('pager' => $pager, 'context' => CONTEXT_LIST));
?>

      <?php 
echo pager_navigation($pager, 'monitoring/news');
?>
      <div style="margin: 1em 0; text-align: center">
        <?php 
echo link_to('Scarica questo elenco in formato RSS', '@feed_user_news?token=' . $sf_user->getToken(), array('target' => '_blank'));
?>
        
      </div>
		
	</div>
</div>

<?php 
slot('breadcrumbs');
?>
  <?php 
コード例 #24
0
    ?>
>
          <td><?php 
    echo $atendimento->getDateTimeObject('created_at')->format('d/m/Y H:i:s');
    ?>
</td>
          <td><a href="<?php 
    echo url_for('@atendimento_titular_show?id=' . $atendimento->getTitularId());
    ?>
"><?php 
    echo $atendimento->getTitular()->getNome();
    ?>
</a></td>
          <td><?php 
    echo $atendimento->getDescricao();
    ?>
</td>
        </tr>
        <?php 
}
?>
      </tbody>
    </table>
    <?php 
echo pager_navigation($pager, 'atendimento/titular/page/');
?>
  </div>

</div>
<?php 
include_partial('rightCol');
コード例 #25
0
        <td><p><?php 
    echo $votazione->countRibelliMaggioranza($votazione->getOppSeduta()->getData());
    ?>
</p></td>
        <td><p><?php 
    echo $votazione->countAssentiMaggioranza($votazione->getOppSeduta()->getData());
    ?>
</p></td>
      </tr>
    <?php 
}
?>
  </tbody>

  <tfoot>		  		  
    <tr>
      <td colspan="6" align="center">
        <?php 
echo pager_navigation($pager, '@maggioranzaSotto');
?>
      </td>	
    </tr>
    <tr>
      <td colspan="6" align="center">
        <?php 
echo format_number_choice('[0] nessun risultato|[1] 1 risultato|(1,+Inf] %1% risultati', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
	  </td>
    </tr>
  </tfoot>  		  		
</table>
コード例 #26
0
ファイル: listSuccess.php プロジェクト: hoydaa/hoydaa.org
</h3>
        <p><?php 
        echo truncate_text($projectAnnouncement->getDetails(), 200);
        ?>
 <?php 
        echo link_to('more', 'project/showAnnouncement?id=' . $projectAnnouncement->getId());
        ?>
</p>
        <span class="date">Posted on <?php 
        echo $projectAnnouncement->getCreatedAt();
        ?>
</span>
    </div>
<?php 
    }
    ?>
</div>

<?php 
} else {
    ?>
<p>There is no announcements for this project at the moment.</p>
<?php 
}
?>

<div id="pager">
    <?php 
echo pager_navigation($projectAnnouncementPager, 'projectAnnouncement/list');
?>
</div>
コード例 #27
0
ファイル: _list.php プロジェクト: Esleelkartea/legedia-ESLE
foreach ($pager->getResults() as $historico_documento) {
    $odd = fmod(++$i, 2);
    ?>
<tr class="sf_admin_row_<?php 
    echo $odd;
    ?>
">
<?php 
    include_partial('list_td_tabular', array('historico_documento' => $historico_documento));
    include_partial('list_td_actions', array('historico_documento' => $historico_documento));
    ?>
</tr>
<?php 
}
?>
</tbody>
<tfoot>
<tr><th colspan="6">
<div class="float-right">
<?php 
echo pager_navigation($pager, 'historico_documentos/list');
?>
</div>
<?php 
$cuantos = $pager->getNbResults();
echo format_number_choice('[0] no hay resultados|[1] 1 resultado|(1,+Inf] %1% resultados', array('%1%' => $cuantos), $cuantos);
?>
</th></tr>
</tfoot>
</table>
コード例 #28
0
    ?>
      <?php 
    echo link_to(image_tag('/sfSimpleForumPlugin/images/feed-icon.png', 'align=top'), 'sfSimpleForum/topicFeed?id=' . $topic->getId() . '&stripped_title=' . $topic->getStrippedTitle(), 'title=' . $feed_title);
    ?>
    <?php 
}
?>
    
  </div>
  
  <?php 
include_partial('sfSimpleForum/post_list', array('posts' => $post_pager->getResults(), 'include_topic' => false));
?>
  
  <?php 
echo pager_navigation($post_pager, 'sfSimpleForum/topic?id=' . $topic->getId() . '&stripped_title=' . $topic->getStrippedTitle());
?>
  
  <?php 
if (!$topic->getIsLocked() && $sf_user->isAuthenticated()) {
    ?>
    
    <h2>
      <?php 
    echo __('Post a reply', null, 'sfSimpleForum');
    ?>
    </h2>
    <?php 
    include_partial('sfSimpleForum/add_post_form', array('topic' => $topic));
    ?>
      
コード例 #29
0
    ?>
</span><span class="red thumb-down"><?php 
    echo $ddl->getUtContr();
    ?>
</span>
            <p><?php 
    echo link_to($ddl->getNbCommenti() . ' <strong>commenti</strong>', '#');
    ?>
</p>
          </div>
        </td>	
      </tr>
    <?php 
}
?>
    <tr>
      <td align="center" colspan='5'>
        <?php 
echo pager_navigation($pager, '@argomento_nonleg?triple_value=' . $triple_value);
?>
      </td>
    </tr>
    <tr>
      <td align="center" colspan='5'>
        <?php 
echo format_number_choice('[0] nessun risultato|[1] 1 risultato|(1,+Inf] %1% risultati', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
	  </td>
    </tr>
  </tbody>		  
</table>
コード例 #30
0
    ?>
</span>
                  <p><?php 
    echo link_to($em->getNbCommenti() . ' <strong>commenti</strong>', '@commenti_emendamento?id=' . $em->getId());
    ?>
</p>
                </div>
              </td>	
            </tr>
          <?php 
}
?>
          
          <tr>
            <td align="center" colspan='4'>
              <?php 
echo pager_navigation($pager, '@emendamenti_atto?id=' . $atto->getId());
?>
            </td>
          </tr>

          <tr>
            <td align="center" colspan='4'>
              <?php 
echo format_number_choice('[0] nessun risultato|[1] 1 risultato|(1,+Inf] %1% risultati', array('%1%' => $pager->getNbResults()), $pager->getNbResults());
?>
            </td>
          </tr>
        </tbody>
      </table>