diff --git a/views/bootstrap/class.ConversionServices.php b/views/bootstrap/class.ConversionServices.php
index b58387353..31fd7f9bf 100644
--- a/views/bootstrap/class.ConversionServices.php
+++ b/views/bootstrap/class.ConversionServices.php
@@ -54,39 +54,45 @@ class SeedDMS_View_ConversionServices extends SeedDMS_Theme_Style {
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
if($conversionmgr) {
- $allservices = $conversionmgr->getServices();
- if($data = $dms->getStatisticalData('docspermimetype')) {
- $this->contentHeading(getMLText("list_conversion_overview"));
- echo "
\n";
- echo "";
- echo "".getMLText('mimetype')." | ".getMLText('preview')." | ".getMLText('fullsearch')." | ".getMLText('preview_pdf')." |
\n";
- echo "";
- echo "";
- foreach($data as $d) {
- $key = $d['key'];
- $t = explode('/', $key);
- if(isset($allservices[$key]) || isset($allservices[$t[0].'/*'])) {
- echo "".$key." | ";
- echo "";
- if(!empty($allservices[$key]['image/png']))
- echo '';
- echo " | ";
- echo "";
- if(!empty($allservices[$key]['text/plain']))
- echo '';
- echo " | ";
- echo "";
- if(!empty($allservices[$key]['application/pdf']))
- echo '';
- echo " | ";
- echo "
";
+ $allservices = $conversionmgr->getServices();
+ if($data = $dms->getStatisticalData('docspermimetype')) {
+ $this->contentHeading(getMLText("list_conversion_overview"));
+ echo "\n";
+ echo "";
+ echo "".getMLText('mimetype')." | ".getMLText('preview')." | ".getMLText('fullsearch')." | ".getMLText('preview_pdf')." |
\n";
+ echo "";
+ echo "";
+ foreach($data as $d) {
+ $key = $d['key'];
+ $t = explode('/', $key);
+ if(isset($allservices[$key]) || isset($allservices[$t[0].'/*'])) {
+ echo "".$key." (".$d['total'].") | ";
+ echo "";
+ if(!empty($allservices[$key]['image/png'])) {
+ foreach($allservices[$key]['image/png'] as $object)
+ echo ' ';
+ }
+ echo " | ";
+ echo "";
+ if(!empty($allservices[$key]['text/plain'])) {
+ foreach($allservices[$key]['text/plain'] as $object)
+ echo ' ';
+ }
+ echo " | ";
+ echo "";
+ if(!empty($allservices[$key]['application/pdf'])) {
+ foreach($allservices[$key]['application/pdf'] as $object)
+ echo ' ';
+ }
+ echo " | ";
+ echo "
";
+ }
}
+ echo "
";
}
- echo "
";
- }
- $this->contentHeading(getMLText("list_conversion_services"));
- self::list_conversion_services($allservices);
+ $this->contentHeading(getMLText("list_conversion_services"));
+ self::list_conversion_services($allservices);
}
$this->contentEnd();