Commit 63297942 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Theme overhaul, included is a new MyPortfolio theme

parent d699dd8d
<?php
$theme = new StdClass;
$theme->parent = 'default';
$theme->name = 'MyPortfolio';
?>
#header {
background: #FFFFFF url(../images/header_myportfolio.gif) no-repeat top left;
}
......@@ -43,7 +43,7 @@ switch ($type) {
}
header('Content-type: ' . 'image/gif');
readfile(theme_get_image_path('images/no_thumbnail.gif'));
readfile(theme_get_path('images/no_thumbnail.gif'));
exit;
break;
......@@ -81,11 +81,11 @@ switch ($type) {
}
header('Content-type: ' . 'image/gif');
if ($path = theme_get_image_path('images/no_userphoto' . $size . '.gif')) {
if ($path = theme_get_path('images/no_userphoto' . $size . '.gif')) {
readfile($path);
exit;
}
readfile(theme_get_image_path('images/no_userphoto40x40.gif'));
readfile(theme_get_path('images/no_userphoto40x40.gif'));
break;
}
......
......@@ -135,8 +135,8 @@ $smarty = smarty(
)
);
$smarty->assign('rootinfo', $rootinfo);
$smarty->assign('plusicon', theme_get_image_url('plus.png'));
$smarty->assign('minusicon', theme_get_image_url('minus.png'));
$smarty->assign('plusicon', theme_get_url('plus.png'));
$smarty->assign('minusicon', theme_get_url('minus.png'));
$smarty->assign('template', $template);
......
......@@ -201,8 +201,8 @@ $smarty = smarty(
)
);
$smarty->assign('rootinfo', $rootinfo);
$smarty->assign('plusicon', theme_get_image_url('plus.png'));
$smarty->assign('minusicon', theme_get_image_url('minus.png'));
$smarty->assign('plusicon', theme_get_url('plus.png'));
$smarty->assign('minusicon', theme_get_url('minus.png'));
$smarty->assign('template', $template);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment