#17873741 : added file_ext for brush setting

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5935 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-03-23 09:05:41 +00:00
parent 2f791fd050
commit eb9e8e1956
2 changed files with 2 additions and 1 deletions

View file

@ -277,6 +277,7 @@
</script>
dpScript;
Context::addHtmlFooter($js_code);
Context::set('file_ext', $file_ext);
}
}
Context::set('file_type', $file_type);

View file

@ -15,7 +15,7 @@
<!--@end-->
</ol>
<br />
<pre class="brush: cpp;">
<pre <!--@if($file_ext)-->class="brush: {$file_ext};"<!--@endif--> >
<!--@if($file_type == "code")-->
{htmlspecialchars($content->content)}
<!--@elseif($file_type == "document")-->