Tjaa, den dukker i hvert fald op nu.. :)
Sådan ser theme.php ud som jeg er ved at ændre i. Måske i kan blive klogere af det?
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| ©Steve Dunstan 2001-2002
|
http://e107.org| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (
http://gnu.org).
|
| $Source: /cvsroot/e107/e107_0.7/e107_themes/crahan/theme.php,v $
| $Revision: 1.10 $
| $Date: 2005/12/14 19:28:52 $
| $Author: sweetas $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
// [multilanguage]
@include_once(e_THEME."Glass/languages/".e_LANGUAGE.".php");
@include_once(e_THEME."Glass/languages/English.php");
// [theme]
$themename = "Glass";
$themeversion = "1.0";
$themeauthor = "Samir Kahvedzic [AkIrA]";
$themeemail = "akira_tim@hotmail.com";
$themewebsite = "
http://akirapowered.com";$themedate = "21/09/2006";
$themeinfo = "AkirA PowereD Glass Theme";
define("STANDARDS_MODE", TRUE);
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
define("IMODE", "lite");
define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>");
define("USER_WIDTH","width:100%");
// [ navigation ]
function theme_head() {
return "<link rel='stylesheet' href='".THEME_ABS."nav_menu.css' />\n";
}
// [layout]
$layout = "_default";
if(
eregi(e_PAGE, "news.php")
||eregi(e_PAGE, "menus.php")
)
{
$HEADER = "
<table style='width:1180px' cellspacing='0' cellpadding='0' align='center'><div class='wrapper'>
<div class='wrapper2'>
<div class='innerwrapper'>
<div class='headerb'>
<div class='header'>
</div>
</div>
<div class='nav'>
<div>{SITELINKS_ALT=no_icons}</div>
</div>
<div class='content'>
<div class='leftmenu'>
{MENU=1}
</div>
<div class='central'>
{MENU=3}
";
$NEWSSTYLE = "
<div class='news'>
<div class='hmain'><div class='hleft'><div class='hright'><h3>{NEWSTITLE}</h3></div></div></div>
<div class='menutable'>
<div class='menutable2'>
<div class='bodytable'>
<div class='story'>
<div class='newsleft'>
<div class='newsimage'>
{NEWSIMAGE}
</div>
<div class='newsdate'>
{EMAILICON}
{PRINTICON}
{ADMINOPTIONS}
<br />
{NEWSDATE}
<br />
<br />
Godkendt af:
{NEWSAUTHOR}
::
{NEWSCOMMENTS}
</div>
</div>
<div class='newstext'>
{NEWSBODY}
{EXTENDED}
<br />
</div>
<div class='clear'>
</div>
</div>
</div>
</div>
</div>
<div class='bottomt'>
<div class='hbleft'>
<div class='hbright'>
</div>
</div>
</div>
</div>
";
$FOOTER = "
{MENU=4}
</div>
<div class='rightmenu'>
{MENU=2}
</div>
<div class='clear'>
</div>
</div>
<div class='footer'>
<div class='disclaimer'>
{SITEDISCLAIMER}
</div>
</div>
</div>
</div>
</div>
";
}else{
$HEADER = "
<table style='width:1180px' cellspacing='0' cellpadding='0' align='center'>
<div class='wrapper'>
<div class='wrapper2'>
<div class='innerwrapper'>
<div class='headerb'>
<div class='header'>
<div class='header'>
</div>
</div>
<div class='nav'>
<div>{SITELINKS_ALT=no_icons}</div>
</div>
<div class='content'>
<div class='leftmenu'>
{MENU=1}
</div>
<div class='central'>
";
$FOOTER = "
</div>
<div class='rightmenu'>
{MENU=2}
</div>
<div class='clear'>
</div>
</div>
<div class='footer'>
<div class='disclaimer'>
{SITEDISCLAIMER}
</div>
</div>
</div>
</div>
</div>
";
}
define("ICONSTYLE", "float: left; border:0");
define("COMMENTLINK", LAN_THEME_3);
define("COMMENTOFFSTRING", LAN_THEME_2);
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define("EXTENDEDSTRING", LAN_THEME_4);
define("POST_EXTENDEDSTRING", " ]<br />");
define("TRACKBACKSTRING", LAN_THEME_5);
define("TRACKBACKBEFORESTRING", " :: ");
// [linkstyle]
define(PRELINK, "<ul>");
define(POSTLINK, "</ul>");
define(LINKSTART, "<li>");
define(LINKEND, "</li>");
define(LINKDISPLAY, 1); // 1 - along top, 2 - in left or right column
define(LINKALIGN, "center");
// [tablestyle]
function tablestyle($caption, $text, $mode){
global $style;
echo "<div class='hmain'><div class='hleft'><div class='hright'><h3>{$caption}</h3></div></div></div>
<div class='menutable'>
<div class='menutable2'>
<div class='bodytable'>{$text}</div>
</div>
</div>
<div class='bottomt'>
<div class='hbleft'>
<div class='hbright'>
</div>
</div>
</div>
";
}
// [commentstyle]
$COMMENTSTYLE = "
<table class='fborder' style='".USER_WIDTH."'>
<tr>
<td class='forumheader' style='width:20%; text-align:center'>{USERNAME}</td>
<td class='forumheader' style='width:80%; text-align:right'>{TIMEDATE}</td>
</tr>
<tr>
<td class='forumheader2' style='width:20%; text-align:center'>{AVATAR}<span class='smalltext'>{IPADDRESS}<br />{REPLY}</span></td>
<td class='forumheader3' style='width:80%; text-align:left'>{COMMENT}</td>
</tr>
</table>
";
// [chatboxstyle]
$CHATBOXSTYLE = "
<div class='indentchat'>
<b>{USERNAME}</b> >>
<span class='smalltext'>{MESSAGE}
</span><br><br />
<div style='text-align:right; padding:0px;'><span class='small' >{TIMEDATE}</span></div>
</div>";
?>