*** empty log message ***
authorKasper Skårhøj <kasper@typo3.org>
Wed, 31 Mar 2004 14:55:51 +0000 (14:55 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Wed, 31 Mar 2004 14:55:51 +0000 (14:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@173 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/class.tslib_pibase.php

index 9ce2b39..f39c895 100755 (executable)
@@ -468,12 +468,15 @@ class tslib_pibase {
                -->     
                <div'.$this->pi_classParam('browsebox').'>'.
                        ($showResultCount ? '
-                       <p>'.sprintf(
-                               str_replace('###SPAN_BEGIN###','<span'.$this->pi_classParam('browsebox-strong').'>',$this->pi_getLL('pi_list_browseresults_displays','Displaying results ###SPAN_BEGIN###%s to %s</span> out of ###SPAN_BEGIN###%s</span>')),
-                               $this->internal['res_count'] > 0 ? $pR1 : 0,
-                               min(array($this->internal['res_count'],$pR2)),
-                               $this->internal['res_count']
-                               ).'</p>':''
+                       <p>'.
+                               ($this->internal['res_count'] ?
+                       sprintf(
+                                       str_replace('###SPAN_BEGIN###','<span'.$this->pi_classParam('browsebox-strong').'>',$this->pi_getLL('pi_list_browseresults_displays','Displaying results ###SPAN_BEGIN###%s to %s</span> out of ###SPAN_BEGIN###%s</span>')),
+                                       $this->internal['res_count'] > 0 ? $pR1 : 0,
+                                       min(array($this->internal['res_count'],$pR2)),
+                                       $this->internal['res_count']
+                               ) :
+                               $this->pi_getLL('pi_list_browseresults_noResults','Sorry, no items were found.')).'</p>':''
                        ).
                '