Ignore:
Timestamp:
10/24/07 22:35:49 (5 years ago)
Author:
hverton
Message:

Merged trunk revision 1013:1017 into the PLi-Fusion branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/administration/index.php

    r834 r1018  
    6565    while ($data = dbarray($result)) { 
    6666        if (checkrights($data['admin_rights']) && $data['admin_link'] != "reserved") { 
     67            // check the location of the admin image, and add the correct path to it 
     68            $path = explode("/", $data['admin_link']); 
     69            if (isset($path[2])) { 
     70                $data['admin_image'] = MODULES.$path[2]."/images/".$data['admin_image']; 
     71            } else { 
     72                $data['admin_image'] = ADMIN."images/".$data['admin_image']; 
     73            } 
     74            // store the record 
    6775            $modules[] = $data; 
    6876        } 
Note: See TracChangeset for help on using the changeset viewer.