55 <input type =" hidden" name =" export_group_id" value =" { $export_group_id } " />
66
77 <table cellspacing =" 1" cellpadding =" 2" border =" 0" >
8- <tr >
9- <td width =" 120" class =" medium_grey" >{ $L .phrase_export_type_name} </td >
10- <td >
11- <input type =" text" name =" export_type_name" value =" " style =" width :200px " maxlength =" 50" />
12- </td >
8+ <tr >
9+ <td width =" 120" class =" medium_grey" >{ $L .phrase_export_type_name} </td >
10+ <td >
11+ <input type =" text" name =" export_type_name" value =" " style =" width :200px " maxlength =" 50" />
12+ </td >
1313 </tr >
1414 <tr >
1515 <td valign =" top" class =" medium_grey" >{ $L .word_visibility} </td >
2626 <td class =" medium_grey" >{ $L .word_filename} </td >
2727 <td >
2828 <input type =" text" name =" filename" value =" {literal }submissions-{ $M } .{ $j } .html{ /literal } " style="width:200px" maxlength="50" />
29- <a href =" http://modules.formtools.org/export_manager/documentation.php?page=filename_placeholders" >{ $L .phrase_view_available_placeholders} </a >
29+ <a href =" http://modules.formtools.org/export_manager/documentation.php?page=filename_placeholders" >{ $L .phrase_view_available_placeholders} </a >
3030 </td >
3131 </tr >
32- </table >
33-
34- <p class =" bold" >{ $L .phrase_smarty_template} </p >
35-
36- <div style =" border : 1px solid #666666 ; padding : 3px " >
37- <textarea name =" smarty_template" id =" smarty_template" style =" width :100% ; height :340px " ></textarea >
38- </div >
39-
40- <script type =" text/javascript" >
41- var html_editor = new CodeMirror.fromTextArea (" smarty_template" , {literal }{ { /literal }
42- parserfile: [" parsexml.js" ],
43- path: " { $g_root_url } /global/codemirror/js/" ,
44- stylesheet: " { $g_root_url } /global/codemirror/css/xmlcolors.css"
45- {literal }});{ /literal }
46- </script >
32+ </table >
33+
34+ <p class =" bold" >{ $L .phrase_smarty_template} </p >
35+
36+ <div class =" editor_wrapper" style =" width : 100% " >
37+ <textarea name =" smarty_template" id =" smarty_template" ></textarea >
38+ </div >
39+
40+ <script type =" text/javascript" >
41+ var html_editor = new CodeMirror.fromTextArea (document .getElementById (" smarty_template" ), {literal }{ { /literal }
42+ mode: " smarty"
43+ {literal }});{ /literal }
44+ </script >
4745
4846 <p >
4947 <input type =" submit" name =" add_export_type" value =" { $L .phrase_add_export_type} " />
5048 </p >
5149
52- </form >
50+ </form >
0 commit comments