Changeset f547f9


Ignore:
Timestamp:
10/13/18 21:32:40 (5 weeks ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Parents:
8d1b3c
git-author:
pierre-alain <pierre-alain@…> (10/13/18 21:32:40)
git-committer:
pierre-alain <pierre-alain@…> (10/13/18 21:32:40)
Message:

displaying correct news count in post tools helper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OWR/Includes/Themes/Original/tpl/blocks/post_tools.html

    rabb2c9 rf547f9  
    1111<div id="news_ordering" class="shadow full_rounded opac verysmall"> 
    1212    <?php echo $this->_utilities->_('Order by');?> : 
    13         <a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('title');?>" onclick="rP.showStream(rP.currentId, rP.live, 'title', '<?php echo (($sort === 'news.title') ? $nextdir : 'asc');?>');"><?php echo (($sort === 'news.title') ? '<strong>'.$this->_utilities->_('title').'</strong>' : $this->_utilities->_('title'));?></a>&nbsp;-&nbsp;<a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('pubDate');?>" onclick="rP.showStream(rP.currentId, rP.live, 'pubDate', '<?php echo (($sort === 'news.pubDate') ? $nextdir : 'asc');?>');"><?php echo ((!$sort || $sort === 'news.pubDate') ? '<strong>'.$this->_utilities->_('pubDate').'</strong>' : $this->_utilities->_('pubDate'));?></a>&nbsp;-&nbsp;<a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('status');?>" onclick="rP.showStream(rP.currentId, rP.live, 'status', '<?php echo (($sort === 'news_relations.status') ? $nextdir : 'desc');?>');"><?php echo (($sort === 'news_relations.status') ? '<strong>'.$this->_utilities->_('status').'</strong>' : $this->_utilities->_('status'));?></a><?php echo '&nbsp;/&nbsp;'.(!$sort || !$dir || $nextdir === 'asc' ? '↓' : '↑');?>&nbsp;|&nbsp;<?php echo (($offset+1) * $nbNewsByPage) . '/' . $nbNews; ?>&nbsp;<a href="javascript:;" class="read_page backgrounded opac" onclick="rP.updateNews('read');" title="<?php echo $this->_utilities->_('Mark all the news of this page as read');?>"></a>&nbsp;|&nbsp; 
     13        <a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('title');?>" onclick="rP.showStream(rP.currentId, rP.live, 'title', '<?php echo (($sort === 'news.title') ? $nextdir : 'asc');?>');"><?php echo (($sort === 'news.title') ? '<strong>'.$this->_utilities->_('title').'</strong>' : $this->_utilities->_('title'));?></a>&nbsp;-&nbsp;<a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('pubDate');?>" onclick="rP.showStream(rP.currentId, rP.live, 'pubDate', '<?php echo (($sort === 'news.pubDate') ? $nextdir : 'asc');?>');"><?php echo ((!$sort || $sort === 'news.pubDate') ? '<strong>'.$this->_utilities->_('pubDate').'</strong>' : $this->_utilities->_('pubDate'));?></a>&nbsp;-&nbsp;<a class="underlined" href="javascript:;" title="<?php echo $this->_utilities->_('Order by').' '.$this->_utilities->_('status');?>" onclick="rP.showStream(rP.currentId, rP.live, 'status', '<?php echo (($sort === 'news_relations.status') ? $nextdir : 'desc');?>');"><?php echo (($sort === 'news_relations.status') ? '<strong>'.$this->_utilities->_('status').'</strong>' : $this->_utilities->_('status'));?></a><?php echo '&nbsp;/&nbsp;'.(!$sort || !$dir || $nextdir === 'asc' ? '↓' : '↑');?>&nbsp;|&nbsp;<?php echo ((($offset+1) * $nbNewsByPage) > $nbNews ? $nbNews : ($offset+1) * $nbNewsByPage) . '/' . $nbNews; ?>&nbsp;<a href="javascript:;" class="read_page backgrounded opac" onclick="rP.updateNews('read');" title="<?php echo $this->_utilities->_('Mark all the news of this page as read');?>"></a>&nbsp;|&nbsp; 
    1414    <a href="javascript:;" class="read_page backgrounded opac" onclick="rP.updateNews('page');" title="<?php echo $this->_utilities->_('Mark all the news of this page as read');?>"></a> 
    1515<?php   if($nbNews > $nbNewsByPage) { 
Note: See TracChangeset for help on using the changeset viewer.