Current time: 05-04-2024, 07:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
help - no tempate? :S
Author Message
Monotoko Offline
Junior Member
*

Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #1
help - no tempate? :S
Hi Guys,

One of my files suddenly vanished, /admin/index.php. I think I may have accidently removed it, but I just thought I would replace it from the trunk.

I downloaded the trunk and put the new file in it's place and it seems to be working on the PHP side; However, there appears to be an issue with the template. How can I tell it where the correct images/CSS is??

See the screenshot for a visual.

Daniel


Attached File(s) Thumbnail(s)
   
(This post was last modified: 02-21-2011 08:32 AM by Monotoko.)
02-21-2011 08:32 AM
Find all posts by this user Quote this message in a reply
Monotoko Offline
Junior Member
*

Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #2
RE: help - no tempate? :S
After a lot of looking around the file, I realized index.php was missing this:

Code:
$tpl->assign(
    array(
        'TR_ADMIN_MAIN_INDEX_PAGE_TITLE' => tr('ispCP - Admin Home'),
        'THEME_COLOR_PATH' => "../themes/{$cfg->USER_INITIAL_THEME}",
        'THEME_CHARSET' => tr('encoding'),
        'ISP_LOGO' => get_logo($_SESSION['user_id'])
    )
);

Hopefully this can solve someone elses problem later Smile
02-21-2011 07:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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