Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: blue night theme fuseren met Black Glass theme

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 ""; }
echo"\n";
if (RIGHT) { echo ""; }
echo"
".LEFT."".U_CENTER.CONTENT.L_CENTER."".RIGHT."



".stripslashes($settings['footer']);
if (!$license) { echo "

\n".showcopyright(); }
echo "
Theme conversion by Mangee ©
\n";
if ($settings['sitebanner2']) { eval("?>
".stripslashes($settings['sitebanner2'])."
\n echo"

".showcounter()."

\n";

}

function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "
".$news."


".newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])."
\n";
closetable();

}

function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."


".articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id'])."
\n";
closetable();
}


function opentable($title) {
echo "




".$title."


\n";
}

function closetable() {
echo "





 
\n";
}

function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "


\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "\n";
}else{echo"\n";}
echo "
".$title."".panelbutton($state, $boxname)."


\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";
if (iMEMBER) {
echo "".$locale['global_120']."\n";
echo "· ".$locale['global_121']."\n";
echo "· ".$locale['global_122']."\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "· ".$locale['global_123']."\n";
}
echo "· ".$locale['global_124']."\n";
} else {
echo "Login\n";
if ($settings['enable_registration']) {
echo "· Register\n";
}
}
echo "
\n";

echo "
\n";
echo "
".showbanners()."
\n";
echo "
\n";

echo "
\n";
echo "
".showsublinks(" ")."
\n";
echo "
".showsubdate()."
\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";
echo "
".stripslashes($settings['footer'])."
\n";
echo "
".showcounter()."
\n";

echo "
\n";
}

function render_news($subject, $news, $info) {

echo "
\n";
echo "
".$subject."
\n";
echo "
".$news."\n";
echo "
\n";
echo newsposter($info,"·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "
\n
\n
\n";

}

function render_article($subject, $article, $info) {

echo "
$subject
\n";
echo "
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n";
echo "
\n";
echo articleposter($info,"·").articleopts($info,"·").itemoptions("A",$info['article_id']);
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]