ispCP - Board - Support
help - no tempate? :S - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: help - no tempate? :S (/thread-12919.html)



help - no tempate? :S - Monotoko - 02-21-2011 08:32 AM

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


RE: help - no tempate? :S - Monotoko - 02-21-2011 07:45 PM

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