[BUGFIX] Missing sprite icons in module db check > record statistics
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / dbint / index.php
index cfac4e4..de1475b 100755 (executable)
@@ -459,17 +459,17 @@ class SC_mod_tools_dbint_index {
                $codeArr=array();
                $codeArr['tableheader'] = array('', $GLOBALS['LANG']->getLL('count'));
                $i++;
-               $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/pages.gif','width="18" height="16"') . ' hspace="4" align="top" alt="" />';
+               $codeArr[$i][] = t3lib_iconWorks::getSpriteIconForRecord('pages', array());
                $codeArr[$i][]=$GLOBALS['LANG']->getLL('total_pages');
                $codeArr[$i][]=count($admin->page_idArray);
                $i++;
                if (t3lib_extMgm::isLoaded('cms'))      {
-                       $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/hidden_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
+                       $codeArr[$i][] = t3lib_iconWorks::getSpriteIconForRecord('pages', array('hidden' => 1));
                        $codeArr[$i][]=$GLOBALS['LANG']->getLL('hidden_pages');
                        $codeArr[$i][] = $admin->recStats['hidden'];
                        $i++;
                }
-               $codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/deleted_page.gif','width="18" height="16"') . ' hspace="4" align="top">';
+               $codeArr[$i][] = t3lib_iconWorks::getSpriteIconForRecord('pages', array('deleted' => 1));
                $codeArr[$i][]=$GLOBALS['LANG']->getLL('deleted_pages');
                $codeArr[$i][] = count($admin->recStats['deleted']['pages']);
 
@@ -482,7 +482,7 @@ class SC_mod_tools_dbint_index {
                if (is_array($doktype)) {
                        foreach ($doktype as $n => $setup) {
                                if ($setup[1]!='--div--')       {
-                                       $codeArr[$n][] = '<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/' . ($PAGES_TYPES[$setup[1]]['icon'] ? $PAGES_TYPES[$setup[1]]['icon'] : $PAGES_TYPES['default']['icon']), 'width="18" height="16"') . ' hspace="4" align="top">';
+                                       $codeArr[$n][] = t3lib_iconWorks::getSpriteIconForRecord('pages', array('doktype' => $setup[1]));
                                        $codeArr[$n][] = $GLOBALS['LANG']->sL($setup[0]) . ' (' . $setup[1] . ')';
                                        $codeArr[$n][] = intval($admin->recStats['doktype'][$setup[1]]);
                                }
@@ -695,4 +695,4 @@ $SOBE->init();
 $SOBE->main();
 $SOBE->printContent();
 
-?>
+?>
\ No newline at end of file