mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 05:09:56 +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>
|
</script>
|
||||||
dpScript;
|
dpScript;
|
||||||
Context::addHtmlFooter($js_code);
|
Context::addHtmlFooter($js_code);
|
||||||
|
Context::set('file_ext', $file_ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Context::set('file_type', $file_type);
|
Context::set('file_type', $file_type);
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</ol>
|
</ol>
|
||||||
<br />
|
<br />
|
||||||
<pre class="brush: cpp;">
|
<pre <!--@if($file_ext)-->class="brush: {$file_ext};"<!--@endif--> >
|
||||||
<!--@if($file_type == "code")-->
|
<!--@if($file_type == "code")-->
|
||||||
{htmlspecialchars($content->content)}
|
{htmlspecialchars($content->content)}
|
||||||
<!--@elseif($file_type == "document")-->
|
<!--@elseif($file_type == "document")-->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue