Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97351

Summary: app-admin/mailmin broken tables patch
Product: Gentoo Linux Reporter: Rob Terhaar <rterhaar>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: klasikahl
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 60464    
Bug Blocks:    
Attachments: this file goes in mailmin/edit_users/

Description Rob Terhaar 2005-06-28 14:26:27 UTC
here is a quick patch i made to fix the broken tables under app-admin/mailmin

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




--- editemail.php.old   2005-06-28 16:25:11.000000000 -0500
+++ editemail.php       2005-06-28 16:02:35.000000000 -0500
@@ -55,7 +55,8 @@
 echo "<table class=\"ntable\" width=\"90%\" align=\"center\"><tbody>\n";

 // Set up table info head to lable the columns
-echo "<tr class=\"infohead\">\n";
+echo "<tr class=\"infohead\" bgcolor=\"#4175BD\">\n";
+

 // Set up array for names (used for portability to reuse code on other pages)
 $name = array('edit','del','id','email','password','real
name','uid','gid','home dir','mail dir','quota','postfix');
@@ -67,7 +68,7 @@

 // Lets print out the rest of the table, with the Edit and Delete links
 while($line = mysql_fetch_array($result,MYSQL_ASSOC)){
-       echo "<tr class=\"tableinfo\">\n\t<td><a
href=\"edit_email.php?page=$page&limit=$limit&id=$line[id]\"><div
align=\"center\"><img src=\"../images/img_edit.png\"></div></a></td><td><a
href=\"del_email.php?page=$page&limit=$limit&id=$line[id]\"><div
align=\"center\"><img src=\"../images/img_del.png\"></div></a></td>\n";
+       echo "<tr class=\"tableinfo\" bgcolor=\"#ddddff\">\n\t<td><a
href=\"edit_email.php?page=$page&limit=$limit&id=$line[id]\"><div
align=\"center\"><img src=\"../images/img_edit.png\"></div></a></td><td><a
href=\"del_email.php?page=$page&limit=$limit&id=$line[id]\"><div
align=\"center\"><img src=\"../images/img_del.png\"></div></a></td>\n";
        foreach ($line as $col_value){
                echo "\t<td>$col_value</td>\n";
        }
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-02 10:36:25 UTC
Reassigned, maintainer apparently inactive.
Comment 2 Rob Terhaar 2005-10-18 07:50:55 UTC
Created attachment 70943 [details]
this file goes in mailmin/edit_users/

I'm not sure _how_ to get this ebuild updated, but here's the fixed file for
this useful application.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-04 14:45:30 UTC
Pending removal from portage...