index 6c2e1fce94b55bb1f96bc3b3adf405a035c22b61..8ba8c56dc5e9008c538dc668f2bc1f94bfc88b80 100644 (file)
<td style='width:50%;'>
<table summary="">
<tr>
- <td>{t}Server identifier{/t}
+ <td>{t}Server identifier{/t}{$must}
</td>
<td><input name="goImapName" id="goImapName" size=40 maxlength=60 {$goImapNameACL} value="{$goImapName}" >
</td>
</tr>
<tr>
- <td>{t}Connect URL{/t}
+ <td>{t}Connect URL{/t}{$must}
</td>
<td><input name="goImapConnect" id="goImapConnect" size=40 maxlength=60 {$goImapConnectACL} value="{$goImapConnect}" >
</td>
</tr>
<tr>
- <td>{t}Admin user{/t}
+ <td>{t}Admin user{/t}{$must}
</td>
<td><input name="goImapAdmin" id="goImapAdmin" size=30 maxlength=60 {$goImapAdminACL} value="{$goImapAdmin}" >
</td>
</tr>
<tr>
- <td>{t}Password{/t}
+ <td>{t}Password{/t}{$must}
</td>
<td><input type=password name="goImapPassword" id="goImapPassword" size=30 maxlength=60 {$goImapPasswordACL} value="{$goImapPassword}" >
</td>
</tr>
<tr>
- <td>{t}Sieve port{/t}
+ <td>{t}Sieve port{/t}{$must}
</td>
<td><input name="goImapSievePort" id="goImapSievePort" size=10 maxlength=30 {$goImapSievePortACL} value="{$goImapSievePort}">
</td>
<td style="border-left:1px solid #A0A0A0;vertical-align:top;">
<table>
<tr>
- <td>{t}Start IMAP service{/t}
- </td>
<td>
<input type='checkbox' name='cyrusImap' value=1 {if $cyrusImap} checked {/if} {$cyrusImapACL}>
</td>
+ <td>{t}Start IMAP service{/t}
+ </td>
</tr>
<tr>
- <td>{t}Start IMAP SSL service{/t}
- </td>
<td>
<input type='checkbox' name='cyrusImapSSL' value=1 {if $cyrusImapSSL} checked {/if} {$cyrusImapSSLACL}>
</td>
+ <td>{t}Start IMAP SSL service{/t}
+ </td>
</tr>
<tr>
- <td>{t}Start POP3 service{/t}
- </td>
<td>
<input type='checkbox' name='cyrusPop3' value=1 {if $cyrusPop3} checked {/if} {$cyrusPop3ACL}>
</td>
+ <td>{t}Start POP3 service{/t}
+ </td>
</tr>
<tr>
- <td>{t}Start POP3 SSL service{/t}
- </td>
<td>
<input type='checkbox' name='cyrusPop3SSL' value=1 {if $cyrusPop3SSL} checked {/if} {$cyrusPop3SSLACL}>
</td>
+ <td>{t}Start POP3 SSL service{/t}
+ </td>
</tr>
</table>
</td>
</table>
<p class='seperator'> </p>
<br>
+<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
{if $is_new == "new"}
{t}The server must be saved before you can use the status flag.{/t}
+{elseif !$is_acc}
+ {t}The service must be saved before you can use the status flag.{/t}
{/if}
<br>
-<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
-<select name="action" title='{t}{/t}' {if $is_new =="new"} disabled {/if}>
+<select name="action" title='{t}Set new status{/t}'
+ {if $is_new =="new" || !$is_acc} disabled {/if}
+>
<option value="none"> </option>
{html_options options=$Actions}
</select>
-<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}' {if $is_new == "new"} disabled {/if}>
+<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}'
+ {if $is_new == "new" | !$is_acc} disabled {/if}
+>
<p class="seperator"> </p>
<p>