PDA

View Full Version : Small bug found



swoos.com
05-31-2004, 11:17 AM
hi,

i found a small bug in the user panel of directadmin. the links to webmail (Webmail: Squirrelmail and Webmail: UebiMiau) are wrong. Squirrelmail goes to UebiMiau, and UebiMiau to Squirrelmail.

not the biggest bug in te world, but i noticed it ;)

CyberAlien
05-31-2004, 01:22 PM
open /usr/local/directadmin/data/skins/enchanced/user/show_domain.html, find this:
<a href="|HTTP|://|HOSTNAME|/webmail" target="_blank">Webmail: Squirrelmail</a><br>
<a href="|HTTP|://|HOSTNAME|/squirrelmail" target="_blank">Webmail: UebiMiau</a><br>
and replace with this:
<a href="|HTTP|://|HOSTNAME|/squirrelmail" target="_blank">Webmail: Squirrelmail</a><br>
<a href="|HTTP|://|HOSTNAME|/webmail" target="_blank">Webmail: UebiMiau</a><br>

vandal
05-31-2004, 01:43 PM
hey cyber,

where can i change the top webmail link to https:// instead of http:// ?

since ya know how to skin :)

CyberAlien
05-31-2004, 01:53 PM
Replace http://|HOSTNAME|/ with |HTTP|://|HOSTNAME|/ in header_bar.html and header_wide.html

DirectAdmin Support
05-31-2004, 03:47 PM
Thanks, odd typo :) Fixed for the re-release in a week or so.

John