Index: branches/dev/data/lib/slib.php
===================================================================
--- branches/dev/data/lib/slib.php	(revision 13285)
+++ branches/dev/data/lib/slib.php	(revision 13359)
@@ -2923,12 +2923,37 @@
 }
 
-/* ¥Ç¥Ð¥Ã¥°ÍÑ ------------------------------------------------------------------------------------------------*/
-function sfPrintR($obj) {
-	print("<div style='font-size: 12px;color: #00FF00;'>\n");
-	print("<strong>**¥Ç¥Ð¥Ã¥°Ãæ**</strong><br />\n");
-	print("<pre>\n");
-	print_r($obj);
-	print("</pre>\n");
-	print("<strong>**¥Ç¥Ð¥Ã¥°Ãæ**</strong></div>\n");
+/** ¥Ç¥Ð¥Ã¥°ÍÑ´Ø¿ô **/
+
+/**
+ *  ÅÏ¤µ¤ì¤¿ÊÑ¿ô¤òDump¤¹¤ë
+ *
+ *  @param  mixed  $obj   Dump¤·¤¿¤¤ÊÑ¿ô
+ *  @param  string $color ½ÐÎÏ¤¹¤ë¿§
+ *  
+ *  @return void ¤Ê¤·
+ */
+function sfPrintR($obj, $color='green') {
+    if ( DEBUG_MODE === false ) {
+        return;
+    }
+    
+    $arrColor = array(
+        'green' => '#00FF00',
+        'red'   => '#FF0000',
+        'blue'  => '#0000FF'
+    );
+    
+    if ( empty($arrColor[$color]) ) {
+        $color = $arrColor['green'];
+    } else {
+        $color = $arrColor[$color];
+    }
+    
+    print("<div style='font-size: 12px;color: $color;'>\n");
+    print("<strong>**¥Ç¥Ð¥Ã¥°Ãæ**</strong><br />\n");
+    print("<pre>\n");
+    print_r($obj);
+    print("</pre>\n");
+    print("<strong>**¥Ç¥Ð¥Ã¥°Ãæ**</strong></div>\n");
 }
 
