Skip to content
Permalink
Browse files

ratingcheckbox and sortbycreated updates #1001 updates #1013

  • Loading branch information...
Slini11 authored and teiling88 committed Oct 16, 2016
1 parent 735b6dd commit f0084b4b570ecaa0fbf3fbe24cb22839a999eeb5
Showing with 6 additions and 2 deletions.
  1. +4 −0 .gitignore
  2. +1 −1 htdocs/log.php
  3. +1 −1 htdocs/templates2/ocstyle/res_cachetypestats.tpl
@@ -58,3 +58,7 @@ htdocs/app/Resources/translations
/htdocs/bin/translation
/build/logs
/build/artifacts

/*.msi
/*.log
/*.cab
@@ -77,7 +77,7 @@
$tpl->assign('ratingallowed', $user->allowRatings());
$tpl->assign('givenratings', $user->getGivenRatings());
$tpl->assign('maxratings', $user->getMaxRatings());
$tpl->assign('israted', $cache->isRecommendedByUser($user->getUserId()));
$tpl->assign('israted', $cache->isRecommendedByUser($user->getUserId()) || isset($_REQUEST['rating']));
$tpl->assign('foundsuntilnextrating', $user->foundsUntilNextRating());
$tpl->assign('isowner', $isOwner);
@@ -14,7 +14,7 @@
<div style="display:inline-block; line-height:1.8em; padding-right:1em; text-align:center">
{/if}
{$stats.anzahl}
<a href="search.php?showresult=1&expert=0&output=HTML&sort=byname&f_inactive=0&{if $logs}&finderid={$userid}&searchbyfinder={else}&ownerid={$userid}&searchbyowner={/if}&cachetype={$stats.id}{if $oconly}&cache_attribs=6{/if}&calledbysearch=0">{include file="res_cacheicon_22.tpl" cachetype=$stats.id alignicon=""}</a>
<a href="search.php?showresult=1&expert=0&output=HTML&sort=byname&f_inactive=0&{if $logs}&finderid={$userid}&searchbyfinder={else}&ownerid={$userid}&sort=bycreated&searchbyowner={/if}&cachetype={$stats.id}{if $oconly}&cache_attribs=6{/if}&calledbysearch=0">{include file="res_cacheicon_22.tpl" cachetype=$stats.id alignicon=""}</a>
{if $stat|@count > 1}
<br /><span class="percent">{$stats.anzahl/$total*100+0.5|floor}%&nbsp;</span>
{/if}

0 comments on commit f0084b4

Please sign in to comment.
You can’t perform that action at this time.