Inagme layout for modifying group email stuff is fixed

--HG--
branch : quitta-gsoc-2013
This commit is contained in:
Quitta 2013-08-24 17:19:46 +02:00
parent 7f8c0f8380
commit df4d97fa98
2 changed files with 64 additions and 6 deletions

View file

@ -42,17 +42,17 @@
<table> <table>
<tr> <tr>
<td valign="middle">Group name: </td> <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>
<tr> <tr>
<td valign="middle">Group Tag: </td> <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>
<tr> <tr>
<td valign="middle">Group EmailAddress: </td> <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> </tr>
</table> </table>
</td> </td>
@ -61,17 +61,17 @@
<table> <table>
<tr> <tr>
<td valign="middle">IMAP MailServer IP: </td> <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>
<tr> <tr>
<td valign="middle">IMAP Username: </td> <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>
<tr> <tr>
<td valign="middle">IMAP Password: </td> <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> </tr>
</table> </table>
</td> </td>

View file

@ -102,6 +102,64 @@
</td></tr> </td></tr>
</table> </table>
</td></tr> </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> </table>
</td> </td>
</tr> </tr>