mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 18:29:55 +09:00
#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:
parent
2f791fd050
commit
eb9e8e1956
2 changed files with 2 additions and 1 deletions
|
|
@ -277,6 +277,7 @@
|
|||
</script>
|
||||
dpScript;
|
||||
Context::addHtmlFooter($js_code);
|
||||
Context::set('file_ext', $file_ext);
|
||||
}
|
||||
}
|
||||
Context::set('file_type', $file_type);
|
||||
|
|
|
|||
|
|
@ -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")-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue