Basically what I want to do is get rid of:
Code:
when someone uses the code tags and just display the code.
Is this bit located in a template somewhere? or a script file?
Thanks!
Ok found a solution. Hopefully it is a correct one.
To get rid of the horizontal rule I edited the global.css:
Find:
Replace with:
Removing "Code:" I edited inc/class_parser.php:
Find:
Replace with:
Be sure to backup the global.css and original class_parser.php files before making any changes so you can revert back if anything goes wrong.
If someone has a better solution, please reply.
Thanks!
Code:
when someone uses the code tags and just display the code.
Is this bit located in a template somewhere? or a script file?
Thanks!
Ok found a solution. Hopefully it is a correct one.
To get rid of the horizontal rule I edited the global.css:
Find:
.codeblock .title {
border-bottom: 1px solid #000;
font-weight: bold;
margin: 4px 0;
}
Replace with:
.codeblock .title {
font-weight: bold;
margin: 4px 0;
}
Removing "Code:" I edited inc/class_parser.php:
Find:
return "<div class=\"codeblock\">\n<div class=\"title\">".$lang->code."\n</div><div class=\"body\" dir=\"ltr\"><code>".$code."</code></div></div>\n";
Replace with:
return "<div class=\"codeblock\">\n<div class=\"body\" dir=\"ltr\"><code>".$code."</code></div></div>\n";
Be sure to backup the global.css and original class_parser.php files before making any changes so you can revert back if anything goes wrong.
If someone has a better solution, please reply.
Thanks!