Changeset 1015 in ExiteCMS for trunk/administration/index.php


Ignore:
Timestamp:
10/24/07 21:48:43 (5 years ago)
Author:
root
Message:

Removed the administration directories from the modules. Admin panel icons are now stored within the module directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/index.php

    r834 r1015  
    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            if (!$path = strrchr($data['admin_link'], "/")) { 
     69                $path = ADMIN; 
     70            } 
     71            $data['admin_image'] = $path."images/".$data['admin_image']; 
     72            // store the record 
    6773            $modules[] = $data; 
    6874        } 
Note: See TracChangeset for help on using the changeset viewer.