Posted by
ivoht on 29 August 2010, 16:04
#1
Hallo Ik gebruik het blue night theme,
echter wil ik hier enkele kenmerken van het blackglass theme inbouwen
zo wordt er in het blue night theme in alle tabellen/ panels/ de images; tb, tbl, tt, tbr, ttr, ttl etc gebruikt om een vierkantje weer te geven.
Ik zou deze images allemaal willen uitzetten en een panel net als in het blackglass theme laten beginnen met n balkje (gifje) en dan de rest van t panel gewoon met lijnen weergeven. in t balkje zet ik dan altijd de naam / titel van t panel.
hoe krijg ik dat voor elkaar in de code als ik kijk naar de code van blue night theme
[geshi=php]
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "
' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata;
echo "
".showsublinks(" ")."\n";
if (iMEMBER){
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
}else{
echo " \n";
}
echo " |
\n";
if (LEFT) { echo "".LEFT." | "; }
echo"".U_CENTER.CONTENT.L_CENTER." | \n";
if (RIGHT) { echo "".RIGHT." | "; }
echo"
\n";
if ($settings['sitebanner2']) { eval("?>".stripslashes($settings['sitebanner2'])." \n
echo"
|
|
\n";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "
".$news."
\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n";
closetable();
}
function opentable($title) {
echo "
\n";
}
function closetable() {
echo " |
\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "
|
".$title." | \n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "".panelbutton($state, $boxname)." | \n";
}else{echo" | \n";}
echo "
\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "\n"; }
echo " |
\n";
}
?>[/geshi]
en die van blackglass
[geshi=php]
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
define("THEME_WIDTH", "100%");
define("THEME_BULLET", "·");
function render_page($license=false) {
global $settings, $locale, $main_style, $userdata, $aidlink;
echo "
\n";
echo "\n";
echo "\n";
echo "
\n";
if (LEFT) { echo "
".LEFT."
\n"; }
if (RIGHT) { echo "
".RIGHT."
\n"; }
echo "
".U_CENTER.CONTENT.L_CENTER."
\n";
echo "
\n";
echo "
\n";
//Footer
echo "\n";
}
function render_news($subject, $news, $info) {
echo "
\n";
echo "
".$subject."
\n";
echo "
".$news."\n";
echo "\n
\n
\n";
}
function render_article($subject, $article, $info) {
echo "
$subject
\n";
echo "
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n";
echo "\n";
}
function opentable($title) {
echo "
\n";
echo "
".$title."
\n";
echo "
\n";
}
function closetable() {
echo "
\n
\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "
\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "
".panelbutton($state,$boxname)."
\n";
}
echo "
".$title."
\n";
echo "
\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "
\n"; }
echo "
\n
\n";
echo "
";
}
?>[/geshi]