--- mod1/index.php.orig	2006-09-28 15:13:45.887190592 +0000
+++ mod1/index.php	2006-09-28 18:27:23.313234342 +0000
@@ -244,8 +244,12 @@
          if (file_exists('img/doktype'.$pages[$i][doktype].'.gif')) {
             $imgTag= '<img src="img/doktype'.$pages[$i][doktype].'.gif" />';
          } else { $imgTag='<img src="img/doktype1.gif" />'; }
+
+				 $imgTag = '<img '.$this->mapIcons($pages[$i][doktype]).'/>';
+#				 print $imgTag;
+
          $tr.= $imgTag.'&nbsp;';
-         
+
          $tr.= '<a href="'.$baseURL.'/index.php?id='.$pages[$i][uid].'" target="_blank">'.
          
          
@@ -466,6 +470,12 @@
       if (strlen($siteRootUid)<1) { $siteRootUid=1; }
       return $siteRootUid;
    }
+	 function mapIcons($doktype) {
+		 if ($doktype == 1 OR $doktype == 4) return t3lib_iconWorks::skinImg($this->doc->backPath,"gfx/i/pages.gif",'width="18" height="16"');
+		 if ($doktype == 254) return t3lib_iconWorks::skinImg($this->doc->backPath,"gfx/i/sysf.gif",'width="18" height="16"');
+
+		 return t3lib_iconWorks::skinImg($this->doc->backPath,"gfx/i/pages.gif",'width="18" height="16"');
+	 }
 } // ---------------------------------------------------------------------------
 
 
@@ -479,4 +489,4 @@
 foreach($SOBE->include_once as $INC_FILE)   include_once($INC_FILE);
 $SOBE->main();
 $SOBE->printContent();
-?>
\ No newline at end of file
+?>
