| 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 : |
<!--#include file="PartsMailRule.html"-->
<script language="JavaScript" type="text/javascript"><!--
function onSubmit( form )
{
if( ! form.Name.value )
{
alert( "条件名を入力してください。" );
return;
}
PreSubmitGID( form );
form.submit();
}
-->
</script>
' Sub SetAutoForwardRule $MailProfile $Rule
<input type="hidden" name="Mode" value="">
<input type="hidden" name="Remove" value="">
' If $CC
<input type="hidden" name="CC" value="$CC">
' Elif $Rule
' Set $Conditions = $Rule.Conditions
' $Name = $Rule.Name
' $OR = $Rule.OR
' $Fuzzy = $Rule.Fuzzy
<input type="hidden" name="CC" value="$Conditions.Count">
' Else
<input type="hidden" name="CC" value="1">
' EndIf
<table border="0" cellspacing="0" cellpadding="2">
<tr><td valign="top" nowrap style="width:100px;">条件名
' Call formNecessaryMark
</td><td colspan="3">
' Call formText "Name" $Name 20 1
<br><font size="-1" color="#008800">条件の名前を自由に指定してください。</font>
</td></tr>
<tr><td colspan="4"><br></td></tr>
<tr><td valign="top" nowrap>条件内容</td><td colspan="3">
<select name="OR">
<option value="0">以下の全ての条件を満たす
' If $OR
<option value="1" selected>以下のいずれかの条件を満たす
' Else
<option value="1">以下のいずれかの条件を満たす
' EndIf
</select>
' Call formCheckBox "Fuzzy" "あいまい検索をする" $Fuzzy 1 "Fuzzy"
</td></tr>
' If $CC
' $Num = $CC - 1
' For $i = 0 to $Num
' $IID = $System.GetParameter IID$i
' $Text = $System.GetParameter Text$i
' $Expr = $System.GetParameter Expr$i
' Call RuleConditionRow $MailProfile $i $IID $Text $Expr $Num "AutoForward" "" "" "PreSubmitGID( this.form );"
' Next
' Elif $Conditions
' $CC = 0
' If $Conditions.Count
' $Num = $Conditions.Count - 1
' Else
' $Num = 0
' EndIf
' For Each $Cond in $Conditions
' $IID = $Cond.IID
' $Text = $Cond.Text
' Call RuleConditionRow $MailProfile $CC $IID $Text $Cond.Expr $Num "AutoForward" "" "" "PreSubmitGID( this.form );"
' Inc $CC
' Next
' EndIf
' If ! $CC
' Call RuleConditionRow $MailProfile 0 $IID $Text $Expr 0 "AutoForward" "" "" "PreSubmitGID( this.form );"
' EndIf
<tr><td><br></td><td colspan="3">
<input type="button" value="条件を追加する" onClick="Mode.value='add';PreSubmitGID( this.form );this.form.submit();">
</td></tr>
</table>
<br>
<table>
<tr>
<td valign="top" nowrap style="width:100px;">転送先</td>
<td>ユーザー
<!--#include file="LibrarySelect.html"-->
' If ! $ForwardUIDsVector
' Set $ForwardUIDsVector = $Rule.UIDs
' EndIf
' Call selectUser "GID" "ForwardUIDs" "UIDs" $ForwardUIDsVector "" $Login.FirstGID "" "" 1
メールアドレス<br>
' If $ForwardMails
' Call formText "ForwardMails" $ForwardMails 50 2
' Else
' Call formText "ForwardMails" $Rule.Mails 50 2 "" "" 1
' EndIf
<br><span class="fontNotice">1行につき、1つのメールアドレスを入力します。</span>
</td>
</tr>
<tr>
''
</table>
' EndSub