5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
6 <script type="text/javascript" src="js/source_editor.js"></script> |
6 <script type="text/javascript" src="js/source_editor.js"></script> |
7 <base target="_self" /> |
7 <base target="_self" /> |
8 </head> |
8 </head> |
9 <body onresize="resizeInputs();" style="display:none; overflow:hidden;"> |
9 <body onresize="resizeInputs();" style="display:none; overflow:hidden;"> |
10 <form name="source" onsubmit="saveContent();" action="#"> |
10 <form name="source" onsubmit="saveContent();return false;" action="#"> |
11 <div style="float: left" class="title">{#advanced_dlg.code_title}</div> |
11 <div style="float: left" class="title">{#advanced_dlg.code_title}</div> |
12 |
12 |
13 <div id="wrapline" style="float: right"> |
13 <div id="wrapline" style="float: right"> |
14 <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label> |
14 <input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{#advanced_dlg.code_wordwrap}</label> |
15 </div> |
15 </div> |
16 |
16 |
17 <br style="clear: both" /> |
17 <br style="clear: both" /> |
18 |
18 |
19 <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off"></textarea> |
19 <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea> |
20 |
20 |
21 <div class="mceActionPanel"> |
21 <div class="mceActionPanel"> |
22 <div style="float: left"> |
22 <div style="float: left"> |
23 <input type="button" name="insert" value="{#update}" onclick="saveContent();" id="insert" /> |
23 <input type="submit" name="insert" value="{#update}" id="insert" /> |
24 </div> |
24 </div> |
25 |
25 |
26 <div style="float: right"> |
26 <div style="float: right"> |
27 <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" /> |
27 <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" /> |
28 </div> |
28 </div> |