Current time: 05-06-2024, 05:49 PM Hello There, Guest! (LoginRegister)


Post Reply 
icons not displaying
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: icons not displaying
Seems to be an error in the template (double .png)

You either can change the template or copy the icons, eg. reload.png -> reload.png.png - this should work...

/J
no - not change the template - rather the code:..


eg reseller/users.php:

if ($rs->fields['domain_status'] == $cfg->ITEM_OK_STATUS) {
$status_icon = "ok";
} else if ($rs->fields['domain_status'] == $cfg->ITEM_DISABLED_STATUS) {
$status_icon = "disabled";
} else if ($rs->fields['domain_status'] == $cfg->ITEM_ADD_STATUS
|| $rs->fields['domain_status'] == $cfg->ITEM_CHANGE_STATUS
|| $rs->fields['domain_status'] == $cfg->ITEM_TOENABLE_STATUS
|| $rs->fields['domain_status'] == $cfg->ITEM_RESTORE_STATUS
|| $rs->fields['domain_status'] == $cfg->ITEM_TODISABLED_STATUS
|| $rs->fields['domain_status'] == $cfg->ITEM_DELETE_STATUS) {
$status_icon = "reload.png";
} else {
$status_icon = "error.png";
}
$status_url = $rs->fields['domain_id'];

there's the bug... (remove the ".png")

/J
(This post was last modified: 01-19-2011 09:10 PM by joximu.)
01-19-2011 09:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
icons not displaying - bashar - 01-19-2011, 08:59 PM
RE: icons not displaying - joximu - 01-19-2011 09:04 PM
RE: icons not displaying - bashar - 01-19-2011, 09:22 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)