|
trying to edit a theme, just need to learn format?
hello I am using the theme BiZ-2-0 on my site I really like the way this looks and works except for the fact that the news entry's on the home page dont look right.
I have been looking into modifiying it and know I need to change the theme.php, in the function themeindex area but that is as close as I have come.
here is the code I have to work with, can anyone just help me put a border around it? and mabey size the text if I can get the format right I can tweak the colors and sizes and what not
thanks in advance!
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "
"._NOTE." $notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&u name=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." \"$thetext\"$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/BiZ-2-0/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
|