Inagme layout for modifying group email stuff is fixed

This commit is contained in:
Quitta 2013-08-24 17:19:46 +02:00
parent 59ae5ce380
commit bce43b641e
2 changed files with 64 additions and 6 deletions

View file

@ -42,17 +42,17 @@
<table>
<tr>
<td valign="middle">Group name: </td>
<td><input type="text" maxlength="20" id="Name" name="Name"></td>
<td><input type="text" maxlength="20" size="180" id="Name" name="Name"></td>
</tr>
<tr>
<td valign="middle">Group Tag: </td>
<td><input type="text" maxlength="4" id="Tag" name="Tag"></td>
<td><input type="text" maxlength="4" size="180" id="Tag" name="Tag"></td>
</tr>
<tr>
<td valign="middle">Group EmailAddress: </td>
<td><input type="text" id="GroupEmail" name="GroupEmail"></td>
<td><input type="text" id="GroupEmail" size="180" name="GroupEmail"></td>
</tr>
</table>
</td>
@ -61,17 +61,17 @@
<table>
<tr>
<td valign="middle">IMAP MailServer IP: </td>
<td><input type="text" id="IMAP_MailServer" name="IMAP_MailServer"></td>
<td><input type="text" id="IMAP_MailServer" size="180" name="IMAP_MailServer"></td>
</tr>
<tr>
<td valign="middle">IMAP Username: </td>
<td><input type="text" id="IMAP_Username" name="IMAP_Username"></td>
<td><input type="text" id="IMAP_Username" size="180" name="IMAP_Username"></td>
</tr>
<tr>
<td valign="middle">IMAP Password: </td>
<td><input type="text" id="IMAP_Password" name="IMAP_Password"></td>
<td><input type="text" id="IMAP_Password" size="180" name="IMAP_Password"></td>
</tr>
</table>
</td>

View file

@ -102,6 +102,64 @@
</td></tr>
</table>
</td></tr>
<tr><td>
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
<tr><td>
<table cellpadding="10">
<tr><td>
<p><h3>Mail settings</h3></p>
<form id="modifyMailSGroup" class="form-vertical" method="post" action="index.php?page=show_sgroup&id={$target_id}">
<table>
<tr>
<td valign="middle">Group Email: </td>
<td><input type="text" id="GroupEmail" name="GroupEmail" size="220" value="{$groupemail}"></td>
</tr>
<tr>
<td valign="middle">IMAP Mail Server: </td>
<td><input type="text" id="IMAP_MailServer" name="IMAP_MailServer" size="220" value="{$imap_mailserver}"></td>
</tr>
<tr>
<td valign="middle">IMAP Username: </td>
<td><input type="text" id="IMAP_Username" name="IMAP_Username" size="220" value="{$imap_username}"></td>
</tr>
<tr>
<td valign="middle">IMAP Password: </td>
<td><input type="text" id="IMAP_Password" size="220" name="IMAP_Password"></td>
</tr>
</table>
<input type="hidden" name="function" value="modify_email_of_sgroup">
<input type="hidden" name="target_id" value="{$target_id}">
<p>
<input type="submit" value="Update"/>
</p>
{if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "SUCCESS"}
<p>
<font color="green">{$modify_mail_of_group_success}</font>
</p>
{else if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "EMAIL_NOT_VALID"}
<p>
<font color="red">{$email_not_valid}</font>
</p>
{else if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "NO_PASSWORD"}
<p>
<font color="yellow">{$no_password_given}</font>
</p>
{/if}
</form>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td>
</tr>