mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
인쇄 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1912 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3d3cd94499
commit
d0c8f54ed8
17 changed files with 81 additions and 0 deletions
1
modules/document/tpl/css/document.css
Normal file
1
modules/document/tpl/css/document.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
body { margin:10px; font-size:.75em; font-family:sans-serif;}
|
||||
11
modules/document/tpl/print_page.html
Normal file
11
modules/document/tpl/print_page.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!--%import("./css/document.css")-->
|
||||
<!--%import("./css/document.css")-->
|
||||
|
||||
<h1>{$oDocument->getTitleText()}</h1><br />
|
||||
{$oDocument->getContent()}
|
||||
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
xAddEventListener(window,'load',function() { window.print(); } );
|
||||
//]]></script>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue