| Server IP : 133.18.244.157 / Your IP : 216.73.217.20 Web Server : Apache System : Linux o4022v-135.kagoya.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : main2 ( 81069) PHP Version : 5.6.34 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /install/page/ |
Upload File : |
' $System.Access Login ' $WorkSpace.AccessManage <!--#include file="LibraryCommon.html"--> ' Call cmHtmlHead <!--#include file="LibraryMailConditionView.html"--> ' $CaptionTitle = "テンプレートの自動選択" ' Call cmHead $CaptionTitle 1 </head> <body> ' $System.SetParameter BackURL "$Server?page=ManageAdmin&wid=$WID&id=$ID" ' Call cmHeaderView 1 $CaptionTitle $BackURL "運用管理" ' $System.CloseDatabase "mw" ' Set $MailProfile = $Command.Mail.GetMailTop $ID <p>テンプレートの自動選択条件を設定してください。</p> <p>最初に使うテンプレート <table border="1" cellspacing="0" cellpadding="2" bgcolor="#ffffff"> <tr><td width="150" class="title" valign="top" nowrap>新規作成時</td> ' Set $Template = $Command.Template.GetTemplate $WID $MailProfile.SendTemplate <td width="300" nowrap>$Template.Name<br></td> <td width="150" valign="top" nowrap> ' Call cmLink "変更する" "write20.png" "$Server?page=ManageMailTemplateAutoDefault&wid=$WID&id=$ID" </td></tr> <tr><td width="150" class="title" valign="top" nowrap>返信時</td> ' Set $Template = $Command.Template.GetTemplate $WID $MailProfile.ReplyTemplate <td width="300" nowrap>$Template.Name<br></td> <td width="150" valign="top" nowrap> ' Call cmLink "変更する" "write20.png" "$Server?page=ManageMailTemplateAutoDefault&wid=$WID&id=$ID&reply=1" </td></tr> </table> <font size="-1" color="#008800">返信時に最初に使うテンプレートは、以下の自動選択条件を満たすテンプレートがない場合に適用されます。</font> </p> <p>返信時の自動選択条件 ' Call cmLink "追加する" "write20.png" "$Server?page=ManageMailTemplateAutoAdd&wid=$WID&id=$ID" ' $Count = $MailProfile.TemplateRules.Count ' If $Count > 1 ' $NoOrder = 0 ' Else ' $NoOrder = 1 ' EndIf ' Call cmLink "順番変更" "order20.png" "$Server?page=ManageMailTemplateAutoOrder&wid=$WID&id=$ID" $NoOrder <table border="1" cellspacing="0" cellpadding="2" bgcolor="#ffffff"> <tr bgcolor="#cccccc"><th width="150" nowrap>条件名</th><th width="300" nowrap>条件内容</th><th width="150" nowrap>テンプレート</th><th width="200" nowrap>操作</th></tr> ' For Each $Rule in $MailProfile.TemplateRules <tr><td valign="top" nowrap>$Rule.Name<br></td> <td valign="top" nowrap> ' Call viewMailCondition $MailProfile $Rule </td> ' $TID = $Rule.TID ' Set $Template = $Command.Template.GetTemplate $WID $TID <td valign="top" nowrap>$Template.Name<br></td> <td valign="top" nowrap> ' Call cmLink "変更する" "write20.png" "$Server?page=ManageMailTemplateAutoModify&wid=$WID&id=$ID&rid=$Rule.ID" ' Call cmLink "削除する" "delete20.png" "$Server?page=ManageMailTemplateAutoDelete&wid=$WID&id=$ID&rid=$Rule.ID" </td></tr> ' Next </table> </p> ' Call cmChildFooter $BackURL "運用管理へ" </body> </html>