Index: branches/dev/html/admin/order/mail.php
===================================================================
--- branches/dev/html/admin/order/mail.php	(revision 13919)
+++ branches/dev/html/admin/order/mail.php	(revision 13922)
@@ -48,6 +48,8 @@
 $conn = new SC_DbConn();
 $sql = "SELECT * FROM dtb_mailtemplate WHERE del_flg=0";
-$Temp = $conn->getAll($sql);
 
+$Temp = $conn->getAll($sql);//$Temp¤Ë¼èÆÀ¤·¤¿¥Ç¡¼¥¿¤ò°ì»þÅª¤Ë³ÊÇ¼
+
+//¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ë½ÐÎÏ¤¹¤ë¤¿¤á¤ËÆó¼¡¸µÇÛÎó¤ËÂåÆþ¤¹¤ë
 for($i = 0;$i < count($Temp);$i++){
     $arrTemplate[0][$i] = $Temp[$i]['template_id'];
@@ -55,4 +57,5 @@
 }
 
+//¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Ø¥Ç¡¼¥¿¤òÂåÆþ
 $objPage->arrMAILTEMPLATE = $arrTemplate;
 
@@ -106,4 +109,6 @@
     
 	$objFormParam->setValue('template_id', $_POST['template_id']);
+    
+    //¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ÇÁªÂò¤µ¤ì¤¿¥Æ¥ó¥×¥ì¡¼¥ÈÌ¾¤ò¥Æ¥ó¥×¥ì¡¼¥ÈID¤È´ØÏ¢ÉÕ¤±¤ë
     $_POST['template_id'] = $arrTemplate[0][$_POST['template_id']];
     if(sfIsInt($_POST['template_id'])) {
@@ -111,5 +116,4 @@
 		$where = "template_id = ?";
 		$arrRet = $objQuery->select("subject, header, footer", "dtb_mailtemplate", $where, array($_POST['template_id']));
-		
         $objFormParam->setParam($arrRet[0]);
 	}
