source: branches/2.2/plugins/LocalFilesEditor/template/show_default.tpl @ 10349

Revision 10349, 1.9 KB checked in by patdenice, 9 years ago (diff)

merge r10348 from trunk to branch 2.2
Clean code

  • Property svn:eol-style set to LF
Line 
1{combine_script id="codemirror" path="plugins/LocalFilesEditor/codemirror/lib/codemirror.js"}
2{combine_script id="codemirror.xml" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.js"}
3{combine_script id="codemirror.javascript" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js"}
4{combine_script id="codemirror.css" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/css/css.js"}
5{combine_script id="codemirror.clike" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.js"}
6{combine_script id="codemirror.htmlmixed" require="codemirror.xml,codemirror.javascript,codemirror.css" path="plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js"}
7{combine_script id="codemirror.php" require="codemirror.xml,codemirror.javascript,codemirror.css,codemirror.clike" path="plugins/LocalFilesEditor/codemirror/mode/php/php.js"}
8
9{combine_css path="plugins/LocalFilesEditor/codemirror/lib/codemirror.css"}
10{combine_css path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.css"}
11{combine_css path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css"}
12{combine_css path="plugins/LocalFilesEditor/codemirror/mode/css/css.css"}
13{combine_css path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.css"}
14{combine_css path="plugins/LocalFilesEditor/template/locfiledit.css"}
15
16{footer_script}
17var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim}
18  readOnly: true,
19  mode: "application/x-httpd-php"
20});
21{/footer_script}
22
23{html_head}
24<style type="text/css">
25#headbranch, #theHeader, #copyright {ldelim} display: none; }
26</style>
27{/html_head}
28
29<div id="LocalFilesEditor">
30
31<div id="title_bar">
32  <span class="file_name">{$TITLE}</span>
33</div>
34
35<textarea id="text" rows="30" cols="90" class="show_default_area">{$DEFAULT_CONTENT}</textarea>
36
37</div>
Note: See TracBrowser for help on using the repository browser.