Fixed a typo, small improvements

This commit is contained in:
BNoiZe
2013-11-17 21:51:32 +01:00
parent 38ebfa364f
commit c6c87fe55a
2 changed files with 7 additions and 2 deletions

View File

@@ -778,7 +778,7 @@ if ($page == 'overview') {
if ($action == 'add' && $id != 0) { if ($action == 'add' && $id != 0) {
if ($userinfo['email_forwarders_used'] < $userinfo['email_forwarders'] || $userinfo['email_forwarders'] == '-1') { if ($userinfo['email_forwarders_used'] < $userinfo['email_forwarders'] || $userinfo['email_forwarders'] == '-1') {
$stmt = Database::prepare("SELECT `id`, `email`, `email_full`, `iscatchall`, `destination`, `customerid`, `popaccountid`, `domainid` FROM `" . TABLE_MAIL_VIRTUAL . "` $stmt = Database::prepare("SELECT `id`, `email`, `email_full`, `iscatchall`, `destination`, `customerid`, `popaccountid`, `domainid` FROM `" . TABLE_MAIL_VIRTUAL . "`
WHERE `customerid`= :customerid WHERE `customerid`= :cid
AND `id`= :id" AND `id`= :id"
); );
$result = Database::pexecute_first($stmt, array("cid" => $userinfo['customerid'], "id" => $id)); $result = Database::pexecute_first($stmt, array("cid" => $userinfo['customerid'], "id" => $id));

View File

@@ -14,10 +14,15 @@ $header
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable"> <table class="formtable">
<thead>
<tr><th colspan="2"></th></tr>
</thead>
{$email_edit_form} {$email_edit_form}
<tfoot>
<tr> <tr>
<td class="maintitle" colspan="2"><a href="{$linker->getLink(array('section' => 'email', 'page' => 'emails'))}">{$lng['emails']['back_to_overview']}</a></td> <td colspan="2"><a href="{$linker->getLink(array('section' => 'email', 'page' => 'emails'))}">{$lng['emails']['back_to_overview']}</a></td>
</tr> </tr>
</tfoot>
</table> </table>
</fieldset> </fieldset>
</form> </form>