Topics
|
|
phpWebLog
|
|
Last 5 Comments
|
|
phpWebLog Addons
|
|
|
|
Can't remove [ ] underneath
views: 176 |
By Sonny Kong (---.proxy.aol.com) on Monday June 18 2001 @ 03:16AM EDT [ Development ] i customized the summary portion of layout.inc so that i would have all that messy stuff underneath my summary. instead of making it say read more -- comments (1) or whatever, i just made it say read more, and took out all the "last modified on blah blah blah". underneath was a link to the topic which looked like:
[Nintendo]
I edited that out as well, but for some reason, the [] remains... i've tried everything
Here is the coding i used:
function F_drawSummary($A,$whe="") {
global $G_URL,$CONF,$G_PATH,$LAYOUT;
$heading = sprintf("%sn",F_story($A["Rid"]),stripslashes($A["Heading"]));
$author = F_author($A);
$date = F_dateFormat($A["Birthstamp"]);
$content = F_parseContent($A["Summary"],$CONF["ParseLevel"]);
if ($CONF["SummaryLength"]>0 && $A["Summary"] != $A["Content"]) {
$content .= sprintf("read more",$G_URL,$A["Rid"]);
}
$templatefile = "/G_PATH/backend/template/index.html" . $LAYOUT["TMPL_Summary"] . "/summary.tmpl";
$imagedir = "/G_URL/backend/template/index.html" . $LAYOUT["TMPL_Summary"] . "/images";
$templ_arr = @file($templatefile);
$template = @implode("", $templ_arr);
$template = addslashes($template);
$template = "$tmp="".$template."";";
eval($template);
print "nn";
print $tmp; /* eval("?>" . $tmp); */
print "nn";
}
You can see what i mean by going to http://www.cubewire.com/
Somebody please respond and help me! I will be forever thankful...
Related Link
|
|
|
PHP.net
|
|
PHPBuilder
|
|
Bordom
|
|
|