Changeset 2670 for alternc/trunk/bureau/admin/mail_list.php
- Timestamp:
- 04/06/10 22:29:08 (3 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/admin/mail_list.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/mail_list.php
r2559 r2670 52 52 echo "<p class=\"error\">$error</p>"; 53 53 } 54 echo "<p><a href=\"mail_add.php?domain=$domain\">".sprintf(_("Add a mailbox on <b>%s</b>"),$domain)."</a><br />"; 55 echo " <a href=\"mail_add.php?many=1&domain=$domain\">".sprintf(_("Add many mailboxes on <b>%s</b>"),$domain)."</a></p>"; 56 54 ?> 55 <p> 56 <span class="inb"><a href="mail_add.php?domain=<?php echo $domain; ?>"><?php printf(_("Add a mailbox on <b>%s</b>"),$domain); ?></a></span> 57 <span class="inb"><a href="mail_add.php?many=1&domain=<?php echo $domain; ?>"><?php printf(_("Add many mailboxes on <b>%s</b>"),$domain); ?></a></span> 58 </p> 59 <? 57 60 } 58 61 else … … 65 68 echo "<p class=\"error\">$error</p>"; 66 69 } 67 68 echo "<p><a href=\"mail_add.php?domain=$domain\">".sprintf(_("Add a mailbox on <b>%s</b>"),$domain)."</a><br />"; 69 echo " <a href=\"mail_add.php?many=1&domain=$domain\">".sprintf(_("Add many mailboxes on <b>%s</b>"),$domain)."</a></p>"; 70 ?> 71 <p> 72 <span class="inb"><a href="mail_add.php?domain=<?php echo $domain; ?>"><?php printf(_("Add a mailbox on <b>%s</b>"),$domain); ?></a></span> 73 <span class="inb"><a href="mail_add.php?many=1&domain=<?php echo $domain; ?>"><?php printf(_("Add many mailboxes on <b>%s</b>"),$domain); ?></a></span> 74 </p> 75 <?php 70 76 71 77 if(!$letters=$mail->enum_doms_mails_letters($domain)) 72 78 $error=$err->errstr(); 73 79 else{ 80 echo "<p>"; 81 __("Show only mail starting by:"); 82 echo " "; 74 83 for($i=0;$i<count($letters);$i++){ 75 84 $val=$letters[$i]; … … 77 86 } 78 87 echo " <a href=\"mail_list.php?domain=$domain\">".sprintf(_("All"))."</a>"; 88 echo "</p>"; 79 89 } 80 90 … … 83 93 <form method="post" action="mail_del.php" id="main"> 84 94 85 <table c ellspacing="0" cellpadding="4">95 <table class="tlist"> 86 96 87 <tr><th ><input type="hidden" name="domain" value="<?php echo $domain ?>"/>88 <?php __(" Delete"); ?></th><th><?php __("Email address"); ?></th><th><?php __("Action"); ?></th><th><?php __("Size"); ?></th></tr>97 <tr><th colspan="2"><input type="hidden" name="domain" value="<?php echo $domain ?>"/> 98 <?php __("Actions"); ?></th><th><?php __("Email address"); ?></th><th><?php __("Size"); ?></th></tr> 89 99 <?php 90 100 $col=1; … … 93 103 $val=$res[$i]; 94 104 echo "<tr class=\"lst$col\">"; 95 echo "<td align=\"center\"><input class=\"inc\" type=\"checkbox\" id=\"del_$i\" name=\"d[]\" value=\"".$val["mail"]."\" /></td> 96 <td><label for=\"del_$i\">".$val["mail"]."</label></td> 97 <td class=\"center\"><a href=\"mail_edit.php?email=".urlencode($val["mail"])."&domain=".urlencode($domain)."\"><img src=\"images/edit.png\" alt=\""._("Edit")."\" /></a></td>"; 105 echo "<td align=\"center\"><input class=\"inc\" type=\"checkbox\" id=\"del_$i\" name=\"d[]\" value=\"".$val["mail"]."\" /></td>"; 106 ?> 107 <td><div class="ina"><a href="mail_edit.php?email=<?php echo urlencode($val["mail"]); ?>&domain=<?php echo urlencode($domain); ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td> 108 109 <?php 110 echo "<td><label for=\"del_$i\">".$val["mail"]."</label></td>"; 98 111 if ($val["pop"]) { 99 112 echo "<td>".format_size($val["size"])."</td>"; … … 105 118 } 106 119 ?> 107 <tr><td colspan="5"><input type="submit" class="inb" name="submit" value="<?php __("Delete the selected mailboxes"); ?>" /></td></tr>108 120 </table> 121 <br /> 122 <input type="submit" class="inb" name="submit" value="<?php __("Delete the selected mailboxes"); ?>" /> 109 123 </form> 110 124
Note: See TracChangeset
for help on using the changeset viewer.
